code
stringlengths 17
247k
| docstring
stringlengths 30
30.3k
| func_name
stringlengths 1
89
| language
stringclasses 1
value | repo
stringlengths 7
63
| path
stringlengths 7
153
| url
stringlengths 51
209
| license
stringclasses 4
values |
---|---|---|---|---|---|---|---|
public function setConnection($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\DeveloperConnect\V1\Connection::class);
$this->connection = $var;
return $this;
} | Required. The resource being created
Generated from protobuf field <code>.google.cloud.developerconnect.v1.Connection connection = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\DeveloperConnect\V1\Connection $var
@return $this | setConnection | php | googleapis/google-cloud-php | DeveloperConnect/src/V1/CreateConnectionRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/CreateConnectionRequest.php | Apache-2.0 |
public function getMinAnonymity()
{
return $this->min_anonymity;
} | Always positive.
Generated from protobuf field <code>int64 min_anonymity = 1;</code>
@return int|string | getMinAnonymity | php | googleapis/google-cloud-php | Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationHistogramBucket.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationHistogramBucket.php | Apache-2.0 |
public function setMinAnonymity($var)
{
GPBUtil::checkInt64($var);
$this->min_anonymity = $var;
return $this;
} | Always positive.
Generated from protobuf field <code>int64 min_anonymity = 1;</code>
@param int|string $var
@return $this | setMinAnonymity | php | googleapis/google-cloud-php | Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationHistogramBucket.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationHistogramBucket.php | Apache-2.0 |
public function getMaxAnonymity()
{
return $this->max_anonymity;
} | Always greater than or equal to min_anonymity.
Generated from protobuf field <code>int64 max_anonymity = 2;</code>
@return int|string | getMaxAnonymity | php | googleapis/google-cloud-php | Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationHistogramBucket.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationHistogramBucket.php | Apache-2.0 |
public function setMaxAnonymity($var)
{
GPBUtil::checkInt64($var);
$this->max_anonymity = $var;
return $this;
} | Always greater than or equal to min_anonymity.
Generated from protobuf field <code>int64 max_anonymity = 2;</code>
@param int|string $var
@return $this | setMaxAnonymity | php | googleapis/google-cloud-php | Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationHistogramBucket.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationHistogramBucket.php | Apache-2.0 |
public function getBucketSize()
{
return $this->bucket_size;
} | Number of records within these anonymity bounds.
Generated from protobuf field <code>int64 bucket_size = 5;</code>
@return int|string | getBucketSize | php | googleapis/google-cloud-php | Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationHistogramBucket.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationHistogramBucket.php | Apache-2.0 |
public function setBucketSize($var)
{
GPBUtil::checkInt64($var);
$this->bucket_size = $var;
return $this;
} | Number of records within these anonymity bounds.
Generated from protobuf field <code>int64 bucket_size = 5;</code>
@param int|string $var
@return $this | setBucketSize | php | googleapis/google-cloud-php | Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationHistogramBucket.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationHistogramBucket.php | Apache-2.0 |
public function getBucketValues()
{
return $this->bucket_values;
} | Sample of quasi-identifier tuple values in this bucket. The total
number of classes returned per bucket is capped at 20.
Generated from protobuf field <code>repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;</code>
@return \Google\Protobuf\Internal\RepeatedField | getBucketValues | php | googleapis/google-cloud-php | Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationHistogramBucket.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationHistogramBucket.php | Apache-2.0 |
public function setBucketValues($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KMapEstimationResult\KMapEstimationQuasiIdValues::class);
$this->bucket_values = $arr;
return $this;
} | Sample of quasi-identifier tuple values in this bucket. The total
number of classes returned per bucket is capped at 20.
Generated from protobuf field <code>repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6;</code>
@param array<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KMapEstimationResult\KMapEstimationQuasiIdValues>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setBucketValues | php | googleapis/google-cloud-php | Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationHistogramBucket.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationHistogramBucket.php | Apache-2.0 |
public function getBucketValueCount()
{
return $this->bucket_value_count;
} | Total number of distinct quasi-identifier tuple values in this bucket.
Generated from protobuf field <code>int64 bucket_value_count = 7;</code>
@return int|string | getBucketValueCount | php | googleapis/google-cloud-php | Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationHistogramBucket.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationHistogramBucket.php | Apache-2.0 |
public function setBucketValueCount($var)
{
GPBUtil::checkInt64($var);
$this->bucket_value_count = $var;
return $this;
} | Total number of distinct quasi-identifier tuple values in this bucket.
Generated from protobuf field <code>int64 bucket_value_count = 7;</code>
@param int|string $var
@return $this | setBucketValueCount | php | googleapis/google-cloud-php | Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationHistogramBucket.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationHistogramBucket.php | Apache-2.0 |
public function getEphemeralCert()
{
return $this->ephemeral_cert;
} | Generated cert
Generated from protobuf field <code>.google.cloud.sql.v1.SslCert ephemeral_cert = 1;</code>
@return \Google\Cloud\Sql\V1\SslCert|null | getEphemeralCert | php | googleapis/google-cloud-php | SqlAdmin/src/V1/GenerateEphemeralCertResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/GenerateEphemeralCertResponse.php | Apache-2.0 |
public function setEphemeralCert($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\SslCert::class);
$this->ephemeral_cert = $var;
return $this;
} | Generated cert
Generated from protobuf field <code>.google.cloud.sql.v1.SslCert ephemeral_cert = 1;</code>
@param \Google\Cloud\Sql\V1\SslCert $var
@return $this | setEphemeralCert | php | googleapis/google-cloud-php | SqlAdmin/src/V1/GenerateEphemeralCertResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/GenerateEphemeralCertResponse.php | Apache-2.0 |
public function getPubsubSubscription()
{
return $this->pubsub_subscription;
} | The Pub/Sub subscription the AppConnector uses to receive notifications.
Generated from protobuf field <code>string pubsub_subscription = 1;</code>
@return string | getPubsubSubscription | php | googleapis/google-cloud-php | BeyondCorpAppConnectors/src/V1/NotificationConfig/CloudPubSubNotificationConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/BeyondCorpAppConnectors/src/V1/NotificationConfig/CloudPubSubNotificationConfig.php | Apache-2.0 |
public function setPubsubSubscription($var)
{
GPBUtil::checkString($var, True);
$this->pubsub_subscription = $var;
return $this;
} | The Pub/Sub subscription the AppConnector uses to receive notifications.
Generated from protobuf field <code>string pubsub_subscription = 1;</code>
@param string $var
@return $this | setPubsubSubscription | php | googleapis/google-cloud-php | BeyondCorpAppConnectors/src/V1/NotificationConfig/CloudPubSubNotificationConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/BeyondCorpAppConnectors/src/V1/NotificationConfig/CloudPubSubNotificationConfig.php | Apache-2.0 |
public function getIncludeRegexes()
{
return $this->readOneof(1);
} | A collection of regular expressions to match a BigQuery table against.
Generated from protobuf field <code>.google.privacy.dlp.v2.BigQueryRegexes include_regexes = 1;</code>
@return \Google\Cloud\Dlp\V2\BigQueryRegexes|null | getIncludeRegexes | php | googleapis/google-cloud-php | Dlp/src/V2/BigQueryTableCollection.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/BigQueryTableCollection.php | Apache-2.0 |
public function setIncludeRegexes($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\BigQueryRegexes::class);
$this->writeOneof(1, $var);
return $this;
} | A collection of regular expressions to match a BigQuery table against.
Generated from protobuf field <code>.google.privacy.dlp.v2.BigQueryRegexes include_regexes = 1;</code>
@param \Google\Cloud\Dlp\V2\BigQueryRegexes $var
@return $this | setIncludeRegexes | php | googleapis/google-cloud-php | Dlp/src/V2/BigQueryTableCollection.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/BigQueryTableCollection.php | Apache-2.0 |
public function getDeployPolicyId()
{
return $this->deploy_policy_id;
} | Required. ID of the `DeployPolicy`.
Generated from protobuf field <code>string deploy_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getDeployPolicyId | php | googleapis/google-cloud-php | Deploy/src/V1/CreateDeployPolicyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/CreateDeployPolicyRequest.php | Apache-2.0 |
public function setDeployPolicyId($var)
{
GPBUtil::checkString($var, True);
$this->deploy_policy_id = $var;
return $this;
} | Required. ID of the `DeployPolicy`.
Generated from protobuf field <code>string deploy_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setDeployPolicyId | php | googleapis/google-cloud-php | Deploy/src/V1/CreateDeployPolicyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/CreateDeployPolicyRequest.php | Apache-2.0 |
public function getDeployPolicy()
{
return $this->deploy_policy;
} | Required. The `DeployPolicy` to create.
Generated from protobuf field <code>.google.cloud.deploy.v1.DeployPolicy deploy_policy = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\Deploy\V1\DeployPolicy|null | getDeployPolicy | php | googleapis/google-cloud-php | Deploy/src/V1/CreateDeployPolicyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/CreateDeployPolicyRequest.php | Apache-2.0 |
public function setDeployPolicy($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Deploy\V1\DeployPolicy::class);
$this->deploy_policy = $var;
return $this;
} | Required. The `DeployPolicy` to create.
Generated from protobuf field <code>.google.cloud.deploy.v1.DeployPolicy deploy_policy = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\Deploy\V1\DeployPolicy $var
@return $this | setDeployPolicy | php | googleapis/google-cloud-php | Deploy/src/V1/CreateDeployPolicyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/CreateDeployPolicyRequest.php | Apache-2.0 |
public function getTotalCapacityBytes()
{
return $this->total_capacity_bytes;
} | Disk total Capacity.
Generated from protobuf field <code>int64 total_capacity_bytes = 1;</code>
@return int|string | getTotalCapacityBytes | php | googleapis/google-cloud-php | MigrationCenter/src/V1/MachineDiskDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/MachineDiskDetails.php | Apache-2.0 |
public function setTotalCapacityBytes($var)
{
GPBUtil::checkInt64($var);
$this->total_capacity_bytes = $var;
return $this;
} | Disk total Capacity.
Generated from protobuf field <code>int64 total_capacity_bytes = 1;</code>
@param int|string $var
@return $this | setTotalCapacityBytes | php | googleapis/google-cloud-php | MigrationCenter/src/V1/MachineDiskDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/MachineDiskDetails.php | Apache-2.0 |
public function getTotalFreeBytes()
{
return $this->total_free_bytes;
} | Total disk free space.
Generated from protobuf field <code>int64 total_free_bytes = 2;</code>
@return int|string | getTotalFreeBytes | php | googleapis/google-cloud-php | MigrationCenter/src/V1/MachineDiskDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/MachineDiskDetails.php | Apache-2.0 |
public function setTotalFreeBytes($var)
{
GPBUtil::checkInt64($var);
$this->total_free_bytes = $var;
return $this;
} | Total disk free space.
Generated from protobuf field <code>int64 total_free_bytes = 2;</code>
@param int|string $var
@return $this | setTotalFreeBytes | php | googleapis/google-cloud-php | MigrationCenter/src/V1/MachineDiskDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/MachineDiskDetails.php | Apache-2.0 |
public function setDisks($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\MigrationCenter\V1\DiskEntryList::class);
$this->disks = $var;
return $this;
} | List of disks.
Generated from protobuf field <code>.google.cloud.migrationcenter.v1.DiskEntryList disks = 3;</code>
@param \Google\Cloud\MigrationCenter\V1\DiskEntryList $var
@return $this | setDisks | php | googleapis/google-cloud-php | MigrationCenter/src/V1/MachineDiskDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/MachineDiskDetails.php | Apache-2.0 |
public function getTotalRequiredQuota()
{
return $this->total_required_quota;
} | This number is an estimation on how much total quota this project needs
to successfully complete indexing.
Generated from protobuf field <code>int64 total_required_quota = 1;</code>
@return int|string | getTotalRequiredQuota | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/TargetSite/FailureReason/QuotaFailure.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/TargetSite/FailureReason/QuotaFailure.php | Apache-2.0 |
public function setTotalRequiredQuota($var)
{
GPBUtil::checkInt64($var);
$this->total_required_quota = $var;
return $this;
} | This number is an estimation on how much total quota this project needs
to successfully complete indexing.
Generated from protobuf field <code>int64 total_required_quota = 1;</code>
@param int|string $var
@return $this | setTotalRequiredQuota | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/TargetSite/FailureReason/QuotaFailure.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/TargetSite/FailureReason/QuotaFailure.php | Apache-2.0 |
public function setReason($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Audit\BigQueryAuditMetadata\JobDeletion\Reason::class);
$this->reason = $var;
return $this;
} | Describes how the job was deleted.
Generated from protobuf field <code>.google.cloud.audit.BigQueryAuditMetadata.JobDeletion.Reason reason = 2;</code>
@param int $var
@return $this | setReason | php | googleapis/google-cloud-php | CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobDeletion.php | https://github.com/googleapis/google-cloud-php/blob/master/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobDeletion.php | Apache-2.0 |
public function getProcessedCount()
{
return $this->processed_count;
} | The number of hybrid inspection requests processed within this job.
Generated from protobuf field <code>int64 processed_count = 1;</code>
@return int|string | getProcessedCount | php | googleapis/google-cloud-php | Dlp/src/V2/HybridInspectStatistics.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/HybridInspectStatistics.php | Apache-2.0 |
public function setProcessedCount($var)
{
GPBUtil::checkInt64($var);
$this->processed_count = $var;
return $this;
} | The number of hybrid inspection requests processed within this job.
Generated from protobuf field <code>int64 processed_count = 1;</code>
@param int|string $var
@return $this | setProcessedCount | php | googleapis/google-cloud-php | Dlp/src/V2/HybridInspectStatistics.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/HybridInspectStatistics.php | Apache-2.0 |
public function getAbortedCount()
{
return $this->aborted_count;
} | The number of hybrid inspection requests aborted because the job ran
out of quota or was ended before they could be processed.
Generated from protobuf field <code>int64 aborted_count = 2;</code>
@return int|string | getAbortedCount | php | googleapis/google-cloud-php | Dlp/src/V2/HybridInspectStatistics.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/HybridInspectStatistics.php | Apache-2.0 |
public function setAbortedCount($var)
{
GPBUtil::checkInt64($var);
$this->aborted_count = $var;
return $this;
} | The number of hybrid inspection requests aborted because the job ran
out of quota or was ended before they could be processed.
Generated from protobuf field <code>int64 aborted_count = 2;</code>
@param int|string $var
@return $this | setAbortedCount | php | googleapis/google-cloud-php | Dlp/src/V2/HybridInspectStatistics.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/HybridInspectStatistics.php | Apache-2.0 |
public function setType($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\EvaluatedAnnotation\EvaluatedAnnotationType::class);
$this->type = $var;
return $this;
} | Output only. Type of the EvaluatedAnnotation.
Generated from protobuf field <code>.google.cloud.aiplatform.v1.EvaluatedAnnotation.EvaluatedAnnotationType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param int $var
@return $this | setType | php | googleapis/google-cloud-php | AiPlatform/src/V1/EvaluatedAnnotation.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/EvaluatedAnnotation.php | Apache-2.0 |
public function getPredictions()
{
return $this->predictions;
} | Output only. The model predicted annotations.
For true positive, there is one and only one prediction, which matches the
only one ground truth annotation in
[ground_truths][google.cloud.aiplatform.v1.EvaluatedAnnotation.ground_truths].
For false positive, there is one and only one prediction, which doesn't
match any ground truth annotation of the corresponding
[data_item_view_id][google.cloud.aiplatform.v1.EvaluatedAnnotation.evaluated_data_item_view_id].
For false negative, there are zero or more predictions which are similar to
the only ground truth annotation in
[ground_truths][google.cloud.aiplatform.v1.EvaluatedAnnotation.ground_truths]
but not enough for a match.
The schema of the prediction is stored in
[ModelEvaluation.annotation_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.annotation_schema_uri]
Generated from protobuf field <code>repeated .google.protobuf.Value predictions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Protobuf\Internal\RepeatedField | getPredictions | php | googleapis/google-cloud-php | AiPlatform/src/V1/EvaluatedAnnotation.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/EvaluatedAnnotation.php | Apache-2.0 |
public function setPredictions($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Value::class);
$this->predictions = $arr;
return $this;
} | Output only. The model predicted annotations.
For true positive, there is one and only one prediction, which matches the
only one ground truth annotation in
[ground_truths][google.cloud.aiplatform.v1.EvaluatedAnnotation.ground_truths].
For false positive, there is one and only one prediction, which doesn't
match any ground truth annotation of the corresponding
[data_item_view_id][google.cloud.aiplatform.v1.EvaluatedAnnotation.evaluated_data_item_view_id].
For false negative, there are zero or more predictions which are similar to
the only ground truth annotation in
[ground_truths][google.cloud.aiplatform.v1.EvaluatedAnnotation.ground_truths]
but not enough for a match.
The schema of the prediction is stored in
[ModelEvaluation.annotation_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.annotation_schema_uri]
Generated from protobuf field <code>repeated .google.protobuf.Value predictions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param array<\Google\Protobuf\Value>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setPredictions | php | googleapis/google-cloud-php | AiPlatform/src/V1/EvaluatedAnnotation.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/EvaluatedAnnotation.php | Apache-2.0 |
public function getGroundTruths()
{
return $this->ground_truths;
} | Output only. The ground truth Annotations, i.e. the Annotations that exist
in the test data the Model is evaluated on.
For true positive, there is one and only one ground truth annotation, which
matches the only prediction in
[predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions].
For false positive, there are zero or more ground truth annotations that
are similar to the only prediction in
[predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions],
but not enough for a match.
For false negative, there is one and only one ground truth annotation,
which doesn't match any predictions created by the model.
The schema of the ground truth is stored in
[ModelEvaluation.annotation_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.annotation_schema_uri]
Generated from protobuf field <code>repeated .google.protobuf.Value ground_truths = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Protobuf\Internal\RepeatedField | getGroundTruths | php | googleapis/google-cloud-php | AiPlatform/src/V1/EvaluatedAnnotation.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/EvaluatedAnnotation.php | Apache-2.0 |
public function setGroundTruths($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Value::class);
$this->ground_truths = $arr;
return $this;
} | Output only. The ground truth Annotations, i.e. the Annotations that exist
in the test data the Model is evaluated on.
For true positive, there is one and only one ground truth annotation, which
matches the only prediction in
[predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions].
For false positive, there are zero or more ground truth annotations that
are similar to the only prediction in
[predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions],
but not enough for a match.
For false negative, there is one and only one ground truth annotation,
which doesn't match any predictions created by the model.
The schema of the ground truth is stored in
[ModelEvaluation.annotation_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.annotation_schema_uri]
Generated from protobuf field <code>repeated .google.protobuf.Value ground_truths = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param array<\Google\Protobuf\Value>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setGroundTruths | php | googleapis/google-cloud-php | AiPlatform/src/V1/EvaluatedAnnotation.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/EvaluatedAnnotation.php | Apache-2.0 |
public function getDataItemPayload()
{
return $this->data_item_payload;
} | Output only. The data item payload that the Model predicted this
EvaluatedAnnotation on.
Generated from protobuf field <code>.google.protobuf.Value data_item_payload = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Protobuf\Value|null | getDataItemPayload | php | googleapis/google-cloud-php | AiPlatform/src/V1/EvaluatedAnnotation.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/EvaluatedAnnotation.php | Apache-2.0 |
public function setDataItemPayload($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Value::class);
$this->data_item_payload = $var;
return $this;
} | Output only. The data item payload that the Model predicted this
EvaluatedAnnotation on.
Generated from protobuf field <code>.google.protobuf.Value data_item_payload = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param \Google\Protobuf\Value $var
@return $this | setDataItemPayload | php | googleapis/google-cloud-php | AiPlatform/src/V1/EvaluatedAnnotation.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/EvaluatedAnnotation.php | Apache-2.0 |
public function getEvaluatedDataItemViewId()
{
return $this->evaluated_data_item_view_id;
} | Output only. ID of the EvaluatedDataItemView under the same ancestor
ModelEvaluation. The EvaluatedDataItemView consists of all ground truths
and predictions on
[data_item_payload][google.cloud.aiplatform.v1.EvaluatedAnnotation.data_item_payload].
Generated from protobuf field <code>string evaluated_data_item_view_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getEvaluatedDataItemViewId | php | googleapis/google-cloud-php | AiPlatform/src/V1/EvaluatedAnnotation.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/EvaluatedAnnotation.php | Apache-2.0 |
public function setEvaluatedDataItemViewId($var)
{
GPBUtil::checkString($var, True);
$this->evaluated_data_item_view_id = $var;
return $this;
} | Output only. ID of the EvaluatedDataItemView under the same ancestor
ModelEvaluation. The EvaluatedDataItemView consists of all ground truths
and predictions on
[data_item_payload][google.cloud.aiplatform.v1.EvaluatedAnnotation.data_item_payload].
Generated from protobuf field <code>string evaluated_data_item_view_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setEvaluatedDataItemViewId | php | googleapis/google-cloud-php | AiPlatform/src/V1/EvaluatedAnnotation.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/EvaluatedAnnotation.php | Apache-2.0 |
public function getExplanations()
{
return $this->explanations;
} | Explanations of
[predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions].
Each element of the explanations indicates the explanation for one
explanation Method.
The attributions list in the
[EvaluatedAnnotationExplanation.explanation][google.cloud.aiplatform.v1.EvaluatedAnnotationExplanation.explanation]
object corresponds to the
[predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions]
list. For example, the second element in the attributions list explains the
second element in the predictions list.
Generated from protobuf field <code>repeated .google.cloud.aiplatform.v1.EvaluatedAnnotationExplanation explanations = 8;</code>
@return \Google\Protobuf\Internal\RepeatedField | getExplanations | php | googleapis/google-cloud-php | AiPlatform/src/V1/EvaluatedAnnotation.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/EvaluatedAnnotation.php | Apache-2.0 |
public function setExplanations($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\EvaluatedAnnotationExplanation::class);
$this->explanations = $arr;
return $this;
} | Explanations of
[predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions].
Each element of the explanations indicates the explanation for one
explanation Method.
The attributions list in the
[EvaluatedAnnotationExplanation.explanation][google.cloud.aiplatform.v1.EvaluatedAnnotationExplanation.explanation]
object corresponds to the
[predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions]
list. For example, the second element in the attributions list explains the
second element in the predictions list.
Generated from protobuf field <code>repeated .google.cloud.aiplatform.v1.EvaluatedAnnotationExplanation explanations = 8;</code>
@param array<\Google\Cloud\AIPlatform\V1\EvaluatedAnnotationExplanation>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setExplanations | php | googleapis/google-cloud-php | AiPlatform/src/V1/EvaluatedAnnotation.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/EvaluatedAnnotation.php | Apache-2.0 |
public function getErrorAnalysisAnnotations()
{
return $this->error_analysis_annotations;
} | Annotations of model error analysis results.
Generated from protobuf field <code>repeated .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation error_analysis_annotations = 9;</code>
@return \Google\Protobuf\Internal\RepeatedField | getErrorAnalysisAnnotations | php | googleapis/google-cloud-php | AiPlatform/src/V1/EvaluatedAnnotation.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/EvaluatedAnnotation.php | Apache-2.0 |
public function setErrorAnalysisAnnotations($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\ErrorAnalysisAnnotation::class);
$this->error_analysis_annotations = $arr;
return $this;
} | Annotations of model error analysis results.
Generated from protobuf field <code>repeated .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation error_analysis_annotations = 9;</code>
@param array<\Google\Cloud\AIPlatform\V1\ErrorAnalysisAnnotation>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setErrorAnalysisAnnotations | php | googleapis/google-cloud-php | AiPlatform/src/V1/EvaluatedAnnotation.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/EvaluatedAnnotation.php | Apache-2.0 |
public function getPort()
{
return $this->readOneof(9);
} | Optional. Output only. port will only be set for Primary/Reader or
Discovery endpoint.
Generated from protobuf field <code>int32 port = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];</code>
@return int | getPort | php | googleapis/google-cloud-php | Memorystore/src/V1/PscAutoConnection.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PscAutoConnection.php | Apache-2.0 |
public function setPort($var)
{
GPBUtil::checkInt32($var);
$this->writeOneof(9, $var);
return $this;
} | Optional. Output only. port will only be set for Primary/Reader or
Discovery endpoint.
Generated from protobuf field <code>int32 port = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];</code>
@param int $var
@return $this | setPort | php | googleapis/google-cloud-php | Memorystore/src/V1/PscAutoConnection.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PscAutoConnection.php | Apache-2.0 |
public function getPscConnectionId()
{
return $this->psc_connection_id;
} | Output only. The PSC connection id of the forwarding rule connected to the
service attachment.
Generated from protobuf field <code>string psc_connection_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getPscConnectionId | php | googleapis/google-cloud-php | Memorystore/src/V1/PscAutoConnection.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PscAutoConnection.php | Apache-2.0 |
public function setPscConnectionId($var)
{
GPBUtil::checkString($var, True);
$this->psc_connection_id = $var;
return $this;
} | Output only. The PSC connection id of the forwarding rule connected to the
service attachment.
Generated from protobuf field <code>string psc_connection_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setPscConnectionId | php | googleapis/google-cloud-php | Memorystore/src/V1/PscAutoConnection.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PscAutoConnection.php | Apache-2.0 |
public function getServiceAttachment()
{
return $this->service_attachment;
} | Output only. The service attachment which is the target of the PSC
connection, in the form of
projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
Generated from protobuf field <code>string service_attachment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {</code>
@return string | getServiceAttachment | php | googleapis/google-cloud-php | Memorystore/src/V1/PscAutoConnection.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PscAutoConnection.php | Apache-2.0 |
public function setServiceAttachment($var)
{
GPBUtil::checkString($var, True);
$this->service_attachment = $var;
return $this;
} | Output only. The service attachment which is the target of the PSC
connection, in the form of
projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
Generated from protobuf field <code>string service_attachment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setServiceAttachment | php | googleapis/google-cloud-php | Memorystore/src/V1/PscAutoConnection.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PscAutoConnection.php | Apache-2.0 |
public function getPscConnectionStatus()
{
return $this->psc_connection_status;
} | Output only. The status of the PSC connection: whether a connection exists
and ACTIVE or it no longer exists. Please note that this value is updated
periodically. Please use Private Service Connect APIs for the latest
status.
Generated from protobuf field <code>.google.cloud.memorystore.v1.PscConnectionStatus psc_connection_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return int | getPscConnectionStatus | php | googleapis/google-cloud-php | Memorystore/src/V1/PscAutoConnection.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PscAutoConnection.php | Apache-2.0 |
public function setPscConnectionStatus($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Memorystore\V1\PscConnectionStatus::class);
$this->psc_connection_status = $var;
return $this;
} | Output only. The status of the PSC connection: whether a connection exists
and ACTIVE or it no longer exists. Please note that this value is updated
periodically. Please use Private Service Connect APIs for the latest
status.
Generated from protobuf field <code>.google.cloud.memorystore.v1.PscConnectionStatus psc_connection_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param int $var
@return $this | setPscConnectionStatus | php | googleapis/google-cloud-php | Memorystore/src/V1/PscAutoConnection.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PscAutoConnection.php | Apache-2.0 |
public function setConnectionType($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Memorystore\V1\ConnectionType::class);
$this->connection_type = $var;
return $this;
} | Output only. Type of the PSC connection.
Generated from protobuf field <code>.google.cloud.memorystore.v1.ConnectionType connection_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param int $var
@return $this | setConnectionType | php | googleapis/google-cloud-php | Memorystore/src/V1/PscAutoConnection.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PscAutoConnection.php | Apache-2.0 |
public function getAllowedLocations()
{
return $this->allowed_locations;
} | A list of allowed location names represented by internal URLs.
Each location can be a region or a zone.
Only one region or multiple zones in one region is supported now.
For example,
["regions/us-central1"] allow VMs in any zones in region us-central1.
["zones/us-central1-a", "zones/us-central1-c"] only allow VMs
in zones us-central1-a and us-central1-c.
Mixing locations from different regions would cause errors.
For example,
["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b",
"zones/us-west1-a"] contains locations from two distinct regions:
us-central1 and us-west1. This combination will trigger an error.
Generated from protobuf field <code>repeated string allowed_locations = 1;</code>
@return \Google\Protobuf\Internal\RepeatedField | getAllowedLocations | php | googleapis/google-cloud-php | Batch/src/V1/AllocationPolicy/LocationPolicy.php | https://github.com/googleapis/google-cloud-php/blob/master/Batch/src/V1/AllocationPolicy/LocationPolicy.php | Apache-2.0 |
public function setAllowedLocations($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->allowed_locations = $arr;
return $this;
} | A list of allowed location names represented by internal URLs.
Each location can be a region or a zone.
Only one region or multiple zones in one region is supported now.
For example,
["regions/us-central1"] allow VMs in any zones in region us-central1.
["zones/us-central1-a", "zones/us-central1-c"] only allow VMs
in zones us-central1-a and us-central1-c.
Mixing locations from different regions would cause errors.
For example,
["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b",
"zones/us-west1-a"] contains locations from two distinct regions:
us-central1 and us-west1. This combination will trigger an error.
Generated from protobuf field <code>repeated string allowed_locations = 1;</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setAllowedLocations | php | googleapis/google-cloud-php | Batch/src/V1/AllocationPolicy/LocationPolicy.php | https://github.com/googleapis/google-cloud-php/blob/master/Batch/src/V1/AllocationPolicy/LocationPolicy.php | Apache-2.0 |
public function setInstance($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\ApigeeRegistry\V1\Instance::class);
$this->instance = $var;
return $this;
} | Required. The Instance.
Generated from protobuf field <code>.google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\ApigeeRegistry\V1\Instance $var
@return $this | setInstance | php | googleapis/google-cloud-php | ApigeeRegistry/src/V1/CreateInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ApigeeRegistry/src/V1/CreateInstanceRequest.php | Apache-2.0 |
public function setBackup($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\AlloyDb\V1\Backup::class);
$this->backup = $var;
return $this;
} | Required. The resource being updated
Generated from protobuf field <code>.google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\AlloyDb\V1\Backup $var
@return $this | setBackup | php | googleapis/google-cloud-php | AlloyDb/src/V1/UpdateBackupRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/UpdateBackupRequest.php | Apache-2.0 |
public function getBigqueryAction()
{
return $this->readOneof(6);
} | Output only. The workflow action's bigquery action details.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Cloud\Dataform\V1beta1\WorkflowInvocationAction\BigQueryAction|null | getBigqueryAction | php | googleapis/google-cloud-php | Dataform/src/V1beta1/WorkflowInvocationAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/WorkflowInvocationAction.php | Apache-2.0 |
public function setBigqueryAction($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Dataform\V1beta1\WorkflowInvocationAction\BigQueryAction::class);
$this->writeOneof(6, $var);
return $this;
} | Output only. The workflow action's bigquery action details.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param \Google\Cloud\Dataform\V1beta1\WorkflowInvocationAction\BigQueryAction $var
@return $this | setBigqueryAction | php | googleapis/google-cloud-php | Dataform/src/V1beta1/WorkflowInvocationAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/WorkflowInvocationAction.php | Apache-2.0 |
public function getNotebookAction()
{
return $this->readOneof(8);
} | Output only. The workflow action's notebook action details.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.WorkflowInvocationAction.NotebookAction notebook_action = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Cloud\Dataform\V1beta1\WorkflowInvocationAction\NotebookAction|null | getNotebookAction | php | googleapis/google-cloud-php | Dataform/src/V1beta1/WorkflowInvocationAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/WorkflowInvocationAction.php | Apache-2.0 |
public function setNotebookAction($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Dataform\V1beta1\WorkflowInvocationAction\NotebookAction::class);
$this->writeOneof(8, $var);
return $this;
} | Output only. The workflow action's notebook action details.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.WorkflowInvocationAction.NotebookAction notebook_action = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param \Google\Cloud\Dataform\V1beta1\WorkflowInvocationAction\NotebookAction $var
@return $this | setNotebookAction | php | googleapis/google-cloud-php | Dataform/src/V1beta1/WorkflowInvocationAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/WorkflowInvocationAction.php | Apache-2.0 |
public function setState($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Dataform\V1beta1\WorkflowInvocationAction\State::class);
$this->state = $var;
return $this;
} | Output only. This action's current state.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param int $var
@return $this | setState | php | googleapis/google-cloud-php | Dataform/src/V1beta1/WorkflowInvocationAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/WorkflowInvocationAction.php | Apache-2.0 |
public function setFailureReason($var)
{
GPBUtil::checkString($var, True);
$this->failure_reason = $var;
return $this;
} | Output only. If and only if action's state is FAILED a failure reason is
set.
Generated from protobuf field <code>string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setFailureReason | php | googleapis/google-cloud-php | Dataform/src/V1beta1/WorkflowInvocationAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/WorkflowInvocationAction.php | Apache-2.0 |
public function getInvocationTiming()
{
return $this->invocation_timing;
} | Output only. This action's timing details.
`start_time` will be set if the action is in [RUNNING, SUCCEEDED,
CANCELLED, FAILED] state.
`end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED]
state.
Generated from protobuf field <code>.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Type\Interval|null | getInvocationTiming | php | googleapis/google-cloud-php | Dataform/src/V1beta1/WorkflowInvocationAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/WorkflowInvocationAction.php | Apache-2.0 |
public function setInvocationTiming($var)
{
GPBUtil::checkMessage($var, \Google\Type\Interval::class);
$this->invocation_timing = $var;
return $this;
} | Output only. This action's timing details.
`start_time` will be set if the action is in [RUNNING, SUCCEEDED,
CANCELLED, FAILED] state.
`end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED]
state.
Generated from protobuf field <code>.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param \Google\Type\Interval $var
@return $this | setInvocationTiming | php | googleapis/google-cloud-php | Dataform/src/V1beta1/WorkflowInvocationAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/WorkflowInvocationAction.php | Apache-2.0 |
public function setPaths($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->paths = $arr;
return $this;
} | Optional. Full file paths to commit including filename, rooted at workspace
root. If left empty, all files will be committed.
Generated from protobuf field <code>repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setPaths | php | googleapis/google-cloud-php | Dataform/src/V1beta1/CommitWorkspaceChangesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CommitWorkspaceChangesRequest.php | Apache-2.0 |
public function setState($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\DiscoveryEngine\V1\Session\State::class);
$this->state = $var;
return $this;
} | The state of the session.
Generated from protobuf field <code>.google.cloud.discoveryengine.v1.Session.State state = 2;</code>
@param int $var
@return $this | setState | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Session.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Session.php | Apache-2.0 |
public function getTurns()
{
return $this->turns;
} | Turns.
Generated from protobuf field <code>repeated .google.cloud.discoveryengine.v1.Session.Turn turns = 4;</code>
@return \Google\Protobuf\Internal\RepeatedField | getTurns | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Session.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Session.php | Apache-2.0 |
public function setTurns($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\DiscoveryEngine\V1\Session\Turn::class);
$this->turns = $arr;
return $this;
} | Turns.
Generated from protobuf field <code>repeated .google.cloud.discoveryengine.v1.Session.Turn turns = 4;</code>
@param array<\Google\Cloud\DiscoveryEngine\V1\Session\Turn>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setTurns | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Session.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Session.php | Apache-2.0 |
public function getIsPinned()
{
return $this->is_pinned;
} | Optional. Whether the session is pinned, pinned session will be displayed
on the top of the session list.
Generated from protobuf field <code>bool is_pinned = 8 [(.google.api.field_behavior) = OPTIONAL];</code>
@return bool | getIsPinned | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Session.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Session.php | Apache-2.0 |
public function setIsPinned($var)
{
GPBUtil::checkBool($var);
$this->is_pinned = $var;
return $this;
} | Optional. Whether the session is pinned, pinned session will be displayed
on the top of the session list.
Generated from protobuf field <code>bool is_pinned = 8 [(.google.api.field_behavior) = OPTIONAL];</code>
@param bool $var
@return $this | setIsPinned | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Session.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Session.php | Apache-2.0 |
public function getEvaluationMode()
{
return $this->evaluation_mode;
} | Required. How this admission rule will be evaluated.
Generated from protobuf field <code>.google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return int | getEvaluationMode | php | googleapis/google-cloud-php | BinaryAuthorization/src/V1/AdmissionRule.php | https://github.com/googleapis/google-cloud-php/blob/master/BinaryAuthorization/src/V1/AdmissionRule.php | Apache-2.0 |
public function setEvaluationMode($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\BinaryAuthorization\V1\AdmissionRule\EvaluationMode::class);
$this->evaluation_mode = $var;
return $this;
} | Required. How this admission rule will be evaluated.
Generated from protobuf field <code>.google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param int $var
@return $this | setEvaluationMode | php | googleapis/google-cloud-php | BinaryAuthorization/src/V1/AdmissionRule.php | https://github.com/googleapis/google-cloud-php/blob/master/BinaryAuthorization/src/V1/AdmissionRule.php | Apache-2.0 |
public function getRequireAttestationsBy()
{
return $this->require_attestations_by;
} | Optional. The resource names of the attestors that must attest to
a container image, in the format `projects/*/attestors/*`. Each
attestor must exist before a policy can reference it. To add an attestor
to a policy the principal issuing the policy change request must be able
to read the attestor resource.
Note: this field must be non-empty when the evaluation_mode field specifies
REQUIRE_ATTESTATION, otherwise it must be empty.
Generated from protobuf field <code>repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Protobuf\Internal\RepeatedField | getRequireAttestationsBy | php | googleapis/google-cloud-php | BinaryAuthorization/src/V1/AdmissionRule.php | https://github.com/googleapis/google-cloud-php/blob/master/BinaryAuthorization/src/V1/AdmissionRule.php | Apache-2.0 |
public function setRequireAttestationsBy($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->require_attestations_by = $arr;
return $this;
} | Optional. The resource names of the attestors that must attest to
a container image, in the format `projects/*/attestors/*`. Each
attestor must exist before a policy can reference it. To add an attestor
to a policy the principal issuing the policy change request must be able
to read the attestor resource.
Note: this field must be non-empty when the evaluation_mode field specifies
REQUIRE_ATTESTATION, otherwise it must be empty.
Generated from protobuf field <code>repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setRequireAttestationsBy | php | googleapis/google-cloud-php | BinaryAuthorization/src/V1/AdmissionRule.php | https://github.com/googleapis/google-cloud-php/blob/master/BinaryAuthorization/src/V1/AdmissionRule.php | Apache-2.0 |
public function getEnforcementMode()
{
return $this->enforcement_mode;
} | Required. The action when a pod creation is denied by the admission rule.
Generated from protobuf field <code>.google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@return int | getEnforcementMode | php | googleapis/google-cloud-php | BinaryAuthorization/src/V1/AdmissionRule.php | https://github.com/googleapis/google-cloud-php/blob/master/BinaryAuthorization/src/V1/AdmissionRule.php | Apache-2.0 |
public function setEnforcementMode($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\BinaryAuthorization\V1\AdmissionRule\EnforcementMode::class);
$this->enforcement_mode = $var;
return $this;
} | Required. The action when a pod creation is denied by the admission rule.
Generated from protobuf field <code>.google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@param int $var
@return $this | setEnforcementMode | php | googleapis/google-cloud-php | BinaryAuthorization/src/V1/AdmissionRule.php | https://github.com/googleapis/google-cloud-php/blob/master/BinaryAuthorization/src/V1/AdmissionRule.php | Apache-2.0 |
public function getRetentionInterval()
{
return $this->retention_interval;
} | How long to keep generated audit files.
Generated from protobuf field <code>.google.protobuf.Duration retention_interval = 3;</code>
@return \Google\Protobuf\Duration|null | getRetentionInterval | php | googleapis/google-cloud-php | SqlAdmin/src/V1/SqlServerAuditConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/SqlServerAuditConfig.php | Apache-2.0 |
public function setRetentionInterval($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
$this->retention_interval = $var;
return $this;
} | How long to keep generated audit files.
Generated from protobuf field <code>.google.protobuf.Duration retention_interval = 3;</code>
@param \Google\Protobuf\Duration $var
@return $this | setRetentionInterval | php | googleapis/google-cloud-php | SqlAdmin/src/V1/SqlServerAuditConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/SqlServerAuditConfig.php | Apache-2.0 |
public function getUploadInterval()
{
return $this->upload_interval;
} | How often to upload generated audit files.
Generated from protobuf field <code>.google.protobuf.Duration upload_interval = 4;</code>
@return \Google\Protobuf\Duration|null | getUploadInterval | php | googleapis/google-cloud-php | SqlAdmin/src/V1/SqlServerAuditConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/SqlServerAuditConfig.php | Apache-2.0 |
public function setUploadInterval($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
$this->upload_interval = $var;
return $this;
} | How often to upload generated audit files.
Generated from protobuf field <code>.google.protobuf.Duration upload_interval = 4;</code>
@param \Google\Protobuf\Duration $var
@return $this | setUploadInterval | php | googleapis/google-cloud-php | SqlAdmin/src/V1/SqlServerAuditConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/SqlServerAuditConfig.php | Apache-2.0 |
public function getIfMetagenerationMatch()
{
return isset($this->if_metageneration_match) ? $this->if_metageneration_match : 0;
} | Makes the operation only succeed conditional on whether the folder's
current metageneration matches the given value.
Generated from protobuf field <code>optional int64 if_metageneration_match = 3;</code>
@return int|string | getIfMetagenerationMatch | php | googleapis/google-cloud-php | StorageControl/src/V2/GetFolderRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/StorageControl/src/V2/GetFolderRequest.php | Apache-2.0 |
public function setIfMetagenerationMatch($var)
{
GPBUtil::checkInt64($var);
$this->if_metageneration_match = $var;
return $this;
} | Makes the operation only succeed conditional on whether the folder's
current metageneration matches the given value.
Generated from protobuf field <code>optional int64 if_metageneration_match = 3;</code>
@param int|string $var
@return $this | setIfMetagenerationMatch | php | googleapis/google-cloud-php | StorageControl/src/V2/GetFolderRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/StorageControl/src/V2/GetFolderRequest.php | Apache-2.0 |
public function getIfMetagenerationNotMatch()
{
return isset($this->if_metageneration_not_match) ? $this->if_metageneration_not_match : 0;
} | Makes the operation only succeed conditional on whether the folder's
current metageneration does not match the given value.
Generated from protobuf field <code>optional int64 if_metageneration_not_match = 4;</code>
@return int|string | getIfMetagenerationNotMatch | php | googleapis/google-cloud-php | StorageControl/src/V2/GetFolderRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/StorageControl/src/V2/GetFolderRequest.php | Apache-2.0 |
public function setIfMetagenerationNotMatch($var)
{
GPBUtil::checkInt64($var);
$this->if_metageneration_not_match = $var;
return $this;
} | Makes the operation only succeed conditional on whether the folder's
current metageneration does not match the given value.
Generated from protobuf field <code>optional int64 if_metageneration_not_match = 4;</code>
@param int|string $var
@return $this | setIfMetagenerationNotMatch | php | googleapis/google-cloud-php | StorageControl/src/V2/GetFolderRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/StorageControl/src/V2/GetFolderRequest.php | Apache-2.0 |
public function setFormat($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Security\PrivateCA\V1\PublicKey\KeyFormat::class);
$this->format = $var;
return $this;
} | Required. The format of the public key.
Generated from protobuf field <code>.google.cloud.security.privateca.v1.PublicKey.KeyFormat format = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param int $var
@return $this | setFormat | php | googleapis/google-cloud-php | SecurityPrivateCa/src/V1/PublicKey.php | https://github.com/googleapis/google-cloud-php/blob/master/SecurityPrivateCa/src/V1/PublicKey.php | Apache-2.0 |
public function getUsageUnit()
{
return $this->usage_unit;
} | The short hand for unit of usage this pricing is specified in.
Example: usage_unit of "GiBy" means that usage is specified in "Gibi Byte".
Generated from protobuf field <code>string usage_unit = 1;</code>
@return string | getUsageUnit | php | googleapis/google-cloud-php | Billing/src/V1/PricingExpression.php | https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php | Apache-2.0 |
public function setUsageUnit($var)
{
GPBUtil::checkString($var, True);
$this->usage_unit = $var;
return $this;
} | The short hand for unit of usage this pricing is specified in.
Example: usage_unit of "GiBy" means that usage is specified in "Gibi Byte".
Generated from protobuf field <code>string usage_unit = 1;</code>
@param string $var
@return $this | setUsageUnit | php | googleapis/google-cloud-php | Billing/src/V1/PricingExpression.php | https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php | Apache-2.0 |
public function getDisplayQuantity()
{
return $this->display_quantity;
} | The recommended quantity of units for displaying pricing info. When
displaying pricing info it is recommended to display:
(unit_price * display_quantity) per display_quantity usage_unit.
This field does not affect the pricing formula and is for display purposes
only.
Example: If the unit_price is "0.0001 USD", the usage_unit is "GB" and
the display_quantity is "1000" then the recommended way of displaying the
pricing info is "0.10 USD per 1000 GB"
Generated from protobuf field <code>double display_quantity = 2;</code>
@return float | getDisplayQuantity | php | googleapis/google-cloud-php | Billing/src/V1/PricingExpression.php | https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php | Apache-2.0 |
public function setDisplayQuantity($var)
{
GPBUtil::checkDouble($var);
$this->display_quantity = $var;
return $this;
} | The recommended quantity of units for displaying pricing info. When
displaying pricing info it is recommended to display:
(unit_price * display_quantity) per display_quantity usage_unit.
This field does not affect the pricing formula and is for display purposes
only.
Example: If the unit_price is "0.0001 USD", the usage_unit is "GB" and
the display_quantity is "1000" then the recommended way of displaying the
pricing info is "0.10 USD per 1000 GB"
Generated from protobuf field <code>double display_quantity = 2;</code>
@param float $var
@return $this | setDisplayQuantity | php | googleapis/google-cloud-php | Billing/src/V1/PricingExpression.php | https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php | Apache-2.0 |
public function getTieredRates()
{
return $this->tiered_rates;
} | The list of tiered rates for this pricing. The total cost is computed by
applying each of the tiered rates on usage. This repeated list is sorted
by ascending order of start_usage_amount.
Generated from protobuf field <code>repeated .google.cloud.billing.v1.PricingExpression.TierRate tiered_rates = 3;</code>
@return \Google\Protobuf\Internal\RepeatedField | getTieredRates | php | googleapis/google-cloud-php | Billing/src/V1/PricingExpression.php | https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php | Apache-2.0 |
public function setTieredRates($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Billing\V1\PricingExpression\TierRate::class);
$this->tiered_rates = $arr;
return $this;
} | The list of tiered rates for this pricing. The total cost is computed by
applying each of the tiered rates on usage. This repeated list is sorted
by ascending order of start_usage_amount.
Generated from protobuf field <code>repeated .google.cloud.billing.v1.PricingExpression.TierRate tiered_rates = 3;</code>
@param array<\Google\Cloud\Billing\V1\PricingExpression\TierRate>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setTieredRates | php | googleapis/google-cloud-php | Billing/src/V1/PricingExpression.php | https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php | Apache-2.0 |
public function getUsageUnitDescription()
{
return $this->usage_unit_description;
} | The unit of usage in human readable form.
Example: "gibi byte".
Generated from protobuf field <code>string usage_unit_description = 4;</code>
@return string | getUsageUnitDescription | php | googleapis/google-cloud-php | Billing/src/V1/PricingExpression.php | https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php | Apache-2.0 |
public function setUsageUnitDescription($var)
{
GPBUtil::checkString($var, True);
$this->usage_unit_description = $var;
return $this;
} | The unit of usage in human readable form.
Example: "gibi byte".
Generated from protobuf field <code>string usage_unit_description = 4;</code>
@param string $var
@return $this | setUsageUnitDescription | php | googleapis/google-cloud-php | Billing/src/V1/PricingExpression.php | https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php | Apache-2.0 |
public function getBaseUnit()
{
return $this->base_unit;
} | The base unit for the SKU which is the unit used in usage exports.
Example: "By"
Generated from protobuf field <code>string base_unit = 5;</code>
@return string | getBaseUnit | php | googleapis/google-cloud-php | Billing/src/V1/PricingExpression.php | https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php | Apache-2.0 |
public function setBaseUnit($var)
{
GPBUtil::checkString($var, True);
$this->base_unit = $var;
return $this;
} | The base unit for the SKU which is the unit used in usage exports.
Example: "By"
Generated from protobuf field <code>string base_unit = 5;</code>
@param string $var
@return $this | setBaseUnit | php | googleapis/google-cloud-php | Billing/src/V1/PricingExpression.php | https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php | Apache-2.0 |
public function getBaseUnitDescription()
{
return $this->base_unit_description;
} | The base unit in human readable form.
Example: "byte".
Generated from protobuf field <code>string base_unit_description = 6;</code>
@return string | getBaseUnitDescription | php | googleapis/google-cloud-php | Billing/src/V1/PricingExpression.php | https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php | Apache-2.0 |
public function setBaseUnitDescription($var)
{
GPBUtil::checkString($var, True);
$this->base_unit_description = $var;
return $this;
} | The base unit in human readable form.
Example: "byte".
Generated from protobuf field <code>string base_unit_description = 6;</code>
@param string $var
@return $this | setBaseUnitDescription | php | googleapis/google-cloud-php | Billing/src/V1/PricingExpression.php | https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.