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 setPortSpecification($var) { GPBUtil::checkString($var, True); $this->port_specification = $var; return $this; }
Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. Check the PortSpecification enum for the list of possible values. Generated from protobuf field <code>optional string port_specification = 51590597;</code> @param string $var @return $this
setPortSpecification
php
googleapis/google-cloud-php
Compute/src/V1/HTTP2HealthCheck.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/HTTP2HealthCheck.php
Apache-2.0
public function getProxyHeader() { return isset($this->proxy_header) ? $this->proxy_header : ''; }
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. Check the ProxyHeader enum for the list of possible values. Generated from protobuf field <code>optional string proxy_header = 160374142;</code> @return string
getProxyHeader
php
googleapis/google-cloud-php
Compute/src/V1/HTTP2HealthCheck.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/HTTP2HealthCheck.php
Apache-2.0
public function setProxyHeader($var) { GPBUtil::checkString($var, True); $this->proxy_header = $var; return $this; }
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. Check the ProxyHeader enum for the list of possible values. Generated from protobuf field <code>optional string proxy_header = 160374142;</code> @param string $var @return $this
setProxyHeader
php
googleapis/google-cloud-php
Compute/src/V1/HTTP2HealthCheck.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/HTTP2HealthCheck.php
Apache-2.0
public function getRequestPath() { return isset($this->request_path) ? $this->request_path : ''; }
The request path of the HTTP/2 health check request. The default value is /. Must comply with RFC3986. Generated from protobuf field <code>optional string request_path = 229403605;</code> @return string
getRequestPath
php
googleapis/google-cloud-php
Compute/src/V1/HTTP2HealthCheck.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/HTTP2HealthCheck.php
Apache-2.0
public function setRequestPath($var) { GPBUtil::checkString($var, True); $this->request_path = $var; return $this; }
The request path of the HTTP/2 health check request. The default value is /. Must comply with RFC3986. Generated from protobuf field <code>optional string request_path = 229403605;</code> @param string $var @return $this
setRequestPath
php
googleapis/google-cloud-php
Compute/src/V1/HTTP2HealthCheck.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/HTTP2HealthCheck.php
Apache-2.0
public function getResponse() { return isset($this->response) ? $this->response : ''; }
Creates a content-based HTTP/2 health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http Generated from protobuf field <code>optional string response = 196547649;</code> @return string
getResponse
php
googleapis/google-cloud-php
Compute/src/V1/HTTP2HealthCheck.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/HTTP2HealthCheck.php
Apache-2.0
public function setResponse($var) { GPBUtil::checkString($var, True); $this->response = $var; return $this; }
Creates a content-based HTTP/2 health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http Generated from protobuf field <code>optional string response = 196547649;</code> @param string $var @return $this
setResponse
php
googleapis/google-cloud-php
Compute/src/V1/HTTP2HealthCheck.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/HTTP2HealthCheck.php
Apache-2.0
public function getFailedVersions() { return $this->failed_versions; }
The versions the operation failed to delete. Generated from protobuf field <code>repeated string failed_versions = 2;</code> @return \Google\Protobuf\Internal\RepeatedField
getFailedVersions
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/BatchDeleteVersionsMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/BatchDeleteVersionsMetadata.php
Apache-2.0
public function setFailedVersions($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->failed_versions = $arr; return $this; }
The versions the operation failed to delete. Generated from protobuf field <code>repeated string failed_versions = 2;</code> @param array<string>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setFailedVersions
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/BatchDeleteVersionsMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/BatchDeleteVersionsMetadata.php
Apache-2.0
public function getType() { return isset($this->type) ? $this->type : ''; }
Check the Type enum for the list of possible values. Generated from protobuf field <code>optional string type = 3575610;</code> @return string
getType
php
googleapis/google-cloud-php
Compute/src/V1/ServerBinding.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ServerBinding.php
Apache-2.0
public function setType($var) { GPBUtil::checkString($var, True); $this->type = $var; return $this; }
Check the Type enum for the list of possible values. Generated from protobuf field <code>optional string type = 3575610;</code> @param string $var @return $this
setType
php
googleapis/google-cloud-php
Compute/src/V1/ServerBinding.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ServerBinding.php
Apache-2.0
public function getName() { return $this->name; }
The group resource name. Written as `projects/{projectID}/groups/{group_id}` or `projects/{projectID}/locations/{location}/groups/{group_id}` Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/us-central1/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. Generated from protobuf field <code>string name = 1;</code> @return string
getName
php
googleapis/google-cloud-php
ErrorReporting/src/V1beta1/ErrorGroup.php
https://github.com/googleapis/google-cloud-php/blob/master/ErrorReporting/src/V1beta1/ErrorGroup.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
The group resource name. Written as `projects/{projectID}/groups/{group_id}` or `projects/{projectID}/locations/{location}/groups/{group_id}` Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/us-central1/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. Generated from protobuf field <code>string name = 1;</code> @param string $var @return $this
setName
php
googleapis/google-cloud-php
ErrorReporting/src/V1beta1/ErrorGroup.php
https://github.com/googleapis/google-cloud-php/blob/master/ErrorReporting/src/V1beta1/ErrorGroup.php
Apache-2.0
public function getGroupId() { return $this->group_id; }
An opaque identifier of the group. This field is assigned by the Error Reporting system and always populated. In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). Generated from protobuf field <code>string group_id = 2;</code> @return string
getGroupId
php
googleapis/google-cloud-php
ErrorReporting/src/V1beta1/ErrorGroup.php
https://github.com/googleapis/google-cloud-php/blob/master/ErrorReporting/src/V1beta1/ErrorGroup.php
Apache-2.0
public function setGroupId($var) { GPBUtil::checkString($var, True); $this->group_id = $var; return $this; }
An opaque identifier of the group. This field is assigned by the Error Reporting system and always populated. In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). Generated from protobuf field <code>string group_id = 2;</code> @param string $var @return $this
setGroupId
php
googleapis/google-cloud-php
ErrorReporting/src/V1beta1/ErrorGroup.php
https://github.com/googleapis/google-cloud-php/blob/master/ErrorReporting/src/V1beta1/ErrorGroup.php
Apache-2.0
public function getTrackingIssues() { return $this->tracking_issues; }
Associated tracking issues. Generated from protobuf field <code>repeated .google.devtools.clouderrorreporting.v1beta1.TrackingIssue tracking_issues = 3;</code> @return \Google\Protobuf\Internal\RepeatedField
getTrackingIssues
php
googleapis/google-cloud-php
ErrorReporting/src/V1beta1/ErrorGroup.php
https://github.com/googleapis/google-cloud-php/blob/master/ErrorReporting/src/V1beta1/ErrorGroup.php
Apache-2.0
public function setTrackingIssues($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\ErrorReporting\V1beta1\TrackingIssue::class); $this->tracking_issues = $arr; return $this; }
Associated tracking issues. Generated from protobuf field <code>repeated .google.devtools.clouderrorreporting.v1beta1.TrackingIssue tracking_issues = 3;</code> @param array<\Google\Cloud\ErrorReporting\V1beta1\TrackingIssue>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setTrackingIssues
php
googleapis/google-cloud-php
ErrorReporting/src/V1beta1/ErrorGroup.php
https://github.com/googleapis/google-cloud-php/blob/master/ErrorReporting/src/V1beta1/ErrorGroup.php
Apache-2.0
public function getResolutionStatus() { return $this->resolution_status; }
Error group's resolution status. An unspecified resolution status will be interpreted as OPEN Generated from protobuf field <code>.google.devtools.clouderrorreporting.v1beta1.ResolutionStatus resolution_status = 5;</code> @return int
getResolutionStatus
php
googleapis/google-cloud-php
ErrorReporting/src/V1beta1/ErrorGroup.php
https://github.com/googleapis/google-cloud-php/blob/master/ErrorReporting/src/V1beta1/ErrorGroup.php
Apache-2.0
public function setResolutionStatus($var) { GPBUtil::checkEnum($var, \Google\Cloud\ErrorReporting\V1beta1\ResolutionStatus::class); $this->resolution_status = $var; return $this; }
Error group's resolution status. An unspecified resolution status will be interpreted as OPEN Generated from protobuf field <code>.google.devtools.clouderrorreporting.v1beta1.ResolutionStatus resolution_status = 5;</code> @param int $var @return $this
setResolutionStatus
php
googleapis/google-cloud-php
ErrorReporting/src/V1beta1/ErrorGroup.php
https://github.com/googleapis/google-cloud-php/blob/master/ErrorReporting/src/V1beta1/ErrorGroup.php
Apache-2.0
public function getEmail() { return $this->email; }
An email address. For example, "`person123&#64;company.com`". Generated from protobuf field <code>string email = 1;</code> @return string
getEmail
php
googleapis/google-cloud-php
SecurityCenter/src/V2/Contact.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V2/Contact.php
Apache-2.0
public function setEmail($var) { GPBUtil::checkString($var, True); $this->email = $var; return $this; }
An email address. For example, "`person123&#64;company.com`". Generated from protobuf field <code>string email = 1;</code> @param string $var @return $this
setEmail
php
googleapis/google-cloud-php
SecurityCenter/src/V2/Contact.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V2/Contact.php
Apache-2.0
public function getPath() { return $this->path; }
The file path (full or relative path). This is typically the path of the file when it is uploaded. Generated from protobuf field <code>string path = 1;</code> @return string
getPath
php
googleapis/google-cloud-php
ApiGateway/src/V1/ApiConfig/File.php
https://github.com/googleapis/google-cloud-php/blob/master/ApiGateway/src/V1/ApiConfig/File.php
Apache-2.0
public function setPath($var) { GPBUtil::checkString($var, True); $this->path = $var; return $this; }
The file path (full or relative path). This is typically the path of the file when it is uploaded. Generated from protobuf field <code>string path = 1;</code> @param string $var @return $this
setPath
php
googleapis/google-cloud-php
ApiGateway/src/V1/ApiConfig/File.php
https://github.com/googleapis/google-cloud-php/blob/master/ApiGateway/src/V1/ApiConfig/File.php
Apache-2.0
public function getContents() { return $this->contents; }
The bytes that constitute the file. Generated from protobuf field <code>bytes contents = 2;</code> @return string
getContents
php
googleapis/google-cloud-php
ApiGateway/src/V1/ApiConfig/File.php
https://github.com/googleapis/google-cloud-php/blob/master/ApiGateway/src/V1/ApiConfig/File.php
Apache-2.0
public function setContents($var) { GPBUtil::checkString($var, False); $this->contents = $var; return $this; }
The bytes that constitute the file. Generated from protobuf field <code>bytes contents = 2;</code> @param string $var @return $this
setContents
php
googleapis/google-cloud-php
ApiGateway/src/V1/ApiConfig/File.php
https://github.com/googleapis/google-cloud-php/blob/master/ApiGateway/src/V1/ApiConfig/File.php
Apache-2.0
public function getAllowAllBundleIds() { return $this->allow_all_bundle_ids; }
Optional. If set to true, allowed_bundle_ids are not enforced. Generated from protobuf field <code>bool allow_all_bundle_ids = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @return bool
getAllowAllBundleIds
php
googleapis/google-cloud-php
RecaptchaEnterprise/src/V1/IOSKeySettings.php
https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/IOSKeySettings.php
Apache-2.0
public function setAllowAllBundleIds($var) { GPBUtil::checkBool($var); $this->allow_all_bundle_ids = $var; return $this; }
Optional. If set to true, allowed_bundle_ids are not enforced. Generated from protobuf field <code>bool allow_all_bundle_ids = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @param bool $var @return $this
setAllowAllBundleIds
php
googleapis/google-cloud-php
RecaptchaEnterprise/src/V1/IOSKeySettings.php
https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/IOSKeySettings.php
Apache-2.0
public function getAllowedBundleIds() { return $this->allowed_bundle_ids; }
Optional. iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.productname.appname' Generated from protobuf field <code>repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Protobuf\Internal\RepeatedField
getAllowedBundleIds
php
googleapis/google-cloud-php
RecaptchaEnterprise/src/V1/IOSKeySettings.php
https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/IOSKeySettings.php
Apache-2.0
public function setAllowedBundleIds($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->allowed_bundle_ids = $arr; return $this; }
Optional. iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.productname.appname' Generated from protobuf field <code>repeated string allowed_bundle_ids = 1 [(.google.api.field_behavior) = OPTIONAL];</code> @param array<string>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setAllowedBundleIds
php
googleapis/google-cloud-php
RecaptchaEnterprise/src/V1/IOSKeySettings.php
https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/IOSKeySettings.php
Apache-2.0
public function getAppleDeveloperId() { return $this->apple_developer_id; }
Optional. Apple Developer account details for the app that is protected by the reCAPTCHA Key. reCAPTCHA leverages platform-specific checks like Apple App Attest and Apple DeviceCheck to protect your app from abuse. Providing these fields allows reCAPTCHA to get a better assessment of the integrity of your app. Generated from protobuf field <code>.google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Cloud\RecaptchaEnterprise\V1\AppleDeveloperId|null
getAppleDeveloperId
php
googleapis/google-cloud-php
RecaptchaEnterprise/src/V1/IOSKeySettings.php
https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/IOSKeySettings.php
Apache-2.0
public function setAppleDeveloperId($var) { GPBUtil::checkMessage($var, \Google\Cloud\RecaptchaEnterprise\V1\AppleDeveloperId::class); $this->apple_developer_id = $var; return $this; }
Optional. Apple Developer account details for the app that is protected by the reCAPTCHA Key. reCAPTCHA leverages platform-specific checks like Apple App Attest and Apple DeviceCheck to protect your app from abuse. Providing these fields allows reCAPTCHA to get a better assessment of the integrity of your app. Generated from protobuf field <code>.google.cloud.recaptchaenterprise.v1.AppleDeveloperId apple_developer_id = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @param \Google\Cloud\RecaptchaEnterprise\V1\AppleDeveloperId $var @return $this
setAppleDeveloperId
php
googleapis/google-cloud-php
RecaptchaEnterprise/src/V1/IOSKeySettings.php
https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/IOSKeySettings.php
Apache-2.0
public function getHostUri() { return $this->host_uri; }
The URI of a running Gerrit instance. Generated from protobuf field <code>string host_uri = 1;</code> @return string
getHostUri
php
googleapis/google-cloud-php
Grafeas/src/V1/GerritSourceContext.php
https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/GerritSourceContext.php
Apache-2.0
public function setHostUri($var) { GPBUtil::checkString($var, True); $this->host_uri = $var; return $this; }
The URI of a running Gerrit instance. Generated from protobuf field <code>string host_uri = 1;</code> @param string $var @return $this
setHostUri
php
googleapis/google-cloud-php
Grafeas/src/V1/GerritSourceContext.php
https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/GerritSourceContext.php
Apache-2.0
public function getGerritProject() { return $this->gerrit_project; }
The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is the hostURI/project. Generated from protobuf field <code>string gerrit_project = 2;</code> @return string
getGerritProject
php
googleapis/google-cloud-php
Grafeas/src/V1/GerritSourceContext.php
https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/GerritSourceContext.php
Apache-2.0
public function setGerritProject($var) { GPBUtil::checkString($var, True); $this->gerrit_project = $var; return $this; }
The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is the hostURI/project. Generated from protobuf field <code>string gerrit_project = 2;</code> @param string $var @return $this
setGerritProject
php
googleapis/google-cloud-php
Grafeas/src/V1/GerritSourceContext.php
https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/GerritSourceContext.php
Apache-2.0
public function getRevisionId() { return $this->readOneof(3); }
A revision (commit) ID. Generated from protobuf field <code>string revision_id = 3;</code> @return string
getRevisionId
php
googleapis/google-cloud-php
Grafeas/src/V1/GerritSourceContext.php
https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/GerritSourceContext.php
Apache-2.0
public function setRevisionId($var) { GPBUtil::checkString($var, True); $this->writeOneof(3, $var); return $this; }
A revision (commit) ID. Generated from protobuf field <code>string revision_id = 3;</code> @param string $var @return $this
setRevisionId
php
googleapis/google-cloud-php
Grafeas/src/V1/GerritSourceContext.php
https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/GerritSourceContext.php
Apache-2.0
public function getAliasContext() { return $this->readOneof(4); }
An alias, which may be a branch or tag. Generated from protobuf field <code>.grafeas.v1.AliasContext alias_context = 4;</code> @return \Grafeas\V1\AliasContext|null
getAliasContext
php
googleapis/google-cloud-php
Grafeas/src/V1/GerritSourceContext.php
https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/GerritSourceContext.php
Apache-2.0
public function setAliasContext($var) { GPBUtil::checkMessage($var, \Grafeas\V1\AliasContext::class); $this->writeOneof(4, $var); return $this; }
An alias, which may be a branch or tag. Generated from protobuf field <code>.grafeas.v1.AliasContext alias_context = 4;</code> @param \Grafeas\V1\AliasContext $var @return $this
setAliasContext
php
googleapis/google-cloud-php
Grafeas/src/V1/GerritSourceContext.php
https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/GerritSourceContext.php
Apache-2.0
public function getEndpoints() { return $this->endpoints; }
List of Endpoints in the requested page. Generated from protobuf field <code>repeated .google.cloud.aiplatform.v1.Endpoint endpoints = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getEndpoints
php
googleapis/google-cloud-php
AiPlatform/src/V1/ListEndpointsResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ListEndpointsResponse.php
Apache-2.0
public function setEndpoints($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\Endpoint::class); $this->endpoints = $arr; return $this; }
List of Endpoints in the requested page. Generated from protobuf field <code>repeated .google.cloud.aiplatform.v1.Endpoint endpoints = 1;</code> @param array<\Google\Cloud\AIPlatform\V1\Endpoint>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setEndpoints
php
googleapis/google-cloud-php
AiPlatform/src/V1/ListEndpointsResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ListEndpointsResponse.php
Apache-2.0
public function getNextPageToken() { return $this->next_page_token; }
A token to retrieve the next page of results. Pass to [ListEndpointsRequest.page_token][google.cloud.aiplatform.v1.ListEndpointsRequest.page_token] to obtain that page. Generated from protobuf field <code>string next_page_token = 2;</code> @return string
getNextPageToken
php
googleapis/google-cloud-php
AiPlatform/src/V1/ListEndpointsResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ListEndpointsResponse.php
Apache-2.0
public function setNextPageToken($var) { GPBUtil::checkString($var, True); $this->next_page_token = $var; return $this; }
A token to retrieve the next page of results. Pass to [ListEndpointsRequest.page_token][google.cloud.aiplatform.v1.ListEndpointsRequest.page_token] to obtain that page. Generated from protobuf field <code>string next_page_token = 2;</code> @param string $var @return $this
setNextPageToken
php
googleapis/google-cloud-php
AiPlatform/src/V1/ListEndpointsResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ListEndpointsResponse.php
Apache-2.0
public function getText() { return $this->readOneof(1); }
Optional. The query in text format to get relevant contexts. Generated from protobuf field <code>string text = 1 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getText
php
googleapis/google-cloud-php
AiPlatform/src/V1/RagQuery.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/RagQuery.php
Apache-2.0
public function setText($var) { GPBUtil::checkString($var, True); $this->writeOneof(1, $var); return $this; }
Optional. The query in text format to get relevant contexts. Generated from protobuf field <code>string text = 1 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setText
php
googleapis/google-cloud-php
AiPlatform/src/V1/RagQuery.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/RagQuery.php
Apache-2.0
public function getRagRetrievalConfig() { return $this->rag_retrieval_config; }
Optional. The retrieval config for the query. Generated from protobuf field <code>.google.cloud.aiplatform.v1.RagRetrievalConfig rag_retrieval_config = 6 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Cloud\AIPlatform\V1\RagRetrievalConfig|null
getRagRetrievalConfig
php
googleapis/google-cloud-php
AiPlatform/src/V1/RagQuery.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/RagQuery.php
Apache-2.0
public function setRagRetrievalConfig($var) { GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\RagRetrievalConfig::class); $this->rag_retrieval_config = $var; return $this; }
Optional. The retrieval config for the query. Generated from protobuf field <code>.google.cloud.aiplatform.v1.RagRetrievalConfig rag_retrieval_config = 6 [(.google.api.field_behavior) = OPTIONAL];</code> @param \Google\Cloud\AIPlatform\V1\RagRetrievalConfig $var @return $this
setRagRetrievalConfig
php
googleapis/google-cloud-php
AiPlatform/src/V1/RagQuery.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/RagQuery.php
Apache-2.0
public function getVertices() { return $this->vertices; }
Normalized vertices of the bounding polygon. Generated from protobuf field <code>repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getVertices
php
googleapis/google-cloud-php
VideoIntelligence/src/V1/NormalizedBoundingPoly.php
https://github.com/googleapis/google-cloud-php/blob/master/VideoIntelligence/src/V1/NormalizedBoundingPoly.php
Apache-2.0
public function setVertices($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\VideoIntelligence\V1\NormalizedVertex::class); $this->vertices = $arr; return $this; }
Normalized vertices of the bounding polygon. Generated from protobuf field <code>repeated .google.cloud.videointelligence.v1.NormalizedVertex vertices = 1;</code> @param array<\Google\Cloud\VideoIntelligence\V1\NormalizedVertex>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setVertices
php
googleapis/google-cloud-php
VideoIntelligence/src/V1/NormalizedBoundingPoly.php
https://github.com/googleapis/google-cloud-php/blob/master/VideoIntelligence/src/V1/NormalizedBoundingPoly.php
Apache-2.0
public function getName() { return $this->name; }
Required. Format: users/{user}/spaces/{space}/spaceNotificationSetting - `users/me/spaces/{space}/spaceNotificationSetting`, OR - `users/user&#64;example.com/spaces/{space}/spaceNotificationSetting`, OR - `users/123456789/spaces/{space}/spaceNotificationSetting`. Note: Only the caller's user id or email is allowed in the path. 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
AppsChat/src/Chat/V1/GetSpaceNotificationSettingRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AppsChat/src/Chat/V1/GetSpaceNotificationSettingRequest.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Required. Format: users/{user}/spaces/{space}/spaceNotificationSetting - `users/me/spaces/{space}/spaceNotificationSetting`, OR - `users/user&#64;example.com/spaces/{space}/spaceNotificationSetting`, OR - `users/123456789/spaces/{space}/spaceNotificationSetting`. Note: Only the caller's user id or email is allowed in the path. 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
AppsChat/src/Chat/V1/GetSpaceNotificationSettingRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AppsChat/src/Chat/V1/GetSpaceNotificationSettingRequest.php
Apache-2.0
public function getSummary() { return $this->summary; }
Generated summary. Generated from protobuf field <code>.google.cloud.dialogflow.v2.SuggestConversationSummaryResponse.Summary summary = 1;</code> @return \Google\Cloud\Dialogflow\V2\SuggestConversationSummaryResponse\Summary|null
getSummary
php
googleapis/google-cloud-php
Dialogflow/src/V2/SuggestConversationSummaryResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SuggestConversationSummaryResponse.php
Apache-2.0
public function setSummary($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\SuggestConversationSummaryResponse\Summary::class); $this->summary = $var; return $this; }
Generated summary. Generated from protobuf field <code>.google.cloud.dialogflow.v2.SuggestConversationSummaryResponse.Summary summary = 1;</code> @param \Google\Cloud\Dialogflow\V2\SuggestConversationSummaryResponse\Summary $var @return $this
setSummary
php
googleapis/google-cloud-php
Dialogflow/src/V2/SuggestConversationSummaryResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SuggestConversationSummaryResponse.php
Apache-2.0
public function getLatestMessage() { return $this->latest_message; }
The name of the latest conversation message used as context for compiling suggestion. Format: `projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>`. Generated from protobuf field <code>string latest_message = 2 [(.google.api.resource_reference) = {</code> @return string
getLatestMessage
php
googleapis/google-cloud-php
Dialogflow/src/V2/SuggestConversationSummaryResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SuggestConversationSummaryResponse.php
Apache-2.0
public function setLatestMessage($var) { GPBUtil::checkString($var, True); $this->latest_message = $var; return $this; }
The name of the latest conversation message used as context for compiling suggestion. Format: `projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>`. Generated from protobuf field <code>string latest_message = 2 [(.google.api.resource_reference) = {</code> @param string $var @return $this
setLatestMessage
php
googleapis/google-cloud-php
Dialogflow/src/V2/SuggestConversationSummaryResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SuggestConversationSummaryResponse.php
Apache-2.0
public function getContextSize() { return $this->context_size; }
Number of messages prior to and including [latest_message][google.cloud.dialogflow.v2.SuggestConversationSummaryResponse.latest_message] used to compile the suggestion. It may be smaller than the [SuggestConversationSummaryRequest.context_size][google.cloud.dialogflow.v2.SuggestConversationSummaryRequest.context_size] field in the request if there weren't that many messages in the conversation. Generated from protobuf field <code>int32 context_size = 3;</code> @return int
getContextSize
php
googleapis/google-cloud-php
Dialogflow/src/V2/SuggestConversationSummaryResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SuggestConversationSummaryResponse.php
Apache-2.0
public function setContextSize($var) { GPBUtil::checkInt32($var); $this->context_size = $var; return $this; }
Number of messages prior to and including [latest_message][google.cloud.dialogflow.v2.SuggestConversationSummaryResponse.latest_message] used to compile the suggestion. It may be smaller than the [SuggestConversationSummaryRequest.context_size][google.cloud.dialogflow.v2.SuggestConversationSummaryRequest.context_size] field in the request if there weren't that many messages in the conversation. Generated from protobuf field <code>int32 context_size = 3;</code> @param int $var @return $this
setContextSize
php
googleapis/google-cloud-php
Dialogflow/src/V2/SuggestConversationSummaryResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SuggestConversationSummaryResponse.php
Apache-2.0
protected function checkAndSkipTest(array $requiredClasses) { foreach ($requiredClasses as $class) { if (!class_exists($class)) { $this->markTestSkipped("Missing required class: $class"); return; } } }
Check whether all required classes are available, otherwise skip the tests. @param array $requiredClasses List of classes that must be available. @experimental @internal
checkAndSkipTest
php
googleapis/google-cloud-php
Core/src/Testing/CheckForClassTrait.php
https://github.com/googleapis/google-cloud-php/blob/master/Core/src/Testing/CheckForClassTrait.php
Apache-2.0
public function getResourcePolicies() { return $this->resource_policies; }
Resource policies to be removed from this instance. Generated from protobuf field <code>repeated string resource_policies = 22220385;</code> @return \Google\Protobuf\Internal\RepeatedField
getResourcePolicies
php
googleapis/google-cloud-php
Compute/src/V1/InstancesRemoveResourcePoliciesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InstancesRemoveResourcePoliciesRequest.php
Apache-2.0
public function setResourcePolicies($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->resource_policies = $arr; return $this; }
Resource policies to be removed from this instance. Generated from protobuf field <code>repeated string resource_policies = 22220385;</code> @param array<string>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setResourcePolicies
php
googleapis/google-cloud-php
Compute/src/V1/InstancesRemoveResourcePoliciesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InstancesRemoveResourcePoliciesRequest.php
Apache-2.0
public function getName() { return $this->name; }
Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}` Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = IMMUTABLE];</code> @return string
getName
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}` Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = IMMUTABLE];</code> @param string $var @return $this
setName
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function getCreateTime() { return $this->create_time; }
Output only. The time the hub was created. Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Timestamp|null
getCreateTime
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function setCreateTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->create_time = $var; return $this; }
Output only. The time the hub was created. Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Protobuf\Timestamp $var @return $this
setCreateTime
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function getUpdateTime() { return $this->update_time; }
Output only. The time the hub was last updated. Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Timestamp|null
getUpdateTime
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function setUpdateTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->update_time = $var; return $this; }
Output only. The time the hub was last updated. Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Protobuf\Timestamp $var @return $this
setUpdateTime
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function getLabels() { return $this->labels; }
Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). Generated from protobuf field <code>map<string, string> labels = 4;</code> @return \Google\Protobuf\Internal\MapField
getLabels
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function setLabels($var) { $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); $this->labels = $arr; return $this; }
Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). Generated from protobuf field <code>map<string, string> labels = 4;</code> @param array|\Google\Protobuf\Internal\MapField $var @return $this
setLabels
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function getDescription() { return $this->description; }
Optional. An optional description of the hub. Generated from protobuf field <code>string description = 5 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getDescription
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function setDescription($var) { GPBUtil::checkString($var, True); $this->description = $var; return $this; }
Optional. An optional description of the hub. Generated from protobuf field <code>string description = 5 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setDescription
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function getUniqueId() { return $this->unique_id; }
Output only. The Google-generated UUID for the hub. This value is unique across all hub resources. If a hub is deleted and another with the same name is created, the new hub is assigned a different unique_id. Generated from protobuf field <code>string unique_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getUniqueId
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function setUniqueId($var) { GPBUtil::checkString($var, True); $this->unique_id = $var; return $this; }
Output only. The Google-generated UUID for the hub. This value is unique across all hub resources. If a hub is deleted and another with the same name is created, the new hub is assigned a different unique_id. Generated from protobuf field <code>string unique_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setUniqueId
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function getState() { return $this->state; }
Output only. The current lifecycle state of this hub. Generated from protobuf field <code>.google.cloud.networkconnectivity.v1.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return int
getState
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function setState($var) { GPBUtil::checkEnum($var, \Google\Cloud\NetworkConnectivity\V1\State::class); $this->state = $var; return $this; }
Output only. The current lifecycle state of this hub. Generated from protobuf field <code>.google.cloud.networkconnectivity.v1.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param int $var @return $this
setState
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function getRoutingVpcs() { return $this->routing_vpcs; }
The VPC networks associated with this hub's spokes. This field is read-only. Network Connectivity Center automatically populates it based on the set of spokes attached to the hub. Generated from protobuf field <code>repeated .google.cloud.networkconnectivity.v1.RoutingVPC routing_vpcs = 10;</code> @return \Google\Protobuf\Internal\RepeatedField
getRoutingVpcs
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function setRoutingVpcs($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\NetworkConnectivity\V1\RoutingVPC::class); $this->routing_vpcs = $arr; return $this; }
The VPC networks associated with this hub's spokes. This field is read-only. Network Connectivity Center automatically populates it based on the set of spokes attached to the hub. Generated from protobuf field <code>repeated .google.cloud.networkconnectivity.v1.RoutingVPC routing_vpcs = 10;</code> @param array<\Google\Cloud\NetworkConnectivity\V1\RoutingVPC>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setRoutingVpcs
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function getRouteTables() { return $this->route_tables; }
Output only. The route tables that belong to this hub. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}/routeTables/{route_table_id}` This field is read-only. Network Connectivity Center automatically populates it based on the route tables nested under the hub. Generated from protobuf field <code>repeated string route_tables = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Internal\RepeatedField
getRouteTables
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function setRouteTables($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->route_tables = $arr; return $this; }
Output only. The route tables that belong to this hub. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}/routeTables/{route_table_id}` This field is read-only. Network Connectivity Center automatically populates it based on the route tables nested under the hub. Generated from protobuf field <code>repeated string route_tables = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param array<string>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setRouteTables
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function getSpokeSummary() { return $this->spoke_summary; }
Output only. A summary of the spokes associated with a hub. The summary includes a count of spokes according to type and according to state. If any spokes are inactive, the summary also lists the reasons they are inactive, including a count for each reason. Generated from protobuf field <code>.google.cloud.networkconnectivity.v1.SpokeSummary spoke_summary = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Cloud\NetworkConnectivity\V1\SpokeSummary|null
getSpokeSummary
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function setSpokeSummary($var) { GPBUtil::checkMessage($var, \Google\Cloud\NetworkConnectivity\V1\SpokeSummary::class); $this->spoke_summary = $var; return $this; }
Output only. A summary of the spokes associated with a hub. The summary includes a count of spokes according to type and according to state. If any spokes are inactive, the summary also lists the reasons they are inactive, including a count for each reason. Generated from protobuf field <code>.google.cloud.networkconnectivity.v1.SpokeSummary spoke_summary = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Cloud\NetworkConnectivity\V1\SpokeSummary $var @return $this
setSpokeSummary
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function getPolicyMode() { return $this->policy_mode; }
Optional. The policy mode of this hub. This field can be either PRESET or CUSTOM. If unspecified, the policy_mode defaults to PRESET. Generated from protobuf field <code>.google.cloud.networkconnectivity.v1.PolicyMode policy_mode = 13 [(.google.api.field_behavior) = OPTIONAL];</code> @return int
getPolicyMode
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function setPolicyMode($var) { GPBUtil::checkEnum($var, \Google\Cloud\NetworkConnectivity\V1\PolicyMode::class); $this->policy_mode = $var; return $this; }
Optional. The policy mode of this hub. This field can be either PRESET or CUSTOM. If unspecified, the policy_mode defaults to PRESET. Generated from protobuf field <code>.google.cloud.networkconnectivity.v1.PolicyMode policy_mode = 13 [(.google.api.field_behavior) = OPTIONAL];</code> @param int $var @return $this
setPolicyMode
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function getPresetTopology() { return $this->preset_topology; }
Optional. The topology implemented in this hub. Currently, this field is only used when policy_mode = PRESET. The available preset topologies are MESH and STAR. If preset_topology is unspecified and policy_mode = PRESET, the preset_topology defaults to MESH. When policy_mode = CUSTOM, the preset_topology is set to PRESET_TOPOLOGY_UNSPECIFIED. Generated from protobuf field <code>.google.cloud.networkconnectivity.v1.PresetTopology preset_topology = 14 [(.google.api.field_behavior) = OPTIONAL];</code> @return int
getPresetTopology
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function setPresetTopology($var) { GPBUtil::checkEnum($var, \Google\Cloud\NetworkConnectivity\V1\PresetTopology::class); $this->preset_topology = $var; return $this; }
Optional. The topology implemented in this hub. Currently, this field is only used when policy_mode = PRESET. The available preset topologies are MESH and STAR. If preset_topology is unspecified and policy_mode = PRESET, the preset_topology defaults to MESH. When policy_mode = CUSTOM, the preset_topology is set to PRESET_TOPOLOGY_UNSPECIFIED. Generated from protobuf field <code>.google.cloud.networkconnectivity.v1.PresetTopology preset_topology = 14 [(.google.api.field_behavior) = OPTIONAL];</code> @param int $var @return $this
setPresetTopology
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function getExportPsc() { return isset($this->export_psc) ? $this->export_psc : false; }
Optional. Whether Private Service Connect connection propagation is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false. Generated from protobuf field <code>optional bool export_psc = 15 [(.google.api.field_behavior) = OPTIONAL];</code> @return bool
getExportPsc
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function setExportPsc($var) { GPBUtil::checkBool($var); $this->export_psc = $var; return $this; }
Optional. Whether Private Service Connect connection propagation is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false. Generated from protobuf field <code>optional bool export_psc = 15 [(.google.api.field_behavior) = OPTIONAL];</code> @param bool $var @return $this
setExportPsc
php
googleapis/google-cloud-php
NetworkConnectivity/src/V1/Hub.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkConnectivity/src/V1/Hub.php
Apache-2.0
public function getName() { return $this->name; }
Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete. `AzureCluster` names are formatted as `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud Platform resource names. 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
GkeMultiCloud/src/V1/DeleteAzureClusterRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/DeleteAzureClusterRequest.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete. `AzureCluster` names are formatted as `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud Platform resource names. 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
GkeMultiCloud/src/V1/DeleteAzureClusterRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/DeleteAzureClusterRequest.php
Apache-2.0
public function getAllowMissing() { return $this->allow_missing; }
If set to true, and the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource is not found, the request will succeed but no action will be taken on the server and a completed [Operation][google.longrunning.Operation] will be returned. Useful for idempotent deletion. Generated from protobuf field <code>bool allow_missing = 2;</code> @return bool
getAllowMissing
php
googleapis/google-cloud-php
GkeMultiCloud/src/V1/DeleteAzureClusterRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/DeleteAzureClusterRequest.php
Apache-2.0
public function setAllowMissing($var) { GPBUtil::checkBool($var); $this->allow_missing = $var; return $this; }
If set to true, and the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource is not found, the request will succeed but no action will be taken on the server and a completed [Operation][google.longrunning.Operation] will be returned. Useful for idempotent deletion. Generated from protobuf field <code>bool allow_missing = 2;</code> @param bool $var @return $this
setAllowMissing
php
googleapis/google-cloud-php
GkeMultiCloud/src/V1/DeleteAzureClusterRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/DeleteAzureClusterRequest.php
Apache-2.0
public function getValidateOnly() { return $this->validate_only; }
If set, only validate the request, but do not actually delete the resource. Generated from protobuf field <code>bool validate_only = 3;</code> @return bool
getValidateOnly
php
googleapis/google-cloud-php
GkeMultiCloud/src/V1/DeleteAzureClusterRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/DeleteAzureClusterRequest.php
Apache-2.0
public function setValidateOnly($var) { GPBUtil::checkBool($var); $this->validate_only = $var; return $this; }
If set, only validate the request, but do not actually delete the resource. Generated from protobuf field <code>bool validate_only = 3;</code> @param bool $var @return $this
setValidateOnly
php
googleapis/google-cloud-php
GkeMultiCloud/src/V1/DeleteAzureClusterRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/DeleteAzureClusterRequest.php
Apache-2.0
public function getEtag() { return $this->etag; }
The current etag of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]. Allows clients to perform deletions through optimistic concurrency control. If the provided etag does not match the current etag of the cluster, the request will fail and an ABORTED error will be returned. Generated from protobuf field <code>string etag = 4;</code> @return string
getEtag
php
googleapis/google-cloud-php
GkeMultiCloud/src/V1/DeleteAzureClusterRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/DeleteAzureClusterRequest.php
Apache-2.0
public function setEtag($var) { GPBUtil::checkString($var, True); $this->etag = $var; return $this; }
The current etag of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]. Allows clients to perform deletions through optimistic concurrency control. If the provided etag does not match the current etag of the cluster, the request will fail and an ABORTED error will be returned. Generated from protobuf field <code>string etag = 4;</code> @param string $var @return $this
setEtag
php
googleapis/google-cloud-php
GkeMultiCloud/src/V1/DeleteAzureClusterRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/DeleteAzureClusterRequest.php
Apache-2.0
public function getIgnoreErrors() { return $this->ignore_errors; }
Optional. If set to true, the deletion of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will succeed even if errors occur during deleting in cluster resources. Using this parameter may result in orphaned resources in the cluster. Generated from protobuf field <code>bool ignore_errors = 5 [(.google.api.field_behavior) = OPTIONAL];</code> @return bool
getIgnoreErrors
php
googleapis/google-cloud-php
GkeMultiCloud/src/V1/DeleteAzureClusterRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/DeleteAzureClusterRequest.php
Apache-2.0
public function setIgnoreErrors($var) { GPBUtil::checkBool($var); $this->ignore_errors = $var; return $this; }
Optional. If set to true, the deletion of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will succeed even if errors occur during deleting in cluster resources. Using this parameter may result in orphaned resources in the cluster. Generated from protobuf field <code>bool ignore_errors = 5 [(.google.api.field_behavior) = OPTIONAL];</code> @param bool $var @return $this
setIgnoreErrors
php
googleapis/google-cloud-php
GkeMultiCloud/src/V1/DeleteAzureClusterRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/DeleteAzureClusterRequest.php
Apache-2.0
public function getTerraformBlueprint() { return $this->readOneof(6); }
The terraform blueprint to preview. Generated from protobuf field <code>.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;</code> @return \Google\Cloud\Config\V1\TerraformBlueprint|null
getTerraformBlueprint
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setTerraformBlueprint($var) { GPBUtil::checkMessage($var, \Google\Cloud\Config\V1\TerraformBlueprint::class); $this->writeOneof(6, $var); return $this; }
The terraform blueprint to preview. Generated from protobuf field <code>.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6;</code> @param \Google\Cloud\Config\V1\TerraformBlueprint $var @return $this
setTerraformBlueprint
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getName() { return $this->name; }
Identifier. Resource name of the preview. Resource name can be user provided or server generated ID if unspecified. Format: `projects/{project}/locations/{location}/previews/{preview}` Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = IDENTIFIER];</code> @return string
getName
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Identifier. Resource name of the preview. Resource name can be user provided or server generated ID if unspecified. Format: `projects/{project}/locations/{location}/previews/{preview}` Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = IDENTIFIER];</code> @param string $var @return $this
setName
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0