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 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/AggregatedListRoutersRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AggregatedListRoutersRequest.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/AggregatedListRoutersRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AggregatedListRoutersRequest.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/AggregatedListRoutersRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AggregatedListRoutersRequest.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/AggregatedListRoutersRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AggregatedListRoutersRequest.php
Apache-2.0
public function getServiceProjectNumber() { return isset($this->service_project_number) ? $this->service_project_number : 0; }
The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. Generated from protobuf field <code>optional int64 service_project_number = 316757497;</code> @return int|string
getServiceProjectNumber
php
googleapis/google-cloud-php
Compute/src/V1/AggregatedListRoutersRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AggregatedListRoutersRequest.php
Apache-2.0
public function setServiceProjectNumber($var) { GPBUtil::checkInt64($var); $this->service_project_number = $var; return $this; }
The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. Generated from protobuf field <code>optional int64 service_project_number = 316757497;</code> @param int|string $var @return $this
setServiceProjectNumber
php
googleapis/google-cloud-php
Compute/src/V1/AggregatedListRoutersRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AggregatedListRoutersRequest.php
Apache-2.0
public function getSuggestion() { return $this->suggestion; }
The suggestion for the query. Generated from protobuf field <code>string suggestion = 1;</code> @return string
getSuggestion
php
googleapis/google-cloud-php
Talent/src/V4/CompleteQueryResponse/CompletionResult.php
https://github.com/googleapis/google-cloud-php/blob/master/Talent/src/V4/CompleteQueryResponse/CompletionResult.php
Apache-2.0
public function setSuggestion($var) { GPBUtil::checkString($var, True); $this->suggestion = $var; return $this; }
The suggestion for the query. Generated from protobuf field <code>string suggestion = 1;</code> @param string $var @return $this
setSuggestion
php
googleapis/google-cloud-php
Talent/src/V4/CompleteQueryResponse/CompletionResult.php
https://github.com/googleapis/google-cloud-php/blob/master/Talent/src/V4/CompleteQueryResponse/CompletionResult.php
Apache-2.0
public function getType() { return $this->type; }
The completion topic. Generated from protobuf field <code>.google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2;</code> @return int
getType
php
googleapis/google-cloud-php
Talent/src/V4/CompleteQueryResponse/CompletionResult.php
https://github.com/googleapis/google-cloud-php/blob/master/Talent/src/V4/CompleteQueryResponse/CompletionResult.php
Apache-2.0
public function setType($var) { GPBUtil::checkEnum($var, \Google\Cloud\Talent\V4\CompleteQueryRequest\CompletionType::class); $this->type = $var; return $this; }
The completion topic. Generated from protobuf field <code>.google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2;</code> @param int $var @return $this
setType
php
googleapis/google-cloud-php
Talent/src/V4/CompleteQueryResponse/CompletionResult.php
https://github.com/googleapis/google-cloud-php/blob/master/Talent/src/V4/CompleteQueryResponse/CompletionResult.php
Apache-2.0
public function getImageUri() { return $this->image_uri; }
The URI of the company image for [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME]. Generated from protobuf field <code>string image_uri = 3;</code> @return string
getImageUri
php
googleapis/google-cloud-php
Talent/src/V4/CompleteQueryResponse/CompletionResult.php
https://github.com/googleapis/google-cloud-php/blob/master/Talent/src/V4/CompleteQueryResponse/CompletionResult.php
Apache-2.0
public function setImageUri($var) { GPBUtil::checkString($var, True); $this->image_uri = $var; return $this; }
The URI of the company image for [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME]. Generated from protobuf field <code>string image_uri = 3;</code> @param string $var @return $this
setImageUri
php
googleapis/google-cloud-php
Talent/src/V4/CompleteQueryResponse/CompletionResult.php
https://github.com/googleapis/google-cloud-php/blob/master/Talent/src/V4/CompleteQueryResponse/CompletionResult.php
Apache-2.0
public function getAttributesConfig() { return $this->attributes_config; }
Required. Full AttributesConfig resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig` Generated from protobuf field <code>string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @return string
getAttributesConfig
php
googleapis/google-cloud-php
Retail/src/V2/ReplaceCatalogAttributeRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/ReplaceCatalogAttributeRequest.php
Apache-2.0
public function setAttributesConfig($var) { GPBUtil::checkString($var, True); $this->attributes_config = $var; return $this; }
Required. Full AttributesConfig resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig` Generated from protobuf field <code>string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @param string $var @return $this
setAttributesConfig
php
googleapis/google-cloud-php
Retail/src/V2/ReplaceCatalogAttributeRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/ReplaceCatalogAttributeRequest.php
Apache-2.0
public function getCatalogAttribute() { return $this->catalog_attribute; }
Required. The updated [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute]. Generated from protobuf field <code>.google.cloud.retail.v2.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Cloud\Retail\V2\CatalogAttribute|null
getCatalogAttribute
php
googleapis/google-cloud-php
Retail/src/V2/ReplaceCatalogAttributeRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/ReplaceCatalogAttributeRequest.php
Apache-2.0
public function setCatalogAttribute($var) { GPBUtil::checkMessage($var, \Google\Cloud\Retail\V2\CatalogAttribute::class); $this->catalog_attribute = $var; return $this; }
Required. The updated [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute]. Generated from protobuf field <code>.google.cloud.retail.v2.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\Retail\V2\CatalogAttribute $var @return $this
setCatalogAttribute
php
googleapis/google-cloud-php
Retail/src/V2/ReplaceCatalogAttributeRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/ReplaceCatalogAttributeRequest.php
Apache-2.0
public function getUpdateMask() { return $this->update_mask; }
Indicates which fields in the provided [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] to update. The following are NOT supported: * [CatalogAttribute.key][google.cloud.retail.v2.CatalogAttribute.key] If not set, all supported fields are updated. Generated from protobuf field <code>.google.protobuf.FieldMask update_mask = 3;</code> @return \Google\Protobuf\FieldMask|null
getUpdateMask
php
googleapis/google-cloud-php
Retail/src/V2/ReplaceCatalogAttributeRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/ReplaceCatalogAttributeRequest.php
Apache-2.0
public function setUpdateMask($var) { GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); $this->update_mask = $var; return $this; }
Indicates which fields in the provided [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] to update. The following are NOT supported: * [CatalogAttribute.key][google.cloud.retail.v2.CatalogAttribute.key] If not set, all supported fields are updated. Generated from protobuf field <code>.google.protobuf.FieldMask update_mask = 3;</code> @param \Google\Protobuf\FieldMask $var @return $this
setUpdateMask
php
googleapis/google-cloud-php
Retail/src/V2/ReplaceCatalogAttributeRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/ReplaceCatalogAttributeRequest.php
Apache-2.0
public function getBucketName() { return isset($this->bucket_name) ? $this->bucket_name : ''; }
Cloud Storage bucket name. Generated from protobuf field <code>optional string bucket_name = 283610048;</code> @return string
getBucketName
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function setBucketName($var) { GPBUtil::checkString($var, True); $this->bucket_name = $var; return $this; }
Cloud Storage bucket name. Generated from protobuf field <code>optional string bucket_name = 283610048;</code> @param string $var @return $this
setBucketName
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function getCdnPolicy() { return $this->cdn_policy; }
Cloud CDN configuration for this BackendBucket. Generated from protobuf field <code>optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;</code> @return \Google\Cloud\Compute\V1\BackendBucketCdnPolicy|null
getCdnPolicy
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function setCdnPolicy($var) { GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\BackendBucketCdnPolicy::class); $this->cdn_policy = $var; return $this; }
Cloud CDN configuration for this BackendBucket. Generated from protobuf field <code>optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;</code> @param \Google\Cloud\Compute\V1\BackendBucketCdnPolicy $var @return $this
setCdnPolicy
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function getCompressionMode() { return isset($this->compression_mode) ? $this->compression_mode : ''; }
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. Check the CompressionMode enum for the list of possible values. Generated from protobuf field <code>optional string compression_mode = 95520988;</code> @return string
getCompressionMode
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function setCompressionMode($var) { GPBUtil::checkString($var, True); $this->compression_mode = $var; return $this; }
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. Check the CompressionMode enum for the list of possible values. Generated from protobuf field <code>optional string compression_mode = 95520988;</code> @param string $var @return $this
setCompressionMode
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function getCreationTimestamp() { return isset($this->creation_timestamp) ? $this->creation_timestamp : ''; }
[Output Only] Creation timestamp in RFC3339 text format. Generated from protobuf field <code>optional string creation_timestamp = 30525366;</code> @return string
getCreationTimestamp
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function setCreationTimestamp($var) { GPBUtil::checkString($var, True); $this->creation_timestamp = $var; return $this; }
[Output Only] Creation timestamp in RFC3339 text format. Generated from protobuf field <code>optional string creation_timestamp = 30525366;</code> @param string $var @return $this
setCreationTimestamp
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function getCustomResponseHeaders() { return $this->custom_response_headers; }
Headers that the Application Load Balancer should add to proxied responses. Generated from protobuf field <code>repeated string custom_response_headers = 387539094;</code> @return \Google\Protobuf\Internal\RepeatedField
getCustomResponseHeaders
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function setCustomResponseHeaders($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->custom_response_headers = $arr; return $this; }
Headers that the Application Load Balancer should add to proxied responses. Generated from protobuf field <code>repeated string custom_response_headers = 387539094;</code> @param array<string>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setCustomResponseHeaders
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function getDescription() { return isset($this->description) ? $this->description : ''; }
An optional textual description of the resource; provided by the client when the resource is created. Generated from protobuf field <code>optional string description = 422937596;</code> @return string
getDescription
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function setDescription($var) { GPBUtil::checkString($var, True); $this->description = $var; return $this; }
An optional textual description of the resource; provided by the client when the resource is created. Generated from protobuf field <code>optional string description = 422937596;</code> @param string $var @return $this
setDescription
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function getEdgeSecurityPolicy() { return isset($this->edge_security_policy) ? $this->edge_security_policy : ''; }
[Output Only] The resource URL for the edge security policy associated with this backend bucket. Generated from protobuf field <code>optional string edge_security_policy = 41036943;</code> @return string
getEdgeSecurityPolicy
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function setEdgeSecurityPolicy($var) { GPBUtil::checkString($var, True); $this->edge_security_policy = $var; return $this; }
[Output Only] The resource URL for the edge security policy associated with this backend bucket. Generated from protobuf field <code>optional string edge_security_policy = 41036943;</code> @param string $var @return $this
setEdgeSecurityPolicy
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function getEnableCdn() { return isset($this->enable_cdn) ? $this->enable_cdn : false; }
If true, enable Cloud CDN for this BackendBucket. Generated from protobuf field <code>optional bool enable_cdn = 282942321;</code> @return bool
getEnableCdn
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function setEnableCdn($var) { GPBUtil::checkBool($var); $this->enable_cdn = $var; return $this; }
If true, enable Cloud CDN for this BackendBucket. Generated from protobuf field <code>optional bool enable_cdn = 282942321;</code> @param bool $var @return $this
setEnableCdn
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function getId() { return isset($this->id) ? $this->id : 0; }
[Output Only] Unique identifier for the resource; defined by the server. Generated from protobuf field <code>optional uint64 id = 3355;</code> @return int|string
getId
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function setId($var) { GPBUtil::checkUint64($var); $this->id = $var; return $this; }
[Output Only] Unique identifier for the resource; defined by the server. Generated from protobuf field <code>optional uint64 id = 3355;</code> @param int|string $var @return $this
setId
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function getKind() { return isset($this->kind) ? $this->kind : ''; }
Type of the resource. Generated from protobuf field <code>optional string kind = 3292052;</code> @return string
getKind
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function setKind($var) { GPBUtil::checkString($var, True); $this->kind = $var; return $this; }
Type of the resource. Generated from protobuf field <code>optional string kind = 3292052;</code> @param string $var @return $this
setKind
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function getName() { return isset($this->name) ? $this->name : ''; }
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. Generated from protobuf field <code>optional string name = 3373707;</code> @return string
getName
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. Generated from protobuf field <code>optional string name = 3373707;</code> @param string $var @return $this
setName
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function getSelfLink() { return isset($this->self_link) ? $this->self_link : ''; }
[Output Only] Server-defined URL for the resource. Generated from protobuf field <code>optional string self_link = 456214797;</code> @return string
getSelfLink
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function setSelfLink($var) { GPBUtil::checkString($var, True); $this->self_link = $var; return $this; }
[Output Only] Server-defined URL for the resource. Generated from protobuf field <code>optional string self_link = 456214797;</code> @param string $var @return $this
setSelfLink
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function getUsedBy() { return $this->used_by; }
[Output Only] List of resources referencing that backend bucket. Generated from protobuf field <code>repeated .google.cloud.compute.v1.BackendBucketUsedBy used_by = 389320729;</code> @return \Google\Protobuf\Internal\RepeatedField
getUsedBy
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function setUsedBy($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Compute\V1\BackendBucketUsedBy::class); $this->used_by = $arr; return $this; }
[Output Only] List of resources referencing that backend bucket. Generated from protobuf field <code>repeated .google.cloud.compute.v1.BackendBucketUsedBy used_by = 389320729;</code> @param array<\Google\Cloud\Compute\V1\BackendBucketUsedBy>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setUsedBy
php
googleapis/google-cloud-php
Compute/src/V1/BackendBucket.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/BackendBucket.php
Apache-2.0
public function getName() { return $this->name; }
Required. The name of the field. Must contain only letters, numbers and underscores, with a maximum length of 767 characters, and must begin with a letter or underscore. Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getName
php
googleapis/google-cloud-php
Dataplex/src/V1/Schema/SchemaField.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/Schema/SchemaField.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Required. The name of the field. Must contain only letters, numbers and underscores, with a maximum length of 767 characters, and must begin with a letter or underscore. 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
Dataplex/src/V1/Schema/SchemaField.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/Schema/SchemaField.php
Apache-2.0
public function getDescription() { return $this->description; }
Optional. User friendly field description. Must be less than or equal to 1024 characters. Generated from protobuf field <code>string description = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getDescription
php
googleapis/google-cloud-php
Dataplex/src/V1/Schema/SchemaField.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/Schema/SchemaField.php
Apache-2.0
public function setDescription($var) { GPBUtil::checkString($var, True); $this->description = $var; return $this; }
Optional. User friendly field description. Must be less than or equal to 1024 characters. Generated from protobuf field <code>string description = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setDescription
php
googleapis/google-cloud-php
Dataplex/src/V1/Schema/SchemaField.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/Schema/SchemaField.php
Apache-2.0
public function getType() { return $this->type; }
Required. The type of field. Generated from protobuf field <code>.google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED];</code> @return int
getType
php
googleapis/google-cloud-php
Dataplex/src/V1/Schema/SchemaField.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/Schema/SchemaField.php
Apache-2.0
public function setType($var) { GPBUtil::checkEnum($var, \Google\Cloud\Dataplex\V1\Schema\Type::class); $this->type = $var; return $this; }
Required. The type of field. Generated from protobuf field <code>.google.cloud.dataplex.v1.Schema.Type type = 3 [(.google.api.field_behavior) = REQUIRED];</code> @param int $var @return $this
setType
php
googleapis/google-cloud-php
Dataplex/src/V1/Schema/SchemaField.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/Schema/SchemaField.php
Apache-2.0
public function getMode() { return $this->mode; }
Required. Additional field semantics. Generated from protobuf field <code>.google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED];</code> @return int
getMode
php
googleapis/google-cloud-php
Dataplex/src/V1/Schema/SchemaField.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/Schema/SchemaField.php
Apache-2.0
public function setMode($var) { GPBUtil::checkEnum($var, \Google\Cloud\Dataplex\V1\Schema\Mode::class); $this->mode = $var; return $this; }
Required. Additional field semantics. Generated from protobuf field <code>.google.cloud.dataplex.v1.Schema.Mode mode = 4 [(.google.api.field_behavior) = REQUIRED];</code> @param int $var @return $this
setMode
php
googleapis/google-cloud-php
Dataplex/src/V1/Schema/SchemaField.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/Schema/SchemaField.php
Apache-2.0
public function getFields() { return $this->fields; }
Optional. Any nested field for complex types. Generated from protobuf field <code>repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Protobuf\Internal\RepeatedField
getFields
php
googleapis/google-cloud-php
Dataplex/src/V1/Schema/SchemaField.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/Schema/SchemaField.php
Apache-2.0
public function setFields($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dataplex\V1\Schema\SchemaField::class); $this->fields = $arr; return $this; }
Optional. Any nested field for complex types. Generated from protobuf field <code>repeated .google.cloud.dataplex.v1.Schema.SchemaField fields = 10 [(.google.api.field_behavior) = OPTIONAL];</code> @param array<\Google\Cloud\Dataplex\V1\Schema\SchemaField>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setFields
php
googleapis/google-cloud-php
Dataplex/src/V1/Schema/SchemaField.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/Schema/SchemaField.php
Apache-2.0
public function getUrl() { return $this->url; }
A URL pointing to a related entry in an issue tracking system. Example: `https://github.com/user/project/issues/4` Generated from protobuf field <code>string url = 1;</code> @return string
getUrl
php
googleapis/google-cloud-php
ErrorReporting/src/V1beta1/TrackingIssue.php
https://github.com/googleapis/google-cloud-php/blob/master/ErrorReporting/src/V1beta1/TrackingIssue.php
Apache-2.0
public function setUrl($var) { GPBUtil::checkString($var, True); $this->url = $var; return $this; }
A URL pointing to a related entry in an issue tracking system. Example: `https://github.com/user/project/issues/4` Generated from protobuf field <code>string url = 1;</code> @param string $var @return $this
setUrl
php
googleapis/google-cloud-php
ErrorReporting/src/V1beta1/TrackingIssue.php
https://github.com/googleapis/google-cloud-php/blob/master/ErrorReporting/src/V1beta1/TrackingIssue.php
Apache-2.0
public function getParent() { return $this->parent; }
Required. Format: `parent=projects/{project_id}/locations/{location}` 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
Notebooks/src/V1/ListRuntimesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Notebooks/src/V1/ListRuntimesRequest.php
Apache-2.0
public function setParent($var) { GPBUtil::checkString($var, True); $this->parent = $var; return $this; }
Required. Format: `parent=projects/{project_id}/locations/{location}` 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
Notebooks/src/V1/ListRuntimesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Notebooks/src/V1/ListRuntimesRequest.php
Apache-2.0
public function getPageSize() { return $this->page_size; }
Maximum return size of the list call. Generated from protobuf field <code>int32 page_size = 2;</code> @return int
getPageSize
php
googleapis/google-cloud-php
Notebooks/src/V1/ListRuntimesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Notebooks/src/V1/ListRuntimesRequest.php
Apache-2.0
public function setPageSize($var) { GPBUtil::checkInt32($var); $this->page_size = $var; return $this; }
Maximum return size of the list call. Generated from protobuf field <code>int32 page_size = 2;</code> @param int $var @return $this
setPageSize
php
googleapis/google-cloud-php
Notebooks/src/V1/ListRuntimesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Notebooks/src/V1/ListRuntimesRequest.php
Apache-2.0
public function getPageToken() { return $this->page_token; }
A previous returned page token that can be used to continue listing from the last result. Generated from protobuf field <code>string page_token = 3;</code> @return string
getPageToken
php
googleapis/google-cloud-php
Notebooks/src/V1/ListRuntimesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Notebooks/src/V1/ListRuntimesRequest.php
Apache-2.0
public function setPageToken($var) { GPBUtil::checkString($var, True); $this->page_token = $var; return $this; }
A previous returned page token that can be used to continue listing from the last result. Generated from protobuf field <code>string page_token = 3;</code> @param string $var @return $this
setPageToken
php
googleapis/google-cloud-php
Notebooks/src/V1/ListRuntimesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Notebooks/src/V1/ListRuntimesRequest.php
Apache-2.0
public function getGenericMetadata() { return $this->generic_metadata; }
The common part of the operation metadata. Generated from protobuf field <code>.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;</code> @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null
getGenericMetadata
php
googleapis/google-cloud-php
AiPlatform/src/V1/UploadModelOperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/UploadModelOperationMetadata.php
Apache-2.0
public function setGenericMetadata($var) { GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); $this->generic_metadata = $var; return $this; }
The common part of the operation metadata. Generated from protobuf field <code>.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;</code> @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var @return $this
setGenericMetadata
php
googleapis/google-cloud-php
AiPlatform/src/V1/UploadModelOperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/UploadModelOperationMetadata.php
Apache-2.0
public function getCallerIp() { return $this->caller_ip; }
The IP address of the caller. For a caller from the internet, this will be the public IPv4 or IPv6 address. For calls made from inside Google's internal production network from one GCP service to another, `caller_ip` will be redacted to "private". For a caller from a Compute Engine VM with a external IP address, `caller_ip` will be the VM's external IP address. For a caller from a Compute Engine VM without a external IP address, if the VM is in the same organization (or project) as the accessed resource, `caller_ip` will be the VM's internal IPv4 address, otherwise `caller_ip` will be redacted to "gce-internal-ip". See https://cloud.google.com/compute/docs/vpc/ for more information. Generated from protobuf field <code>string caller_ip = 1;</code> @return string
getCallerIp
php
googleapis/google-cloud-php
CloudCommonProtos/src/Audit/RequestMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/CloudCommonProtos/src/Audit/RequestMetadata.php
Apache-2.0
public function setCallerIp($var) { GPBUtil::checkString($var, True); $this->caller_ip = $var; return $this; }
The IP address of the caller. For a caller from the internet, this will be the public IPv4 or IPv6 address. For calls made from inside Google's internal production network from one GCP service to another, `caller_ip` will be redacted to "private". For a caller from a Compute Engine VM with a external IP address, `caller_ip` will be the VM's external IP address. For a caller from a Compute Engine VM without a external IP address, if the VM is in the same organization (or project) as the accessed resource, `caller_ip` will be the VM's internal IPv4 address, otherwise `caller_ip` will be redacted to "gce-internal-ip". See https://cloud.google.com/compute/docs/vpc/ for more information. Generated from protobuf field <code>string caller_ip = 1;</code> @param string $var @return $this
setCallerIp
php
googleapis/google-cloud-php
CloudCommonProtos/src/Audit/RequestMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/CloudCommonProtos/src/Audit/RequestMetadata.php
Apache-2.0
public function getCallerSuppliedUserAgent() { return $this->caller_supplied_user_agent; }
The user agent of the caller. This information is not authenticated and should be treated accordingly. For example: + `google-api-python-client/1.4.0`: The request was made by the Google API client for Python. + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: The request was made by the Google Cloud SDK CLI (gcloud). + `AppEngine-Google; (+http://code.google.com/appengine; appid: s~my-project`: The request was made from the `my-project` App Engine app. Generated from protobuf field <code>string caller_supplied_user_agent = 2;</code> @return string
getCallerSuppliedUserAgent
php
googleapis/google-cloud-php
CloudCommonProtos/src/Audit/RequestMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/CloudCommonProtos/src/Audit/RequestMetadata.php
Apache-2.0
public function setCallerSuppliedUserAgent($var) { GPBUtil::checkString($var, True); $this->caller_supplied_user_agent = $var; return $this; }
The user agent of the caller. This information is not authenticated and should be treated accordingly. For example: + `google-api-python-client/1.4.0`: The request was made by the Google API client for Python. + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: The request was made by the Google Cloud SDK CLI (gcloud). + `AppEngine-Google; (+http://code.google.com/appengine; appid: s~my-project`: The request was made from the `my-project` App Engine app. Generated from protobuf field <code>string caller_supplied_user_agent = 2;</code> @param string $var @return $this
setCallerSuppliedUserAgent
php
googleapis/google-cloud-php
CloudCommonProtos/src/Audit/RequestMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/CloudCommonProtos/src/Audit/RequestMetadata.php
Apache-2.0
public function getCallerNetwork() { return $this->caller_network; }
The network of the caller. Set only if the network host project is part of the same GCP organization (or project) as the accessed resource. See https://cloud.google.com/compute/docs/vpc/ for more information. This is a scheme-less URI full resource name. For example: "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" Generated from protobuf field <code>string caller_network = 3;</code> @return string
getCallerNetwork
php
googleapis/google-cloud-php
CloudCommonProtos/src/Audit/RequestMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/CloudCommonProtos/src/Audit/RequestMetadata.php
Apache-2.0
public function setCallerNetwork($var) { GPBUtil::checkString($var, True); $this->caller_network = $var; return $this; }
The network of the caller. Set only if the network host project is part of the same GCP organization (or project) as the accessed resource. See https://cloud.google.com/compute/docs/vpc/ for more information. This is a scheme-less URI full resource name. For example: "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" Generated from protobuf field <code>string caller_network = 3;</code> @param string $var @return $this
setCallerNetwork
php
googleapis/google-cloud-php
CloudCommonProtos/src/Audit/RequestMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/CloudCommonProtos/src/Audit/RequestMetadata.php
Apache-2.0
public function getRequestAttributes() { return $this->request_attributes; }
Request attributes used in IAM condition evaluation. This field contains request attributes like request time and access levels associated with the request. To get the whole view of the attributes used in IAM condition evaluation, the user must also look into `AuditLog.authentication_info.resource_attributes`. Generated from protobuf field <code>.google.rpc.context.AttributeContext.Request request_attributes = 7;</code> @return \Google\Rpc\Context\AttributeContext\Request|null
getRequestAttributes
php
googleapis/google-cloud-php
CloudCommonProtos/src/Audit/RequestMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/CloudCommonProtos/src/Audit/RequestMetadata.php
Apache-2.0
public function setRequestAttributes($var) { GPBUtil::checkMessage($var, \Google\Rpc\Context\AttributeContext\Request::class); $this->request_attributes = $var; return $this; }
Request attributes used in IAM condition evaluation. This field contains request attributes like request time and access levels associated with the request. To get the whole view of the attributes used in IAM condition evaluation, the user must also look into `AuditLog.authentication_info.resource_attributes`. Generated from protobuf field <code>.google.rpc.context.AttributeContext.Request request_attributes = 7;</code> @param \Google\Rpc\Context\AttributeContext\Request $var @return $this
setRequestAttributes
php
googleapis/google-cloud-php
CloudCommonProtos/src/Audit/RequestMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/CloudCommonProtos/src/Audit/RequestMetadata.php
Apache-2.0
public function getDestinationAttributes() { return $this->destination_attributes; }
The destination of a network activity, such as accepting a TCP connection. In a multi hop network activity, the destination represents the receiver of the last hop. Only two fields are used in this message, Peer.port and Peer.ip. These fields are optionally populated by those services utilizing the IAM condition feature. Generated from protobuf field <code>.google.rpc.context.AttributeContext.Peer destination_attributes = 8;</code> @return \Google\Rpc\Context\AttributeContext\Peer|null
getDestinationAttributes
php
googleapis/google-cloud-php
CloudCommonProtos/src/Audit/RequestMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/CloudCommonProtos/src/Audit/RequestMetadata.php
Apache-2.0
public function setDestinationAttributes($var) { GPBUtil::checkMessage($var, \Google\Rpc\Context\AttributeContext\Peer::class); $this->destination_attributes = $var; return $this; }
The destination of a network activity, such as accepting a TCP connection. In a multi hop network activity, the destination represents the receiver of the last hop. Only two fields are used in this message, Peer.port and Peer.ip. These fields are optionally populated by those services utilizing the IAM condition feature. Generated from protobuf field <code>.google.rpc.context.AttributeContext.Peer destination_attributes = 8;</code> @param \Google\Rpc\Context\AttributeContext\Peer $var @return $this
setDestinationAttributes
php
googleapis/google-cloud-php
CloudCommonProtos/src/Audit/RequestMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/CloudCommonProtos/src/Audit/RequestMetadata.php
Apache-2.0
public function getParent() { return $this->parent; }
Required. The name of the project and its location that owns this collection of processes. 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
DataCatalogLineage/src/V1/ListProcessesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalogLineage/src/V1/ListProcessesRequest.php
Apache-2.0
public function setParent($var) { GPBUtil::checkString($var, True); $this->parent = $var; return $this; }
Required. The name of the project and its location that owns this collection of processes. 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
DataCatalogLineage/src/V1/ListProcessesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalogLineage/src/V1/ListProcessesRequest.php
Apache-2.0
public function getPageSize() { return $this->page_size; }
The maximum number of processes to return. The service may return fewer than this value. If unspecified, at most 50 processes are returned. The maximum value is 100; values greater than 100 are cut to 100. Generated from protobuf field <code>int32 page_size = 2;</code> @return int
getPageSize
php
googleapis/google-cloud-php
DataCatalogLineage/src/V1/ListProcessesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalogLineage/src/V1/ListProcessesRequest.php
Apache-2.0
public function setPageSize($var) { GPBUtil::checkInt32($var); $this->page_size = $var; return $this; }
The maximum number of processes to return. The service may return fewer than this value. If unspecified, at most 50 processes are returned. The maximum value is 100; values greater than 100 are cut to 100. Generated from protobuf field <code>int32 page_size = 2;</code> @param int $var @return $this
setPageSize
php
googleapis/google-cloud-php
DataCatalogLineage/src/V1/ListProcessesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalogLineage/src/V1/ListProcessesRequest.php
Apache-2.0
public function getPageToken() { return $this->page_token; }
The page token received from a previous `ListProcesses` call. Specify it to get the next page. When paginating, all other parameters specified in this call must match the parameters of the call that provided the page token. Generated from protobuf field <code>string page_token = 3;</code> @return string
getPageToken
php
googleapis/google-cloud-php
DataCatalogLineage/src/V1/ListProcessesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalogLineage/src/V1/ListProcessesRequest.php
Apache-2.0
public function setPageToken($var) { GPBUtil::checkString($var, True); $this->page_token = $var; return $this; }
The page token received from a previous `ListProcesses` call. Specify it to get the next page. When paginating, all other parameters specified in this call must match the parameters of the call that provided the page token. Generated from protobuf field <code>string page_token = 3;</code> @param string $var @return $this
setPageToken
php
googleapis/google-cloud-php
DataCatalogLineage/src/V1/ListProcessesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalogLineage/src/V1/ListProcessesRequest.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/InsertStoragePoolRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InsertStoragePoolRequest.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/InsertStoragePoolRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InsertStoragePoolRequest.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/InsertStoragePoolRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InsertStoragePoolRequest.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/InsertStoragePoolRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InsertStoragePoolRequest.php
Apache-2.0
public function getStoragePoolResource() { return $this->storage_pool_resource; }
The body resource for this request Generated from protobuf field <code>.google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Cloud\Compute\V1\StoragePool|null
getStoragePoolResource
php
googleapis/google-cloud-php
Compute/src/V1/InsertStoragePoolRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InsertStoragePoolRequest.php
Apache-2.0
public function setStoragePoolResource($var) { GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\StoragePool::class); $this->storage_pool_resource = $var; return $this; }
The body resource for this request Generated from protobuf field <code>.google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\Compute\V1\StoragePool $var @return $this
setStoragePoolResource
php
googleapis/google-cloud-php
Compute/src/V1/InsertStoragePoolRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InsertStoragePoolRequest.php
Apache-2.0
public function getZone() { return $this->zone; }
The name of the zone for this request. Generated from protobuf field <code>string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];</code> @return string
getZone
php
googleapis/google-cloud-php
Compute/src/V1/InsertStoragePoolRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InsertStoragePoolRequest.php
Apache-2.0
public function setZone($var) { GPBUtil::checkString($var, True); $this->zone = $var; return $this; }
The name of the zone for this request. Generated from protobuf field <code>string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];</code> @param string $var @return $this
setZone
php
googleapis/google-cloud-php
Compute/src/V1/InsertStoragePoolRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InsertStoragePoolRequest.php
Apache-2.0
public function getKmsKey() { return $this->kms_key; }
The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following form: `projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}`. Generated from protobuf field <code>string kms_key = 1;</code> @return string
getKmsKey
php
googleapis/google-cloud-php
DataprocMetastore/src/V1/EncryptionConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/DataprocMetastore/src/V1/EncryptionConfig.php
Apache-2.0
public function setKmsKey($var) { GPBUtil::checkString($var, True); $this->kms_key = $var; return $this; }
The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following form: `projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}`. Generated from protobuf field <code>string kms_key = 1;</code> @param string $var @return $this
setKmsKey
php
googleapis/google-cloud-php
DataprocMetastore/src/V1/EncryptionConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/DataprocMetastore/src/V1/EncryptionConfig.php
Apache-2.0
public function getSite() { return $this->site; }
Output only. Site id. Generated from protobuf field <code>string site = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getSite
php
googleapis/google-cloud-php
TelcoAutomation/src/V1/NFDeploySiteStatus.php
https://github.com/googleapis/google-cloud-php/blob/master/TelcoAutomation/src/V1/NFDeploySiteStatus.php
Apache-2.0
public function setSite($var) { GPBUtil::checkString($var, True); $this->site = $var; return $this; }
Output only. Site id. Generated from protobuf field <code>string site = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setSite
php
googleapis/google-cloud-php
TelcoAutomation/src/V1/NFDeploySiteStatus.php
https://github.com/googleapis/google-cloud-php/blob/master/TelcoAutomation/src/V1/NFDeploySiteStatus.php
Apache-2.0
public function getPendingDeletion() { return $this->pending_deletion; }
Output only. If true, the Site Deletion is in progress. Generated from protobuf field <code>bool pending_deletion = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return bool
getPendingDeletion
php
googleapis/google-cloud-php
TelcoAutomation/src/V1/NFDeploySiteStatus.php
https://github.com/googleapis/google-cloud-php/blob/master/TelcoAutomation/src/V1/NFDeploySiteStatus.php
Apache-2.0
public function setPendingDeletion($var) { GPBUtil::checkBool($var); $this->pending_deletion = $var; return $this; }
Output only. If true, the Site Deletion is in progress. Generated from protobuf field <code>bool pending_deletion = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param bool $var @return $this
setPendingDeletion
php
googleapis/google-cloud-php
TelcoAutomation/src/V1/NFDeploySiteStatus.php
https://github.com/googleapis/google-cloud-php/blob/master/TelcoAutomation/src/V1/NFDeploySiteStatus.php
Apache-2.0
public function getHydration() { return $this->hydration; }
Output only. Hydration status. Generated from protobuf field <code>.google.cloud.telcoautomation.v1.HydrationStatus hydration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Cloud\TelcoAutomation\V1\HydrationStatus|null
getHydration
php
googleapis/google-cloud-php
TelcoAutomation/src/V1/NFDeploySiteStatus.php
https://github.com/googleapis/google-cloud-php/blob/master/TelcoAutomation/src/V1/NFDeploySiteStatus.php
Apache-2.0
public function setHydration($var) { GPBUtil::checkMessage($var, \Google\Cloud\TelcoAutomation\V1\HydrationStatus::class); $this->hydration = $var; return $this; }
Output only. Hydration status. Generated from protobuf field <code>.google.cloud.telcoautomation.v1.HydrationStatus hydration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Cloud\TelcoAutomation\V1\HydrationStatus $var @return $this
setHydration
php
googleapis/google-cloud-php
TelcoAutomation/src/V1/NFDeploySiteStatus.php
https://github.com/googleapis/google-cloud-php/blob/master/TelcoAutomation/src/V1/NFDeploySiteStatus.php
Apache-2.0
public function getWorkload() { return $this->workload; }
Output only. Workload status. Generated from protobuf field <code>.google.cloud.telcoautomation.v1.WorkloadStatus workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Cloud\TelcoAutomation\V1\WorkloadStatus|null
getWorkload
php
googleapis/google-cloud-php
TelcoAutomation/src/V1/NFDeploySiteStatus.php
https://github.com/googleapis/google-cloud-php/blob/master/TelcoAutomation/src/V1/NFDeploySiteStatus.php
Apache-2.0
public function setWorkload($var) { GPBUtil::checkMessage($var, \Google\Cloud\TelcoAutomation\V1\WorkloadStatus::class); $this->workload = $var; return $this; }
Output only. Workload status. Generated from protobuf field <code>.google.cloud.telcoautomation.v1.WorkloadStatus workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Cloud\TelcoAutomation\V1\WorkloadStatus $var @return $this
setWorkload
php
googleapis/google-cloud-php
TelcoAutomation/src/V1/NFDeploySiteStatus.php
https://github.com/googleapis/google-cloud-php/blob/master/TelcoAutomation/src/V1/NFDeploySiteStatus.php
Apache-2.0
public function getId() { return isset($this->id) ? $this->id : ''; }
[Output Only] Unique identifier for the resource; defined by the server. Generated from protobuf field <code>optional string id = 3355;</code> @return string
getId
php
googleapis/google-cloud-php
Compute/src/V1/HealthChecksAggregatedList.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/HealthChecksAggregatedList.php
Apache-2.0
public function setId($var) { GPBUtil::checkString($var, True); $this->id = $var; return $this; }
[Output Only] Unique identifier for the resource; defined by the server. Generated from protobuf field <code>optional string id = 3355;</code> @param string $var @return $this
setId
php
googleapis/google-cloud-php
Compute/src/V1/HealthChecksAggregatedList.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/HealthChecksAggregatedList.php
Apache-2.0