code
stringlengths
17
296k
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 getCreateTime() { return $this->create_time; }
Output only. Time the preview was created. Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Timestamp|null
getCreateTime
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setCreateTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->create_time = $var; return $this; }
Output only. Time the preview was created. Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Protobuf\Timestamp $var @return $this
setCreateTime
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getLabels() { return $this->labels; }
Optional. User-defined labels for the preview. Generated from protobuf field <code>map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Protobuf\Internal\MapField
getLabels
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setLabels($var) { $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); $this->labels = $arr; return $this; }
Optional. User-defined labels for the preview. Generated from protobuf field <code>map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @param array|\Google\Protobuf\Internal\MapField $var @return $this
setLabels
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getState() { return $this->state; }
Output only. Current state of the preview. Generated from protobuf field <code>.google.cloud.config.v1.Preview.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return int
getState
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setState($var) { GPBUtil::checkEnum($var, \Google\Cloud\Config\V1\Preview\State::class); $this->state = $var; return $this; }
Output only. Current state of the preview. Generated from protobuf field <code>.google.cloud.config.v1.Preview.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param int $var @return $this
setState
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getDeployment() { return $this->deployment; }
Optional. Optional deployment reference. If specified, the preview will be performed using the provided deployment's current state and use any relevant fields from the deployment unless explicitly specified in the preview create request. Generated from protobuf field <code>string deployment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {</code> @return string
getDeployment
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setDeployment($var) { GPBUtil::checkString($var, True); $this->deployment = $var; return $this; }
Optional. Optional deployment reference. If specified, the preview will be performed using the provided deployment's current state and use any relevant fields from the deployment unless explicitly specified in the preview create request. Generated from protobuf field <code>string deployment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {</code> @param string $var @return $this
setDeployment
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getPreviewMode() { return $this->preview_mode; }
Optional. Current mode of preview. Generated from protobuf field <code>.google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL];</code> @return int
getPreviewMode
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setPreviewMode($var) { GPBUtil::checkEnum($var, \Google\Cloud\Config\V1\Preview\PreviewMode::class); $this->preview_mode = $var; return $this; }
Optional. Current mode of preview. Generated from protobuf field <code>.google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL];</code> @param int $var @return $this
setPreviewMode
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getServiceAccount() { return $this->service_account; }
Required. User-specified Service Account (SA) credentials to be used when previewing resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}` Generated from protobuf field <code>string service_account = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @return string
getServiceAccount
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setServiceAccount($var) { GPBUtil::checkString($var, True); $this->service_account = $var; return $this; }
Required. User-specified Service Account (SA) credentials to be used when previewing resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}` Generated from protobuf field <code>string service_account = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @param string $var @return $this
setServiceAccount
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getArtifactsGcsBucket() { return isset($this->artifacts_gcs_bucket) ? $this->artifacts_gcs_bucket : ''; }
Optional. User-defined location of Cloud Build logs, artifacts, and in Google Cloud Storage. Format: `gs://{bucket}/{folder}` A default bucket will be bootstrapped if the field is not set or empty Default Bucket Format: `gs://<project number>-<region>-blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` If omitted and deployment resource ref provided has artifacts_gcs_bucket defined, that artifact bucket is used. Generated from protobuf field <code>optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getArtifactsGcsBucket
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setArtifactsGcsBucket($var) { GPBUtil::checkString($var, True); $this->artifacts_gcs_bucket = $var; return $this; }
Optional. User-defined location of Cloud Build logs, artifacts, and in Google Cloud Storage. Format: `gs://{bucket}/{folder}` A default bucket will be bootstrapped if the field is not set or empty Default Bucket Format: `gs://<project number>-<region>-blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` If omitted and deployment resource ref provided has artifacts_gcs_bucket defined, that artifact bucket is used. Generated from protobuf field <code>optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setArtifactsGcsBucket
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getWorkerPool() { return isset($this->worker_pool) ? $this->worker_pool : ''; }
Optional. The user-specified Worker Pool resource in which the Cloud Build job will execute. Format projects/{project}/locations/{location}/workerPools/{workerPoolId} If this field is unspecified, the default Cloud Build worker pool will be used. If omitted and deployment resource ref provided has worker_pool defined, that worker pool is used. Generated from protobuf field <code>optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {</code> @return string
getWorkerPool
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setWorkerPool($var) { GPBUtil::checkString($var, True); $this->worker_pool = $var; return $this; }
Optional. The user-specified Worker Pool resource in which the Cloud Build job will execute. Format projects/{project}/locations/{location}/workerPools/{workerPoolId} If this field is unspecified, the default Cloud Build worker pool will be used. If omitted and deployment resource ref provided has worker_pool defined, that worker pool is used. Generated from protobuf field <code>optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {</code> @param string $var @return $this
setWorkerPool
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getErrorCode() { return $this->error_code; }
Output only. Code describing any errors that may have occurred. Generated from protobuf field <code>.google.cloud.config.v1.Preview.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return int
getErrorCode
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setErrorCode($var) { GPBUtil::checkEnum($var, \Google\Cloud\Config\V1\Preview\ErrorCode::class); $this->error_code = $var; return $this; }
Output only. Code describing any errors that may have occurred. Generated from protobuf field <code>.google.cloud.config.v1.Preview.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param int $var @return $this
setErrorCode
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getErrorStatus() { return $this->error_status; }
Output only. Additional information regarding the current state. Generated from protobuf field <code>.google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Rpc\Status|null
getErrorStatus
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setErrorStatus($var) { GPBUtil::checkMessage($var, \Google\Rpc\Status::class); $this->error_status = $var; return $this; }
Output only. Additional information regarding the current state. Generated from protobuf field <code>.google.rpc.Status error_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Rpc\Status $var @return $this
setErrorStatus
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getBuild() { return $this->build; }
Output only. Cloud Build instance UUID associated with this preview. Generated from protobuf field <code>string build = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getBuild
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setBuild($var) { GPBUtil::checkString($var, True); $this->build = $var; return $this; }
Output only. Cloud Build instance UUID associated with this preview. Generated from protobuf field <code>string build = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setBuild
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getTfErrors() { return $this->tf_errors; }
Output only. Summary of errors encountered during Terraform preview. It has a size limit of 10, i.e. only top 10 errors will be summarized here. Generated from protobuf field <code>repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Internal\RepeatedField
getTfErrors
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setTfErrors($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Config\V1\TerraformError::class); $this->tf_errors = $arr; return $this; }
Output only. Summary of errors encountered during Terraform preview. It has a size limit of 10, i.e. only top 10 errors will be summarized here. Generated from protobuf field <code>repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param array<\Google\Cloud\Config\V1\TerraformError>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setTfErrors
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getErrorLogs() { return $this->error_logs; }
Output only. Link to tf-error.ndjson file, which contains the full list of the errors encountered during a Terraform preview. Format: `gs://{bucket}/{object}`. Generated from protobuf field <code>string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getErrorLogs
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setErrorLogs($var) { GPBUtil::checkString($var, True); $this->error_logs = $var; return $this; }
Output only. Link to tf-error.ndjson file, which contains the full list of the errors encountered during a Terraform preview. Format: `gs://{bucket}/{object}`. Generated from protobuf field <code>string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setErrorLogs
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getPreviewArtifacts() { return $this->preview_artifacts; }
Output only. Artifacts from preview. Generated from protobuf field <code>.google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Cloud\Config\V1\PreviewArtifacts|null
getPreviewArtifacts
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setPreviewArtifacts($var) { GPBUtil::checkMessage($var, \Google\Cloud\Config\V1\PreviewArtifacts::class); $this->preview_artifacts = $var; return $this; }
Output only. Artifacts from preview. Generated from protobuf field <code>.google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Cloud\Config\V1\PreviewArtifacts $var @return $this
setPreviewArtifacts
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getLogs() { return $this->logs; }
Output only. Location of preview logs in `gs://{bucket}/{object}` format. Generated from protobuf field <code>string logs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getLogs
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setLogs($var) { GPBUtil::checkString($var, True); $this->logs = $var; return $this; }
Output only. Location of preview logs in `gs://{bucket}/{object}` format. Generated from protobuf field <code>string logs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setLogs
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getTfVersion() { return $this->tf_version; }
Output only. The current Terraform version set on the preview. It is in the format of "Major.Minor.Patch", for example, "1.3.10". Generated from protobuf field <code>string tf_version = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getTfVersion
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setTfVersion($var) { GPBUtil::checkString($var, True); $this->tf_version = $var; return $this; }
Output only. The current Terraform version set on the preview. It is in the format of "Major.Minor.Patch", for example, "1.3.10". Generated from protobuf field <code>string tf_version = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setTfVersion
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getTfVersionConstraint() { return isset($this->tf_version_constraint) ? $this->tf_version_constraint : ''; }
Optional. The user-specified Terraform version constraint. Example: "=1.3.10". Generated from protobuf field <code>optional string tf_version_constraint = 19 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getTfVersionConstraint
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setTfVersionConstraint($var) { GPBUtil::checkString($var, True); $this->tf_version_constraint = $var; return $this; }
Optional. The user-specified Terraform version constraint. Example: "=1.3.10". Generated from protobuf field <code>optional string tf_version_constraint = 19 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setTfVersionConstraint
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getAnnotations() { return $this->annotations; }
Optional. Arbitrary key-value metadata storage e.g. to help client tools identifiy preview during automation. See https://google.aip.dev/148#annotations for details on format and size limitations. Generated from protobuf field <code>map<string, string> annotations = 20 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Protobuf\Internal\MapField
getAnnotations
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setAnnotations($var) { $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); $this->annotations = $arr; return $this; }
Optional. Arbitrary key-value metadata storage e.g. to help client tools identifiy preview during automation. See https://google.aip.dev/148#annotations for details on format and size limitations. Generated from protobuf field <code>map<string, string> annotations = 20 [(.google.api.field_behavior) = OPTIONAL];</code> @param array|\Google\Protobuf\Internal\MapField $var @return $this
setAnnotations
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getInterconnectRemoteLocation() { return $this->interconnect_remote_location; }
Name of the interconnect remote location to return. Generated from protobuf field <code>string interconnect_remote_location = 290153949 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getInterconnectRemoteLocation
php
googleapis/google-cloud-php
Compute/src/V1/GetInterconnectRemoteLocationRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/GetInterconnectRemoteLocationRequest.php
Apache-2.0
public function setInterconnectRemoteLocation($var) { GPBUtil::checkString($var, True); $this->interconnect_remote_location = $var; return $this; }
Name of the interconnect remote location to return. Generated from protobuf field <code>string interconnect_remote_location = 290153949 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setInterconnectRemoteLocation
php
googleapis/google-cloud-php
Compute/src/V1/GetInterconnectRemoteLocationRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/GetInterconnectRemoteLocationRequest.php
Apache-2.0
public function getProject() { return $this->project; }
Project ID for this request. Generated from protobuf field <code>string project = 227560217 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getProject
php
googleapis/google-cloud-php
Compute/src/V1/GetInterconnectRemoteLocationRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/GetInterconnectRemoteLocationRequest.php
Apache-2.0
public function setProject($var) { GPBUtil::checkString($var, True); $this->project = $var; return $this; }
Project ID for this request. Generated from protobuf field <code>string project = 227560217 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setProject
php
googleapis/google-cloud-php
Compute/src/V1/GetInterconnectRemoteLocationRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/GetInterconnectRemoteLocationRequest.php
Apache-2.0
public function getEmails() { return $this->emails; }
Optional. The email recipients who will receive the DataQualityScan results report. Generated from protobuf field <code>repeated string emails = 1 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Protobuf\Internal\RepeatedField
getEmails
php
googleapis/google-cloud-php
Dataplex/src/V1/DataQualitySpec/PostScanActions/Recipients.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/DataQualitySpec/PostScanActions/Recipients.php
Apache-2.0
public function setEmails($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->emails = $arr; return $this; }
Optional. The email recipients who will receive the DataQualityScan results report. Generated from protobuf field <code>repeated string emails = 1 [(.google.api.field_behavior) = OPTIONAL];</code> @param array<string>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setEmails
php
googleapis/google-cloud-php
Dataplex/src/V1/DataQualitySpec/PostScanActions/Recipients.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/DataQualitySpec/PostScanActions/Recipients.php
Apache-2.0
public function getParent() { return $this->parent; }
The parent resource name. In the format: `projects/{project_id}/databases/{database_id}/documents` or `projects/{project_id}/databases/{database_id}/documents/{document_path}`. For example: `projects/my-project/databases/my-database/documents` or `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom` Generated from protobuf field <code>string parent = 1;</code> @return string
getParent
php
googleapis/google-cloud-php
Firestore/src/V1beta1/Target/QueryTarget.php
https://github.com/googleapis/google-cloud-php/blob/master/Firestore/src/V1beta1/Target/QueryTarget.php
Apache-2.0
public function setParent($var) { GPBUtil::checkString($var, True); $this->parent = $var; return $this; }
The parent resource name. In the format: `projects/{project_id}/databases/{database_id}/documents` or `projects/{project_id}/databases/{database_id}/documents/{document_path}`. For example: `projects/my-project/databases/my-database/documents` or `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom` Generated from protobuf field <code>string parent = 1;</code> @param string $var @return $this
setParent
php
googleapis/google-cloud-php
Firestore/src/V1beta1/Target/QueryTarget.php
https://github.com/googleapis/google-cloud-php/blob/master/Firestore/src/V1beta1/Target/QueryTarget.php
Apache-2.0
public function getStructuredQuery() { return $this->readOneof(2); }
A structured query. Generated from protobuf field <code>.google.firestore.v1beta1.StructuredQuery structured_query = 2;</code> @return \Google\Cloud\Firestore\V1beta1\StructuredQuery
getStructuredQuery
php
googleapis/google-cloud-php
Firestore/src/V1beta1/Target/QueryTarget.php
https://github.com/googleapis/google-cloud-php/blob/master/Firestore/src/V1beta1/Target/QueryTarget.php
Apache-2.0
public function setStructuredQuery($var) { GPBUtil::checkMessage($var, \Google\Cloud\Firestore\V1beta1\StructuredQuery::class); $this->writeOneof(2, $var); return $this; }
A structured query. Generated from protobuf field <code>.google.firestore.v1beta1.StructuredQuery structured_query = 2;</code> @param \Google\Cloud\Firestore\V1beta1\StructuredQuery $var @return $this
setStructuredQuery
php
googleapis/google-cloud-php
Firestore/src/V1beta1/Target/QueryTarget.php
https://github.com/googleapis/google-cloud-php/blob/master/Firestore/src/V1beta1/Target/QueryTarget.php
Apache-2.0
public function getPath() { return $this->path; }
Optional. Path to access on the HTTP server. Defaults to '/'. Generated from protobuf field <code>string path = 1 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getPath
php
googleapis/google-cloud-php
Run/src/V2/HTTPGetAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Run/src/V2/HTTPGetAction.php
Apache-2.0
public function setPath($var) { GPBUtil::checkString($var, True); $this->path = $var; return $this; }
Optional. Path to access on the HTTP server. Defaults to '/'. Generated from protobuf field <code>string path = 1 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setPath
php
googleapis/google-cloud-php
Run/src/V2/HTTPGetAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Run/src/V2/HTTPGetAction.php
Apache-2.0
public function getHttpHeaders() { return $this->http_headers; }
Optional. Custom headers to set in the request. HTTP allows repeated headers. Generated from protobuf field <code>repeated .google.cloud.run.v2.HTTPHeader http_headers = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Protobuf\Internal\RepeatedField
getHttpHeaders
php
googleapis/google-cloud-php
Run/src/V2/HTTPGetAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Run/src/V2/HTTPGetAction.php
Apache-2.0
public function setHttpHeaders($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\HTTPHeader::class); $this->http_headers = $arr; return $this; }
Optional. Custom headers to set in the request. HTTP allows repeated headers. Generated from protobuf field <code>repeated .google.cloud.run.v2.HTTPHeader http_headers = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @param array<\Google\Cloud\Run\V2\HTTPHeader>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setHttpHeaders
php
googleapis/google-cloud-php
Run/src/V2/HTTPGetAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Run/src/V2/HTTPGetAction.php
Apache-2.0
public function getPort() { return $this->port; }
Optional. Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort. Generated from protobuf field <code>int32 port = 5 [(.google.api.field_behavior) = OPTIONAL];</code> @return int
getPort
php
googleapis/google-cloud-php
Run/src/V2/HTTPGetAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Run/src/V2/HTTPGetAction.php
Apache-2.0
public function setPort($var) { GPBUtil::checkInt32($var); $this->port = $var; return $this; }
Optional. Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort. Generated from protobuf field <code>int32 port = 5 [(.google.api.field_behavior) = OPTIONAL];</code> @param int $var @return $this
setPort
php
googleapis/google-cloud-php
Run/src/V2/HTTPGetAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Run/src/V2/HTTPGetAction.php
Apache-2.0
public function getName() { return $this->name; }
Required. Name of the resource, e.g. `projects/myproject/locations/US/reservations/team1-prod/assignments/123` Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @return string
getName
php
googleapis/google-cloud-php
BigQueryReservation/src/V1/DeleteAssignmentRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/BigQueryReservation/src/V1/DeleteAssignmentRequest.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Required. Name of the resource, e.g. `projects/myproject/locations/US/reservations/team1-prod/assignments/123` Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @param string $var @return $this
setName
php
googleapis/google-cloud-php
BigQueryReservation/src/V1/DeleteAssignmentRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/BigQueryReservation/src/V1/DeleteAssignmentRequest.php
Apache-2.0
public function getName() { return $this->name; }
Output only. The name of the target project. Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getName
php
googleapis/google-cloud-php
VmMigration/src/V1/TargetProject.php
https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/TargetProject.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Output only. The name of the target project. Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setName
php
googleapis/google-cloud-php
VmMigration/src/V1/TargetProject.php
https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/TargetProject.php
Apache-2.0
public function getProject() { return $this->project; }
The target project ID (number) or project name. Generated from protobuf field <code>string project = 2;</code> @return string
getProject
php
googleapis/google-cloud-php
VmMigration/src/V1/TargetProject.php
https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/TargetProject.php
Apache-2.0
public function setProject($var) { GPBUtil::checkString($var, True); $this->project = $var; return $this; }
The target project ID (number) or project name. Generated from protobuf field <code>string project = 2;</code> @param string $var @return $this
setProject
php
googleapis/google-cloud-php
VmMigration/src/V1/TargetProject.php
https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/TargetProject.php
Apache-2.0
public function getDescription() { return $this->description; }
The target project's description. Generated from protobuf field <code>string description = 3;</code> @return string
getDescription
php
googleapis/google-cloud-php
VmMigration/src/V1/TargetProject.php
https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/TargetProject.php
Apache-2.0
public function setDescription($var) { GPBUtil::checkString($var, True); $this->description = $var; return $this; }
The target project's description. Generated from protobuf field <code>string description = 3;</code> @param string $var @return $this
setDescription
php
googleapis/google-cloud-php
VmMigration/src/V1/TargetProject.php
https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/TargetProject.php
Apache-2.0
public function getCreateTime() { return $this->create_time; }
Output only. The time this target project resource was created (not related to when the Compute Engine project it points to was created). Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Timestamp|null
getCreateTime
php
googleapis/google-cloud-php
VmMigration/src/V1/TargetProject.php
https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/TargetProject.php
Apache-2.0
public function setCreateTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->create_time = $var; return $this; }
Output only. The time this target project resource was created (not related to when the Compute Engine project it points to was created). Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Protobuf\Timestamp $var @return $this
setCreateTime
php
googleapis/google-cloud-php
VmMigration/src/V1/TargetProject.php
https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/TargetProject.php
Apache-2.0
public function getUpdateTime() { return $this->update_time; }
Output only. The last time the target project resource was updated. Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Timestamp|null
getUpdateTime
php
googleapis/google-cloud-php
VmMigration/src/V1/TargetProject.php
https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/TargetProject.php
Apache-2.0
public function setUpdateTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->update_time = $var; return $this; }
Output only. The last time the target project resource was updated. Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Protobuf\Timestamp $var @return $this
setUpdateTime
php
googleapis/google-cloud-php
VmMigration/src/V1/TargetProject.php
https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/TargetProject.php
Apache-2.0
public function getName() { return $this->name; }
Required. The report source name. Format: `properties/{property}/reportTasks/{report}` Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getName
php
googleapis/google-cloud-php
AnalyticsData/src/V1alpha/QueryReportTaskRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsData/src/V1alpha/QueryReportTaskRequest.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Required. The report source name. Format: `properties/{property}/reportTasks/{report}` Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setName
php
googleapis/google-cloud-php
AnalyticsData/src/V1alpha/QueryReportTaskRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsData/src/V1alpha/QueryReportTaskRequest.php
Apache-2.0
public function getOffset() { return $this->offset; }
Optional. The row count of the start row in the report. The first row is counted as row 0. When paging, the first request does not specify offset; or equivalently, sets offset to 0; the first request returns the first `limit` of rows. The second request sets offset to the `limit` of the first request; the second request returns the second `limit` of rows. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). Generated from protobuf field <code>int64 offset = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @return int|string
getOffset
php
googleapis/google-cloud-php
AnalyticsData/src/V1alpha/QueryReportTaskRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsData/src/V1alpha/QueryReportTaskRequest.php
Apache-2.0
public function setOffset($var) { GPBUtil::checkInt64($var); $this->offset = $var; return $this; }
Optional. The row count of the start row in the report. The first row is counted as row 0. When paging, the first request does not specify offset; or equivalently, sets offset to 0; the first request returns the first `limit` of rows. The second request sets offset to the `limit` of the first request; the second request returns the second `limit` of rows. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). Generated from protobuf field <code>int64 offset = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @param int|string $var @return $this
setOffset
php
googleapis/google-cloud-php
AnalyticsData/src/V1alpha/QueryReportTaskRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsData/src/V1alpha/QueryReportTaskRequest.php
Apache-2.0
public function getLimit() { return $this->limit; }
Optional. The number of rows to return from the report. If unspecified, 10,000 rows are returned. The API returns a maximum of 250,000 rows per request, no matter how many you ask for. `limit` must be positive. The API can also return fewer rows than the requested `limit`, if there aren't as many dimension values as the `limit`. The number of rows available to a QueryReportTaskRequest is further limited by the limit of the associated ReportTask. A query can retrieve at most ReportTask.limit rows. For example, if the ReportTask has a limit of 1,000, then a QueryReportTask request with offset=900 and limit=500 will return at most 100 rows. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). Generated from protobuf field <code>int64 limit = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @return int|string
getLimit
php
googleapis/google-cloud-php
AnalyticsData/src/V1alpha/QueryReportTaskRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsData/src/V1alpha/QueryReportTaskRequest.php
Apache-2.0
public function setLimit($var) { GPBUtil::checkInt64($var); $this->limit = $var; return $this; }
Optional. The number of rows to return from the report. If unspecified, 10,000 rows are returned. The API returns a maximum of 250,000 rows per request, no matter how many you ask for. `limit` must be positive. The API can also return fewer rows than the requested `limit`, if there aren't as many dimension values as the `limit`. The number of rows available to a QueryReportTaskRequest is further limited by the limit of the associated ReportTask. A query can retrieve at most ReportTask.limit rows. For example, if the ReportTask has a limit of 1,000, then a QueryReportTask request with offset=900 and limit=500 will return at most 100 rows. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). Generated from protobuf field <code>int64 limit = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @param int|string $var @return $this
setLimit
php
googleapis/google-cloud-php
AnalyticsData/src/V1alpha/QueryReportTaskRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsData/src/V1alpha/QueryReportTaskRequest.php
Apache-2.0
public function getLoginHint() { return $this->login_hint; }
Domain hint to send as hd=? parameter in OAuth request flow. Enables redirect to primary IDP by skipping Google's login screen. https://developers.google.com/identity/protocols/OpenIDConnect#hd-param Note: IAP does not verify that the id token's hd claim matches this value since access behavior is managed by IAM policies. Generated from protobuf field <code>.google.protobuf.StringValue login_hint = 2;</code> @return \Google\Protobuf\StringValue|null
getLoginHint
php
googleapis/google-cloud-php
Iap/src/V1/OAuthSettings.php
https://github.com/googleapis/google-cloud-php/blob/master/Iap/src/V1/OAuthSettings.php
Apache-2.0
public function getLoginHintUnwrapped() { return $this->readWrapperValue("login_hint"); }
Returns the unboxed value from <code>getLoginHint()</code> Domain hint to send as hd=? parameter in OAuth request flow. Enables redirect to primary IDP by skipping Google's login screen. https://developers.google.com/identity/protocols/OpenIDConnect#hd-param Note: IAP does not verify that the id token's hd claim matches this value since access behavior is managed by IAM policies. Generated from protobuf field <code>.google.protobuf.StringValue login_hint = 2;</code> @return string|null
getLoginHintUnwrapped
php
googleapis/google-cloud-php
Iap/src/V1/OAuthSettings.php
https://github.com/googleapis/google-cloud-php/blob/master/Iap/src/V1/OAuthSettings.php
Apache-2.0
public function setLoginHint($var) { GPBUtil::checkMessage($var, \Google\Protobuf\StringValue::class); $this->login_hint = $var; return $this; }
Domain hint to send as hd=? parameter in OAuth request flow. Enables redirect to primary IDP by skipping Google's login screen. https://developers.google.com/identity/protocols/OpenIDConnect#hd-param Note: IAP does not verify that the id token's hd claim matches this value since access behavior is managed by IAM policies. Generated from protobuf field <code>.google.protobuf.StringValue login_hint = 2;</code> @param \Google\Protobuf\StringValue $var @return $this
setLoginHint
php
googleapis/google-cloud-php
Iap/src/V1/OAuthSettings.php
https://github.com/googleapis/google-cloud-php/blob/master/Iap/src/V1/OAuthSettings.php
Apache-2.0
public function setLoginHintUnwrapped($var) { $this->writeWrapperValue("login_hint", $var); return $this;}
Sets the field by wrapping a primitive type in a Google\Protobuf\StringValue object. Domain hint to send as hd=? parameter in OAuth request flow. Enables redirect to primary IDP by skipping Google's login screen. https://developers.google.com/identity/protocols/OpenIDConnect#hd-param Note: IAP does not verify that the id token's hd claim matches this value since access behavior is managed by IAM policies. Generated from protobuf field <code>.google.protobuf.StringValue login_hint = 2;</code> @param string|null $var @return $this
setLoginHintUnwrapped
php
googleapis/google-cloud-php
Iap/src/V1/OAuthSettings.php
https://github.com/googleapis/google-cloud-php/blob/master/Iap/src/V1/OAuthSettings.php
Apache-2.0
public function getProgrammaticClients() { return $this->programmatic_clients; }
Optional. List of client ids allowed to use IAP programmatically. Generated from protobuf field <code>repeated string programmatic_clients = 5 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Protobuf\Internal\RepeatedField
getProgrammaticClients
php
googleapis/google-cloud-php
Iap/src/V1/OAuthSettings.php
https://github.com/googleapis/google-cloud-php/blob/master/Iap/src/V1/OAuthSettings.php
Apache-2.0
public function setProgrammaticClients($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->programmatic_clients = $arr; return $this; }
Optional. List of client ids allowed to use IAP programmatically. Generated from protobuf field <code>repeated string programmatic_clients = 5 [(.google.api.field_behavior) = OPTIONAL];</code> @param array<string>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setProgrammaticClients
php
googleapis/google-cloud-php
Iap/src/V1/OAuthSettings.php
https://github.com/googleapis/google-cloud-php/blob/master/Iap/src/V1/OAuthSettings.php
Apache-2.0
public function getName() { return $this->name; }
The name of the Azure resource group. This is not a UUID. Generated from protobuf field <code>string name = 1;</code> @return string
getName
php
googleapis/google-cloud-php
SecurityCenter/src/V1/AzureMetadata/AzureResourceGroup.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V1/AzureMetadata/AzureResourceGroup.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
The name of the Azure resource group. This is not a UUID. Generated from protobuf field <code>string name = 1;</code> @param string $var @return $this
setName
php
googleapis/google-cloud-php
SecurityCenter/src/V1/AzureMetadata/AzureResourceGroup.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V1/AzureMetadata/AzureResourceGroup.php
Apache-2.0
public function getStorageSizeBytes() { return isset($this->storage_size_bytes) ? $this->storage_size_bytes : 0; }
[Output Only] The storage size of this instant snapshot. Generated from protobuf field <code>optional int64 storage_size_bytes = 387548913;</code> @return int|string
getStorageSizeBytes
php
googleapis/google-cloud-php
Compute/src/V1/InstantSnapshotResourceStatus.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InstantSnapshotResourceStatus.php
Apache-2.0
public function setStorageSizeBytes($var) { GPBUtil::checkInt64($var); $this->storage_size_bytes = $var; return $this; }
[Output Only] The storage size of this instant snapshot. Generated from protobuf field <code>optional int64 storage_size_bytes = 387548913;</code> @param int|string $var @return $this
setStorageSizeBytes
php
googleapis/google-cloud-php
Compute/src/V1/InstantSnapshotResourceStatus.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InstantSnapshotResourceStatus.php
Apache-2.0
public function getId() { return $this->id; }
Required. ID of the rule. This ID must be unique in the `Automation` resource to which this rule belongs. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`. Generated from protobuf field <code>string id = 1 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getId
php
googleapis/google-cloud-php
Deploy/src/V1/TimedPromoteReleaseRule.php
https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/TimedPromoteReleaseRule.php
Apache-2.0
public function setId($var) { GPBUtil::checkString($var, True); $this->id = $var; return $this; }
Required. ID of the rule. This ID must be unique in the `Automation` resource to which this rule belongs. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`. Generated from protobuf field <code>string id = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setId
php
googleapis/google-cloud-php
Deploy/src/V1/TimedPromoteReleaseRule.php
https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/TimedPromoteReleaseRule.php
Apache-2.0
public function getDestinationTargetId() { return $this->destination_target_id; }
Optional. The ID of the stage in the pipeline to which this `Release` is deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following: * The last segment of a target name * "&#64;next", the next target in the promotion sequence Generated from protobuf field <code>string destination_target_id = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getDestinationTargetId
php
googleapis/google-cloud-php
Deploy/src/V1/TimedPromoteReleaseRule.php
https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/TimedPromoteReleaseRule.php
Apache-2.0
public function setDestinationTargetId($var) { GPBUtil::checkString($var, True); $this->destination_target_id = $var; return $this; }
Optional. The ID of the stage in the pipeline to which this `Release` is deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following: * The last segment of a target name * "&#64;next", the next target in the promotion sequence Generated from protobuf field <code>string destination_target_id = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setDestinationTargetId
php
googleapis/google-cloud-php
Deploy/src/V1/TimedPromoteReleaseRule.php
https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/TimedPromoteReleaseRule.php
Apache-2.0
public function getSchedule() { return $this->schedule; }
Required. Schedule in crontab format. e.g. "0 9 * * 1" for every Monday at 9am. Generated from protobuf field <code>string schedule = 3 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getSchedule
php
googleapis/google-cloud-php
Deploy/src/V1/TimedPromoteReleaseRule.php
https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/TimedPromoteReleaseRule.php
Apache-2.0
public function setSchedule($var) { GPBUtil::checkString($var, True); $this->schedule = $var; return $this; }
Required. Schedule in crontab format. e.g. "0 9 * * 1" for every Monday at 9am. Generated from protobuf field <code>string schedule = 3 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setSchedule
php
googleapis/google-cloud-php
Deploy/src/V1/TimedPromoteReleaseRule.php
https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/TimedPromoteReleaseRule.php
Apache-2.0
public function getTimeZone() { return $this->time_zone; }
Required. The time zone in IANA format [IANA Time Zone Database](https://www.iana.org/time-zones) (e.g. America/New_York). Generated from protobuf field <code>string time_zone = 4 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getTimeZone
php
googleapis/google-cloud-php
Deploy/src/V1/TimedPromoteReleaseRule.php
https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/TimedPromoteReleaseRule.php
Apache-2.0
public function setTimeZone($var) { GPBUtil::checkString($var, True); $this->time_zone = $var; return $this; }
Required. The time zone in IANA format [IANA Time Zone Database](https://www.iana.org/time-zones) (e.g. America/New_York). Generated from protobuf field <code>string time_zone = 4 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setTimeZone
php
googleapis/google-cloud-php
Deploy/src/V1/TimedPromoteReleaseRule.php
https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/TimedPromoteReleaseRule.php
Apache-2.0
public function getCondition() { return $this->condition; }
Output only. Information around the state of the Automation rule. Generated from protobuf field <code>.google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Cloud\Deploy\V1\AutomationRuleCondition|null
getCondition
php
googleapis/google-cloud-php
Deploy/src/V1/TimedPromoteReleaseRule.php
https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/TimedPromoteReleaseRule.php
Apache-2.0
public function setCondition($var) { GPBUtil::checkMessage($var, \Google\Cloud\Deploy\V1\AutomationRuleCondition::class); $this->condition = $var; return $this; }
Output only. Information around the state of the Automation rule. Generated from protobuf field <code>.google.cloud.deploy.v1.AutomationRuleCondition condition = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Cloud\Deploy\V1\AutomationRuleCondition $var @return $this
setCondition
php
googleapis/google-cloud-php
Deploy/src/V1/TimedPromoteReleaseRule.php
https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/TimedPromoteReleaseRule.php
Apache-2.0
public function getDestinationPhase() { return $this->destination_phase; }
Optional. The starting phase of the rollout created by this rule. Default to the first phase. Generated from protobuf field <code>string destination_phase = 6 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getDestinationPhase
php
googleapis/google-cloud-php
Deploy/src/V1/TimedPromoteReleaseRule.php
https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/TimedPromoteReleaseRule.php
Apache-2.0
public function setDestinationPhase($var) { GPBUtil::checkString($var, True); $this->destination_phase = $var; return $this; }
Optional. The starting phase of the rollout created by this rule. Default to the first phase. Generated from protobuf field <code>string destination_phase = 6 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setDestinationPhase
php
googleapis/google-cloud-php
Deploy/src/V1/TimedPromoteReleaseRule.php
https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/TimedPromoteReleaseRule.php
Apache-2.0
public function getParent() { return $this->parent; }
Required. The parent resource to query for orders. This field has the form `billingAccounts/{billing-account-id}`. Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getParent
php
googleapis/google-cloud-php
CommerceConsumerProcurement/src/V1/ListOrdersRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/CommerceConsumerProcurement/src/V1/ListOrdersRequest.php
Apache-2.0
public function setParent($var) { GPBUtil::checkString($var, True); $this->parent = $var; return $this; }
Required. The parent resource to query for orders. This field has the form `billingAccounts/{billing-account-id}`. Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setParent
php
googleapis/google-cloud-php
CommerceConsumerProcurement/src/V1/ListOrdersRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/CommerceConsumerProcurement/src/V1/ListOrdersRequest.php
Apache-2.0
public function getPageSize() { return $this->page_size; }
The maximum number of entries requested. The default page size is 25 and the maximum page size is 200. Generated from protobuf field <code>int32 page_size = 2;</code> @return int
getPageSize
php
googleapis/google-cloud-php
CommerceConsumerProcurement/src/V1/ListOrdersRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/CommerceConsumerProcurement/src/V1/ListOrdersRequest.php
Apache-2.0
public function setPageSize($var) { GPBUtil::checkInt32($var); $this->page_size = $var; return $this; }
The maximum number of entries requested. The default page size is 25 and the maximum page size is 200. Generated from protobuf field <code>int32 page_size = 2;</code> @param int $var @return $this
setPageSize
php
googleapis/google-cloud-php
CommerceConsumerProcurement/src/V1/ListOrdersRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/CommerceConsumerProcurement/src/V1/ListOrdersRequest.php
Apache-2.0
public function getPageToken() { return $this->page_token; }
The token for fetching the next page. Generated from protobuf field <code>string page_token = 3;</code> @return string
getPageToken
php
googleapis/google-cloud-php
CommerceConsumerProcurement/src/V1/ListOrdersRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/CommerceConsumerProcurement/src/V1/ListOrdersRequest.php
Apache-2.0
public function setPageToken($var) { GPBUtil::checkString($var, True); $this->page_token = $var; return $this; }
The token for fetching the next page. Generated from protobuf field <code>string page_token = 3;</code> @param string $var @return $this
setPageToken
php
googleapis/google-cloud-php
CommerceConsumerProcurement/src/V1/ListOrdersRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/CommerceConsumerProcurement/src/V1/ListOrdersRequest.php
Apache-2.0
public function getFilter() { return $this->filter; }
Filter that you can use to limit the list request. A query string that can match a selected set of attributes with string values. For example, `display_name=abc`. Supported query attributes are * `display_name` If the query contains special characters other than letters, underscore, or digits, the phrase must be quoted with double quotes. For example, `display_name="foo:bar"`, where the display name needs to be quoted because it contains special character colon. Queries can be combined with `OR`, and `NOT` to form more complex queries. You can also group them to force a desired evaluation order. For example, `display_name=abc OR display_name=def`. Generated from protobuf field <code>string filter = 4;</code> @return string
getFilter
php
googleapis/google-cloud-php
CommerceConsumerProcurement/src/V1/ListOrdersRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/CommerceConsumerProcurement/src/V1/ListOrdersRequest.php
Apache-2.0
public function setFilter($var) { GPBUtil::checkString($var, True); $this->filter = $var; return $this; }
Filter that you can use to limit the list request. A query string that can match a selected set of attributes with string values. For example, `display_name=abc`. Supported query attributes are * `display_name` If the query contains special characters other than letters, underscore, or digits, the phrase must be quoted with double quotes. For example, `display_name="foo:bar"`, where the display name needs to be quoted because it contains special character colon. Queries can be combined with `OR`, and `NOT` to form more complex queries. You can also group them to force a desired evaluation order. For example, `display_name=abc OR display_name=def`. Generated from protobuf field <code>string filter = 4;</code> @param string $var @return $this
setFilter
php
googleapis/google-cloud-php
CommerceConsumerProcurement/src/V1/ListOrdersRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/CommerceConsumerProcurement/src/V1/ListOrdersRequest.php
Apache-2.0