code
stringlengths
17
296k
docstring
stringlengths
30
30.3k
func_name
stringlengths
1
89
language
stringclasses
1 value
repo
stringlengths
7
63
path
stringlengths
7
153
url
stringlengths
51
209
license
stringclasses
4 values
public function setUpdateMask($var) { GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); $this->update_mask = $var; return $this; }
Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from [BeyondCorp.AppConnection]: * `labels` * `display_name` * `application_endpoint` * `connectors` Generated from protobuf field <code>.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Protobuf\FieldMask $var @return $this
setUpdateMask
php
googleapis/google-cloud-php
BeyondCorpAppConnections/src/V1/UpdateAppConnectionRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/BeyondCorpAppConnections/src/V1/UpdateAppConnectionRequest.php
Apache-2.0
public function getAppConnection() { return $this->app_connection; }
Required. AppConnection message with updated fields. Only supported fields specified in update_mask are updated. Generated from protobuf field <code>.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 2 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Cloud\BeyondCorp\AppConnections\V1\AppConnection|null
getAppConnection
php
googleapis/google-cloud-php
BeyondCorpAppConnections/src/V1/UpdateAppConnectionRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/BeyondCorpAppConnections/src/V1/UpdateAppConnectionRequest.php
Apache-2.0
public function setAppConnection($var) { GPBUtil::checkMessage($var, \Google\Cloud\BeyondCorp\AppConnections\V1\AppConnection::class); $this->app_connection = $var; return $this; }
Required. AppConnection message with updated fields. Only supported fields specified in update_mask are updated. Generated from protobuf field <code>.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 2 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\BeyondCorp\AppConnections\V1\AppConnection $var @return $this
setAppConnection
php
googleapis/google-cloud-php
BeyondCorpAppConnections/src/V1/UpdateAppConnectionRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/BeyondCorpAppConnections/src/V1/UpdateAppConnectionRequest.php
Apache-2.0
public function getRequestId() { return $this->request_id; }
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). Generated from protobuf field <code>string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getRequestId
php
googleapis/google-cloud-php
BeyondCorpAppConnections/src/V1/UpdateAppConnectionRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/BeyondCorpAppConnections/src/V1/UpdateAppConnectionRequest.php
Apache-2.0
public function setRequestId($var) { GPBUtil::checkString($var, True); $this->request_id = $var; return $this; }
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). Generated from protobuf field <code>string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setRequestId
php
googleapis/google-cloud-php
BeyondCorpAppConnections/src/V1/UpdateAppConnectionRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/BeyondCorpAppConnections/src/V1/UpdateAppConnectionRequest.php
Apache-2.0
public function getValidateOnly() { return $this->validate_only; }
Optional. If set, validates request by executing a dry-run which would not alter the resource in any way. Generated from protobuf field <code>bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @return bool
getValidateOnly
php
googleapis/google-cloud-php
BeyondCorpAppConnections/src/V1/UpdateAppConnectionRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/BeyondCorpAppConnections/src/V1/UpdateAppConnectionRequest.php
Apache-2.0
public function setValidateOnly($var) { GPBUtil::checkBool($var); $this->validate_only = $var; return $this; }
Optional. If set, validates request by executing a dry-run which would not alter the resource in any way. Generated from protobuf field <code>bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @param bool $var @return $this
setValidateOnly
php
googleapis/google-cloud-php
BeyondCorpAppConnections/src/V1/UpdateAppConnectionRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/BeyondCorpAppConnections/src/V1/UpdateAppConnectionRequest.php
Apache-2.0
public function getAllowMissing() { return $this->allow_missing; }
Optional. If set as true, will create the resource if it is not found. Generated from protobuf field <code>bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL];</code> @return bool
getAllowMissing
php
googleapis/google-cloud-php
BeyondCorpAppConnections/src/V1/UpdateAppConnectionRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/BeyondCorpAppConnections/src/V1/UpdateAppConnectionRequest.php
Apache-2.0
public function setAllowMissing($var) { GPBUtil::checkBool($var); $this->allow_missing = $var; return $this; }
Optional. If set as true, will create the resource if it is not found. Generated from protobuf field <code>bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL];</code> @param bool $var @return $this
setAllowMissing
php
googleapis/google-cloud-php
BeyondCorpAppConnections/src/V1/UpdateAppConnectionRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/BeyondCorpAppConnections/src/V1/UpdateAppConnectionRequest.php
Apache-2.0
public function getNumFiniteBuckets() { return $this->num_finite_buckets; }
The number of finite buckets. With the underflow and overflow buckets, the total number of buckets is `num_finite_buckets` + 2. See comments on `bucket_options` for details. Generated from protobuf field <code>int32 num_finite_buckets = 1;</code> @return int
getNumFiniteBuckets
php
googleapis/google-cloud-php
ServiceControl/src/V1/Distribution/LinearBuckets.php
https://github.com/googleapis/google-cloud-php/blob/master/ServiceControl/src/V1/Distribution/LinearBuckets.php
Apache-2.0
public function setNumFiniteBuckets($var) { GPBUtil::checkInt32($var); $this->num_finite_buckets = $var; return $this; }
The number of finite buckets. With the underflow and overflow buckets, the total number of buckets is `num_finite_buckets` + 2. See comments on `bucket_options` for details. Generated from protobuf field <code>int32 num_finite_buckets = 1;</code> @param int $var @return $this
setNumFiniteBuckets
php
googleapis/google-cloud-php
ServiceControl/src/V1/Distribution/LinearBuckets.php
https://github.com/googleapis/google-cloud-php/blob/master/ServiceControl/src/V1/Distribution/LinearBuckets.php
Apache-2.0
public function getWidth() { return $this->width; }
The i'th linear bucket covers the interval [offset + (i-1) * width, offset + i * width) where i ranges from 1 to num_finite_buckets, inclusive. Must be strictly positive. Generated from protobuf field <code>double width = 2;</code> @return float
getWidth
php
googleapis/google-cloud-php
ServiceControl/src/V1/Distribution/LinearBuckets.php
https://github.com/googleapis/google-cloud-php/blob/master/ServiceControl/src/V1/Distribution/LinearBuckets.php
Apache-2.0
public function setWidth($var) { GPBUtil::checkDouble($var); $this->width = $var; return $this; }
The i'th linear bucket covers the interval [offset + (i-1) * width, offset + i * width) where i ranges from 1 to num_finite_buckets, inclusive. Must be strictly positive. Generated from protobuf field <code>double width = 2;</code> @param float $var @return $this
setWidth
php
googleapis/google-cloud-php
ServiceControl/src/V1/Distribution/LinearBuckets.php
https://github.com/googleapis/google-cloud-php/blob/master/ServiceControl/src/V1/Distribution/LinearBuckets.php
Apache-2.0
public function getOffset() { return $this->offset; }
The i'th linear bucket covers the interval [offset + (i-1) * width, offset + i * width) where i ranges from 1 to num_finite_buckets, inclusive. Generated from protobuf field <code>double offset = 3;</code> @return float
getOffset
php
googleapis/google-cloud-php
ServiceControl/src/V1/Distribution/LinearBuckets.php
https://github.com/googleapis/google-cloud-php/blob/master/ServiceControl/src/V1/Distribution/LinearBuckets.php
Apache-2.0
public function setOffset($var) { GPBUtil::checkDouble($var); $this->offset = $var; return $this; }
The i'th linear bucket covers the interval [offset + (i-1) * width, offset + i * width) where i ranges from 1 to num_finite_buckets, inclusive. Generated from protobuf field <code>double offset = 3;</code> @param float $var @return $this
setOffset
php
googleapis/google-cloud-php
ServiceControl/src/V1/Distribution/LinearBuckets.php
https://github.com/googleapis/google-cloud-php/blob/master/ServiceControl/src/V1/Distribution/LinearBuckets.php
Apache-2.0
public function getContext() { return $this->context; }
Any source context. Generated from protobuf field <code>.google.devtools.source.v1.SourceContext context = 1;</code> @return \Google\Cloud\DevTools\Source\V1\SourceContext|null
getContext
php
googleapis/google-cloud-php
CloudCommonProtos/src/DevTools/Source/V1/ExtendedSourceContext.php
https://github.com/googleapis/google-cloud-php/blob/master/CloudCommonProtos/src/DevTools/Source/V1/ExtendedSourceContext.php
Apache-2.0
public function setContext($var) { GPBUtil::checkMessage($var, \Google\Cloud\DevTools\Source\V1\SourceContext::class); $this->context = $var; return $this; }
Any source context. Generated from protobuf field <code>.google.devtools.source.v1.SourceContext context = 1;</code> @param \Google\Cloud\DevTools\Source\V1\SourceContext $var @return $this
setContext
php
googleapis/google-cloud-php
CloudCommonProtos/src/DevTools/Source/V1/ExtendedSourceContext.php
https://github.com/googleapis/google-cloud-php/blob/master/CloudCommonProtos/src/DevTools/Source/V1/ExtendedSourceContext.php
Apache-2.0
public function getLabels() { return $this->labels; }
Labels with user defined metadata. Generated from protobuf field <code>map<string, string> labels = 2;</code> @return \Google\Protobuf\Internal\MapField
getLabels
php
googleapis/google-cloud-php
CloudCommonProtos/src/DevTools/Source/V1/ExtendedSourceContext.php
https://github.com/googleapis/google-cloud-php/blob/master/CloudCommonProtos/src/DevTools/Source/V1/ExtendedSourceContext.php
Apache-2.0
public function setLabels($var) { $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); $this->labels = $arr; return $this; }
Labels with user defined metadata. Generated from protobuf field <code>map<string, string> labels = 2;</code> @param array|\Google\Protobuf\Internal\MapField $var @return $this
setLabels
php
googleapis/google-cloud-php
CloudCommonProtos/src/DevTools/Source/V1/ExtendedSourceContext.php
https://github.com/googleapis/google-cloud-php/blob/master/CloudCommonProtos/src/DevTools/Source/V1/ExtendedSourceContext.php
Apache-2.0
public function getParent() { return $this->parent; }
Required. The DatacenterConnector's parent. Required. The Source in where the new DatacenterConnector will be created. For example: `projects/my-project/locations/us-central1/sources/my-source` Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @return string
getParent
php
googleapis/google-cloud-php
VmMigration/src/V1/CreateDatacenterConnectorRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/CreateDatacenterConnectorRequest.php
Apache-2.0
public function setParent($var) { GPBUtil::checkString($var, True); $this->parent = $var; return $this; }
Required. The DatacenterConnector's parent. Required. The Source in where the new DatacenterConnector will be created. For example: `projects/my-project/locations/us-central1/sources/my-source` Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @param string $var @return $this
setParent
php
googleapis/google-cloud-php
VmMigration/src/V1/CreateDatacenterConnectorRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/CreateDatacenterConnectorRequest.php
Apache-2.0
public function getDatacenterConnectorId() { return $this->datacenter_connector_id; }
Required. The datacenterConnector identifier. Generated from protobuf field <code>string datacenter_connector_id = 2 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getDatacenterConnectorId
php
googleapis/google-cloud-php
VmMigration/src/V1/CreateDatacenterConnectorRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/CreateDatacenterConnectorRequest.php
Apache-2.0
public function setDatacenterConnectorId($var) { GPBUtil::checkString($var, True); $this->datacenter_connector_id = $var; return $this; }
Required. The datacenterConnector identifier. Generated from protobuf field <code>string datacenter_connector_id = 2 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setDatacenterConnectorId
php
googleapis/google-cloud-php
VmMigration/src/V1/CreateDatacenterConnectorRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/CreateDatacenterConnectorRequest.php
Apache-2.0
public function getDatacenterConnector() { return $this->datacenter_connector; }
Required. The create request body. Generated from protobuf field <code>.google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Cloud\VMMigration\V1\DatacenterConnector|null
getDatacenterConnector
php
googleapis/google-cloud-php
VmMigration/src/V1/CreateDatacenterConnectorRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/CreateDatacenterConnectorRequest.php
Apache-2.0
public function setDatacenterConnector($var) { GPBUtil::checkMessage($var, \Google\Cloud\VMMigration\V1\DatacenterConnector::class); $this->datacenter_connector = $var; return $this; }
Required. The create request body. Generated from protobuf field <code>.google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\VMMigration\V1\DatacenterConnector $var @return $this
setDatacenterConnector
php
googleapis/google-cloud-php
VmMigration/src/V1/CreateDatacenterConnectorRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/CreateDatacenterConnectorRequest.php
Apache-2.0
public function getRequestId() { return $this->request_id; }
A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). Generated from protobuf field <code>string request_id = 4;</code> @return string
getRequestId
php
googleapis/google-cloud-php
VmMigration/src/V1/CreateDatacenterConnectorRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/CreateDatacenterConnectorRequest.php
Apache-2.0
public function setRequestId($var) { GPBUtil::checkString($var, True); $this->request_id = $var; return $this; }
A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). Generated from protobuf field <code>string request_id = 4;</code> @param string $var @return $this
setRequestId
php
googleapis/google-cloud-php
VmMigration/src/V1/CreateDatacenterConnectorRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/CreateDatacenterConnectorRequest.php
Apache-2.0
public function getPrediction() { return isset($this->prediction) ? $this->prediction : ''; }
Required. Output of the evaluated model. Generated from protobuf field <code>optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getPrediction
php
googleapis/google-cloud-php
AiPlatform/src/V1/SummarizationVerbosityInstance.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/SummarizationVerbosityInstance.php
Apache-2.0
public function setPrediction($var) { GPBUtil::checkString($var, True); $this->prediction = $var; return $this; }
Required. Output of the evaluated model. Generated from protobuf field <code>optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setPrediction
php
googleapis/google-cloud-php
AiPlatform/src/V1/SummarizationVerbosityInstance.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/SummarizationVerbosityInstance.php
Apache-2.0
public function getReference() { return isset($this->reference) ? $this->reference : ''; }
Optional. Ground truth used to compare against the prediction. Generated from protobuf field <code>optional string reference = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getReference
php
googleapis/google-cloud-php
AiPlatform/src/V1/SummarizationVerbosityInstance.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/SummarizationVerbosityInstance.php
Apache-2.0
public function setReference($var) { GPBUtil::checkString($var, True); $this->reference = $var; return $this; }
Optional. Ground truth used to compare against the prediction. Generated from protobuf field <code>optional string reference = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setReference
php
googleapis/google-cloud-php
AiPlatform/src/V1/SummarizationVerbosityInstance.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/SummarizationVerbosityInstance.php
Apache-2.0
public function getContext() { return isset($this->context) ? $this->context : ''; }
Required. Text to be summarized. Generated from protobuf field <code>optional string context = 3 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getContext
php
googleapis/google-cloud-php
AiPlatform/src/V1/SummarizationVerbosityInstance.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/SummarizationVerbosityInstance.php
Apache-2.0
public function setContext($var) { GPBUtil::checkString($var, True); $this->context = $var; return $this; }
Required. Text to be summarized. Generated from protobuf field <code>optional string context = 3 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setContext
php
googleapis/google-cloud-php
AiPlatform/src/V1/SummarizationVerbosityInstance.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/SummarizationVerbosityInstance.php
Apache-2.0
public function getInstruction() { return isset($this->instruction) ? $this->instruction : ''; }
Optional. Summarization prompt for LLM. Generated from protobuf field <code>optional string instruction = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getInstruction
php
googleapis/google-cloud-php
AiPlatform/src/V1/SummarizationVerbosityInstance.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/SummarizationVerbosityInstance.php
Apache-2.0
public function setInstruction($var) { GPBUtil::checkString($var, True); $this->instruction = $var; return $this; }
Optional. Summarization prompt for LLM. Generated from protobuf field <code>optional string instruction = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setInstruction
php
googleapis/google-cloud-php
AiPlatform/src/V1/SummarizationVerbosityInstance.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/SummarizationVerbosityInstance.php
Apache-2.0
public function getOperation() { return $this->operation; }
Output only. The name of the operation that created this lock. The lock will automatically be released when the operation completes. Generated from protobuf field <code>string operation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getOperation
php
googleapis/google-cloud-php
BackupDr/src/V1/ServiceLockInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ServiceLockInfo.php
Apache-2.0
public function setOperation($var) { GPBUtil::checkString($var, True); $this->operation = $var; return $this; }
Output only. The name of the operation that created this lock. The lock will automatically be released when the operation completes. Generated from protobuf field <code>string operation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setOperation
php
googleapis/google-cloud-php
BackupDr/src/V1/ServiceLockInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ServiceLockInfo.php
Apache-2.0
public function getQueryClassificationSpec() { return $this->query_classification_spec; }
Query classification specification. Generated from protobuf field <code>.google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec query_classification_spec = 1;</code> @return \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\QueryUnderstandingSpec\QueryClassificationSpec|null
getQueryClassificationSpec
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php
Apache-2.0
public function setQueryClassificationSpec($var) { GPBUtil::checkMessage($var, \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\QueryUnderstandingSpec\QueryClassificationSpec::class); $this->query_classification_spec = $var; return $this; }
Query classification specification. Generated from protobuf field <code>.google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec query_classification_spec = 1;</code> @param \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\QueryUnderstandingSpec\QueryClassificationSpec $var @return $this
setQueryClassificationSpec
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php
Apache-2.0
public function getQueryRephraserSpec() { return $this->query_rephraser_spec; }
Query rephraser specification. Generated from protobuf field <code>.google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec query_rephraser_spec = 2;</code> @return \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\QueryUnderstandingSpec\QueryRephraserSpec|null
getQueryRephraserSpec
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php
Apache-2.0
public function setQueryRephraserSpec($var) { GPBUtil::checkMessage($var, \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\QueryUnderstandingSpec\QueryRephraserSpec::class); $this->query_rephraser_spec = $var; return $this; }
Query rephraser specification. Generated from protobuf field <code>.google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec query_rephraser_spec = 2;</code> @param \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\QueryUnderstandingSpec\QueryRephraserSpec $var @return $this
setQueryRephraserSpec
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php
Apache-2.0
public function getDisableSpellCorrection() { return $this->disable_spell_correction; }
Optional. Whether to disable spell correction. The default value is `false`. Generated from protobuf field <code>bool disable_spell_correction = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @return bool
getDisableSpellCorrection
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php
Apache-2.0
public function setDisableSpellCorrection($var) { GPBUtil::checkBool($var); $this->disable_spell_correction = $var; return $this; }
Optional. Whether to disable spell correction. The default value is `false`. Generated from protobuf field <code>bool disable_spell_correction = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @param bool $var @return $this
setDisableSpellCorrection
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php
Apache-2.0
public function getText() { return $this->text; }
Required. The UTF-8 encoded natural language text to be processed. Generated from protobuf field <code>string text = 1 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getText
php
googleapis/google-cloud-php
DialogflowCx/src/V3/TextInput.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/TextInput.php
Apache-2.0
public function setText($var) { GPBUtil::checkString($var, True); $this->text = $var; return $this; }
Required. The UTF-8 encoded natural language text to be processed. Generated from protobuf field <code>string text = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setText
php
googleapis/google-cloud-php
DialogflowCx/src/V3/TextInput.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/TextInput.php
Apache-2.0
public function getName() { return $this->name; }
Required. Resource name for the ServicePerimeter. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}` Generated from protobuf field <code>string name = 1;</code> @return string
getName
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ServicePerimeter.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeter.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Required. Resource name for the ServicePerimeter. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}` Generated from protobuf field <code>string name = 1;</code> @param string $var @return $this
setName
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ServicePerimeter.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeter.php
Apache-2.0
public function getTitle() { return $this->title; }
Human readable title. Must be unique within the Policy. Generated from protobuf field <code>string title = 2;</code> @return string
getTitle
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ServicePerimeter.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeter.php
Apache-2.0
public function setTitle($var) { GPBUtil::checkString($var, True); $this->title = $var; return $this; }
Human readable title. Must be unique within the Policy. Generated from protobuf field <code>string title = 2;</code> @param string $var @return $this
setTitle
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ServicePerimeter.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeter.php
Apache-2.0
public function getDescription() { return $this->description; }
Description of the `ServicePerimeter` and its use. Does not affect behavior. Generated from protobuf field <code>string description = 3;</code> @return string
getDescription
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ServicePerimeter.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeter.php
Apache-2.0
public function setDescription($var) { GPBUtil::checkString($var, True); $this->description = $var; return $this; }
Description of the `ServicePerimeter` and its use. Does not affect behavior. Generated from protobuf field <code>string description = 3;</code> @param string $var @return $this
setDescription
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ServicePerimeter.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeter.php
Apache-2.0
public function getCreateTime() { return $this->create_time; }
Output only. Time the `ServicePerimeter` was created in UTC. Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 4;</code> @return \Google\Protobuf\Timestamp|null
getCreateTime
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ServicePerimeter.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeter.php
Apache-2.0
public function setCreateTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->create_time = $var; return $this; }
Output only. Time the `ServicePerimeter` was created in UTC. Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 4;</code> @param \Google\Protobuf\Timestamp $var @return $this
setCreateTime
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ServicePerimeter.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeter.php
Apache-2.0
public function getUpdateTime() { return $this->update_time; }
Output only. Time the `ServicePerimeter` was updated in UTC. Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 5;</code> @return \Google\Protobuf\Timestamp|null
getUpdateTime
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ServicePerimeter.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeter.php
Apache-2.0
public function setUpdateTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->update_time = $var; return $this; }
Output only. Time the `ServicePerimeter` was updated in UTC. Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 5;</code> @param \Google\Protobuf\Timestamp $var @return $this
setUpdateTime
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ServicePerimeter.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeter.php
Apache-2.0
public function getPerimeterType() { return $this->perimeter_type; }
Perimeter type indicator. A single project is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty. Generated from protobuf field <code>.google.identity.accesscontextmanager.v1.ServicePerimeter.PerimeterType perimeter_type = 6;</code> @return int
getPerimeterType
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ServicePerimeter.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeter.php
Apache-2.0
public function setPerimeterType($var) { GPBUtil::checkEnum($var, \Google\Identity\AccessContextManager\V1\ServicePerimeter\PerimeterType::class); $this->perimeter_type = $var; return $this; }
Perimeter type indicator. A single project is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty. Generated from protobuf field <code>.google.identity.accesscontextmanager.v1.ServicePerimeter.PerimeterType perimeter_type = 6;</code> @param int $var @return $this
setPerimeterType
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ServicePerimeter.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeter.php
Apache-2.0
public function getStatus() { return $this->status; }
Current ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries. Generated from protobuf field <code>.google.identity.accesscontextmanager.v1.ServicePerimeterConfig status = 7;</code> @return \Google\Identity\AccessContextManager\V1\ServicePerimeterConfig|null
getStatus
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ServicePerimeter.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeter.php
Apache-2.0
public function setStatus($var) { GPBUtil::checkMessage($var, \Google\Identity\AccessContextManager\V1\ServicePerimeterConfig::class); $this->status = $var; return $this; }
Current ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries. Generated from protobuf field <code>.google.identity.accesscontextmanager.v1.ServicePerimeterConfig status = 7;</code> @param \Google\Identity\AccessContextManager\V1\ServicePerimeterConfig $var @return $this
setStatus
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ServicePerimeter.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeter.php
Apache-2.0
public function getSpec() { return $this->spec; }
Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the "use_explicit_dry_run_spec" flag is set. Generated from protobuf field <code>.google.identity.accesscontextmanager.v1.ServicePerimeterConfig spec = 8;</code> @return \Google\Identity\AccessContextManager\V1\ServicePerimeterConfig|null
getSpec
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ServicePerimeter.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeter.php
Apache-2.0
public function setSpec($var) { GPBUtil::checkMessage($var, \Google\Identity\AccessContextManager\V1\ServicePerimeterConfig::class); $this->spec = $var; return $this; }
Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the "use_explicit_dry_run_spec" flag is set. Generated from protobuf field <code>.google.identity.accesscontextmanager.v1.ServicePerimeterConfig spec = 8;</code> @param \Google\Identity\AccessContextManager\V1\ServicePerimeterConfig $var @return $this
setSpec
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ServicePerimeter.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeter.php
Apache-2.0
public function getUseExplicitDryRunSpec() { return $this->use_explicit_dry_run_spec; }
Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration ("spec") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config ("status") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. use_explicit_dry_run_spec must bet set to True if any of the fields in the spec are set to non-default values. Generated from protobuf field <code>bool use_explicit_dry_run_spec = 9;</code> @return bool
getUseExplicitDryRunSpec
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ServicePerimeter.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeter.php
Apache-2.0
public function setUseExplicitDryRunSpec($var) { GPBUtil::checkBool($var); $this->use_explicit_dry_run_spec = $var; return $this; }
Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration ("spec") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config ("status") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. use_explicit_dry_run_spec must bet set to True if any of the fields in the spec are set to non-default values. Generated from protobuf field <code>bool use_explicit_dry_run_spec = 9;</code> @param bool $var @return $this
setUseExplicitDryRunSpec
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ServicePerimeter.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeter.php
Apache-2.0
public function getFilter() { return isset($this->filter) ? $this->filter : ''; }
A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. Generated from protobuf field <code>optional string filter = 336120696;</code> @return string
getFilter
php
googleapis/google-cloud-php
Compute/src/V1/ListNetworksRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ListNetworksRequest.php
Apache-2.0
public function setFilter($var) { GPBUtil::checkString($var, True); $this->filter = $var; return $this; }
A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. Generated from protobuf field <code>optional string filter = 336120696;</code> @param string $var @return $this
setFilter
php
googleapis/google-cloud-php
Compute/src/V1/ListNetworksRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ListNetworksRequest.php
Apache-2.0
public function getMaxResults() { return isset($this->max_results) ? $this->max_results : 0; }
The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) Generated from protobuf field <code>optional uint32 max_results = 54715419;</code> @return int
getMaxResults
php
googleapis/google-cloud-php
Compute/src/V1/ListNetworksRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ListNetworksRequest.php
Apache-2.0
public function setMaxResults($var) { GPBUtil::checkUint32($var); $this->max_results = $var; return $this; }
The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) Generated from protobuf field <code>optional uint32 max_results = 54715419;</code> @param int $var @return $this
setMaxResults
php
googleapis/google-cloud-php
Compute/src/V1/ListNetworksRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ListNetworksRequest.php
Apache-2.0
public function getOrderBy() { return isset($this->order_by) ? $this->order_by : ''; }
Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. Generated from protobuf field <code>optional string order_by = 160562920;</code> @return string
getOrderBy
php
googleapis/google-cloud-php
Compute/src/V1/ListNetworksRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ListNetworksRequest.php
Apache-2.0
public function setOrderBy($var) { GPBUtil::checkString($var, True); $this->order_by = $var; return $this; }
Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. Generated from protobuf field <code>optional string order_by = 160562920;</code> @param string $var @return $this
setOrderBy
php
googleapis/google-cloud-php
Compute/src/V1/ListNetworksRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ListNetworksRequest.php
Apache-2.0
public function getPageToken() { return isset($this->page_token) ? $this->page_token : ''; }
Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. Generated from protobuf field <code>optional string page_token = 19994697;</code> @return string
getPageToken
php
googleapis/google-cloud-php
Compute/src/V1/ListNetworksRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ListNetworksRequest.php
Apache-2.0
public function setPageToken($var) { GPBUtil::checkString($var, True); $this->page_token = $var; return $this; }
Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. Generated from protobuf field <code>optional string page_token = 19994697;</code> @param string $var @return $this
setPageToken
php
googleapis/google-cloud-php
Compute/src/V1/ListNetworksRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ListNetworksRequest.php
Apache-2.0
public function getProject() { return $this->project; }
Project ID for this request. Generated from protobuf field <code>string project = 227560217 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getProject
php
googleapis/google-cloud-php
Compute/src/V1/ListNetworksRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ListNetworksRequest.php
Apache-2.0
public function setProject($var) { GPBUtil::checkString($var, True); $this->project = $var; return $this; }
Project ID for this request. Generated from protobuf field <code>string project = 227560217 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setProject
php
googleapis/google-cloud-php
Compute/src/V1/ListNetworksRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ListNetworksRequest.php
Apache-2.0
public function getReturnPartialSuccess() { return isset($this->return_partial_success) ? $this->return_partial_success : false; }
Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code. Generated from protobuf field <code>optional bool return_partial_success = 517198390;</code> @return bool
getReturnPartialSuccess
php
googleapis/google-cloud-php
Compute/src/V1/ListNetworksRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ListNetworksRequest.php
Apache-2.0
public function setReturnPartialSuccess($var) { GPBUtil::checkBool($var); $this->return_partial_success = $var; return $this; }
Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code. Generated from protobuf field <code>optional bool return_partial_success = 517198390;</code> @param bool $var @return $this
setReturnPartialSuccess
php
googleapis/google-cloud-php
Compute/src/V1/ListNetworksRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ListNetworksRequest.php
Apache-2.0
public function getRomanizedText() { return $this->romanized_text; }
Romanized text. If an error occurs during romanization, this field might be excluded from the response. Generated from protobuf field <code>string romanized_text = 1;</code> @return string
getRomanizedText
php
googleapis/google-cloud-php
Translate/src/V3/Romanization.php
https://github.com/googleapis/google-cloud-php/blob/master/Translate/src/V3/Romanization.php
Apache-2.0
public function setRomanizedText($var) { GPBUtil::checkString($var, True); $this->romanized_text = $var; return $this; }
Romanized text. If an error occurs during romanization, this field might be excluded from the response. Generated from protobuf field <code>string romanized_text = 1;</code> @param string $var @return $this
setRomanizedText
php
googleapis/google-cloud-php
Translate/src/V3/Romanization.php
https://github.com/googleapis/google-cloud-php/blob/master/Translate/src/V3/Romanization.php
Apache-2.0
public function getDetectedLanguageCode() { return $this->detected_language_code; }
The ISO-639 language code of source text in the initial request, detected automatically, if no source language was passed within the initial request. If the source language was passed, auto-detection of the language does not occur and this field is empty. Generated from protobuf field <code>string detected_language_code = 2;</code> @return string
getDetectedLanguageCode
php
googleapis/google-cloud-php
Translate/src/V3/Romanization.php
https://github.com/googleapis/google-cloud-php/blob/master/Translate/src/V3/Romanization.php
Apache-2.0
public function setDetectedLanguageCode($var) { GPBUtil::checkString($var, True); $this->detected_language_code = $var; return $this; }
The ISO-639 language code of source text in the initial request, detected automatically, if no source language was passed within the initial request. If the source language was passed, auto-detection of the language does not occur and this field is empty. Generated from protobuf field <code>string detected_language_code = 2;</code> @param string $var @return $this
setDetectedLanguageCode
php
googleapis/google-cloud-php
Translate/src/V3/Romanization.php
https://github.com/googleapis/google-cloud-php/blob/master/Translate/src/V3/Romanization.php
Apache-2.0
public function getType() { return $this->type; }
The type of placement. Generated from protobuf field <code>.google.container.v1.NodePool.PlacementPolicy.Type type = 1;</code> @return int
getType
php
googleapis/google-cloud-php
Container/src/V1/NodePool/PlacementPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Container/src/V1/NodePool/PlacementPolicy.php
Apache-2.0
public function setType($var) { GPBUtil::checkEnum($var, \Google\Cloud\Container\V1\NodePool\PlacementPolicy\Type::class); $this->type = $var; return $this; }
The type of placement. Generated from protobuf field <code>.google.container.v1.NodePool.PlacementPolicy.Type type = 1;</code> @param int $var @return $this
setType
php
googleapis/google-cloud-php
Container/src/V1/NodePool/PlacementPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Container/src/V1/NodePool/PlacementPolicy.php
Apache-2.0
public function getTpuTopology() { return $this->tpu_topology; }
Optional. TPU placement topology for pod slice node pool. https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies Generated from protobuf field <code>string tpu_topology = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getTpuTopology
php
googleapis/google-cloud-php
Container/src/V1/NodePool/PlacementPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Container/src/V1/NodePool/PlacementPolicy.php
Apache-2.0
public function setTpuTopology($var) { GPBUtil::checkString($var, True); $this->tpu_topology = $var; return $this; }
Optional. TPU placement topology for pod slice node pool. https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies Generated from protobuf field <code>string tpu_topology = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setTpuTopology
php
googleapis/google-cloud-php
Container/src/V1/NodePool/PlacementPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Container/src/V1/NodePool/PlacementPolicy.php
Apache-2.0
public function getPolicyName() { return $this->policy_name; }
If set, refers to the name of a custom resource policy supplied by the user. The resource policy must be in the same project and region as the node pool. If not found, InvalidArgument error is returned. Generated from protobuf field <code>string policy_name = 3;</code> @return string
getPolicyName
php
googleapis/google-cloud-php
Container/src/V1/NodePool/PlacementPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Container/src/V1/NodePool/PlacementPolicy.php
Apache-2.0
public function setPolicyName($var) { GPBUtil::checkString($var, True); $this->policy_name = $var; return $this; }
If set, refers to the name of a custom resource policy supplied by the user. The resource policy must be in the same project and region as the node pool. If not found, InvalidArgument error is returned. Generated from protobuf field <code>string policy_name = 3;</code> @param string $var @return $this
setPolicyName
php
googleapis/google-cloud-php
Container/src/V1/NodePool/PlacementPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Container/src/V1/NodePool/PlacementPolicy.php
Apache-2.0
public function getPermissionType() { return isset($this->permission_type) ? $this->permission_type : ''; }
This is deprecated and has no effect. Do not use. Check the PermissionType enum for the list of possible values. Generated from protobuf field <code>optional string permission_type = 525978538;</code> @return string
getPermissionType
php
googleapis/google-cloud-php
Compute/src/V1/AuthorizationLoggingOptions.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AuthorizationLoggingOptions.php
Apache-2.0
public function setPermissionType($var) { GPBUtil::checkString($var, True); $this->permission_type = $var; return $this; }
This is deprecated and has no effect. Do not use. Check the PermissionType enum for the list of possible values. Generated from protobuf field <code>optional string permission_type = 525978538;</code> @param string $var @return $this
setPermissionType
php
googleapis/google-cloud-php
Compute/src/V1/AuthorizationLoggingOptions.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AuthorizationLoggingOptions.php
Apache-2.0
public function getName() { return $this->name; }
The relative resource name of the environment to update, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" Generated from protobuf field <code>string name = 2;</code> @return string
getName
php
googleapis/google-cloud-php
OrchestrationAirflow/src/V1/UpdateEnvironmentRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/OrchestrationAirflow/src/V1/UpdateEnvironmentRequest.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
The relative resource name of the environment to update, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" Generated from protobuf field <code>string name = 2;</code> @param string $var @return $this
setName
php
googleapis/google-cloud-php
OrchestrationAirflow/src/V1/UpdateEnvironmentRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/OrchestrationAirflow/src/V1/UpdateEnvironmentRequest.php
Apache-2.0
public function getEnvironment() { return $this->environment; }
A patch environment. Fields specified by the `updateMask` will be copied from the patch environment into the environment under update. Generated from protobuf field <code>.google.cloud.orchestration.airflow.service.v1.Environment environment = 1;</code> @return \Google\Cloud\Orchestration\Airflow\Service\V1\Environment|null
getEnvironment
php
googleapis/google-cloud-php
OrchestrationAirflow/src/V1/UpdateEnvironmentRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/OrchestrationAirflow/src/V1/UpdateEnvironmentRequest.php
Apache-2.0
public function setEnvironment($var) { GPBUtil::checkMessage($var, \Google\Cloud\Orchestration\Airflow\Service\V1\Environment::class); $this->environment = $var; return $this; }
A patch environment. Fields specified by the `updateMask` will be copied from the patch environment into the environment under update. Generated from protobuf field <code>.google.cloud.orchestration.airflow.service.v1.Environment environment = 1;</code> @param \Google\Cloud\Orchestration\Airflow\Service\V1\Environment $var @return $this
setEnvironment
php
googleapis/google-cloud-php
OrchestrationAirflow/src/V1/UpdateEnvironmentRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/OrchestrationAirflow/src/V1/UpdateEnvironmentRequest.php
Apache-2.0
public function getName() { return $this->name; }
The resource name of the evaluation. Format: `projects/<Project ID>/conversationModels/<Conversation Model ID>/evaluations/<Evaluation ID>` Generated from protobuf field <code>string name = 1;</code> @return string
getName
php
googleapis/google-cloud-php
Dialogflow/src/V2/ConversationModelEvaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/ConversationModelEvaluation.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
The resource name of the evaluation. Format: `projects/<Project ID>/conversationModels/<Conversation Model ID>/evaluations/<Evaluation ID>` Generated from protobuf field <code>string name = 1;</code> @param string $var @return $this
setName
php
googleapis/google-cloud-php
Dialogflow/src/V2/ConversationModelEvaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/ConversationModelEvaluation.php
Apache-2.0
public function getDisplayName() { return $this->display_name; }
Optional. The display name of the model evaluation. At most 64 bytes long. Generated from protobuf field <code>string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getDisplayName
php
googleapis/google-cloud-php
Dialogflow/src/V2/ConversationModelEvaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/ConversationModelEvaluation.php
Apache-2.0
public function setDisplayName($var) { GPBUtil::checkString($var, True); $this->display_name = $var; return $this; }
Optional. The display name of the model evaluation. At most 64 bytes long. Generated from protobuf field <code>string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setDisplayName
php
googleapis/google-cloud-php
Dialogflow/src/V2/ConversationModelEvaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/ConversationModelEvaluation.php
Apache-2.0
public function getEvaluationConfig() { return $this->evaluation_config; }
Optional. The configuration of the evaluation task. Generated from protobuf field <code>.google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Cloud\Dialogflow\V2\EvaluationConfig|null
getEvaluationConfig
php
googleapis/google-cloud-php
Dialogflow/src/V2/ConversationModelEvaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/ConversationModelEvaluation.php
Apache-2.0
public function setEvaluationConfig($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\EvaluationConfig::class); $this->evaluation_config = $var; return $this; }
Optional. The configuration of the evaluation task. Generated from protobuf field <code>.google.cloud.dialogflow.v2.EvaluationConfig evaluation_config = 6 [(.google.api.field_behavior) = OPTIONAL];</code> @param \Google\Cloud\Dialogflow\V2\EvaluationConfig $var @return $this
setEvaluationConfig
php
googleapis/google-cloud-php
Dialogflow/src/V2/ConversationModelEvaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/ConversationModelEvaluation.php
Apache-2.0
public function getCreateTime() { return $this->create_time; }
Output only. Creation time of this model. Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Timestamp|null
getCreateTime
php
googleapis/google-cloud-php
Dialogflow/src/V2/ConversationModelEvaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/ConversationModelEvaluation.php
Apache-2.0
public function setCreateTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->create_time = $var; return $this; }
Output only. Creation time of this model. Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Protobuf\Timestamp $var @return $this
setCreateTime
php
googleapis/google-cloud-php
Dialogflow/src/V2/ConversationModelEvaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/ConversationModelEvaluation.php
Apache-2.0
public function getSmartReplyMetrics() { return $this->readOneof(5); }
Output only. Only available when model is for smart reply. Generated from protobuf field <code>.google.cloud.dialogflow.v2.SmartReplyMetrics smart_reply_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Cloud\Dialogflow\V2\SmartReplyMetrics|null
getSmartReplyMetrics
php
googleapis/google-cloud-php
Dialogflow/src/V2/ConversationModelEvaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/ConversationModelEvaluation.php
Apache-2.0