code
stringlengths
17
247k
docstring
stringlengths
30
30.3k
func_name
stringlengths
1
89
language
stringclasses
1 value
repo
stringlengths
7
63
path
stringlengths
7
153
url
stringlengths
51
209
license
stringclasses
4 values
public function setErrorCode($var) { GPBUtil::checkEnum($var, \Google\Cloud\Config\V1\Preview\ErrorCode::class); $this->error_code = $var; return $this; }
Output only. Code describing any errors that may have occurred. Generated from protobuf field <code>.google.cloud.config.v1.Preview.ErrorCode error_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param int $var @return $this
setErrorCode
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getBuild() { return $this->build; }
Output only. Cloud Build instance UUID associated with this preview. Generated from protobuf field <code>string build = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getBuild
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setBuild($var) { GPBUtil::checkString($var, True); $this->build = $var; return $this; }
Output only. Cloud Build instance UUID associated with this preview. Generated from protobuf field <code>string build = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setBuild
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getTfErrors() { return $this->tf_errors; }
Output only. Summary of errors encountered during Terraform preview. It has a size limit of 10, i.e. only top 10 errors will be summarized here. Generated from protobuf field <code>repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Internal\RepeatedField
getTfErrors
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setTfErrors($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Config\V1\TerraformError::class); $this->tf_errors = $arr; return $this; }
Output only. Summary of errors encountered during Terraform preview. It has a size limit of 10, i.e. only top 10 errors will be summarized here. Generated from protobuf field <code>repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param array<\Google\Cloud\Config\V1\TerraformError>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setTfErrors
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getErrorLogs() { return $this->error_logs; }
Output only. Link to tf-error.ndjson file, which contains the full list of the errors encountered during a Terraform preview. Format: `gs://{bucket}/{object}`. Generated from protobuf field <code>string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getErrorLogs
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setErrorLogs($var) { GPBUtil::checkString($var, True); $this->error_logs = $var; return $this; }
Output only. Link to tf-error.ndjson file, which contains the full list of the errors encountered during a Terraform preview. Format: `gs://{bucket}/{object}`. Generated from protobuf field <code>string error_logs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setErrorLogs
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getPreviewArtifacts() { return $this->preview_artifacts; }
Output only. Artifacts from preview. Generated from protobuf field <code>.google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Cloud\Config\V1\PreviewArtifacts|null
getPreviewArtifacts
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setPreviewArtifacts($var) { GPBUtil::checkMessage($var, \Google\Cloud\Config\V1\PreviewArtifacts::class); $this->preview_artifacts = $var; return $this; }
Output only. Artifacts from preview. Generated from protobuf field <code>.google.cloud.config.v1.PreviewArtifacts preview_artifacts = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Cloud\Config\V1\PreviewArtifacts $var @return $this
setPreviewArtifacts
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setLogs($var) { GPBUtil::checkString($var, True); $this->logs = $var; return $this; }
Output only. Location of preview logs in `gs://{bucket}/{object}` format. Generated from protobuf field <code>string logs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setLogs
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getTfVersion() { return $this->tf_version; }
Output only. The current Terraform version set on the preview. It is in the format of "Major.Minor.Patch", for example, "1.3.10". Generated from protobuf field <code>string tf_version = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getTfVersion
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setTfVersion($var) { GPBUtil::checkString($var, True); $this->tf_version = $var; return $this; }
Output only. The current Terraform version set on the preview. It is in the format of "Major.Minor.Patch", for example, "1.3.10". Generated from protobuf field <code>string tf_version = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setTfVersion
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getTfVersionConstraint() { return isset($this->tf_version_constraint) ? $this->tf_version_constraint : ''; }
Optional. The user-specified Terraform version constraint. Example: "=1.3.10". Generated from protobuf field <code>optional string tf_version_constraint = 19 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getTfVersionConstraint
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setTfVersionConstraint($var) { GPBUtil::checkString($var, True); $this->tf_version_constraint = $var; return $this; }
Optional. The user-specified Terraform version constraint. Example: "=1.3.10". Generated from protobuf field <code>optional string tf_version_constraint = 19 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setTfVersionConstraint
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getInterconnectRemoteLocation() { return $this->interconnect_remote_location; }
Name of the interconnect remote location to return. Generated from protobuf field <code>string interconnect_remote_location = 290153949 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getInterconnectRemoteLocation
php
googleapis/google-cloud-php
Compute/src/V1/GetInterconnectRemoteLocationRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/GetInterconnectRemoteLocationRequest.php
Apache-2.0
public function setInterconnectRemoteLocation($var) { GPBUtil::checkString($var, True); $this->interconnect_remote_location = $var; return $this; }
Name of the interconnect remote location to return. Generated from protobuf field <code>string interconnect_remote_location = 290153949 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setInterconnectRemoteLocation
php
googleapis/google-cloud-php
Compute/src/V1/GetInterconnectRemoteLocationRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/GetInterconnectRemoteLocationRequest.php
Apache-2.0
public function getEmails() { return $this->emails; }
Optional. The email recipients who will receive the DataQualityScan results report. Generated from protobuf field <code>repeated string emails = 1 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Protobuf\Internal\RepeatedField
getEmails
php
googleapis/google-cloud-php
Dataplex/src/V1/DataQualitySpec/PostScanActions/Recipients.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/DataQualitySpec/PostScanActions/Recipients.php
Apache-2.0
public function setEmails($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->emails = $arr; return $this; }
Optional. The email recipients who will receive the DataQualityScan results report. Generated from protobuf field <code>repeated string emails = 1 [(.google.api.field_behavior) = OPTIONAL];</code> @param array<string>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setEmails
php
googleapis/google-cloud-php
Dataplex/src/V1/DataQualitySpec/PostScanActions/Recipients.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/DataQualitySpec/PostScanActions/Recipients.php
Apache-2.0
public function getHttpHeaders() { return $this->http_headers; }
Optional. Custom headers to set in the request. HTTP allows repeated headers. Generated from protobuf field <code>repeated .google.cloud.run.v2.HTTPHeader http_headers = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Protobuf\Internal\RepeatedField
getHttpHeaders
php
googleapis/google-cloud-php
Run/src/V2/HTTPGetAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Run/src/V2/HTTPGetAction.php
Apache-2.0
public function setHttpHeaders($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\HTTPHeader::class); $this->http_headers = $arr; return $this; }
Optional. Custom headers to set in the request. HTTP allows repeated headers. Generated from protobuf field <code>repeated .google.cloud.run.v2.HTTPHeader http_headers = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @param array<\Google\Cloud\Run\V2\HTTPHeader>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setHttpHeaders
php
googleapis/google-cloud-php
Run/src/V2/HTTPGetAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Run/src/V2/HTTPGetAction.php
Apache-2.0
public function getLoginHint() { return $this->login_hint; }
Domain hint to send as hd=? parameter in OAuth request flow. Enables redirect to primary IDP by skipping Google's login screen. https://developers.google.com/identity/protocols/OpenIDConnect#hd-param Note: IAP does not verify that the id token's hd claim matches this value since access behavior is managed by IAM policies. Generated from protobuf field <code>.google.protobuf.StringValue login_hint = 2;</code> @return \Google\Protobuf\StringValue|null
getLoginHint
php
googleapis/google-cloud-php
Iap/src/V1/OAuthSettings.php
https://github.com/googleapis/google-cloud-php/blob/master/Iap/src/V1/OAuthSettings.php
Apache-2.0
public function getLoginHintUnwrapped() { return $this->readWrapperValue("login_hint"); }
Returns the unboxed value from <code>getLoginHint()</code> Domain hint to send as hd=? parameter in OAuth request flow. Enables redirect to primary IDP by skipping Google's login screen. https://developers.google.com/identity/protocols/OpenIDConnect#hd-param Note: IAP does not verify that the id token's hd claim matches this value since access behavior is managed by IAM policies. Generated from protobuf field <code>.google.protobuf.StringValue login_hint = 2;</code> @return string|null
getLoginHintUnwrapped
php
googleapis/google-cloud-php
Iap/src/V1/OAuthSettings.php
https://github.com/googleapis/google-cloud-php/blob/master/Iap/src/V1/OAuthSettings.php
Apache-2.0
public function setLoginHint($var) { GPBUtil::checkMessage($var, \Google\Protobuf\StringValue::class); $this->login_hint = $var; return $this; }
Domain hint to send as hd=? parameter in OAuth request flow. Enables redirect to primary IDP by skipping Google's login screen. https://developers.google.com/identity/protocols/OpenIDConnect#hd-param Note: IAP does not verify that the id token's hd claim matches this value since access behavior is managed by IAM policies. Generated from protobuf field <code>.google.protobuf.StringValue login_hint = 2;</code> @param \Google\Protobuf\StringValue $var @return $this
setLoginHint
php
googleapis/google-cloud-php
Iap/src/V1/OAuthSettings.php
https://github.com/googleapis/google-cloud-php/blob/master/Iap/src/V1/OAuthSettings.php
Apache-2.0
public function setLoginHintUnwrapped($var) { $this->writeWrapperValue("login_hint", $var); return $this;}
Sets the field by wrapping a primitive type in a Google\Protobuf\StringValue object. Domain hint to send as hd=? parameter in OAuth request flow. Enables redirect to primary IDP by skipping Google's login screen. https://developers.google.com/identity/protocols/OpenIDConnect#hd-param Note: IAP does not verify that the id token's hd claim matches this value since access behavior is managed by IAM policies. Generated from protobuf field <code>.google.protobuf.StringValue login_hint = 2;</code> @param string|null $var @return $this
setLoginHintUnwrapped
php
googleapis/google-cloud-php
Iap/src/V1/OAuthSettings.php
https://github.com/googleapis/google-cloud-php/blob/master/Iap/src/V1/OAuthSettings.php
Apache-2.0
public function getProgrammaticClients() { return $this->programmatic_clients; }
Optional. List of client ids allowed to use IAP programmatically. Generated from protobuf field <code>repeated string programmatic_clients = 5 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Protobuf\Internal\RepeatedField
getProgrammaticClients
php
googleapis/google-cloud-php
Iap/src/V1/OAuthSettings.php
https://github.com/googleapis/google-cloud-php/blob/master/Iap/src/V1/OAuthSettings.php
Apache-2.0
public function setProgrammaticClients($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->programmatic_clients = $arr; return $this; }
Optional. List of client ids allowed to use IAP programmatically. Generated from protobuf field <code>repeated string programmatic_clients = 5 [(.google.api.field_behavior) = OPTIONAL];</code> @param array<string>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setProgrammaticClients
php
googleapis/google-cloud-php
Iap/src/V1/OAuthSettings.php
https://github.com/googleapis/google-cloud-php/blob/master/Iap/src/V1/OAuthSettings.php
Apache-2.0
public function getStorageSizeBytes() { return isset($this->storage_size_bytes) ? $this->storage_size_bytes : 0; }
[Output Only] The storage size of this instant snapshot. Generated from protobuf field <code>optional int64 storage_size_bytes = 387548913;</code> @return int|string
getStorageSizeBytes
php
googleapis/google-cloud-php
Compute/src/V1/InstantSnapshotResourceStatus.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InstantSnapshotResourceStatus.php
Apache-2.0
public function setStorageSizeBytes($var) { GPBUtil::checkInt64($var); $this->storage_size_bytes = $var; return $this; }
[Output Only] The storage size of this instant snapshot. Generated from protobuf field <code>optional int64 storage_size_bytes = 387548913;</code> @param int|string $var @return $this
setStorageSizeBytes
php
googleapis/google-cloud-php
Compute/src/V1/InstantSnapshotResourceStatus.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InstantSnapshotResourceStatus.php
Apache-2.0
public function getSchedule() { return $this->schedule; }
Required. Schedule in crontab format. e.g. "0 9 * * 1" for every Monday at 9am. Generated from protobuf field <code>string schedule = 3 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getSchedule
php
googleapis/google-cloud-php
Deploy/src/V1/TimedPromoteReleaseRule.php
https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/TimedPromoteReleaseRule.php
Apache-2.0
public function setSchedule($var) { GPBUtil::checkString($var, True); $this->schedule = $var; return $this; }
Required. Schedule in crontab format. e.g. "0 9 * * 1" for every Monday at 9am. Generated from protobuf field <code>string schedule = 3 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setSchedule
php
googleapis/google-cloud-php
Deploy/src/V1/TimedPromoteReleaseRule.php
https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/TimedPromoteReleaseRule.php
Apache-2.0
public function getSourceIp() { return $this->source_ip; }
Source IP address. Generated from protobuf field <code>string source_ip = 1;</code> @return string
getSourceIp
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function setSourceIp($var) { GPBUtil::checkString($var, True); $this->source_ip = $var; return $this; }
Source IP address. Generated from protobuf field <code>string source_ip = 1;</code> @param string $var @return $this
setSourceIp
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function getDestinationIp() { return $this->destination_ip; }
Destination IP address. Generated from protobuf field <code>string destination_ip = 2;</code> @return string
getDestinationIp
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function setDestinationIp($var) { GPBUtil::checkString($var, True); $this->destination_ip = $var; return $this; }
Destination IP address. Generated from protobuf field <code>string destination_ip = 2;</code> @param string $var @return $this
setDestinationIp
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function getSourcePort() { return $this->source_port; }
Source port. Only valid when protocol is TCP or UDP. Generated from protobuf field <code>int32 source_port = 4;</code> @return int
getSourcePort
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function setSourcePort($var) { GPBUtil::checkInt32($var); $this->source_port = $var; return $this; }
Source port. Only valid when protocol is TCP or UDP. Generated from protobuf field <code>int32 source_port = 4;</code> @param int $var @return $this
setSourcePort
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function getDestinationPort() { return $this->destination_port; }
Destination port. Only valid when protocol is TCP or UDP. Generated from protobuf field <code>int32 destination_port = 5;</code> @return int
getDestinationPort
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function setDestinationPort($var) { GPBUtil::checkInt32($var); $this->destination_port = $var; return $this; }
Destination port. Only valid when protocol is TCP or UDP. Generated from protobuf field <code>int32 destination_port = 5;</code> @param int $var @return $this
setDestinationPort
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function getSourceNetworkUri() { return $this->source_network_uri; }
URI of the network where this packet originates from. Generated from protobuf field <code>string source_network_uri = 6;</code> @return string
getSourceNetworkUri
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function setSourceNetworkUri($var) { GPBUtil::checkString($var, True); $this->source_network_uri = $var; return $this; }
URI of the network where this packet originates from. Generated from protobuf field <code>string source_network_uri = 6;</code> @param string $var @return $this
setSourceNetworkUri
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function getDestinationNetworkUri() { return $this->destination_network_uri; }
URI of the network where this packet is sent to. Generated from protobuf field <code>string destination_network_uri = 7;</code> @return string
getDestinationNetworkUri
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function setDestinationNetworkUri($var) { GPBUtil::checkString($var, True); $this->destination_network_uri = $var; return $this; }
URI of the network where this packet is sent to. Generated from protobuf field <code>string destination_network_uri = 7;</code> @param string $var @return $this
setDestinationNetworkUri
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function getSourceAgentUri() { return $this->source_agent_uri; }
URI of the source telemetry agent this packet originates from. Generated from protobuf field <code>string source_agent_uri = 8;</code> @return string
getSourceAgentUri
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function setSourceAgentUri($var) { GPBUtil::checkString($var, True); $this->source_agent_uri = $var; return $this; }
URI of the source telemetry agent this packet originates from. Generated from protobuf field <code>string source_agent_uri = 8;</code> @param string $var @return $this
setSourceAgentUri
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function getApproximateNeighborCandidates() { return $this->approximate_neighbor_candidates; }
Optional. The number of neighbors to find via approximate search before exact reordering is performed; if set, this value must be > neighbor_count. Generated from protobuf field <code>int32 approximate_neighbor_candidates = 1 [(.google.api.field_behavior) = OPTIONAL];</code> @return int
getApproximateNeighborCandidates
php
googleapis/google-cloud-php
AiPlatform/src/V1/NearestNeighborQuery/Parameters.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/NearestNeighborQuery/Parameters.php
Apache-2.0
public function setApproximateNeighborCandidates($var) { GPBUtil::checkInt32($var); $this->approximate_neighbor_candidates = $var; return $this; }
Optional. The number of neighbors to find via approximate search before exact reordering is performed; if set, this value must be > neighbor_count. Generated from protobuf field <code>int32 approximate_neighbor_candidates = 1 [(.google.api.field_behavior) = OPTIONAL];</code> @param int $var @return $this
setApproximateNeighborCandidates
php
googleapis/google-cloud-php
AiPlatform/src/V1/NearestNeighborQuery/Parameters.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/NearestNeighborQuery/Parameters.php
Apache-2.0
public function getLeafNodesSearchFraction() { return $this->leaf_nodes_search_fraction; }
Optional. The fraction of the number of leaves to search, set at query time allows user to tune search performance. This value increase result in both search accuracy and latency increase. The value should be between 0.0 and 1.0. Generated from protobuf field <code>double leaf_nodes_search_fraction = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @return float
getLeafNodesSearchFraction
php
googleapis/google-cloud-php
AiPlatform/src/V1/NearestNeighborQuery/Parameters.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/NearestNeighborQuery/Parameters.php
Apache-2.0
public function setLeafNodesSearchFraction($var) { GPBUtil::checkDouble($var); $this->leaf_nodes_search_fraction = $var; return $this; }
Optional. The fraction of the number of leaves to search, set at query time allows user to tune search performance. This value increase result in both search accuracy and latency increase. The value should be between 0.0 and 1.0. Generated from protobuf field <code>double leaf_nodes_search_fraction = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @param float $var @return $this
setLeafNodesSearchFraction
php
googleapis/google-cloud-php
AiPlatform/src/V1/NearestNeighborQuery/Parameters.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/NearestNeighborQuery/Parameters.php
Apache-2.0
public function getRequestHeadersToAdds() { return $this->request_headers_to_adds; }
The list of request headers to add or overwrite if they're already present. Generated from protobuf field <code>repeated .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption request_headers_to_adds = 87987661;</code> @return \Google\Protobuf\Internal\RepeatedField
getRequestHeadersToAdds
php
googleapis/google-cloud-php
Compute/src/V1/SecurityPolicyRuleHttpHeaderAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SecurityPolicyRuleHttpHeaderAction.php
Apache-2.0
public function setRequestHeadersToAdds($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Compute\V1\SecurityPolicyRuleHttpHeaderActionHttpHeaderOption::class); $this->request_headers_to_adds = $arr; return $this; }
The list of request headers to add or overwrite if they're already present. Generated from protobuf field <code>repeated .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption request_headers_to_adds = 87987661;</code> @param array<\Google\Cloud\Compute\V1\SecurityPolicyRuleHttpHeaderActionHttpHeaderOption>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setRequestHeadersToAdds
php
googleapis/google-cloud-php
Compute/src/V1/SecurityPolicyRuleHttpHeaderAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SecurityPolicyRuleHttpHeaderAction.php
Apache-2.0
public function getAllManagedAccounts() { return $this->readOneof(3); }
If this value is true, the requesting account is notified of the specified event for all managed accounts (can be subaccounts or other linked accounts) including newly added accounts on a daily basis. Generated from protobuf field <code>bool all_managed_accounts = 3;</code> @return bool
getAllManagedAccounts
php
googleapis/google-cloud-php
ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
Apache-2.0
public function setAllManagedAccounts($var) { GPBUtil::checkBool($var); $this->writeOneof(3, $var); return $this; }
If this value is true, the requesting account is notified of the specified event for all managed accounts (can be subaccounts or other linked accounts) including newly added accounts on a daily basis. Generated from protobuf field <code>bool all_managed_accounts = 3;</code> @param bool $var @return $this
setAllManagedAccounts
php
googleapis/google-cloud-php
ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
Apache-2.0
public function getTargetAccount() { return $this->readOneof(4); }
The `name` of the account you want to receive notifications for. Format: `accounts/{account}` Generated from protobuf field <code>string target_account = 4;</code> @return string
getTargetAccount
php
googleapis/google-cloud-php
ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
Apache-2.0
public function setTargetAccount($var) { GPBUtil::checkString($var, True); $this->writeOneof(4, $var); return $this; }
The `name` of the account you want to receive notifications for. Format: `accounts/{account}` Generated from protobuf field <code>string target_account = 4;</code> @param string $var @return $this
setTargetAccount
php
googleapis/google-cloud-php
ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
Apache-2.0
public function getRegisteredEvent() { return $this->registered_event; }
The event that the merchant wants to be notified about. Generated from protobuf field <code>.google.shopping.merchant.notifications.v1beta.NotificationSubscription.NotificationEventType registered_event = 2;</code> @return int
getRegisteredEvent
php
googleapis/google-cloud-php
ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
Apache-2.0
public function setRegisteredEvent($var) { GPBUtil::checkEnum($var, \Google\Shopping\Merchant\Notifications\V1beta\NotificationSubscription\NotificationEventType::class); $this->registered_event = $var; return $this; }
The event that the merchant wants to be notified about. Generated from protobuf field <code>.google.shopping.merchant.notifications.v1beta.NotificationSubscription.NotificationEventType registered_event = 2;</code> @param int $var @return $this
setRegisteredEvent
php
googleapis/google-cloud-php
ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
Apache-2.0
public function getCallBackUri() { return $this->call_back_uri; }
URL to be used to push the notification to the merchant. Generated from protobuf field <code>string call_back_uri = 5;</code> @return string
getCallBackUri
php
googleapis/google-cloud-php
ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
Apache-2.0
public function setCallBackUri($var) { GPBUtil::checkString($var, True); $this->call_back_uri = $var; return $this; }
URL to be used to push the notification to the merchant. Generated from protobuf field <code>string call_back_uri = 5;</code> @param string $var @return $this
setCallBackUri
php
googleapis/google-cloud-php
ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
Apache-2.0
public function getMatchHighlightingCondition() { return $this->match_highlighting_condition; }
The condition under which match highlighting should occur. Generated from protobuf field <code>.google.cloud.discoveryengine.v1.SearchRequest.DisplaySpec.MatchHighlightingCondition match_highlighting_condition = 1;</code> @return int
getMatchHighlightingCondition
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/SearchRequest/DisplaySpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/SearchRequest/DisplaySpec.php
Apache-2.0
public function setMatchHighlightingCondition($var) { GPBUtil::checkEnum($var, \Google\Cloud\DiscoveryEngine\V1\SearchRequest\DisplaySpec\MatchHighlightingCondition::class); $this->match_highlighting_condition = $var; return $this; }
The condition under which match highlighting should occur. Generated from protobuf field <code>.google.cloud.discoveryengine.v1.SearchRequest.DisplaySpec.MatchHighlightingCondition match_highlighting_condition = 1;</code> @param int $var @return $this
setMatchHighlightingCondition
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/SearchRequest/DisplaySpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/SearchRequest/DisplaySpec.php
Apache-2.0
public function getSimpleResponses() { return $this->simple_responses; }
Required. The list of simple responses. Generated from protobuf field <code>repeated .google.cloud.dialogflow.v2.Intent.Message.SimpleResponse simple_responses = 1 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Protobuf\Internal\RepeatedField
getSimpleResponses
php
googleapis/google-cloud-php
Dialogflow/src/V2/Intent/Message/SimpleResponses.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Intent/Message/SimpleResponses.php
Apache-2.0
public function setSimpleResponses($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\V2\Intent\Message\SimpleResponse::class); $this->simple_responses = $arr; return $this; }
Required. The list of simple responses. Generated from protobuf field <code>repeated .google.cloud.dialogflow.v2.Intent.Message.SimpleResponse simple_responses = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param array<\Google\Cloud\Dialogflow\V2\Intent\Message\SimpleResponse>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setSimpleResponses
php
googleapis/google-cloud-php
Dialogflow/src/V2/Intent/Message/SimpleResponses.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Intent/Message/SimpleResponses.php
Apache-2.0
public function getHttpRequest() { return $this->readOneof(1); }
The HttpRequest proto. Generated from protobuf field <code>.google.cloud.apigeeconnect.v1.HttpRequest http_request = 1;</code> @return \Google\Cloud\ApigeeConnect\V1\HttpRequest|null
getHttpRequest
php
googleapis/google-cloud-php
ApigeeConnect/src/V1/Payload.php
https://github.com/googleapis/google-cloud-php/blob/master/ApigeeConnect/src/V1/Payload.php
Apache-2.0
public function setHttpRequest($var) { GPBUtil::checkMessage($var, \Google\Cloud\ApigeeConnect\V1\HttpRequest::class); $this->writeOneof(1, $var); return $this; }
The HttpRequest proto. Generated from protobuf field <code>.google.cloud.apigeeconnect.v1.HttpRequest http_request = 1;</code> @param \Google\Cloud\ApigeeConnect\V1\HttpRequest $var @return $this
setHttpRequest
php
googleapis/google-cloud-php
ApigeeConnect/src/V1/Payload.php
https://github.com/googleapis/google-cloud-php/blob/master/ApigeeConnect/src/V1/Payload.php
Apache-2.0
public function getStreamInfo() { return $this->readOneof(2); }
The information of stream. Generated from protobuf field <code>.google.cloud.apigeeconnect.v1.StreamInfo stream_info = 2;</code> @return \Google\Cloud\ApigeeConnect\V1\StreamInfo|null
getStreamInfo
php
googleapis/google-cloud-php
ApigeeConnect/src/V1/Payload.php
https://github.com/googleapis/google-cloud-php/blob/master/ApigeeConnect/src/V1/Payload.php
Apache-2.0
public function setStreamInfo($var) { GPBUtil::checkMessage($var, \Google\Cloud\ApigeeConnect\V1\StreamInfo::class); $this->writeOneof(2, $var); return $this; }
The information of stream. Generated from protobuf field <code>.google.cloud.apigeeconnect.v1.StreamInfo stream_info = 2;</code> @param \Google\Cloud\ApigeeConnect\V1\StreamInfo $var @return $this
setStreamInfo
php
googleapis/google-cloud-php
ApigeeConnect/src/V1/Payload.php
https://github.com/googleapis/google-cloud-php/blob/master/ApigeeConnect/src/V1/Payload.php
Apache-2.0
public function getAction() { return $this->readOneof(3); }
The action taken by agent. Generated from protobuf field <code>.google.cloud.apigeeconnect.v1.Action action = 3;</code> @return int
getAction
php
googleapis/google-cloud-php
ApigeeConnect/src/V1/Payload.php
https://github.com/googleapis/google-cloud-php/blob/master/ApigeeConnect/src/V1/Payload.php
Apache-2.0
public function setAction($var) { GPBUtil::checkEnum($var, \Google\Cloud\ApigeeConnect\V1\Action::class); $this->writeOneof(3, $var); return $this; }
The action taken by agent. Generated from protobuf field <code>.google.cloud.apigeeconnect.v1.Action action = 3;</code> @param int $var @return $this
setAction
php
googleapis/google-cloud-php
ApigeeConnect/src/V1/Payload.php
https://github.com/googleapis/google-cloud-php/blob/master/ApigeeConnect/src/V1/Payload.php
Apache-2.0
public function setResult($var) { GPBUtil::checkMessage($var, \Google\Cloud\EdgeNetwork\V1\RouterStatus::class); $this->result = $var; return $this; }
The network status of a specific router. Generated from protobuf field <code>.google.cloud.edgenetwork.v1.RouterStatus result = 2;</code> @param \Google\Cloud\EdgeNetwork\V1\RouterStatus $var @return $this
setResult
php
googleapis/google-cloud-php
EdgeNetwork/src/V1/DiagnoseRouterResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/EdgeNetwork/src/V1/DiagnoseRouterResponse.php
Apache-2.0
public function setInstance($var) { GPBUtil::checkMessage($var, \Google\Cloud\Memorystore\V1beta\Instance::class); $this->instance = $var; return $this; }
Required. The instance to create. Generated from protobuf field <code>.google.cloud.memorystore.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\Memorystore\V1beta\Instance $var @return $this
setInstance
php
googleapis/google-cloud-php
Memorystore/src/V1beta/CreateInstanceRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1beta/CreateInstanceRequest.php
Apache-2.0
public function getSampleTime() { return $this->sample_time; }
Time the sample was collected. If omitted, the frame report time will be used. Generated from protobuf field <code>.google.protobuf.Timestamp sample_time = 1;</code> @return \Google\Protobuf\Timestamp|null
getSampleTime
php
googleapis/google-cloud-php
MigrationCenter/src/V1/PerformanceSample.php
https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/PerformanceSample.php
Apache-2.0
public function setSampleTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->sample_time = $var; return $this; }
Time the sample was collected. If omitted, the frame report time will be used. Generated from protobuf field <code>.google.protobuf.Timestamp sample_time = 1;</code> @param \Google\Protobuf\Timestamp $var @return $this
setSampleTime
php
googleapis/google-cloud-php
MigrationCenter/src/V1/PerformanceSample.php
https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/PerformanceSample.php
Apache-2.0
public function getMemory() { return $this->memory; }
Memory usage sample. Generated from protobuf field <code>.google.cloud.migrationcenter.v1.MemoryUsageSample memory = 2;</code> @return \Google\Cloud\MigrationCenter\V1\MemoryUsageSample|null
getMemory
php
googleapis/google-cloud-php
MigrationCenter/src/V1/PerformanceSample.php
https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/PerformanceSample.php
Apache-2.0
public function setMemory($var) { GPBUtil::checkMessage($var, \Google\Cloud\MigrationCenter\V1\MemoryUsageSample::class); $this->memory = $var; return $this; }
Memory usage sample. Generated from protobuf field <code>.google.cloud.migrationcenter.v1.MemoryUsageSample memory = 2;</code> @param \Google\Cloud\MigrationCenter\V1\MemoryUsageSample $var @return $this
setMemory
php
googleapis/google-cloud-php
MigrationCenter/src/V1/PerformanceSample.php
https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/PerformanceSample.php
Apache-2.0
public function getCpu() { return $this->cpu; }
CPU usage sample. Generated from protobuf field <code>.google.cloud.migrationcenter.v1.CpuUsageSample cpu = 3;</code> @return \Google\Cloud\MigrationCenter\V1\CpuUsageSample|null
getCpu
php
googleapis/google-cloud-php
MigrationCenter/src/V1/PerformanceSample.php
https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/PerformanceSample.php
Apache-2.0
public function setCpu($var) { GPBUtil::checkMessage($var, \Google\Cloud\MigrationCenter\V1\CpuUsageSample::class); $this->cpu = $var; return $this; }
CPU usage sample. Generated from protobuf field <code>.google.cloud.migrationcenter.v1.CpuUsageSample cpu = 3;</code> @param \Google\Cloud\MigrationCenter\V1\CpuUsageSample $var @return $this
setCpu
php
googleapis/google-cloud-php
MigrationCenter/src/V1/PerformanceSample.php
https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/PerformanceSample.php
Apache-2.0
public function setNetwork($var) { GPBUtil::checkMessage($var, \Google\Cloud\MigrationCenter\V1\NetworkUsageSample::class); $this->network = $var; return $this; }
Network usage sample. Generated from protobuf field <code>.google.cloud.migrationcenter.v1.NetworkUsageSample network = 4;</code> @param \Google\Cloud\MigrationCenter\V1\NetworkUsageSample $var @return $this
setNetwork
php
googleapis/google-cloud-php
MigrationCenter/src/V1/PerformanceSample.php
https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/PerformanceSample.php
Apache-2.0
public function setDisk($var) { GPBUtil::checkMessage($var, \Google\Cloud\MigrationCenter\V1\DiskUsageSample::class); $this->disk = $var; return $this; }
Disk usage sample. Generated from protobuf field <code>.google.cloud.migrationcenter.v1.DiskUsageSample disk = 5;</code> @param \Google\Cloud\MigrationCenter\V1\DiskUsageSample $var @return $this
setDisk
php
googleapis/google-cloud-php
MigrationCenter/src/V1/PerformanceSample.php
https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/PerformanceSample.php
Apache-2.0
public function setItems($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Apps\Card\V1\Grid\GridItem::class); $this->items = $arr; return $this; }
The items to display in the grid. Generated from protobuf field <code>repeated .google.apps.card.v1.Grid.GridItem items = 2;</code> @param array<\Google\Apps\Card\V1\Grid\GridItem>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setItems
php
googleapis/google-cloud-php
AppsChat/src/Card/V1/Grid.php
https://github.com/googleapis/google-cloud-php/blob/master/AppsChat/src/Card/V1/Grid.php
Apache-2.0
public function getCeBoolean() { return $this->readOneof(1); }
Boolean value. Generated from protobuf field <code>bool ce_boolean = 1;</code> @return bool
getCeBoolean
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function setCeBoolean($var) { GPBUtil::checkBool($var); $this->writeOneof(1, $var); return $this; }
Boolean value. Generated from protobuf field <code>bool ce_boolean = 1;</code> @param bool $var @return $this
setCeBoolean
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function getCeInteger() { return $this->readOneof(2); }
Integer value. Generated from protobuf field <code>int32 ce_integer = 2;</code> @return int
getCeInteger
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function setCeInteger($var) { GPBUtil::checkInt32($var); $this->writeOneof(2, $var); return $this; }
Integer value. Generated from protobuf field <code>int32 ce_integer = 2;</code> @param int $var @return $this
setCeInteger
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function getCeString() { return $this->readOneof(3); }
String value. Generated from protobuf field <code>string ce_string = 3;</code> @return string
getCeString
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function setCeString($var) { GPBUtil::checkString($var, True); $this->writeOneof(3, $var); return $this; }
String value. Generated from protobuf field <code>string ce_string = 3;</code> @param string $var @return $this
setCeString
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function getCeBytes() { return $this->readOneof(4); }
Bytes value. Generated from protobuf field <code>bytes ce_bytes = 4;</code> @return string
getCeBytes
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function setCeBytes($var) { GPBUtil::checkString($var, False); $this->writeOneof(4, $var); return $this; }
Bytes value. Generated from protobuf field <code>bytes ce_bytes = 4;</code> @param string $var @return $this
setCeBytes
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function getCeUri() { return $this->readOneof(5); }
URI value. Generated from protobuf field <code>string ce_uri = 5;</code> @return string
getCeUri
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function setCeUri($var) { GPBUtil::checkString($var, True); $this->writeOneof(5, $var); return $this; }
URI value. Generated from protobuf field <code>string ce_uri = 5;</code> @param string $var @return $this
setCeUri
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function getCeUriRef() { return $this->readOneof(6); }
URI-reference value. Generated from protobuf field <code>string ce_uri_ref = 6;</code> @return string
getCeUriRef
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function setCeUriRef($var) { GPBUtil::checkString($var, True); $this->writeOneof(6, $var); return $this; }
URI-reference value. Generated from protobuf field <code>string ce_uri_ref = 6;</code> @param string $var @return $this
setCeUriRef
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function getCeTimestamp() { return $this->readOneof(7); }
Timestamp value. Generated from protobuf field <code>.google.protobuf.Timestamp ce_timestamp = 7;</code> @return \Google\Protobuf\Timestamp|null
getCeTimestamp
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function setCeTimestamp($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->writeOneof(7, $var); return $this; }
Timestamp value. Generated from protobuf field <code>.google.protobuf.Timestamp ce_timestamp = 7;</code> @param \Google\Protobuf\Timestamp $var @return $this
setCeTimestamp
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function getGenericUri() { return $this->readOneof(3); }
Contains a URI which is vendor-specific. Example: The artifact repository URL of an image. Generated from protobuf field <code>string generic_uri = 3;</code> @return string
getGenericUri
php
googleapis/google-cloud-php
Grafeas/src/V1/VulnerabilityAssessmentNote/Product.php
https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/VulnerabilityAssessmentNote/Product.php
Apache-2.0
public function setGenericUri($var) { GPBUtil::checkString($var, True); $this->writeOneof(3, $var); return $this; }
Contains a URI which is vendor-specific. Example: The artifact repository URL of an image. Generated from protobuf field <code>string generic_uri = 3;</code> @param string $var @return $this
setGenericUri
php
googleapis/google-cloud-php
Grafeas/src/V1/VulnerabilityAssessmentNote/Product.php
https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/VulnerabilityAssessmentNote/Product.php
Apache-2.0
public function setDatabaseRoles($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Spanner\Admin\Database\V1\DatabaseRole::class); $this->database_roles = $arr; return $this; }
Database roles that matched the request. Generated from protobuf field <code>repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;</code> @param array<\Google\Cloud\Spanner\Admin\Database\V1\DatabaseRole>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setDatabaseRoles
php
googleapis/google-cloud-php
Spanner/src/Admin/Database/V1/ListDatabaseRolesResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Database/V1/ListDatabaseRolesResponse.php
Apache-2.0
public function getGenericWebService() { return $this->readOneof(3); }
Configuration for a generic web service. Generated from protobuf field <code>.google.cloud.dialogflow.v2.Fulfillment.GenericWebService generic_web_service = 3;</code> @return \Google\Cloud\Dialogflow\V2\Fulfillment\GenericWebService|null
getGenericWebService
php
googleapis/google-cloud-php
Dialogflow/src/V2/Fulfillment.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Fulfillment.php
Apache-2.0
public function setGenericWebService($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\Fulfillment\GenericWebService::class); $this->writeOneof(3, $var); return $this; }
Configuration for a generic web service. Generated from protobuf field <code>.google.cloud.dialogflow.v2.Fulfillment.GenericWebService generic_web_service = 3;</code> @param \Google\Cloud\Dialogflow\V2\Fulfillment\GenericWebService $var @return $this
setGenericWebService
php
googleapis/google-cloud-php
Dialogflow/src/V2/Fulfillment.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Fulfillment.php
Apache-2.0
public function setFeatures($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\V2\Fulfillment\Feature::class); $this->features = $arr; return $this; }
Optional. The field defines whether the fulfillment is enabled for certain features. Generated from protobuf field <code>repeated .google.cloud.dialogflow.v2.Fulfillment.Feature features = 5 [(.google.api.field_behavior) = OPTIONAL];</code> @param array<\Google\Cloud\Dialogflow\V2\Fulfillment\Feature>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setFeatures
php
googleapis/google-cloud-php
Dialogflow/src/V2/Fulfillment.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Fulfillment.php
Apache-2.0
public function getCommon() { return $this->common; }
Some settings. Generated from protobuf field <code>.google.api.CommonLanguageSettings common = 1;</code> @return \Google\Api\CommonLanguageSettings|null
getCommon
php
googleapis/google-cloud-php
CommonProtos/src/Api/RubySettings.php
https://github.com/googleapis/google-cloud-php/blob/master/CommonProtos/src/Api/RubySettings.php
Apache-2.0