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 setPolicy($var) { GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\Policy::class); $this->policy = $var; return $this; }
REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them. Generated from protobuf field <code>optional .google.cloud.compute.v1.Policy policy = 91071794;</code> @param \Google\Cloud\Compute\V1\Policy $var @return $this
setPolicy
php
googleapis/google-cloud-php
Compute/src/V1/GlobalSetPolicyRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/GlobalSetPolicyRequest.php
Apache-2.0
public function getContextContents() { return $this->context_contents; }
Required. The list of content updates for a context reference. Generated from protobuf field <code>repeated .google.cloud.dialogflow.v2.Conversation.ContextReference.ContextContent context_contents = 1 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Protobuf\Internal\RepeatedField
getContextContents
php
googleapis/google-cloud-php
Dialogflow/src/V2/Conversation/ContextReference.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Conversation/ContextReference.php
Apache-2.0
public function setContextContents($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\V2\Conversation\ContextReference\ContextContent::class); $this->context_contents = $arr; return $this; }
Required. The list of content updates for a context reference. Generated from protobuf field <code>repeated .google.cloud.dialogflow.v2.Conversation.ContextReference.ContextContent context_contents = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param array<\Google\Cloud\Dialogflow\V2\Conversation\ContextReference\ContextContent>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setContextContents
php
googleapis/google-cloud-php
Dialogflow/src/V2/Conversation/ContextReference.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Conversation/ContextReference.php
Apache-2.0
public function getUpdateMode() { return $this->update_mode; }
Required. The mode in which context reference contents are updated. Generated from protobuf field <code>.google.cloud.dialogflow.v2.Conversation.ContextReference.UpdateMode update_mode = 2 [(.google.api.field_behavior) = REQUIRED];</code> @return int
getUpdateMode
php
googleapis/google-cloud-php
Dialogflow/src/V2/Conversation/ContextReference.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Conversation/ContextReference.php
Apache-2.0
public function setUpdateMode($var) { GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\Conversation\ContextReference\UpdateMode::class); $this->update_mode = $var; return $this; }
Required. The mode in which context reference contents are updated. Generated from protobuf field <code>.google.cloud.dialogflow.v2.Conversation.ContextReference.UpdateMode update_mode = 2 [(.google.api.field_behavior) = REQUIRED];</code> @param int $var @return $this
setUpdateMode
php
googleapis/google-cloud-php
Dialogflow/src/V2/Conversation/ContextReference.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Conversation/ContextReference.php
Apache-2.0
public function setQuasiIds($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\QuasiId::class); $this->quasi_ids = $arr; return $this; }
Required. Fields considered to be quasi-identifiers. No two fields can have the same tag. Generated from protobuf field <code>repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param array<\Google\Cloud\Dlp\V2\QuasiId>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setQuasiIds
php
googleapis/google-cloud-php
Dlp/src/V2/PrivacyMetric/DeltaPresenceEstimationConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/PrivacyMetric/DeltaPresenceEstimationConfig.php
Apache-2.0
public function getAuxiliaryTables() { return $this->auxiliary_tables; }
Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers field must appear in exactly one field of one auxiliary table. Generated from protobuf field <code>repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;</code> @return \Google\Protobuf\Internal\RepeatedField
getAuxiliaryTables
php
googleapis/google-cloud-php
Dlp/src/V2/PrivacyMetric/DeltaPresenceEstimationConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/PrivacyMetric/DeltaPresenceEstimationConfig.php
Apache-2.0
public function setAuxiliaryTables($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\StatisticalTable::class); $this->auxiliary_tables = $arr; return $this; }
Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers field must appear in exactly one field of one auxiliary table. Generated from protobuf field <code>repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3;</code> @param array<\Google\Cloud\Dlp\V2\StatisticalTable>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setAuxiliaryTables
php
googleapis/google-cloud-php
Dlp/src/V2/PrivacyMetric/DeltaPresenceEstimationConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/PrivacyMetric/DeltaPresenceEstimationConfig.php
Apache-2.0
public function getRevisions() { return $this->revisions; }
The resulting list of Revisions. Generated from protobuf field <code>repeated .google.cloud.run.v2.Revision revisions = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getRevisions
php
googleapis/google-cloud-php
Run/src/V2/ListRevisionsResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Run/src/V2/ListRevisionsResponse.php
Apache-2.0
public function setRevisions($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Run\V2\Revision::class); $this->revisions = $arr; return $this; }
The resulting list of Revisions. Generated from protobuf field <code>repeated .google.cloud.run.v2.Revision revisions = 1;</code> @param array<\Google\Cloud\Run\V2\Revision>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setRevisions
php
googleapis/google-cloud-php
Run/src/V2/ListRevisionsResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Run/src/V2/ListRevisionsResponse.php
Apache-2.0
public function getTrainingDataItemsCount() { return $this->training_data_items_count; }
Number of DataItems that were used for training this Model. Generated from protobuf field <code>int64 training_data_items_count = 1;</code> @return int|string
getTrainingDataItemsCount
php
googleapis/google-cloud-php
AiPlatform/src/V1/Model/DataStats.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/Model/DataStats.php
Apache-2.0
public function setTrainingDataItemsCount($var) { GPBUtil::checkInt64($var); $this->training_data_items_count = $var; return $this; }
Number of DataItems that were used for training this Model. Generated from protobuf field <code>int64 training_data_items_count = 1;</code> @param int|string $var @return $this
setTrainingDataItemsCount
php
googleapis/google-cloud-php
AiPlatform/src/V1/Model/DataStats.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/Model/DataStats.php
Apache-2.0
public function getValidationDataItemsCount() { return $this->validation_data_items_count; }
Number of DataItems that were used for validating this Model during training. Generated from protobuf field <code>int64 validation_data_items_count = 2;</code> @return int|string
getValidationDataItemsCount
php
googleapis/google-cloud-php
AiPlatform/src/V1/Model/DataStats.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/Model/DataStats.php
Apache-2.0
public function setValidationDataItemsCount($var) { GPBUtil::checkInt64($var); $this->validation_data_items_count = $var; return $this; }
Number of DataItems that were used for validating this Model during training. Generated from protobuf field <code>int64 validation_data_items_count = 2;</code> @param int|string $var @return $this
setValidationDataItemsCount
php
googleapis/google-cloud-php
AiPlatform/src/V1/Model/DataStats.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/Model/DataStats.php
Apache-2.0
public function getTestDataItemsCount() { return $this->test_data_items_count; }
Number of DataItems that were used for evaluating this Model. If the Model is evaluated multiple times, this will be the number of test DataItems used by the first evaluation. If the Model is not evaluated, the number is 0. Generated from protobuf field <code>int64 test_data_items_count = 3;</code> @return int|string
getTestDataItemsCount
php
googleapis/google-cloud-php
AiPlatform/src/V1/Model/DataStats.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/Model/DataStats.php
Apache-2.0
public function setTestDataItemsCount($var) { GPBUtil::checkInt64($var); $this->test_data_items_count = $var; return $this; }
Number of DataItems that were used for evaluating this Model. If the Model is evaluated multiple times, this will be the number of test DataItems used by the first evaluation. If the Model is not evaluated, the number is 0. Generated from protobuf field <code>int64 test_data_items_count = 3;</code> @param int|string $var @return $this
setTestDataItemsCount
php
googleapis/google-cloud-php
AiPlatform/src/V1/Model/DataStats.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/Model/DataStats.php
Apache-2.0
public function getTrainingAnnotationsCount() { return $this->training_annotations_count; }
Number of Annotations that are used for training this Model. Generated from protobuf field <code>int64 training_annotations_count = 4;</code> @return int|string
getTrainingAnnotationsCount
php
googleapis/google-cloud-php
AiPlatform/src/V1/Model/DataStats.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/Model/DataStats.php
Apache-2.0
public function setTrainingAnnotationsCount($var) { GPBUtil::checkInt64($var); $this->training_annotations_count = $var; return $this; }
Number of Annotations that are used for training this Model. Generated from protobuf field <code>int64 training_annotations_count = 4;</code> @param int|string $var @return $this
setTrainingAnnotationsCount
php
googleapis/google-cloud-php
AiPlatform/src/V1/Model/DataStats.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/Model/DataStats.php
Apache-2.0
public function getValidationAnnotationsCount() { return $this->validation_annotations_count; }
Number of Annotations that are used for validating this Model during training. Generated from protobuf field <code>int64 validation_annotations_count = 5;</code> @return int|string
getValidationAnnotationsCount
php
googleapis/google-cloud-php
AiPlatform/src/V1/Model/DataStats.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/Model/DataStats.php
Apache-2.0
public function setValidationAnnotationsCount($var) { GPBUtil::checkInt64($var); $this->validation_annotations_count = $var; return $this; }
Number of Annotations that are used for validating this Model during training. Generated from protobuf field <code>int64 validation_annotations_count = 5;</code> @param int|string $var @return $this
setValidationAnnotationsCount
php
googleapis/google-cloud-php
AiPlatform/src/V1/Model/DataStats.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/Model/DataStats.php
Apache-2.0
public function getTestAnnotationsCount() { return $this->test_annotations_count; }
Number of Annotations that are used for evaluating this Model. If the Model is evaluated multiple times, this will be the number of test Annotations used by the first evaluation. If the Model is not evaluated, the number is 0. Generated from protobuf field <code>int64 test_annotations_count = 6;</code> @return int|string
getTestAnnotationsCount
php
googleapis/google-cloud-php
AiPlatform/src/V1/Model/DataStats.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/Model/DataStats.php
Apache-2.0
public function setTestAnnotationsCount($var) { GPBUtil::checkInt64($var); $this->test_annotations_count = $var; return $this; }
Number of Annotations that are used for evaluating this Model. If the Model is evaluated multiple times, this will be the number of test Annotations used by the first evaluation. If the Model is not evaluated, the number is 0. Generated from protobuf field <code>int64 test_annotations_count = 6;</code> @param int|string $var @return $this
setTestAnnotationsCount
php
googleapis/google-cloud-php
AiPlatform/src/V1/Model/DataStats.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/Model/DataStats.php
Apache-2.0
public function getDumpFilePath() { return $this->dump_file_path; }
Path to a SQL dump file in Google Cloud Storage from which the replica instance is to be created. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.gz) are also supported. Dumps have the binlog co-ordinates from which replication begins. This can be accomplished by setting --master-data to 1 when using mysqldump. Generated from protobuf field <code>string dump_file_path = 1;</code> @return string
getDumpFilePath
php
googleapis/google-cloud-php
SqlAdmin/src/V1/MySqlReplicaConfiguration.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/MySqlReplicaConfiguration.php
Apache-2.0
public function setDumpFilePath($var) { GPBUtil::checkString($var, True); $this->dump_file_path = $var; return $this; }
Path to a SQL dump file in Google Cloud Storage from which the replica instance is to be created. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.gz) are also supported. Dumps have the binlog co-ordinates from which replication begins. This can be accomplished by setting --master-data to 1 when using mysqldump. Generated from protobuf field <code>string dump_file_path = 1;</code> @param string $var @return $this
setDumpFilePath
php
googleapis/google-cloud-php
SqlAdmin/src/V1/MySqlReplicaConfiguration.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/MySqlReplicaConfiguration.php
Apache-2.0
public function getConnectRetryInterval() { return $this->connect_retry_interval; }
Seconds to wait between connect retries. MySQL's default is 60 seconds. Generated from protobuf field <code>.google.protobuf.Int32Value connect_retry_interval = 4;</code> @return \Google\Protobuf\Int32Value|null
getConnectRetryInterval
php
googleapis/google-cloud-php
SqlAdmin/src/V1/MySqlReplicaConfiguration.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/MySqlReplicaConfiguration.php
Apache-2.0
public function getConnectRetryIntervalUnwrapped() { return $this->readWrapperValue("connect_retry_interval"); }
Returns the unboxed value from <code>getConnectRetryInterval()</code> Seconds to wait between connect retries. MySQL's default is 60 seconds. Generated from protobuf field <code>.google.protobuf.Int32Value connect_retry_interval = 4;</code> @return int|null
getConnectRetryIntervalUnwrapped
php
googleapis/google-cloud-php
SqlAdmin/src/V1/MySqlReplicaConfiguration.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/MySqlReplicaConfiguration.php
Apache-2.0
public function setConnectRetryInterval($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Int32Value::class); $this->connect_retry_interval = $var; return $this; }
Seconds to wait between connect retries. MySQL's default is 60 seconds. Generated from protobuf field <code>.google.protobuf.Int32Value connect_retry_interval = 4;</code> @param \Google\Protobuf\Int32Value $var @return $this
setConnectRetryInterval
php
googleapis/google-cloud-php
SqlAdmin/src/V1/MySqlReplicaConfiguration.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/MySqlReplicaConfiguration.php
Apache-2.0
public function setConnectRetryIntervalUnwrapped($var) { $this->writeWrapperValue("connect_retry_interval", $var); return $this;}
Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object. Seconds to wait between connect retries. MySQL's default is 60 seconds. Generated from protobuf field <code>.google.protobuf.Int32Value connect_retry_interval = 4;</code> @param int|null $var @return $this
setConnectRetryIntervalUnwrapped
php
googleapis/google-cloud-php
SqlAdmin/src/V1/MySqlReplicaConfiguration.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/MySqlReplicaConfiguration.php
Apache-2.0
public function getMasterHeartbeatPeriod() { return $this->master_heartbeat_period; }
Interval in milliseconds between replication heartbeats. Generated from protobuf field <code>.google.protobuf.Int64Value master_heartbeat_period = 5;</code> @return \Google\Protobuf\Int64Value|null
getMasterHeartbeatPeriod
php
googleapis/google-cloud-php
SqlAdmin/src/V1/MySqlReplicaConfiguration.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/MySqlReplicaConfiguration.php
Apache-2.0
public function getMasterHeartbeatPeriodUnwrapped() { return $this->readWrapperValue("master_heartbeat_period"); }
Returns the unboxed value from <code>getMasterHeartbeatPeriod()</code> Interval in milliseconds between replication heartbeats. Generated from protobuf field <code>.google.protobuf.Int64Value master_heartbeat_period = 5;</code> @return int|string|null
getMasterHeartbeatPeriodUnwrapped
php
googleapis/google-cloud-php
SqlAdmin/src/V1/MySqlReplicaConfiguration.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/MySqlReplicaConfiguration.php
Apache-2.0
public function setMasterHeartbeatPeriod($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Int64Value::class); $this->master_heartbeat_period = $var; return $this; }
Interval in milliseconds between replication heartbeats. Generated from protobuf field <code>.google.protobuf.Int64Value master_heartbeat_period = 5;</code> @param \Google\Protobuf\Int64Value $var @return $this
setMasterHeartbeatPeriod
php
googleapis/google-cloud-php
SqlAdmin/src/V1/MySqlReplicaConfiguration.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/MySqlReplicaConfiguration.php
Apache-2.0
public function setMasterHeartbeatPeriodUnwrapped($var) { $this->writeWrapperValue("master_heartbeat_period", $var); return $this;}
Sets the field by wrapping a primitive type in a Google\Protobuf\Int64Value object. Interval in milliseconds between replication heartbeats. Generated from protobuf field <code>.google.protobuf.Int64Value master_heartbeat_period = 5;</code> @param int|string|null $var @return $this
setMasterHeartbeatPeriodUnwrapped
php
googleapis/google-cloud-php
SqlAdmin/src/V1/MySqlReplicaConfiguration.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/MySqlReplicaConfiguration.php
Apache-2.0
public function getSslCipher() { return $this->ssl_cipher; }
A list of permissible ciphers to use for SSL encryption. Generated from protobuf field <code>string ssl_cipher = 9;</code> @return string
getSslCipher
php
googleapis/google-cloud-php
SqlAdmin/src/V1/MySqlReplicaConfiguration.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/MySqlReplicaConfiguration.php
Apache-2.0
public function setSslCipher($var) { GPBUtil::checkString($var, True); $this->ssl_cipher = $var; return $this; }
A list of permissible ciphers to use for SSL encryption. Generated from protobuf field <code>string ssl_cipher = 9;</code> @param string $var @return $this
setSslCipher
php
googleapis/google-cloud-php
SqlAdmin/src/V1/MySqlReplicaConfiguration.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/MySqlReplicaConfiguration.php
Apache-2.0
public function getVerifyServerCertificate() { return $this->verify_server_certificate; }
Whether or not to check the primary instance's Common Name value in the certificate that it sends during the SSL handshake. Generated from protobuf field <code>.google.protobuf.BoolValue verify_server_certificate = 10;</code> @return \Google\Protobuf\BoolValue|null
getVerifyServerCertificate
php
googleapis/google-cloud-php
SqlAdmin/src/V1/MySqlReplicaConfiguration.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/MySqlReplicaConfiguration.php
Apache-2.0
public function getVerifyServerCertificateUnwrapped() { return $this->readWrapperValue("verify_server_certificate"); }
Returns the unboxed value from <code>getVerifyServerCertificate()</code> Whether or not to check the primary instance's Common Name value in the certificate that it sends during the SSL handshake. Generated from protobuf field <code>.google.protobuf.BoolValue verify_server_certificate = 10;</code> @return bool|null
getVerifyServerCertificateUnwrapped
php
googleapis/google-cloud-php
SqlAdmin/src/V1/MySqlReplicaConfiguration.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/MySqlReplicaConfiguration.php
Apache-2.0
public function setVerifyServerCertificate($var) { GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class); $this->verify_server_certificate = $var; return $this; }
Whether or not to check the primary instance's Common Name value in the certificate that it sends during the SSL handshake. Generated from protobuf field <code>.google.protobuf.BoolValue verify_server_certificate = 10;</code> @param \Google\Protobuf\BoolValue $var @return $this
setVerifyServerCertificate
php
googleapis/google-cloud-php
SqlAdmin/src/V1/MySqlReplicaConfiguration.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/MySqlReplicaConfiguration.php
Apache-2.0
public function setVerifyServerCertificateUnwrapped($var) { $this->writeWrapperValue("verify_server_certificate", $var); return $this;}
Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object. Whether or not to check the primary instance's Common Name value in the certificate that it sends during the SSL handshake. Generated from protobuf field <code>.google.protobuf.BoolValue verify_server_certificate = 10;</code> @param bool|null $var @return $this
setVerifyServerCertificateUnwrapped
php
googleapis/google-cloud-php
SqlAdmin/src/V1/MySqlReplicaConfiguration.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/MySqlReplicaConfiguration.php
Apache-2.0
public function getWorkloadPool() { return $this->workload_pool; }
The workload pool to attach all Kubernetes service accounts to. Generated from protobuf field <code>string workload_pool = 2;</code> @return string
getWorkloadPool
php
googleapis/google-cloud-php
Container/src/V1/WorkloadIdentityConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Container/src/V1/WorkloadIdentityConfig.php
Apache-2.0
public function setWorkloadPool($var) { GPBUtil::checkString($var, True); $this->workload_pool = $var; return $this; }
The workload pool to attach all Kubernetes service accounts to. Generated from protobuf field <code>string workload_pool = 2;</code> @param string $var @return $this
setWorkloadPool
php
googleapis/google-cloud-php
Container/src/V1/WorkloadIdentityConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Container/src/V1/WorkloadIdentityConfig.php
Apache-2.0
public function getProcessorVersion() { return $this->processor_version; }
The resource name of aliased processor version. Generated from protobuf field <code>string processor_version = 2 [(.google.api.resource_reference) = {</code> @return string
getProcessorVersion
php
googleapis/google-cloud-php
DocumentAi/src/V1/ProcessorVersionAlias.php
https://github.com/googleapis/google-cloud-php/blob/master/DocumentAi/src/V1/ProcessorVersionAlias.php
Apache-2.0
public function setProcessorVersion($var) { GPBUtil::checkString($var, True); $this->processor_version = $var; return $this; }
The resource name of aliased processor version. Generated from protobuf field <code>string processor_version = 2 [(.google.api.resource_reference) = {</code> @param string $var @return $this
setProcessorVersion
php
googleapis/google-cloud-php
DocumentAi/src/V1/ProcessorVersionAlias.php
https://github.com/googleapis/google-cloud-php/blob/master/DocumentAi/src/V1/ProcessorVersionAlias.php
Apache-2.0
public function getSpaces() { return $this->spaces; }
List of spaces in the requested (or first) page. Note: The `permissionSettings` field is not returned in the Space object for list requests. Generated from protobuf field <code>repeated .google.chat.v1.Space spaces = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getSpaces
php
googleapis/google-cloud-php
AppsChat/src/Chat/V1/ListSpacesResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/AppsChat/src/Chat/V1/ListSpacesResponse.php
Apache-2.0
public function setSpaces($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Apps\Chat\V1\Space::class); $this->spaces = $arr; return $this; }
List of spaces in the requested (or first) page. Note: The `permissionSettings` field is not returned in the Space object for list requests. Generated from protobuf field <code>repeated .google.chat.v1.Space spaces = 1;</code> @param array<\Google\Apps\Chat\V1\Space>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setSpaces
php
googleapis/google-cloud-php
AppsChat/src/Chat/V1/ListSpacesResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/AppsChat/src/Chat/V1/ListSpacesResponse.php
Apache-2.0
public function getHost() { return isset($this->host) ? $this->host : ''; }
The value of the host header in the HTTP/2 health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest Generated from protobuf field <code>optional string host = 3208616;</code> @return string
getHost
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 getPortSpecification() { return isset($this->port_specification) ? $this->port_specification : ''; }
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> @return string
getPortSpecification
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 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 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 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 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 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 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 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
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 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 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 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 setState($var) { GPBUtil::checkEnum($var, \Google\Cloud\Config\V1\Preview\State::class); $this->state = $var; return $this; }
Output only. Current state of the preview. Generated from protobuf field <code>.google.cloud.config.v1.Preview.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param int $var @return $this
setState
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setDeployment($var) { GPBUtil::checkString($var, True); $this->deployment = $var; return $this; }
Optional. Optional deployment reference. If specified, the preview will be performed using the provided deployment's current state and use any relevant fields from the deployment unless explicitly specified in the preview create request. Generated from protobuf field <code>string deployment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {</code> @param string $var @return $this
setDeployment
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getPreviewMode() { return $this->preview_mode; }
Optional. Current mode of preview. Generated from protobuf field <code>.google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL];</code> @return int
getPreviewMode
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setPreviewMode($var) { GPBUtil::checkEnum($var, \Google\Cloud\Config\V1\Preview\PreviewMode::class); $this->preview_mode = $var; return $this; }
Optional. Current mode of preview. Generated from protobuf field <code>.google.cloud.config.v1.Preview.PreviewMode preview_mode = 15 [(.google.api.field_behavior) = OPTIONAL];</code> @param int $var @return $this
setPreviewMode
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getArtifactsGcsBucket() { return isset($this->artifacts_gcs_bucket) ? $this->artifacts_gcs_bucket : ''; }
Optional. User-defined location of Cloud Build logs, artifacts, and in Google Cloud Storage. Format: `gs://{bucket}/{folder}` A default bucket will be bootstrapped if the field is not set or empty Default Bucket Format: `gs://<project number>-<region>-blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` If omitted and deployment resource ref provided has artifacts_gcs_bucket defined, that artifact bucket is used. Generated from protobuf field <code>optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getArtifactsGcsBucket
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setArtifactsGcsBucket($var) { GPBUtil::checkString($var, True); $this->artifacts_gcs_bucket = $var; return $this; }
Optional. User-defined location of Cloud Build logs, artifacts, and in Google Cloud Storage. Format: `gs://{bucket}/{folder}` A default bucket will be bootstrapped if the field is not set or empty Default Bucket Format: `gs://<project number>-<region>-blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` If omitted and deployment resource ref provided has artifacts_gcs_bucket defined, that artifact bucket is used. Generated from protobuf field <code>optional string artifacts_gcs_bucket = 8 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setArtifactsGcsBucket
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function getWorkerPool() { return isset($this->worker_pool) ? $this->worker_pool : ''; }
Optional. The user-specified Worker Pool resource in which the Cloud Build job will execute. Format projects/{project}/locations/{location}/workerPools/{workerPoolId} If this field is unspecified, the default Cloud Build worker pool will be used. If omitted and deployment resource ref provided has worker_pool defined, that worker pool is used. Generated from protobuf field <code>optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {</code> @return string
getWorkerPool
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0
public function setWorkerPool($var) { GPBUtil::checkString($var, True); $this->worker_pool = $var; return $this; }
Optional. The user-specified Worker Pool resource in which the Cloud Build job will execute. Format projects/{project}/locations/{location}/workerPools/{workerPoolId} If this field is unspecified, the default Cloud Build worker pool will be used. If omitted and deployment resource ref provided has worker_pool defined, that worker pool is used. Generated from protobuf field <code>optional string worker_pool = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {</code> @param string $var @return $this
setWorkerPool
php
googleapis/google-cloud-php
Config/src/V1/Preview.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/Preview.php
Apache-2.0