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 setOrderBy($var) { GPBUtil::checkString($var, True); $this->order_by = $var; return $this; }
Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. Generated from protobuf field <code>optional string order_by = 160562920;</code> @param string $var @return $this
setOrderBy
php
googleapis/google-cloud-php
Compute/src/V1/ListRegionNetworkFirewallPoliciesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ListRegionNetworkFirewallPoliciesRequest.php
Apache-2.0
public function getPageToken() { return isset($this->page_token) ? $this->page_token : ''; }
Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. Generated from protobuf field <code>optional string page_token = 19994697;</code> @return string
getPageToken
php
googleapis/google-cloud-php
Compute/src/V1/ListRegionNetworkFirewallPoliciesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ListRegionNetworkFirewallPoliciesRequest.php
Apache-2.0
public function setPageToken($var) { GPBUtil::checkString($var, True); $this->page_token = $var; return $this; }
Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. Generated from protobuf field <code>optional string page_token = 19994697;</code> @param string $var @return $this
setPageToken
php
googleapis/google-cloud-php
Compute/src/V1/ListRegionNetworkFirewallPoliciesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ListRegionNetworkFirewallPoliciesRequest.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/ListRegionNetworkFirewallPoliciesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ListRegionNetworkFirewallPoliciesRequest.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/ListRegionNetworkFirewallPoliciesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ListRegionNetworkFirewallPoliciesRequest.php
Apache-2.0
public function getRegion() { return $this->region; }
Name of the region scoping this request. Generated from protobuf field <code>string region = 138946292 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getRegion
php
googleapis/google-cloud-php
Compute/src/V1/ListRegionNetworkFirewallPoliciesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ListRegionNetworkFirewallPoliciesRequest.php
Apache-2.0
public function setRegion($var) { GPBUtil::checkString($var, True); $this->region = $var; return $this; }
Name of the region scoping this request. Generated from protobuf field <code>string region = 138946292 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setRegion
php
googleapis/google-cloud-php
Compute/src/V1/ListRegionNetworkFirewallPoliciesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ListRegionNetworkFirewallPoliciesRequest.php
Apache-2.0
public function getReturnPartialSuccess() { return isset($this->return_partial_success) ? $this->return_partial_success : false; }
Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code. Generated from protobuf field <code>optional bool return_partial_success = 517198390;</code> @return bool
getReturnPartialSuccess
php
googleapis/google-cloud-php
Compute/src/V1/ListRegionNetworkFirewallPoliciesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ListRegionNetworkFirewallPoliciesRequest.php
Apache-2.0
public function setReturnPartialSuccess($var) { GPBUtil::checkBool($var); $this->return_partial_success = $var; return $this; }
Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code. Generated from protobuf field <code>optional bool return_partial_success = 517198390;</code> @param bool $var @return $this
setReturnPartialSuccess
php
googleapis/google-cloud-php
Compute/src/V1/ListRegionNetworkFirewallPoliciesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ListRegionNetworkFirewallPoliciesRequest.php
Apache-2.0
public function getCitationThreshold() { return isset($this->citation_threshold) ? $this->citation_threshold : 0.0; }
The threshold (in [0,1]) used for determining whether a fact must be cited for a claim in the answer candidate. Choosing a higher threshold will lead to fewer but very strong citations, while choosing a lower threshold may lead to more but somewhat weaker citations. If unset, the threshold will default to 0.6. Generated from protobuf field <code>optional double citation_threshold = 1;</code> @return float
getCitationThreshold
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/CheckGroundingSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/CheckGroundingSpec.php
Apache-2.0
public function setCitationThreshold($var) { GPBUtil::checkDouble($var); $this->citation_threshold = $var; return $this; }
The threshold (in [0,1]) used for determining whether a fact must be cited for a claim in the answer candidate. Choosing a higher threshold will lead to fewer but very strong citations, while choosing a lower threshold may lead to more but somewhat weaker citations. If unset, the threshold will default to 0.6. Generated from protobuf field <code>optional double citation_threshold = 1;</code> @param float $var @return $this
setCitationThreshold
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/CheckGroundingSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/CheckGroundingSpec.php
Apache-2.0
public function getMethod() { return $this->method; }
Output only. The name of the method for example `cssproductsservice.listcssproducts`. Generated from protobuf field <code>string method = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getMethod
php
googleapis/google-cloud-php
ShoppingCss/src/V1/MethodDetails.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingCss/src/V1/MethodDetails.php
Apache-2.0
public function setMethod($var) { GPBUtil::checkString($var, True); $this->method = $var; return $this; }
Output only. The name of the method for example `cssproductsservice.listcssproducts`. Generated from protobuf field <code>string method = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setMethod
php
googleapis/google-cloud-php
ShoppingCss/src/V1/MethodDetails.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingCss/src/V1/MethodDetails.php
Apache-2.0
public function getVersion() { return $this->version; }
Output only. The API version that the method belongs to. Generated from protobuf field <code>string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getVersion
php
googleapis/google-cloud-php
ShoppingCss/src/V1/MethodDetails.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingCss/src/V1/MethodDetails.php
Apache-2.0
public function setVersion($var) { GPBUtil::checkString($var, True); $this->version = $var; return $this; }
Output only. The API version that the method belongs to. Generated from protobuf field <code>string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setVersion
php
googleapis/google-cloud-php
ShoppingCss/src/V1/MethodDetails.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingCss/src/V1/MethodDetails.php
Apache-2.0
public function getSubapi() { return $this->subapi; }
Output only. The sub-API that the method belongs to. In the CSS API, this is always `css`. Generated from protobuf field <code>string subapi = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getSubapi
php
googleapis/google-cloud-php
ShoppingCss/src/V1/MethodDetails.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingCss/src/V1/MethodDetails.php
Apache-2.0
public function setSubapi($var) { GPBUtil::checkString($var, True); $this->subapi = $var; return $this; }
Output only. The sub-API that the method belongs to. In the CSS API, this is always `css`. Generated from protobuf field <code>string subapi = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setSubapi
php
googleapis/google-cloud-php
ShoppingCss/src/V1/MethodDetails.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingCss/src/V1/MethodDetails.php
Apache-2.0
public function getPath() { return $this->path; }
Output only. The path for the method such as `v1/cssproductsservice.listcssproducts`. Generated from protobuf field <code>string path = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getPath
php
googleapis/google-cloud-php
ShoppingCss/src/V1/MethodDetails.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingCss/src/V1/MethodDetails.php
Apache-2.0
public function setPath($var) { GPBUtil::checkString($var, True); $this->path = $var; return $this; }
Output only. The path for the method such as `v1/cssproductsservice.listcssproducts`. Generated from protobuf field <code>string path = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setPath
php
googleapis/google-cloud-php
ShoppingCss/src/V1/MethodDetails.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingCss/src/V1/MethodDetails.php
Apache-2.0
public function getParent() { return $this->parent; }
Required. The container resource on which to execute the request. Acceptable formats: * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` * `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` * `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` * `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to supported insight types: https://cloud.google.com/recommender/docs/insights/insight-types. Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @return string
getParent
php
googleapis/google-cloud-php
Recommender/src/V1/ListInsightsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Recommender/src/V1/ListInsightsRequest.php
Apache-2.0
public function setParent($var) { GPBUtil::checkString($var, True); $this->parent = $var; return $this; }
Required. The container resource on which to execute the request. Acceptable formats: * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` * `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` * `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` * `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to supported insight types: https://cloud.google.com/recommender/docs/insights/insight-types. Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @param string $var @return $this
setParent
php
googleapis/google-cloud-php
Recommender/src/V1/ListInsightsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Recommender/src/V1/ListInsightsRequest.php
Apache-2.0
public function getPageSize() { return $this->page_size; }
Optional. The maximum number of results to return from this request. Non-positive values are ignored. If not specified, the server will determine the number of results to return. Generated from protobuf field <code>int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @return int
getPageSize
php
googleapis/google-cloud-php
Recommender/src/V1/ListInsightsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Recommender/src/V1/ListInsightsRequest.php
Apache-2.0
public function setPageSize($var) { GPBUtil::checkInt32($var); $this->page_size = $var; return $this; }
Optional. The maximum number of results to return from this request. Non-positive values are ignored. If not specified, the server will determine the number of results to return. Generated from protobuf field <code>int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @param int $var @return $this
setPageSize
php
googleapis/google-cloud-php
Recommender/src/V1/ListInsightsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Recommender/src/V1/ListInsightsRequest.php
Apache-2.0
public function getPageToken() { return $this->page_token; }
Optional. If present, retrieves the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of other method parameters must be identical to those in the previous call. Generated from protobuf field <code>string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getPageToken
php
googleapis/google-cloud-php
Recommender/src/V1/ListInsightsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Recommender/src/V1/ListInsightsRequest.php
Apache-2.0
public function setPageToken($var) { GPBUtil::checkString($var, True); $this->page_token = $var; return $this; }
Optional. If present, retrieves the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of other method parameters must be identical to those in the previous call. Generated from protobuf field <code>string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setPageToken
php
googleapis/google-cloud-php
Recommender/src/V1/ListInsightsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Recommender/src/V1/ListInsightsRequest.php
Apache-2.0
public function getFilter() { return $this->filter; }
Optional. Filter expression to restrict the insights returned. Supported filter fields: * `stateInfo.state` * `insightSubtype` * `severity` * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `targetResources : //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` The max allowed filter length is 500 characters. (These expressions are based on the filter language described at https://google.aip.dev/160) Generated from protobuf field <code>string filter = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getFilter
php
googleapis/google-cloud-php
Recommender/src/V1/ListInsightsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Recommender/src/V1/ListInsightsRequest.php
Apache-2.0
public function setFilter($var) { GPBUtil::checkString($var, True); $this->filter = $var; return $this; }
Optional. Filter expression to restrict the insights returned. Supported filter fields: * `stateInfo.state` * `insightSubtype` * `severity` * `targetResources` Examples: * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype = PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `targetResources : //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` The max allowed filter length is 500 characters. (These expressions are based on the filter language described at https://google.aip.dev/160) Generated from protobuf field <code>string filter = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setFilter
php
googleapis/google-cloud-php
Recommender/src/V1/ListInsightsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Recommender/src/V1/ListInsightsRequest.php
Apache-2.0
public function getSourceGcsBucket() { return $this->readOneof(2); }
The Cloud Storage source bucket and, optionally, path inside the bucket. Generated from protobuf field <code>.google.cloud.parallelstore.v1.SourceGcsBucket source_gcs_bucket = 2;</code> @return \Google\Cloud\Parallelstore\V1\SourceGcsBucket|null
getSourceGcsBucket
php
googleapis/google-cloud-php
Parallelstore/src/V1/ImportDataRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Parallelstore/src/V1/ImportDataRequest.php
Apache-2.0
public function setSourceGcsBucket($var) { GPBUtil::checkMessage($var, \Google\Cloud\Parallelstore\V1\SourceGcsBucket::class); $this->writeOneof(2, $var); return $this; }
The Cloud Storage source bucket and, optionally, path inside the bucket. Generated from protobuf field <code>.google.cloud.parallelstore.v1.SourceGcsBucket source_gcs_bucket = 2;</code> @param \Google\Cloud\Parallelstore\V1\SourceGcsBucket $var @return $this
setSourceGcsBucket
php
googleapis/google-cloud-php
Parallelstore/src/V1/ImportDataRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Parallelstore/src/V1/ImportDataRequest.php
Apache-2.0
public function getDestinationParallelstore() { return $this->readOneof(3); }
Parallelstore destination. Generated from protobuf field <code>.google.cloud.parallelstore.v1.DestinationParallelstore destination_parallelstore = 3;</code> @return \Google\Cloud\Parallelstore\V1\DestinationParallelstore|null
getDestinationParallelstore
php
googleapis/google-cloud-php
Parallelstore/src/V1/ImportDataRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Parallelstore/src/V1/ImportDataRequest.php
Apache-2.0
public function setDestinationParallelstore($var) { GPBUtil::checkMessage($var, \Google\Cloud\Parallelstore\V1\DestinationParallelstore::class); $this->writeOneof(3, $var); return $this; }
Parallelstore destination. Generated from protobuf field <code>.google.cloud.parallelstore.v1.DestinationParallelstore destination_parallelstore = 3;</code> @param \Google\Cloud\Parallelstore\V1\DestinationParallelstore $var @return $this
setDestinationParallelstore
php
googleapis/google-cloud-php
Parallelstore/src/V1/ImportDataRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Parallelstore/src/V1/ImportDataRequest.php
Apache-2.0
public function getName() { return $this->name; }
Required. Name of the resource. 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
Parallelstore/src/V1/ImportDataRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Parallelstore/src/V1/ImportDataRequest.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Required. Name of the resource. 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
Parallelstore/src/V1/ImportDataRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Parallelstore/src/V1/ImportDataRequest.php
Apache-2.0
public function getRequestId() { return $this->request_id; }
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). Generated from protobuf field <code>string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {</code> @return string
getRequestId
php
googleapis/google-cloud-php
Parallelstore/src/V1/ImportDataRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Parallelstore/src/V1/ImportDataRequest.php
Apache-2.0
public function setRequestId($var) { GPBUtil::checkString($var, True); $this->request_id = $var; return $this; }
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). Generated from protobuf field <code>string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {</code> @param string $var @return $this
setRequestId
php
googleapis/google-cloud-php
Parallelstore/src/V1/ImportDataRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Parallelstore/src/V1/ImportDataRequest.php
Apache-2.0
public function getServiceAccount() { return $this->service_account; }
Optional. User-specified service account credentials to be used when performing the transfer. Use one of the following formats: * `{EMAIL_ADDRESS_OR_UNIQUE_ID}` * `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}` * `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}` If unspecified, the Parallelstore service agent is used: `service-<PROJECT_NUMBER>&#64;gcp-sa-parallelstore.iam.gserviceaccount.com` Generated from protobuf field <code>string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {</code> @return string
getServiceAccount
php
googleapis/google-cloud-php
Parallelstore/src/V1/ImportDataRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Parallelstore/src/V1/ImportDataRequest.php
Apache-2.0
public function setServiceAccount($var) { GPBUtil::checkString($var, True); $this->service_account = $var; return $this; }
Optional. User-specified service account credentials to be used when performing the transfer. Use one of the following formats: * `{EMAIL_ADDRESS_OR_UNIQUE_ID}` * `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}` * `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}` If unspecified, the Parallelstore service agent is used: `service-<PROJECT_NUMBER>&#64;gcp-sa-parallelstore.iam.gserviceaccount.com` Generated from protobuf field <code>string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {</code> @param string $var @return $this
setServiceAccount
php
googleapis/google-cloud-php
Parallelstore/src/V1/ImportDataRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Parallelstore/src/V1/ImportDataRequest.php
Apache-2.0
public function getRelation() { return $this->readOneof(4); }
The database relation created/updated by this action. Generated from protobuf field <code>.google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4;</code> @return \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Relation|null
getRelation
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function setRelation($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Relation::class); $this->writeOneof(4, $var); return $this; }
The database relation created/updated by this action. Generated from protobuf field <code>.google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4;</code> @param \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Relation $var @return $this
setRelation
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function getOperations() { return $this->readOneof(5); }
The database operations executed by this action. Generated from protobuf field <code>.google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5;</code> @return \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Operations|null
getOperations
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function setOperations($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Operations::class); $this->writeOneof(5, $var); return $this; }
The database operations executed by this action. Generated from protobuf field <code>.google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5;</code> @param \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Operations $var @return $this
setOperations
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function getAssertion() { return $this->readOneof(6); }
The assertion executed by this action. Generated from protobuf field <code>.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6;</code> @return \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Assertion|null
getAssertion
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function setAssertion($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Assertion::class); $this->writeOneof(6, $var); return $this; }
The assertion executed by this action. Generated from protobuf field <code>.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6;</code> @param \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Assertion $var @return $this
setAssertion
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function getDeclaration() { return $this->readOneof(7); }
The declaration declared by this action. Generated from protobuf field <code>.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7;</code> @return \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Declaration|null
getDeclaration
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function setDeclaration($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Declaration::class); $this->writeOneof(7, $var); return $this; }
The declaration declared by this action. Generated from protobuf field <code>.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7;</code> @param \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Declaration $var @return $this
setDeclaration
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function getNotebook() { return $this->readOneof(8); }
The notebook executed by this action. Generated from protobuf field <code>.google.cloud.dataform.v1beta1.CompilationResultAction.Notebook notebook = 8;</code> @return \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Notebook|null
getNotebook
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function setNotebook($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Notebook::class); $this->writeOneof(8, $var); return $this; }
The notebook executed by this action. Generated from protobuf field <code>.google.cloud.dataform.v1beta1.CompilationResultAction.Notebook notebook = 8;</code> @param \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Notebook $var @return $this
setNotebook
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function getTarget() { return $this->target; }
This action's identifier. Unique within the compilation result. Generated from protobuf field <code>.google.cloud.dataform.v1beta1.Target target = 1;</code> @return \Google\Cloud\Dataform\V1beta1\Target|null
getTarget
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function setTarget($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dataform\V1beta1\Target::class); $this->target = $var; return $this; }
This action's identifier. Unique within the compilation result. Generated from protobuf field <code>.google.cloud.dataform.v1beta1.Target target = 1;</code> @param \Google\Cloud\Dataform\V1beta1\Target $var @return $this
setTarget
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function getCanonicalTarget() { return $this->canonical_target; }
The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result. Generated from protobuf field <code>.google.cloud.dataform.v1beta1.Target canonical_target = 2;</code> @return \Google\Cloud\Dataform\V1beta1\Target|null
getCanonicalTarget
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function setCanonicalTarget($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dataform\V1beta1\Target::class); $this->canonical_target = $var; return $this; }
The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result. Generated from protobuf field <code>.google.cloud.dataform.v1beta1.Target canonical_target = 2;</code> @param \Google\Cloud\Dataform\V1beta1\Target $var @return $this
setCanonicalTarget
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function getFilePath() { return $this->file_path; }
The full path including filename in which this action is located, relative to the workspace root. Generated from protobuf field <code>string file_path = 3;</code> @return string
getFilePath
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function setFilePath($var) { GPBUtil::checkString($var, True); $this->file_path = $var; return $this; }
The full path including filename in which this action is located, relative to the workspace root. Generated from protobuf field <code>string file_path = 3;</code> @param string $var @return $this
setFilePath
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function getInternalMetadata() { return isset($this->internal_metadata) ? $this->internal_metadata : ''; }
Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string. Generated from protobuf field <code>optional string internal_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getInternalMetadata
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function setInternalMetadata($var) { GPBUtil::checkString($var, True); $this->internal_metadata = $var; return $this; }
Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string. Generated from protobuf field <code>optional string internal_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setInternalMetadata
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function getOperation() { return $this->operation; }
The operation type for this filter. Generated from protobuf field <code>.google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1;</code> @return int
getOperation
php
googleapis/google-cloud-php
AnalyticsAdmin/src/V1alpha/AccessNumericFilter.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/AccessNumericFilter.php
Apache-2.0
public function setOperation($var) { GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AccessNumericFilter\Operation::class); $this->operation = $var; return $this; }
The operation type for this filter. Generated from protobuf field <code>.google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1;</code> @param int $var @return $this
setOperation
php
googleapis/google-cloud-php
AnalyticsAdmin/src/V1alpha/AccessNumericFilter.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/AccessNumericFilter.php
Apache-2.0
public function getValue() { return $this->value; }
A numeric value or a date value. Generated from protobuf field <code>.google.analytics.admin.v1alpha.NumericValue value = 2;</code> @return \Google\Analytics\Admin\V1alpha\NumericValue|null
getValue
php
googleapis/google-cloud-php
AnalyticsAdmin/src/V1alpha/AccessNumericFilter.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/AccessNumericFilter.php
Apache-2.0
public function setValue($var) { GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\NumericValue::class); $this->value = $var; return $this; }
A numeric value or a date value. Generated from protobuf field <code>.google.analytics.admin.v1alpha.NumericValue value = 2;</code> @param \Google\Analytics\Admin\V1alpha\NumericValue $var @return $this
setValue
php
googleapis/google-cloud-php
AnalyticsAdmin/src/V1alpha/AccessNumericFilter.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/AccessNumericFilter.php
Apache-2.0
public function getName() { return $this->name; }
Required. The resource name of the Dataset version to delete. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` 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
AiPlatform/src/V1/DeleteDatasetVersionRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DeleteDatasetVersionRequest.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Required. The resource name of the Dataset version to delete. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` 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
AiPlatform/src/V1/DeleteDatasetVersionRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DeleteDatasetVersionRequest.php
Apache-2.0
public function getParent() { return $this->parent; }
Required. The unique name of the table for which AuthorizedViews should be listed. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`. Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @return string
getParent
php
googleapis/google-cloud-php
Bigtable/src/Admin/V2/ListAuthorizedViewsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/Admin/V2/ListAuthorizedViewsRequest.php
Apache-2.0
public function setParent($var) { GPBUtil::checkString($var, True); $this->parent = $var; return $this; }
Required. The unique name of the table for which AuthorizedViews should be listed. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`. Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @param string $var @return $this
setParent
php
googleapis/google-cloud-php
Bigtable/src/Admin/V2/ListAuthorizedViewsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/Admin/V2/ListAuthorizedViewsRequest.php
Apache-2.0
public function getPageSize() { return $this->page_size; }
Optional. Maximum number of results per page. A page_size of zero lets the server choose the number of items to return. A page_size which is strictly positive will return at most that many items. A negative page_size will cause an error. Following the first request, subsequent paginated calls are not required to pass a page_size. If a page_size is set in subsequent calls, it must match the page_size given in the first request. Generated from protobuf field <code>int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @return int
getPageSize
php
googleapis/google-cloud-php
Bigtable/src/Admin/V2/ListAuthorizedViewsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/Admin/V2/ListAuthorizedViewsRequest.php
Apache-2.0
public function setPageSize($var) { GPBUtil::checkInt32($var); $this->page_size = $var; return $this; }
Optional. Maximum number of results per page. A page_size of zero lets the server choose the number of items to return. A page_size which is strictly positive will return at most that many items. A negative page_size will cause an error. Following the first request, subsequent paginated calls are not required to pass a page_size. If a page_size is set in subsequent calls, it must match the page_size given in the first request. Generated from protobuf field <code>int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @param int $var @return $this
setPageSize
php
googleapis/google-cloud-php
Bigtable/src/Admin/V2/ListAuthorizedViewsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/Admin/V2/ListAuthorizedViewsRequest.php
Apache-2.0
public function getPageToken() { return $this->page_token; }
Optional. The value of `next_page_token` returned by a previous call. Generated from protobuf field <code>string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getPageToken
php
googleapis/google-cloud-php
Bigtable/src/Admin/V2/ListAuthorizedViewsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/Admin/V2/ListAuthorizedViewsRequest.php
Apache-2.0
public function setPageToken($var) { GPBUtil::checkString($var, True); $this->page_token = $var; return $this; }
Optional. The value of `next_page_token` returned by a previous call. Generated from protobuf field <code>string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setPageToken
php
googleapis/google-cloud-php
Bigtable/src/Admin/V2/ListAuthorizedViewsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/Admin/V2/ListAuthorizedViewsRequest.php
Apache-2.0
public function getView() { return $this->view; }
Optional. The resource_view to be applied to the returned views' fields. Default to NAME_ONLY. Generated from protobuf field <code>.google.bigtable.admin.v2.AuthorizedView.ResponseView view = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @return int
getView
php
googleapis/google-cloud-php
Bigtable/src/Admin/V2/ListAuthorizedViewsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/Admin/V2/ListAuthorizedViewsRequest.php
Apache-2.0
public function setView($var) { GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\AuthorizedView\ResponseView::class); $this->view = $var; return $this; }
Optional. The resource_view to be applied to the returned views' fields. Default to NAME_ONLY. Generated from protobuf field <code>.google.bigtable.admin.v2.AuthorizedView.ResponseView view = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @param int $var @return $this
setView
php
googleapis/google-cloud-php
Bigtable/src/Admin/V2/ListAuthorizedViewsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/Admin/V2/ListAuthorizedViewsRequest.php
Apache-2.0
public function getName() { return $this->name; }
Required. Name of the mapping rule resource to get. Example: conversionWorkspaces/123/mappingRules/rule123 In order to retrieve a previous revision of the mapping rule, also provide the revision ID. Example: conversionWorkspace/123/mappingRules/rule123&#64;c7cfa2a8c7cfa2a8c7cfa2a8c7cfa2a8 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
Dms/src/V1/GetMappingRuleRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dms/src/V1/GetMappingRuleRequest.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Required. Name of the mapping rule resource to get. Example: conversionWorkspaces/123/mappingRules/rule123 In order to retrieve a previous revision of the mapping rule, also provide the revision ID. Example: conversionWorkspace/123/mappingRules/rule123&#64;c7cfa2a8c7cfa2a8c7cfa2a8c7cfa2a8 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
Dms/src/V1/GetMappingRuleRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dms/src/V1/GetMappingRuleRequest.php
Apache-2.0
public function getName() { return $this->name; }
Required. Relative resource name of the source. Its format is `organizations/[organization_id]/source/[source_id]`. 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
SecurityCenter/src/V2/GetSourceRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V2/GetSourceRequest.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Required. Relative resource name of the source. Its format is `organizations/[organization_id]/source/[source_id]`. 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
SecurityCenter/src/V2/GetSourceRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V2/GetSourceRequest.php
Apache-2.0
public function getNetworkEndpointGroup() { return $this->network_endpoint_group; }
The name of the network endpoint group to delete. It should comply with RFC1035. Generated from protobuf field <code>string network_endpoint_group = 433907078 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getNetworkEndpointGroup
php
googleapis/google-cloud-php
Compute/src/V1/DeleteGlobalNetworkEndpointGroupRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/DeleteGlobalNetworkEndpointGroupRequest.php
Apache-2.0
public function setNetworkEndpointGroup($var) { GPBUtil::checkString($var, True); $this->network_endpoint_group = $var; return $this; }
The name of the network endpoint group to delete. It should comply with RFC1035. Generated from protobuf field <code>string network_endpoint_group = 433907078 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setNetworkEndpointGroup
php
googleapis/google-cloud-php
Compute/src/V1/DeleteGlobalNetworkEndpointGroupRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/DeleteGlobalNetworkEndpointGroupRequest.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, (.google.cloud.operation_request_field) = "project"];</code> @return string
getProject
php
googleapis/google-cloud-php
Compute/src/V1/DeleteGlobalNetworkEndpointGroupRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/DeleteGlobalNetworkEndpointGroupRequest.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, (.google.cloud.operation_request_field) = "project"];</code> @param string $var @return $this
setProject
php
googleapis/google-cloud-php
Compute/src/V1/DeleteGlobalNetworkEndpointGroupRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/DeleteGlobalNetworkEndpointGroupRequest.php
Apache-2.0
public function getRequestId() { return isset($this->request_id) ? $this->request_id : ''; }
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). Generated from protobuf field <code>optional string request_id = 37109963;</code> @return string
getRequestId
php
googleapis/google-cloud-php
Compute/src/V1/DeleteGlobalNetworkEndpointGroupRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/DeleteGlobalNetworkEndpointGroupRequest.php
Apache-2.0
public function setRequestId($var) { GPBUtil::checkString($var, True); $this->request_id = $var; return $this; }
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). Generated from protobuf field <code>optional string request_id = 37109963;</code> @param string $var @return $this
setRequestId
php
googleapis/google-cloud-php
Compute/src/V1/DeleteGlobalNetworkEndpointGroupRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/DeleteGlobalNetworkEndpointGroupRequest.php
Apache-2.0
public function getFirewallPolicy() { return $this->firewall_policy; }
Name of the firewall policy to get. Generated from protobuf field <code>string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getFirewallPolicy
php
googleapis/google-cloud-php
Compute/src/V1/GetFirewallPolicyRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/GetFirewallPolicyRequest.php
Apache-2.0
public function setFirewallPolicy($var) { GPBUtil::checkString($var, True); $this->firewall_policy = $var; return $this; }
Name of the firewall policy to get. Generated from protobuf field <code>string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setFirewallPolicy
php
googleapis/google-cloud-php
Compute/src/V1/GetFirewallPolicyRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/GetFirewallPolicyRequest.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/SetIamPolicyRegionDiskRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetIamPolicyRegionDiskRequest.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/SetIamPolicyRegionDiskRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetIamPolicyRegionDiskRequest.php
Apache-2.0
public function getRegion() { return $this->region; }
The name of the region for this request. Generated from protobuf field <code>string region = 138946292 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getRegion
php
googleapis/google-cloud-php
Compute/src/V1/SetIamPolicyRegionDiskRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetIamPolicyRegionDiskRequest.php
Apache-2.0
public function setRegion($var) { GPBUtil::checkString($var, True); $this->region = $var; return $this; }
The name of the region for this request. Generated from protobuf field <code>string region = 138946292 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setRegion
php
googleapis/google-cloud-php
Compute/src/V1/SetIamPolicyRegionDiskRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetIamPolicyRegionDiskRequest.php
Apache-2.0
public function getRegionSetPolicyRequestResource() { return $this->region_set_policy_request_resource; }
The body resource for this request Generated from protobuf field <code>.google.cloud.compute.v1.RegionSetPolicyRequest region_set_policy_request_resource = 276489091 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Cloud\Compute\V1\RegionSetPolicyRequest|null
getRegionSetPolicyRequestResource
php
googleapis/google-cloud-php
Compute/src/V1/SetIamPolicyRegionDiskRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetIamPolicyRegionDiskRequest.php
Apache-2.0
public function setRegionSetPolicyRequestResource($var) { GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\RegionSetPolicyRequest::class); $this->region_set_policy_request_resource = $var; return $this; }
The body resource for this request Generated from protobuf field <code>.google.cloud.compute.v1.RegionSetPolicyRequest region_set_policy_request_resource = 276489091 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\Compute\V1\RegionSetPolicyRequest $var @return $this
setRegionSetPolicyRequestResource
php
googleapis/google-cloud-php
Compute/src/V1/SetIamPolicyRegionDiskRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetIamPolicyRegionDiskRequest.php
Apache-2.0
public function getResource() { return $this->resource; }
Name or id of the resource for this request. Generated from protobuf field <code>string resource = 195806222 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getResource
php
googleapis/google-cloud-php
Compute/src/V1/SetIamPolicyRegionDiskRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetIamPolicyRegionDiskRequest.php
Apache-2.0
public function setResource($var) { GPBUtil::checkString($var, True); $this->resource = $var; return $this; }
Name or id of the resource for this request. Generated from protobuf field <code>string resource = 195806222 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setResource
php
googleapis/google-cloud-php
Compute/src/V1/SetIamPolicyRegionDiskRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetIamPolicyRegionDiskRequest.php
Apache-2.0
public function getProject() { return $this->project; }
Required. The new definition of the project. Generated from protobuf field <code>.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Cloud\ResourceManager\V3\Project|null
getProject
php
googleapis/google-cloud-php
ResourceManager/src/V3/UpdateProjectRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/ResourceManager/src/V3/UpdateProjectRequest.php
Apache-2.0
public function setProject($var) { GPBUtil::checkMessage($var, \Google\Cloud\ResourceManager\V3\Project::class); $this->project = $var; return $this; }
Required. The new definition of the project. Generated from protobuf field <code>.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\ResourceManager\V3\Project $var @return $this
setProject
php
googleapis/google-cloud-php
ResourceManager/src/V3/UpdateProjectRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/ResourceManager/src/V3/UpdateProjectRequest.php
Apache-2.0
public function getUpdateMask() { return $this->update_mask; }
Optional. An update mask to selectively update fields. Generated from protobuf field <code>.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Protobuf\FieldMask|null
getUpdateMask
php
googleapis/google-cloud-php
ResourceManager/src/V3/UpdateProjectRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/ResourceManager/src/V3/UpdateProjectRequest.php
Apache-2.0
public function setUpdateMask($var) { GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); $this->update_mask = $var; return $this; }
Optional. An update mask to selectively update fields. Generated from protobuf field <code>.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @param \Google\Protobuf\FieldMask $var @return $this
setUpdateMask
php
googleapis/google-cloud-php
ResourceManager/src/V3/UpdateProjectRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/ResourceManager/src/V3/UpdateProjectRequest.php
Apache-2.0
public function getVersion() { return $this->version; }
Required. The Version that replaces the resource on the server. Generated from protobuf field <code>.google.devtools.artifactregistry.v1.Version version = 1 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Cloud\ArtifactRegistry\V1\Version|null
getVersion
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/UpdateVersionRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/UpdateVersionRequest.php
Apache-2.0
public function setVersion($var) { GPBUtil::checkMessage($var, \Google\Cloud\ArtifactRegistry\V1\Version::class); $this->version = $var; return $this; }
Required. The Version that replaces the resource on the server. Generated from protobuf field <code>.google.devtools.artifactregistry.v1.Version version = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\ArtifactRegistry\V1\Version $var @return $this
setVersion
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/UpdateVersionRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/UpdateVersionRequest.php
Apache-2.0
public function getUpdateMask() { return $this->update_mask; }
The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask Generated from protobuf field <code>.google.protobuf.FieldMask update_mask = 2;</code> @return \Google\Protobuf\FieldMask|null
getUpdateMask
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/UpdateVersionRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/UpdateVersionRequest.php
Apache-2.0
public function setUpdateMask($var) { GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); $this->update_mask = $var; return $this; }
The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask Generated from protobuf field <code>.google.protobuf.FieldMask update_mask = 2;</code> @param \Google\Protobuf\FieldMask $var @return $this
setUpdateMask
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/UpdateVersionRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/UpdateVersionRequest.php
Apache-2.0
public function getName() { return $this->name; }
The resource name of the evaluation. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}/evaluations/{evaluation}` Generated from protobuf field <code>string name = 1;</code> @return string
getName
php
googleapis/google-cloud-php
DocumentAi/src/V1/Evaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/DocumentAi/src/V1/Evaluation.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
The resource name of the evaluation. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}/evaluations/{evaluation}` Generated from protobuf field <code>string name = 1;</code> @param string $var @return $this
setName
php
googleapis/google-cloud-php
DocumentAi/src/V1/Evaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/DocumentAi/src/V1/Evaluation.php
Apache-2.0
public function getCreateTime() { return $this->create_time; }
The time that the evaluation was created. Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 2;</code> @return \Google\Protobuf\Timestamp|null
getCreateTime
php
googleapis/google-cloud-php
DocumentAi/src/V1/Evaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/DocumentAi/src/V1/Evaluation.php
Apache-2.0