Package-level declarations

Types

Link copied to clipboard
data class GetJobIamPolicyPlainArgs(val jobId: String, val optionsRequestedPolicyVersion: Int? = null, val project: String? = null) : ConvertibleToJava<GetJobIamPolicyPlainArgs>
Link copied to clipboard
data class GetJobPlainArgs(val jobId: String, val project: String? = null) : ConvertibleToJava<GetJobPlainArgs>
Link copied to clipboard
Link copied to clipboard
data class GetModelIamPolicyPlainArgs(val modelId: String, val optionsRequestedPolicyVersion: Int? = null, val project: String? = null) : ConvertibleToJava<GetModelIamPolicyPlainArgs>
Link copied to clipboard
data class GetModelPlainArgs(val modelId: String, val project: String? = null) : ConvertibleToJava<GetModelPlainArgs>
Link copied to clipboard
Link copied to clipboard
data class GetStudyPlainArgs(val location: String, val project: String? = null, val studyId: String) : ConvertibleToJava<GetStudyPlainArgs>
Link copied to clipboard
Link copied to clipboard
data class GetTrialPlainArgs(val location: String, val project: String? = null, val studyId: String, val trialId: String) : ConvertibleToJava<GetTrialPlainArgs>
Link copied to clipboard
Link copied to clipboard
data class GetVersionPlainArgs(val modelId: String, val project: String? = null, val versionId: String) : ConvertibleToJava<GetVersionPlainArgs>
Link copied to clipboard
data class GoogleCloudMlV1__AcceleratorConfigArgs(val count: Output<String>? = null, val type: Output<GoogleCloudMlV1__AcceleratorConfigType>? = null) : ConvertibleToJava<GoogleCloudMlV1__AcceleratorConfigArgs>

Represents a hardware accelerator request config. Note that the AcceleratorConfig can be used in both Jobs and Versions. Learn more about /ml-engine/docs/using-gpus and /ml-engine/docs/machine-types-online-prediction#gpus.

data class GoogleCloudMlV1__AutomatedStoppingConfigArgs(val decayCurveStoppingConfig: Output<GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigArgs>? = null, val medianAutomatedStoppingConfig: Output<GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigArgs>? = null) : ConvertibleToJava<GoogleCloudMlV1__AutomatedStoppingConfigArgs>

Configuration for Automated Early Stopping of Trials. If no implementation_config is set, automated early stopping will not be run.

Link copied to clipboard
data class GoogleCloudMlV1__AutoScalingArgs(val maxNodes: Output<Int>? = null, val metrics: Output<List<GoogleCloudMlV1__MetricSpecArgs>>? = null, val minNodes: Output<Int>? = null) : ConvertibleToJava<GoogleCloudMlV1__AutoScalingArgs>

Options for automatically scaling a model.

data class GoogleCloudMlV1__BuiltInAlgorithmOutputArgs(val framework: Output<String>? = null, val modelPath: Output<String>? = null, val pythonVersion: Output<String>? = null, val runtimeVersion: Output<String>? = null) : ConvertibleToJava<GoogleCloudMlV1__BuiltInAlgorithmOutputArgs>

Represents output related to a built-in algorithm Job.

Link copied to clipboard
data class GoogleCloudMlV1__ContainerPortArgs(val containerPort: Output<Int>? = null) : ConvertibleToJava<GoogleCloudMlV1__ContainerPortArgs>

Represents a network port in a single container. This message is a subset of the Kubernetes ContainerPort v1 core specification.

Link copied to clipboard
data class GoogleCloudMlV1__ContainerSpecArgs(val args: Output<List<String>>? = null, val command: Output<List<String>>? = null, val env: Output<List<GoogleCloudMlV1__EnvVarArgs>>? = null, val image: Output<String>? = null, val ports: Output<List<GoogleCloudMlV1__ContainerPortArgs>>? = null) : ConvertibleToJava<GoogleCloudMlV1__ContainerSpecArgs>

Specification of a custom container for serving predictions. This message is a subset of the Kubernetes Container v1 core specification.

Link copied to clipboard
data class GoogleCloudMlV1__DiskConfigArgs(val bootDiskSizeGb: Output<Int>? = null, val bootDiskType: Output<String>? = null) : ConvertibleToJava<GoogleCloudMlV1__DiskConfigArgs>

Represents the config of disk options.

Link copied to clipboard
data class GoogleCloudMlV1__EncryptionConfigArgs(val kmsKeyName: Output<String>? = null) : ConvertibleToJava<GoogleCloudMlV1__EncryptionConfigArgs>

Represents a custom encryption key configuration that can be applied to a resource.

Link copied to clipboard
data class GoogleCloudMlV1__EnvVarArgs(val name: Output<String>? = null, val value: Output<String>? = null) : ConvertibleToJava<GoogleCloudMlV1__EnvVarArgs>

Represents an environment variable to be made available in a container. This message is a subset of the Kubernetes EnvVar v1 core specification.

Link copied to clipboard
data class GoogleCloudMlV1__ExplanationConfigArgs(val integratedGradientsAttribution: Output<GoogleCloudMlV1__IntegratedGradientsAttributionArgs>? = null, val sampledShapleyAttribution: Output<GoogleCloudMlV1__SampledShapleyAttributionArgs>? = null, val xraiAttribution: Output<GoogleCloudMlV1__XraiAttributionArgs>? = null) : ConvertibleToJava<GoogleCloudMlV1__ExplanationConfigArgs>

Message holding configuration options for explaining model predictions. There are three feature attribution methods supported for TensorFlow models: integrated gradients, sampled Shapley, and XRAI. /ai-platform/prediction/docs/ai-explanations/overview

data class GoogleCloudMlV1__HyperparameterOutputArgs(val allMetrics: Output<List<GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArgs>>? = null, val builtInAlgorithmOutput: Output<GoogleCloudMlV1__BuiltInAlgorithmOutputArgs>? = null, val finalMetric: Output<GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArgs>? = null, val hyperparameters: Output<Map<String, String>>? = null, val isTrialStoppedEarly: Output<Boolean>? = null, val trialId: Output<String>? = null, val webAccessUris: Output<Map<String, String>>? = null) : ConvertibleToJava<GoogleCloudMlV1__HyperparameterOutputArgs>

Represents the result of a single hyperparameter tuning trial from a training job. The TrainingOutput object that is returned on successful completion of a training job with hyperparameter tuning includes a list of HyperparameterOutput objects, one for each successful trial.

Link copied to clipboard
data class GoogleCloudMlV1__HyperparameterSpecArgs(val algorithm: Output<GoogleCloudMlV1__HyperparameterSpecAlgorithm>? = null, val enableTrialEarlyStopping: Output<Boolean>? = null, val goal: Output<GoogleCloudMlV1__HyperparameterSpecGoal>, val hyperparameterMetricTag: Output<String>? = null, val maxFailedTrials: Output<Int>? = null, val maxParallelTrials: Output<Int>? = null, val maxTrials: Output<Int>? = null, val params: Output<List<GoogleCloudMlV1__ParameterSpecArgs>>, val resumePreviousJobId: Output<String>? = null) : ConvertibleToJava<GoogleCloudMlV1__HyperparameterSpecArgs>

Represents a set of hyperparameters to optimize.

data class GoogleCloudMlV1__IntegratedGradientsAttributionArgs(val numIntegralSteps: Output<Int>? = null) : ConvertibleToJava<GoogleCloudMlV1__IntegratedGradientsAttributionArgs>

Attributes credit by computing the Aumann-Shapley value taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365

Link copied to clipboard
data class GoogleCloudMlV1__ManualScalingArgs(val nodes: Output<Int>? = null) : ConvertibleToJava<GoogleCloudMlV1__ManualScalingArgs>

Options for manually scaling a model.

Link copied to clipboard
data class GoogleCloudMlV1__MeasurementArgs(val metrics: Output<List<GoogleCloudMlV1_Measurement_MetricArgs>>? = null, val stepCount: Output<String>? = null) : ConvertibleToJava<GoogleCloudMlV1__MeasurementArgs>

A message representing a measurement.

Link copied to clipboard
data class GoogleCloudMlV1__MetricSpecArgs(val name: Output<GoogleCloudMlV1__MetricSpecName>? = null, val target: Output<Int>? = null) : ConvertibleToJava<GoogleCloudMlV1__MetricSpecArgs>

MetricSpec contains the specifications to use to calculate the desired nodes count when autoscaling is enabled.

Link copied to clipboard
data class GoogleCloudMlV1__ParameterSpecArgs(val categoricalValues: Output<List<String>>? = null, val discreteValues: Output<List<Double>>? = null, val maxValue: Output<Double>? = null, val minValue: Output<Double>? = null, val parameterName: Output<String>, val scaleType: Output<GoogleCloudMlV1__ParameterSpecScaleType>? = null, val type: Output<GoogleCloudMlV1__ParameterSpecType>) : ConvertibleToJava<GoogleCloudMlV1__ParameterSpecArgs>

Represents a single hyperparameter to optimize.

Link copied to clipboard
data class GoogleCloudMlV1__PredictionInputArgs(val batchSize: Output<String>? = null, val dataFormat: Output<GoogleCloudMlV1__PredictionInputDataFormat>, val inputPaths: Output<List<String>>, val maxWorkerCount: Output<String>? = null, val modelName: Output<String>? = null, val outputDataFormat: Output<GoogleCloudMlV1__PredictionInputOutputDataFormat>? = null, val outputPath: Output<String>, val region: Output<String>, val runtimeVersion: Output<String>? = null, val signatureName: Output<String>? = null, val uri: Output<String>? = null, val versionName: Output<String>? = null) : ConvertibleToJava<GoogleCloudMlV1__PredictionInputArgs>

Represents input parameters for a prediction job.

Link copied to clipboard
data class GoogleCloudMlV1__PredictionOutputArgs(val errorCount: Output<String>? = null, val nodeHours: Output<Double>? = null, val outputPath: Output<String>? = null, val predictionCount: Output<String>? = null) : ConvertibleToJava<GoogleCloudMlV1__PredictionOutputArgs>

Represents results of a prediction job.

Link copied to clipboard
data class GoogleCloudMlV1__ReplicaConfigArgs(val acceleratorConfig: Output<GoogleCloudMlV1__AcceleratorConfigArgs>? = null, val containerArgs: Output<List<String>>? = null, val containerCommand: Output<List<String>>? = null, val diskConfig: Output<GoogleCloudMlV1__DiskConfigArgs>? = null, val imageUri: Output<String>? = null, val tpuTfVersion: Output<String>? = null) : ConvertibleToJava<GoogleCloudMlV1__ReplicaConfigArgs>

Represents the configuration for a replica in a cluster.

data class GoogleCloudMlV1__RequestLoggingConfigArgs(val bigqueryTableName: Output<String>, val samplingPercentage: Output<Double>? = null) : ConvertibleToJava<GoogleCloudMlV1__RequestLoggingConfigArgs>

Configuration for logging request-response pairs to a BigQuery table. Online prediction requests to a model version and the responses to these requests are converted to raw strings and saved to the specified BigQuery table. Logging is constrained by /bigquery/quotas. If your project exceeds BigQuery quotas or limits, AI Platform Prediction does not log request-response pairs, but it continues to serve predictions. If you are using /ml-engine/docs/continuous-evaluation/, you do not need to specify this configuration manually. Setting up continuous evaluation automatically enables logging of request-response pairs.

Link copied to clipboard
data class GoogleCloudMlV1__RouteMapArgs(val health: Output<String>? = null, val predict: Output<String>? = null) : ConvertibleToJava<GoogleCloudMlV1__RouteMapArgs>

Specifies HTTP paths served by a custom container. AI Platform Prediction sends requests to these paths on the container; the custom container must run an HTTP server that responds to these requests with appropriate responses. Read /ai-platform/prediction/docs/custom-container-requirements for details on how to create your container image to meet these requirements.

data class GoogleCloudMlV1__SampledShapleyAttributionArgs(val numPaths: Output<Int>? = null) : ConvertibleToJava<GoogleCloudMlV1__SampledShapleyAttributionArgs>

An attribution method that approximates Shapley values for features that contribute to the label being predicted. A sampling strategy is used to approximate the value rather than considering all subsets of features.

Link copied to clipboard
data class GoogleCloudMlV1__SchedulingArgs(val maxRunningTime: Output<String>? = null, val maxWaitTime: Output<String>? = null, val priority: Output<Int>? = null) : ConvertibleToJava<GoogleCloudMlV1__SchedulingArgs>

All parameters related to scheduling of training jobs.

Link copied to clipboard
data class GoogleCloudMlV1__StudyConfigArgs(val algorithm: Output<GoogleCloudMlV1__StudyConfigAlgorithm>? = null, val automatedStoppingConfig: Output<GoogleCloudMlV1__AutomatedStoppingConfigArgs>? = null, val metrics: Output<List<GoogleCloudMlV1_StudyConfig_MetricSpecArgs>>? = null, val parameters: Output<List<GoogleCloudMlV1_StudyConfig_ParameterSpecArgs>>) : ConvertibleToJava<GoogleCloudMlV1__StudyConfigArgs>

Represents configuration of a study.

Link copied to clipboard
data class GoogleCloudMlV1__TrainingInputArgs(val args: Output<List<String>>? = null, val enableWebAccess: Output<Boolean>? = null, val encryptionConfig: Output<GoogleCloudMlV1__EncryptionConfigArgs>? = null, val evaluatorConfig: Output<GoogleCloudMlV1__ReplicaConfigArgs>? = null, val evaluatorCount: Output<String>? = null, val evaluatorType: Output<String>? = null, val hyperparameters: Output<GoogleCloudMlV1__HyperparameterSpecArgs>? = null, val jobDir: Output<String>? = null, val masterConfig: Output<GoogleCloudMlV1__ReplicaConfigArgs>? = null, val masterType: Output<String>? = null, val network: Output<String>? = null, val packageUris: Output<List<String>>, val parameterServerConfig: Output<GoogleCloudMlV1__ReplicaConfigArgs>? = null, val parameterServerCount: Output<String>? = null, val parameterServerType: Output<String>? = null, val pythonModule: Output<String>, val pythonVersion: Output<String>? = null, val region: Output<String>, val runtimeVersion: Output<String>? = null, val scaleTier: Output<GoogleCloudMlV1__TrainingInputScaleTier>, val scheduling: Output<GoogleCloudMlV1__SchedulingArgs>? = null, val serviceAccount: Output<String>? = null, val useChiefInTfConfig: Output<Boolean>? = null, val workerConfig: Output<GoogleCloudMlV1__ReplicaConfigArgs>? = null, val workerCount: Output<String>? = null, val workerType: Output<String>? = null) : ConvertibleToJava<GoogleCloudMlV1__TrainingInputArgs>

Represents input parameters for a training job. When using the gcloud command to submit your training job, you can specify the input parameters as command-line arguments and/or in a YAML configuration file referenced from the --config command-line argument. For details, see the guide to /ai-platform/training/docs/training-jobs.

Link copied to clipboard
data class GoogleCloudMlV1__TrainingOutputArgs(val builtInAlgorithmOutput: Output<GoogleCloudMlV1__BuiltInAlgorithmOutputArgs>? = null, val completedTrialCount: Output<String>? = null, val consumedMLUnits: Output<Double>? = null, val hyperparameterMetricTag: Output<String>? = null, val isBuiltInAlgorithmJob: Output<Boolean>? = null, val isHyperparameterTuningJob: Output<Boolean>? = null, val trials: Output<List<GoogleCloudMlV1__HyperparameterOutputArgs>>? = null) : ConvertibleToJava<GoogleCloudMlV1__TrainingOutputArgs>

Represents results of a training job. Output only.

Link copied to clipboard
data class GoogleCloudMlV1__XraiAttributionArgs(val numIntegralSteps: Output<Int>? = null) : ConvertibleToJava<GoogleCloudMlV1__XraiAttributionArgs>

Attributes credit by computing the XRAI taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1906.02825 Currently only implemented for models with natural image inputs.

data class GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigArgs(val useElapsedTime: Output<Boolean>? = null) : ConvertibleToJava<GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigArgs>
data class GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigArgs(val useElapsedTime: Output<Boolean>? = null) : ConvertibleToJava<GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigArgs>

The median automated stopping rule stops a pending trial if the trial's best objective_value is strictly below the median 'performance' of all completed trials reported up to the trial's last measurement. Currently, 'performance' refers to the running average of the objective values reported by the trial in each measurement.

data class GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArgs(val objectiveValue: Output<Double>? = null, val trainingStep: Output<String>? = null) : ConvertibleToJava<GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArgs>

An observed value of a metric.

Link copied to clipboard
data class GoogleCloudMlV1_Measurement_MetricArgs(val metric: Output<String>, val value: Output<Double>) : ConvertibleToJava<GoogleCloudMlV1_Measurement_MetricArgs>

A message representing a metric in the measurement.

data class GoogleCloudMlV1_StudyConfig_MetricSpecArgs(val goal: Output<GoogleCloudMlV1_StudyConfig_MetricSpecGoal>, val metric: Output<String>) : ConvertibleToJava<GoogleCloudMlV1_StudyConfig_MetricSpecArgs>

Represents a metric to optimize.

data class GoogleCloudMlV1_StudyConfig_ParameterSpecArgs(val categoricalValueSpec: Output<GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecArgs>? = null, val childParameterSpecs: Output<List<GoogleCloudMlV1_StudyConfig_ParameterSpecArgs>>? = null, val discreteValueSpec: Output<GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecArgs>? = null, val doubleValueSpec: Output<GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecArgs>? = null, val integerValueSpec: Output<GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecArgs>? = null, val parameter: Output<String>, val parentCategoricalValues: Output<GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecArgs>? = null, val parentDiscreteValues: Output<GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecArgs>? = null, val parentIntValues: Output<GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecArgs>? = null, val scaleType: Output<GoogleCloudMlV1_StudyConfig_ParameterSpecScaleType>? = null, val type: Output<GoogleCloudMlV1_StudyConfig_ParameterSpecType>) : ConvertibleToJava<GoogleCloudMlV1_StudyConfig_ParameterSpecArgs>

Represents a single parameter to optimize.

data class GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecArgs(val values: Output<List<String>>? = null) : ConvertibleToJava<GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecArgs>
data class GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecArgs(val values: Output<List<Double>>? = null) : ConvertibleToJava<GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecArgs>
data class GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecArgs(val maxValue: Output<Double>? = null, val minValue: Output<Double>? = null) : ConvertibleToJava<GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecArgs>
data class GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecArgs(val maxValue: Output<String>? = null, val minValue: Output<String>? = null) : ConvertibleToJava<GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecArgs>
data class GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecArgs(val values: Output<List<String>>? = null) : ConvertibleToJava<GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecArgs>

Represents the spec to match categorical values from parent parameter.

data class GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecArgs(val values: Output<List<Double>>? = null) : ConvertibleToJava<GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecArgs>

Represents the spec to match discrete values from parent parameter.

data class GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecArgs(val values: Output<List<String>>? = null) : ConvertibleToJava<GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecArgs>

Represents the spec to match integer values from parent parameter.

Link copied to clipboard
data class GoogleCloudMlV1_Trial_ParameterArgs(val floatValue: Output<Double>? = null, val intValue: Output<String>? = null, val parameter: Output<String>? = null, val stringValue: Output<String>? = null) : ConvertibleToJava<GoogleCloudMlV1_Trial_ParameterArgs>

A message representing a parameter to be tuned. Contains the name of the parameter and the suggested value to use for this trial.

Link copied to clipboard
data class GoogleIamV1__AuditConfigArgs(val auditLogConfigs: Output<List<GoogleIamV1__AuditLogConfigArgs>>? = null, val service: Output<String>? = null) : ConvertibleToJava<GoogleIamV1__AuditConfigArgs>

Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": "user:jose@example.com" }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": "user:aliya@example.com" } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.

Link copied to clipboard
data class GoogleIamV1__AuditLogConfigArgs(val exemptedMembers: Output<List<String>>? = null, val logType: Output<GoogleIamV1__AuditLogConfigLogType>? = null) : ConvertibleToJava<GoogleIamV1__AuditLogConfigArgs>

Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": "user:jose@example.com" }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.

Link copied to clipboard
data class GoogleIamV1__BindingArgs(val condition: Output<GoogleType__ExprArgs>? = null, val members: Output<List<String>>? = null, val role: Output<String>? = null) : ConvertibleToJava<GoogleIamV1__BindingArgs>

Associates members, or principals, with a role.

Link copied to clipboard
data class GoogleType__ExprArgs(val description: Output<String>? = null, val expression: Output<String>? = null, val location: Output<String>? = null, val title: Output<String>? = null) : ConvertibleToJava<GoogleType__ExprArgs>

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.