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 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 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 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
public function setSmartReplyMetrics($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\SmartReplyMetrics::class); $this->writeOneof(5, $var); return $this; }
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> @param \Google\Cloud\Dialogflow\V2\SmartReplyMetrics $var @return $this
setSmartReplyMetrics
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 getRawHumanEvalTemplateCsv() { return $this->raw_human_eval_template_csv; }
Output only. Human eval template in csv format. It takes real-world conversations provided through input dataset, generates example suggestions for customer to verify quality of the model. For Smart Reply, the generated csv file contains columns of Context, (Suggestions,Q1,Q2)*3, Actual reply. Context contains at most 10 latest messages in the conversation prior to the current suggestion. Q1: "Would you send it as the next message of agent?" Evaluated based on whether the suggest is appropriate to be sent by agent in current context. Q2: "Does the suggestion move the conversation closer to resolution?" Evaluated based on whether the suggestion provide solutions, or answers customer's question or collect information from customer to resolve the customer's issue. Actual reply column contains the actual agent reply sent in the context. Generated from protobuf field <code>string raw_human_eval_template_csv = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getRawHumanEvalTemplateCsv
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 setRawHumanEvalTemplateCsv($var) { GPBUtil::checkString($var, True); $this->raw_human_eval_template_csv = $var; return $this; }
Output only. Human eval template in csv format. It takes real-world conversations provided through input dataset, generates example suggestions for customer to verify quality of the model. For Smart Reply, the generated csv file contains columns of Context, (Suggestions,Q1,Q2)*3, Actual reply. Context contains at most 10 latest messages in the conversation prior to the current suggestion. Q1: "Would you send it as the next message of agent?" Evaluated based on whether the suggest is appropriate to be sent by agent in current context. Q2: "Does the suggestion move the conversation closer to resolution?" Evaluated based on whether the suggestion provide solutions, or answers customer's question or collect information from customer to resolve the customer's issue. Actual reply column contains the actual agent reply sent in the context. Generated from protobuf field <code>string raw_human_eval_template_csv = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setRawHumanEvalTemplateCsv
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 setDestination($var) { GPBUtil::checkEnum($var, \Google\Shopping\Type\Destination\DestinationEnum::class); $this->destination = $var; return $this; }
[Marketing methods](https://support.google.com/merchants/answer/15130232) (also known as destination) selections. Generated from protobuf field <code>.google.shopping.type.Destination.DestinationEnum destination = 1;</code> @param int $var @return $this
setDestination
php
googleapis/google-cloud-php
ShoppingMerchantDataSources/src/V1beta/PrimaryProductDataSource/Destination.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantDataSources/src/V1beta/PrimaryProductDataSource/Destination.php
Apache-2.0
public function setState($var) { GPBUtil::checkEnum($var, \Google\Shopping\Merchant\DataSources\V1beta\PrimaryProductDataSource\Destination\State::class); $this->state = $var; return $this; }
The state of the destination. Generated from protobuf field <code>.google.shopping.merchant.datasources.v1beta.PrimaryProductDataSource.Destination.State state = 2;</code> @param int $var @return $this
setState
php
googleapis/google-cloud-php
ShoppingMerchantDataSources/src/V1beta/PrimaryProductDataSource/Destination.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantDataSources/src/V1beta/PrimaryProductDataSource/Destination.php
Apache-2.0
public function getQueryClassificationInfo() { return $this->query_classification_info; }
Query classification information. Generated from protobuf field <code>repeated .google.cloud.discoveryengine.v1.Answer.QueryUnderstandingInfo.QueryClassificationInfo query_classification_info = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getQueryClassificationInfo
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/Answer/QueryUnderstandingInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Answer/QueryUnderstandingInfo.php
Apache-2.0
public function setQueryClassificationInfo($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\DiscoveryEngine\V1\Answer\QueryUnderstandingInfo\QueryClassificationInfo::class); $this->query_classification_info = $arr; return $this; }
Query classification information. Generated from protobuf field <code>repeated .google.cloud.discoveryengine.v1.Answer.QueryUnderstandingInfo.QueryClassificationInfo query_classification_info = 1;</code> @param array<\Google\Cloud\DiscoveryEngine\V1\Answer\QueryUnderstandingInfo\QueryClassificationInfo>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setQueryClassificationInfo
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/Answer/QueryUnderstandingInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Answer/QueryUnderstandingInfo.php
Apache-2.0
public function getClientEvent() { return $this->client_event; }
Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution. Generated from protobuf field <code>.google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Cloud\Talent\V4\ClientEvent|null
getClientEvent
php
googleapis/google-cloud-php
Talent/src/V4/CreateClientEventRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Talent/src/V4/CreateClientEventRequest.php
Apache-2.0
public function setClientEvent($var) { GPBUtil::checkMessage($var, \Google\Cloud\Talent\V4\ClientEvent::class); $this->client_event = $var; return $this; }
Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution. Generated from protobuf field <code>.google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\Talent\V4\ClientEvent $var @return $this
setClientEvent
php
googleapis/google-cloud-php
Talent/src/V4/CreateClientEventRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Talent/src/V4/CreateClientEventRequest.php
Apache-2.0
public function setStart($var) { GPBUtil::checkString($var, True); $this->start = $var; return $this; }
Value that marks the start of the range. Generated from protobuf field <code>string start = 2;</code> @param string $var @return $this
setStart
php
googleapis/google-cloud-php
Dataplex/src/V1/ScannedData/IncrementalField.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/ScannedData/IncrementalField.php
Apache-2.0
public function setEnd($var) { GPBUtil::checkString($var, True); $this->end = $var; return $this; }
Value that marks the end of the range. Generated from protobuf field <code>string end = 3;</code> @param string $var @return $this
setEnd
php
googleapis/google-cloud-php
Dataplex/src/V1/ScannedData/IncrementalField.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/ScannedData/IncrementalField.php
Apache-2.0
public function getOriginalServingConfig() { return $this->original_serving_config; }
The fully qualified resource name of the original [SearchRequest.placement][google.cloud.retail.v2.SearchRequest.placement] in the search request prior to reassignment by experiment API. For example: `projects/&#42;&#47;locations/&#42;&#47;catalogs/&#42;&#47;servingConfigs/&#42;`. Generated from protobuf field <code>string original_serving_config = 1 [(.google.api.resource_reference) = {</code> @return string
getOriginalServingConfig
php
googleapis/google-cloud-php
Retail/src/V2/ExperimentInfo/ServingConfigExperiment.php
https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/ExperimentInfo/ServingConfigExperiment.php
Apache-2.0
public function setOriginalServingConfig($var) { GPBUtil::checkString($var, True); $this->original_serving_config = $var; return $this; }
The fully qualified resource name of the original [SearchRequest.placement][google.cloud.retail.v2.SearchRequest.placement] in the search request prior to reassignment by experiment API. For example: `projects/&#42;&#47;locations/&#42;&#47;catalogs/&#42;&#47;servingConfigs/&#42;`. Generated from protobuf field <code>string original_serving_config = 1 [(.google.api.resource_reference) = {</code> @param string $var @return $this
setOriginalServingConfig
php
googleapis/google-cloud-php
Retail/src/V2/ExperimentInfo/ServingConfigExperiment.php
https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/ExperimentInfo/ServingConfigExperiment.php
Apache-2.0
public function getExperimentServingConfig() { return $this->experiment_serving_config; }
The fully qualified resource name of the serving config [Experiment.VariantArm.serving_config_id][] responsible for generating the search response. For example: `projects/&#42;&#47;locations/&#42;&#47;catalogs/&#42;&#47;servingConfigs/&#42;`. Generated from protobuf field <code>string experiment_serving_config = 2 [(.google.api.resource_reference) = {</code> @return string
getExperimentServingConfig
php
googleapis/google-cloud-php
Retail/src/V2/ExperimentInfo/ServingConfigExperiment.php
https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/ExperimentInfo/ServingConfigExperiment.php
Apache-2.0
public function setExperimentServingConfig($var) { GPBUtil::checkString($var, True); $this->experiment_serving_config = $var; return $this; }
The fully qualified resource name of the serving config [Experiment.VariantArm.serving_config_id][] responsible for generating the search response. For example: `projects/&#42;&#47;locations/&#42;&#47;catalogs/&#42;&#47;servingConfigs/&#42;`. Generated from protobuf field <code>string experiment_serving_config = 2 [(.google.api.resource_reference) = {</code> @param string $var @return $this
setExperimentServingConfig
php
googleapis/google-cloud-php
Retail/src/V2/ExperimentInfo/ServingConfigExperiment.php
https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/ExperimentInfo/ServingConfigExperiment.php
Apache-2.0
public function setQuantity($var) { GPBUtil::checkInt64($var); $this->quantity = $var; return $this; }
Optional. The quantity of this item that is being purchased. Generated from protobuf field <code>int64 quantity = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @param int|string $var @return $this
setQuantity
php
googleapis/google-cloud-php
RecaptchaEnterprise/src/V1/TransactionData/Item.php
https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/TransactionData/Item.php
Apache-2.0
public function getMerchantAccountId() { return $this->merchant_account_id; }
Optional. When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions. Generated from protobuf field <code>string merchant_account_id = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getMerchantAccountId
php
googleapis/google-cloud-php
RecaptchaEnterprise/src/V1/TransactionData/Item.php
https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/TransactionData/Item.php
Apache-2.0
public function setMerchantAccountId($var) { GPBUtil::checkString($var, True); $this->merchant_account_id = $var; return $this; }
Optional. When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions. Generated from protobuf field <code>string merchant_account_id = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setMerchantAccountId
php
googleapis/google-cloud-php
RecaptchaEnterprise/src/V1/TransactionData/Item.php
https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/TransactionData/Item.php
Apache-2.0
public function getDaysInCycle() { return isset($this->days_in_cycle) ? $this->days_in_cycle : 0; }
Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle. Generated from protobuf field <code>optional int32 days_in_cycle = 369790004;</code> @return int
getDaysInCycle
php
googleapis/google-cloud-php
Compute/src/V1/ResourcePolicyDailyCycle.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ResourcePolicyDailyCycle.php
Apache-2.0
public function setDaysInCycle($var) { GPBUtil::checkInt32($var); $this->days_in_cycle = $var; return $this; }
Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle. Generated from protobuf field <code>optional int32 days_in_cycle = 369790004;</code> @param int $var @return $this
setDaysInCycle
php
googleapis/google-cloud-php
Compute/src/V1/ResourcePolicyDailyCycle.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ResourcePolicyDailyCycle.php
Apache-2.0
public function getEventThreatDetectionCustomModules() { return $this->event_threat_detection_custom_modules; }
Custom modules belonging to the requested parent. Generated from protobuf field <code>repeated .google.cloud.securitycenter.v1.EventThreatDetectionCustomModule event_threat_detection_custom_modules = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getEventThreatDetectionCustomModules
php
googleapis/google-cloud-php
SecurityCenter/src/V1/ListDescendantEventThreatDetectionCustomModulesResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V1/ListDescendantEventThreatDetectionCustomModulesResponse.php
Apache-2.0
public function setEventThreatDetectionCustomModules($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\SecurityCenter\V1\EventThreatDetectionCustomModule::class); $this->event_threat_detection_custom_modules = $arr; return $this; }
Custom modules belonging to the requested parent. Generated from protobuf field <code>repeated .google.cloud.securitycenter.v1.EventThreatDetectionCustomModule event_threat_detection_custom_modules = 1;</code> @param array<\Google\Cloud\SecurityCenter\V1\EventThreatDetectionCustomModule>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setEventThreatDetectionCustomModules
php
googleapis/google-cloud-php
SecurityCenter/src/V1/ListDescendantEventThreatDetectionCustomModulesResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V1/ListDescendantEventThreatDetectionCustomModulesResponse.php
Apache-2.0
public function setMatchType($var) { GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AccessStringFilter\MatchType::class); $this->match_type = $var; return $this; }
The match type for this filter. Generated from protobuf field <code>.google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1;</code> @param int $var @return $this
setMatchType
php
googleapis/google-cloud-php
AnalyticsAdmin/src/V1alpha/AccessStringFilter.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/AccessStringFilter.php
Apache-2.0
public function setClusters($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AlloyDb\V1\Cluster::class); $this->clusters = $arr; return $this; }
The list of Cluster Generated from protobuf field <code>repeated .google.cloud.alloydb.v1.Cluster clusters = 1;</code> @param array<\Google\Cloud\AlloyDb\V1\Cluster>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setClusters
php
googleapis/google-cloud-php
AlloyDb/src/V1/ListClustersResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/ListClustersResponse.php
Apache-2.0
public function getIncludeAllUsers() { return $this->include_all_users; }
When set to `true`, the response includes the list of breakpoints set by any user. Otherwise, it includes only breakpoints set by the caller. Generated from protobuf field <code>bool include_all_users = 2;</code> @return bool
getIncludeAllUsers
php
googleapis/google-cloud-php
Debugger/src/V2/ListBreakpointsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Debugger/src/V2/ListBreakpointsRequest.php
Apache-2.0
public function setIncludeAllUsers($var) { GPBUtil::checkBool($var); $this->include_all_users = $var; return $this; }
When set to `true`, the response includes the list of breakpoints set by any user. Otherwise, it includes only breakpoints set by the caller. Generated from protobuf field <code>bool include_all_users = 2;</code> @param bool $var @return $this
setIncludeAllUsers
php
googleapis/google-cloud-php
Debugger/src/V2/ListBreakpointsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Debugger/src/V2/ListBreakpointsRequest.php
Apache-2.0
public function getIncludeInactive() { return $this->include_inactive; }
When set to `true`, the response includes active and inactive breakpoints. Otherwise, it includes only active breakpoints. Generated from protobuf field <code>bool include_inactive = 3;</code> @return bool
getIncludeInactive
php
googleapis/google-cloud-php
Debugger/src/V2/ListBreakpointsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Debugger/src/V2/ListBreakpointsRequest.php
Apache-2.0
public function setIncludeInactive($var) { GPBUtil::checkBool($var); $this->include_inactive = $var; return $this; }
When set to `true`, the response includes active and inactive breakpoints. Otherwise, it includes only active breakpoints. Generated from protobuf field <code>bool include_inactive = 3;</code> @param bool $var @return $this
setIncludeInactive
php
googleapis/google-cloud-php
Debugger/src/V2/ListBreakpointsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Debugger/src/V2/ListBreakpointsRequest.php
Apache-2.0
public function setAction($var) { GPBUtil::checkMessage($var, \Google\Cloud\Debugger\V2\ListBreakpointsRequest\BreakpointActionValue::class); $this->action = $var; return $this; }
When set, the response includes only breakpoints with the specified action. Generated from protobuf field <code>.google.devtools.clouddebugger.v2.ListBreakpointsRequest.BreakpointActionValue action = 4;</code> @param \Google\Cloud\Debugger\V2\ListBreakpointsRequest\BreakpointActionValue $var @return $this
setAction
php
googleapis/google-cloud-php
Debugger/src/V2/ListBreakpointsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Debugger/src/V2/ListBreakpointsRequest.php
Apache-2.0
public function getStripResults() { @trigger_error('strip_results is deprecated.', E_USER_DEPRECATED); return $this->strip_results; }
This field is deprecated. The following fields are always stripped out of the result: `stack_frames`, `evaluated_expressions` and `variable_table`. Generated from protobuf field <code>bool strip_results = 5 [deprecated = true];</code> @return bool @deprecated
getStripResults
php
googleapis/google-cloud-php
Debugger/src/V2/ListBreakpointsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Debugger/src/V2/ListBreakpointsRequest.php
Apache-2.0
public function setStripResults($var) { @trigger_error('strip_results is deprecated.', E_USER_DEPRECATED); GPBUtil::checkBool($var); $this->strip_results = $var; return $this; }
This field is deprecated. The following fields are always stripped out of the result: `stack_frames`, `evaluated_expressions` and `variable_table`. Generated from protobuf field <code>bool strip_results = 5 [deprecated = true];</code> @param bool $var @return $this @deprecated
setStripResults
php
googleapis/google-cloud-php
Debugger/src/V2/ListBreakpointsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Debugger/src/V2/ListBreakpointsRequest.php
Apache-2.0
public function getWaitToken() { return $this->wait_token; }
A wait token that, if specified, blocks the call until the breakpoints list has changed, or a server selected timeout has expired. The value should be set from the last response. The error code `google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, which should be called again with the same `wait_token`. Generated from protobuf field <code>string wait_token = 6;</code> @return string
getWaitToken
php
googleapis/google-cloud-php
Debugger/src/V2/ListBreakpointsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Debugger/src/V2/ListBreakpointsRequest.php
Apache-2.0
public function setWaitToken($var) { GPBUtil::checkString($var, True); $this->wait_token = $var; return $this; }
A wait token that, if specified, blocks the call until the breakpoints list has changed, or a server selected timeout has expired. The value should be set from the last response. The error code `google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, which should be called again with the same `wait_token`. Generated from protobuf field <code>string wait_token = 6;</code> @param string $var @return $this
setWaitToken
php
googleapis/google-cloud-php
Debugger/src/V2/ListBreakpointsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Debugger/src/V2/ListBreakpointsRequest.php
Apache-2.0
public function getDataRetentionSettings() { return $this->data_retention_settings; }
Required. The settings to update. The `name` field is used to identify the settings to be updated. Generated from protobuf field <code>.google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Analytics\Admin\V1alpha\DataRetentionSettings|null
getDataRetentionSettings
php
googleapis/google-cloud-php
AnalyticsAdmin/src/V1alpha/UpdateDataRetentionSettingsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/UpdateDataRetentionSettingsRequest.php
Apache-2.0
public function setDataRetentionSettings($var) { GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DataRetentionSettings::class); $this->data_retention_settings = $var; return $this; }
Required. The settings to update. The `name` field is used to identify the settings to be updated. Generated from protobuf field <code>.google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Analytics\Admin\V1alpha\DataRetentionSettings $var @return $this
setDataRetentionSettings
php
googleapis/google-cloud-php
AnalyticsAdmin/src/V1alpha/UpdateDataRetentionSettingsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/UpdateDataRetentionSettingsRequest.php
Apache-2.0
public function getCombinedDeniedPermission() { return $this->combined_denied_permission; }
Indicates whether the permission in the request is listed as a denied permission in the deny rule. Generated from protobuf field <code>.google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_denied_permission = 2;</code> @return \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedPermissionMatching|null
getCombinedDeniedPermission
php
googleapis/google-cloud-php
PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
Apache-2.0
public function setCombinedDeniedPermission($var) { GPBUtil::checkMessage($var, \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedPermissionMatching::class); $this->combined_denied_permission = $var; return $this; }
Indicates whether the permission in the request is listed as a denied permission in the deny rule. Generated from protobuf field <code>.google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_denied_permission = 2;</code> @param \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedPermissionMatching $var @return $this
setCombinedDeniedPermission
php
googleapis/google-cloud-php
PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
Apache-2.0
public function getDeniedPermissions() { return $this->denied_permissions; }
Lists all denied permissions in the deny rule and indicates whether each permission matches the permission in the request. Each key identifies a denied permission in the rule, and each value indicates whether the denied permission matches the permission in the request. Generated from protobuf field <code>map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> denied_permissions = 3;</code> @return \Google\Protobuf\Internal\MapField
getDeniedPermissions
php
googleapis/google-cloud-php
PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
Apache-2.0
public function setDeniedPermissions($var) { $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedPermissionMatching::class); $this->denied_permissions = $arr; return $this; }
Lists all denied permissions in the deny rule and indicates whether each permission matches the permission in the request. Each key identifies a denied permission in the rule, and each value indicates whether the denied permission matches the permission in the request. Generated from protobuf field <code>map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> denied_permissions = 3;</code> @param array|\Google\Protobuf\Internal\MapField $var @return $this
setDeniedPermissions
php
googleapis/google-cloud-php
PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
Apache-2.0
public function getCombinedExceptionPermission() { return $this->combined_exception_permission; }
Indicates whether the permission in the request is listed as an exception permission in the deny rule. Generated from protobuf field <code>.google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_exception_permission = 4;</code> @return \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedPermissionMatching|null
getCombinedExceptionPermission
php
googleapis/google-cloud-php
PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
Apache-2.0
public function setCombinedExceptionPermission($var) { GPBUtil::checkMessage($var, \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedPermissionMatching::class); $this->combined_exception_permission = $var; return $this; }
Indicates whether the permission in the request is listed as an exception permission in the deny rule. Generated from protobuf field <code>.google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_exception_permission = 4;</code> @param \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedPermissionMatching $var @return $this
setCombinedExceptionPermission
php
googleapis/google-cloud-php
PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
Apache-2.0
public function getExceptionPermissions() { return $this->exception_permissions; }
Lists all exception permissions in the deny rule and indicates whether each permission matches the permission in the request. Each key identifies a exception permission in the rule, and each value indicates whether the exception permission matches the permission in the request. Generated from protobuf field <code>map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> exception_permissions = 5;</code> @return \Google\Protobuf\Internal\MapField
getExceptionPermissions
php
googleapis/google-cloud-php
PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
Apache-2.0
public function setExceptionPermissions($var) { $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedPermissionMatching::class); $this->exception_permissions = $arr; return $this; }
Lists all exception permissions in the deny rule and indicates whether each permission matches the permission in the request. Each key identifies a exception permission in the rule, and each value indicates whether the exception permission matches the permission in the request. Generated from protobuf field <code>map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> exception_permissions = 5;</code> @param array|\Google\Protobuf\Internal\MapField $var @return $this
setExceptionPermissions
php
googleapis/google-cloud-php
PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
Apache-2.0
public function getCombinedDeniedPrincipal() { return $this->combined_denied_principal; }
Indicates whether the principal is listed as a denied principal in the deny rule, either directly or through membership in a principal set. Generated from protobuf field <code>.google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_denied_principal = 6;</code> @return \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedDenyPrincipalMatching|null
getCombinedDeniedPrincipal
php
googleapis/google-cloud-php
PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
Apache-2.0
public function setCombinedDeniedPrincipal($var) { GPBUtil::checkMessage($var, \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedDenyPrincipalMatching::class); $this->combined_denied_principal = $var; return $this; }
Indicates whether the principal is listed as a denied principal in the deny rule, either directly or through membership in a principal set. Generated from protobuf field <code>.google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_denied_principal = 6;</code> @param \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedDenyPrincipalMatching $var @return $this
setCombinedDeniedPrincipal
php
googleapis/google-cloud-php
PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
Apache-2.0
public function getDeniedPrincipals() { return $this->denied_principals; }
Lists all denied principals in the deny rule and indicates whether each principal matches the principal in the request, either directly or through membership in a principal set. Each key identifies a denied principal in the rule, and each value indicates whether the denied principal matches the principal in the request. Generated from protobuf field <code>map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> denied_principals = 7;</code> @return \Google\Protobuf\Internal\MapField
getDeniedPrincipals
php
googleapis/google-cloud-php
PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
Apache-2.0
public function setDeniedPrincipals($var) { $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedDenyPrincipalMatching::class); $this->denied_principals = $arr; return $this; }
Lists all denied principals in the deny rule and indicates whether each principal matches the principal in the request, either directly or through membership in a principal set. Each key identifies a denied principal in the rule, and each value indicates whether the denied principal matches the principal in the request. Generated from protobuf field <code>map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> denied_principals = 7;</code> @param array|\Google\Protobuf\Internal\MapField $var @return $this
setDeniedPrincipals
php
googleapis/google-cloud-php
PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
Apache-2.0
public function getCombinedExceptionPrincipal() { return $this->combined_exception_principal; }
Indicates whether the principal is listed as an exception principal in the deny rule, either directly or through membership in a principal set. Generated from protobuf field <code>.google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_exception_principal = 8;</code> @return \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedDenyPrincipalMatching|null
getCombinedExceptionPrincipal
php
googleapis/google-cloud-php
PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
Apache-2.0
public function setCombinedExceptionPrincipal($var) { GPBUtil::checkMessage($var, \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedDenyPrincipalMatching::class); $this->combined_exception_principal = $var; return $this; }
Indicates whether the principal is listed as an exception principal in the deny rule, either directly or through membership in a principal set. Generated from protobuf field <code>.google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_exception_principal = 8;</code> @param \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedDenyPrincipalMatching $var @return $this
setCombinedExceptionPrincipal
php
googleapis/google-cloud-php
PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
Apache-2.0
public function getExceptionPrincipals() { return $this->exception_principals; }
Lists all exception principals in the deny rule and indicates whether each principal matches the principal in the request, either directly or through membership in a principal set. Each key identifies a exception principal in the rule, and each value indicates whether the exception principal matches the principal in the request. Generated from protobuf field <code>map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> exception_principals = 9;</code> @return \Google\Protobuf\Internal\MapField
getExceptionPrincipals
php
googleapis/google-cloud-php
PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
Apache-2.0
public function setExceptionPrincipals($var) { $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedDenyPrincipalMatching::class); $this->exception_principals = $arr; return $this; }
Lists all exception principals in the deny rule and indicates whether each principal matches the principal in the request, either directly or through membership in a principal set. Each key identifies a exception principal in the rule, and each value indicates whether the exception principal matches the principal in the request. Generated from protobuf field <code>map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> exception_principals = 9;</code> @param array|\Google\Protobuf\Internal\MapField $var @return $this
setExceptionPrincipals
php
googleapis/google-cloud-php
PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
Apache-2.0
public function getConditionExplanation() { return $this->condition_explanation; }
Condition evaluation state for this role binding. Generated from protobuf field <code>.google.cloud.policytroubleshooter.iam.v3.ConditionExplanation condition_explanation = 12;</code> @return \Google\Cloud\PolicyTroubleshooter\Iam\V3\ConditionExplanation|null
getConditionExplanation
php
googleapis/google-cloud-php
PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
Apache-2.0
public function setConditionExplanation($var) { GPBUtil::checkMessage($var, \Google\Cloud\PolicyTroubleshooter\Iam\V3\ConditionExplanation::class); $this->condition_explanation = $var; return $this; }
Condition evaluation state for this role binding. Generated from protobuf field <code>.google.cloud.policytroubleshooter.iam.v3.ConditionExplanation condition_explanation = 12;</code> @param \Google\Cloud\PolicyTroubleshooter\Iam\V3\ConditionExplanation $var @return $this
setConditionExplanation
php
googleapis/google-cloud-php
PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php
Apache-2.0
public function getPublicAdvertisedPrefixResource() { return $this->public_advertised_prefix_resource; }
The body resource for this request Generated from protobuf field <code>.google.cloud.compute.v1.PublicAdvertisedPrefix public_advertised_prefix_resource = 233614223 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Cloud\Compute\V1\PublicAdvertisedPrefix|null
getPublicAdvertisedPrefixResource
php
googleapis/google-cloud-php
Compute/src/V1/InsertPublicAdvertisedPrefixeRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InsertPublicAdvertisedPrefixeRequest.php
Apache-2.0
public function setPublicAdvertisedPrefixResource($var) { GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\PublicAdvertisedPrefix::class); $this->public_advertised_prefix_resource = $var; return $this; }
The body resource for this request Generated from protobuf field <code>.google.cloud.compute.v1.PublicAdvertisedPrefix public_advertised_prefix_resource = 233614223 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\Compute\V1\PublicAdvertisedPrefix $var @return $this
setPublicAdvertisedPrefixResource
php
googleapis/google-cloud-php
Compute/src/V1/InsertPublicAdvertisedPrefixeRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InsertPublicAdvertisedPrefixeRequest.php
Apache-2.0
public function getRenewalSettings() { return $this->renewal_settings; }
Required. New renewal settings. Generated from protobuf field <code>.google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Cloud\Channel\V1\RenewalSettings|null
getRenewalSettings
php
googleapis/google-cloud-php
Channel/src/V1/ChangeRenewalSettingsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ChangeRenewalSettingsRequest.php
Apache-2.0
public function setRenewalSettings($var) { GPBUtil::checkMessage($var, \Google\Cloud\Channel\V1\RenewalSettings::class); $this->renewal_settings = $var; return $this; }
Required. New renewal settings. Generated from protobuf field <code>.google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\Channel\V1\RenewalSettings $var @return $this
setRenewalSettings
php
googleapis/google-cloud-php
Channel/src/V1/ChangeRenewalSettingsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ChangeRenewalSettingsRequest.php
Apache-2.0
public function getSubnet() { return $this->subnet; }
Optional. The name of the subnet that this VM instance is in. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}` Generated from protobuf field <code>string subnet = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getSubnet
php
googleapis/google-cloud-php
Notebooks/src/V2/NetworkInterface.php
https://github.com/googleapis/google-cloud-php/blob/master/Notebooks/src/V2/NetworkInterface.php
Apache-2.0
public function setSubnet($var) { GPBUtil::checkString($var, True); $this->subnet = $var; return $this; }
Optional. The name of the subnet that this VM instance is in. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}` Generated from protobuf field <code>string subnet = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setSubnet
php
googleapis/google-cloud-php
Notebooks/src/V2/NetworkInterface.php
https://github.com/googleapis/google-cloud-php/blob/master/Notebooks/src/V2/NetworkInterface.php
Apache-2.0
public function getNicType() { return $this->nic_type; }
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. Generated from protobuf field <code>.google.cloud.notebooks.v2.NetworkInterface.NicType nic_type = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @return int
getNicType
php
googleapis/google-cloud-php
Notebooks/src/V2/NetworkInterface.php
https://github.com/googleapis/google-cloud-php/blob/master/Notebooks/src/V2/NetworkInterface.php
Apache-2.0
public function setNicType($var) { GPBUtil::checkEnum($var, \Google\Cloud\Notebooks\V2\NetworkInterface\NicType::class); $this->nic_type = $var; return $this; }
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. Generated from protobuf field <code>.google.cloud.notebooks.v2.NetworkInterface.NicType nic_type = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @param int $var @return $this
setNicType
php
googleapis/google-cloud-php
Notebooks/src/V2/NetworkInterface.php
https://github.com/googleapis/google-cloud-php/blob/master/Notebooks/src/V2/NetworkInterface.php
Apache-2.0
public function getAgentCreationConfig() { return $this->agent_creation_config; }
The configurationt generate the Dialogflow agent that is associated to this Engine. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using [EngineService.GetEngine][google.cloud.discoveryengine.v1.EngineService.GetEngine] or [EngineService.ListEngines][google.cloud.discoveryengine.v1.EngineService.ListEngines] API after engine creation. Generated from protobuf field <code>.google.cloud.discoveryengine.v1.Engine.ChatEngineConfig.AgentCreationConfig agent_creation_config = 1;</code> @return \Google\Cloud\DiscoveryEngine\V1\Engine\ChatEngineConfig\AgentCreationConfig|null
getAgentCreationConfig
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php
Apache-2.0
public function setAgentCreationConfig($var) { GPBUtil::checkMessage($var, \Google\Cloud\DiscoveryEngine\V1\Engine\ChatEngineConfig\AgentCreationConfig::class); $this->agent_creation_config = $var; return $this; }
The configurationt generate the Dialogflow agent that is associated to this Engine. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using [EngineService.GetEngine][google.cloud.discoveryengine.v1.EngineService.GetEngine] or [EngineService.ListEngines][google.cloud.discoveryengine.v1.EngineService.ListEngines] API after engine creation. Generated from protobuf field <code>.google.cloud.discoveryengine.v1.Engine.ChatEngineConfig.AgentCreationConfig agent_creation_config = 1;</code> @param \Google\Cloud\DiscoveryEngine\V1\Engine\ChatEngineConfig\AgentCreationConfig $var @return $this
setAgentCreationConfig
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php
Apache-2.0
public function getDialogflowAgentToLink() { return $this->dialogflow_agent_to_link; }
The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide `agent_creation_config` to create agent or provide an agent name that links the agent with the Chat engine. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`. Note that the `dialogflow_agent_to_link` are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using [EngineService.GetEngine][google.cloud.discoveryengine.v1.EngineService.GetEngine] or [EngineService.ListEngines][google.cloud.discoveryengine.v1.EngineService.ListEngines] API after engine creation. Use [ChatEngineMetadata.dialogflow_agent][google.cloud.discoveryengine.v1.Engine.ChatEngineMetadata.dialogflow_agent] for actual agent association after Engine is created. Generated from protobuf field <code>string dialogflow_agent_to_link = 2;</code> @return string
getDialogflowAgentToLink
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php
Apache-2.0
public function setDialogflowAgentToLink($var) { GPBUtil::checkString($var, True); $this->dialogflow_agent_to_link = $var; return $this; }
The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide `agent_creation_config` to create agent or provide an agent name that links the agent with the Chat engine. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`. Note that the `dialogflow_agent_to_link` are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using [EngineService.GetEngine][google.cloud.discoveryengine.v1.EngineService.GetEngine] or [EngineService.ListEngines][google.cloud.discoveryengine.v1.EngineService.ListEngines] API after engine creation. Use [ChatEngineMetadata.dialogflow_agent][google.cloud.discoveryengine.v1.Engine.ChatEngineMetadata.dialogflow_agent] for actual agent association after Engine is created. Generated from protobuf field <code>string dialogflow_agent_to_link = 2;</code> @param string $var @return $this
setDialogflowAgentToLink
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php
Apache-2.0
public function getAllowCrossRegion() { return $this->allow_cross_region; }
Optional. If the flag set to true, we allow the agent and engine are in different locations, otherwise the agent and engine are required to be in the same location. The flag is set to false by default. Note that the `allow_cross_region` are one-time consumed by and passed to [EngineService.CreateEngine][google.cloud.discoveryengine.v1.EngineService.CreateEngine]. It means they cannot be retrieved using [EngineService.GetEngine][google.cloud.discoveryengine.v1.EngineService.GetEngine] or [EngineService.ListEngines][google.cloud.discoveryengine.v1.EngineService.ListEngines] API after engine creation. Generated from protobuf field <code>bool allow_cross_region = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @return bool
getAllowCrossRegion
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php
Apache-2.0
public function setAllowCrossRegion($var) { GPBUtil::checkBool($var); $this->allow_cross_region = $var; return $this; }
Optional. If the flag set to true, we allow the agent and engine are in different locations, otherwise the agent and engine are required to be in the same location. The flag is set to false by default. Note that the `allow_cross_region` are one-time consumed by and passed to [EngineService.CreateEngine][google.cloud.discoveryengine.v1.EngineService.CreateEngine]. It means they cannot be retrieved using [EngineService.GetEngine][google.cloud.discoveryengine.v1.EngineService.GetEngine] or [EngineService.ListEngines][google.cloud.discoveryengine.v1.EngineService.ListEngines] API after engine creation. Generated from protobuf field <code>bool allow_cross_region = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @param bool $var @return $this
setAllowCrossRegion
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php
Apache-2.0
public function getAllocatablePrefixLength() { return isset($this->allocatable_prefix_length) ? $this->allocatable_prefix_length : 0; }
The allocatable prefix length supported by this PublicDelegatedSubPrefix. Generated from protobuf field <code>optional int32 allocatable_prefix_length = 38427446;</code> @return int
getAllocatablePrefixLength
php
googleapis/google-cloud-php
Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php
Apache-2.0
public function setAllocatablePrefixLength($var) { GPBUtil::checkInt32($var); $this->allocatable_prefix_length = $var; return $this; }
The allocatable prefix length supported by this PublicDelegatedSubPrefix. Generated from protobuf field <code>optional int32 allocatable_prefix_length = 38427446;</code> @param int $var @return $this
setAllocatablePrefixLength
php
googleapis/google-cloud-php
Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php
Apache-2.0
public function getDelegateeProject() { return isset($this->delegatee_project) ? $this->delegatee_project : ''; }
Name of the project scoping this PublicDelegatedSubPrefix. Generated from protobuf field <code>optional string delegatee_project = 414860634;</code> @return string
getDelegateeProject
php
googleapis/google-cloud-php
Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php
Apache-2.0
public function setDelegateeProject($var) { GPBUtil::checkString($var, True); $this->delegatee_project = $var; return $this; }
Name of the project scoping this PublicDelegatedSubPrefix. Generated from protobuf field <code>optional string delegatee_project = 414860634;</code> @param string $var @return $this
setDelegateeProject
php
googleapis/google-cloud-php
Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php
Apache-2.0
public function getIpCidrRange() { return isset($this->ip_cidr_range) ? $this->ip_cidr_range : ''; }
The IP address range, in CIDR format, represented by this sub public delegated prefix. Generated from protobuf field <code>optional string ip_cidr_range = 98117322;</code> @return string
getIpCidrRange
php
googleapis/google-cloud-php
Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php
Apache-2.0
public function getIsAddress() { return isset($this->is_address) ? $this->is_address : false; }
Whether the sub prefix is delegated to create Address resources in the delegatee project. Generated from protobuf field <code>optional bool is_address = 352617951;</code> @return bool
getIsAddress
php
googleapis/google-cloud-php
Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php
Apache-2.0
public function setIsAddress($var) { GPBUtil::checkBool($var); $this->is_address = $var; return $this; }
Whether the sub prefix is delegated to create Address resources in the delegatee project. Generated from protobuf field <code>optional bool is_address = 352617951;</code> @param bool $var @return $this
setIsAddress
php
googleapis/google-cloud-php
Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php
Apache-2.0
public function getMode() { return isset($this->mode) ? $this->mode : ''; }
The PublicDelegatedSubPrefix mode for IPv6 only. Check the Mode enum for the list of possible values. Generated from protobuf field <code>optional string mode = 3357091;</code> @return string
getMode
php
googleapis/google-cloud-php
Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php
Apache-2.0
public function setMode($var) { GPBUtil::checkString($var, True); $this->mode = $var; return $this; }
The PublicDelegatedSubPrefix mode for IPv6 only. Check the Mode enum for the list of possible values. Generated from protobuf field <code>optional string mode = 3357091;</code> @param string $var @return $this
setMode
php
googleapis/google-cloud-php
Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php
Apache-2.0
public function getStatus() { return isset($this->status) ? $this->status : ''; }
[Output Only] The status of the sub public delegated prefix. Check the Status enum for the list of possible values. Generated from protobuf field <code>optional string status = 181260274;</code> @return string
getStatus
php
googleapis/google-cloud-php
Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php
Apache-2.0
public function getRepositoryId() { return $this->repository_id; }
Required. The repository id to use for this repository. Generated from protobuf field <code>string repository_id = 2 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getRepositoryId
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/CreateRepositoryRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/CreateRepositoryRequest.php
Apache-2.0
public function setRepositoryId($var) { GPBUtil::checkString($var, True); $this->repository_id = $var; return $this; }
Required. The repository id to use for this repository. Generated from protobuf field <code>string repository_id = 2 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setRepositoryId
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/CreateRepositoryRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/CreateRepositoryRequest.php
Apache-2.0
public function setRepository($var) { GPBUtil::checkMessage($var, \Google\Cloud\ArtifactRegistry\V1\Repository::class); $this->repository = $var; return $this; }
Required. The repository to be created. Generated from protobuf field <code>.google.devtools.artifactregistry.v1.Repository repository = 3 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\ArtifactRegistry\V1\Repository $var @return $this
setRepository
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/CreateRepositoryRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/CreateRepositoryRequest.php
Apache-2.0
public function getLastStartTime() { return isset($this->last_start_time) ? $this->last_start_time : ''; }
[Output Only] The last time the scaling schedule became active. Note: this is a timestamp when a schedule actually became active, not when it was planned to do so. The timestamp is in RFC3339 text format. Generated from protobuf field <code>optional string last_start_time = 34545107;</code> @return string
getLastStartTime
php
googleapis/google-cloud-php
Compute/src/V1/ScalingScheduleStatus.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ScalingScheduleStatus.php
Apache-2.0
public function setLastStartTime($var) { GPBUtil::checkString($var, True); $this->last_start_time = $var; return $this; }
[Output Only] The last time the scaling schedule became active. Note: this is a timestamp when a schedule actually became active, not when it was planned to do so. The timestamp is in RFC3339 text format. Generated from protobuf field <code>optional string last_start_time = 34545107;</code> @param string $var @return $this
setLastStartTime
php
googleapis/google-cloud-php
Compute/src/V1/ScalingScheduleStatus.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ScalingScheduleStatus.php
Apache-2.0
public function getNextStartTime() { return isset($this->next_start_time) ? $this->next_start_time : ''; }
[Output Only] The next time the scaling schedule is to become active. Note: this is a timestamp when a schedule is planned to run, but the actual time might be slightly different. The timestamp is in RFC3339 text format. Generated from protobuf field <code>optional string next_start_time = 97270102;</code> @return string
getNextStartTime
php
googleapis/google-cloud-php
Compute/src/V1/ScalingScheduleStatus.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ScalingScheduleStatus.php
Apache-2.0
public function setNextStartTime($var) { GPBUtil::checkString($var, True); $this->next_start_time = $var; return $this; }
[Output Only] The next time the scaling schedule is to become active. Note: this is a timestamp when a schedule is planned to run, but the actual time might be slightly different. The timestamp is in RFC3339 text format. Generated from protobuf field <code>optional string next_start_time = 97270102;</code> @param string $var @return $this
setNextStartTime
php
googleapis/google-cloud-php
Compute/src/V1/ScalingScheduleStatus.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ScalingScheduleStatus.php
Apache-2.0
public function getReplicas() { return $this->replicas; }
Output only. The list of replica statuses for the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion]. Generated from protobuf field <code>repeated .google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Internal\RepeatedField
getReplicas
php
googleapis/google-cloud-php
SecretManager/src/V1beta2/ReplicationStatus/UserManagedStatus.php
https://github.com/googleapis/google-cloud-php/blob/master/SecretManager/src/V1beta2/ReplicationStatus/UserManagedStatus.php
Apache-2.0
public function setReplicas($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\SecretManager\V1beta2\ReplicationStatus\UserManagedStatus\ReplicaStatus::class); $this->replicas = $arr; return $this; }
Output only. The list of replica statuses for the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion]. Generated from protobuf field <code>repeated .google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param array<\Google\Cloud\SecretManager\V1beta2\ReplicationStatus\UserManagedStatus\ReplicaStatus>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setReplicas
php
googleapis/google-cloud-php
SecretManager/src/V1beta2/ReplicationStatus/UserManagedStatus.php
https://github.com/googleapis/google-cloud-php/blob/master/SecretManager/src/V1beta2/ReplicationStatus/UserManagedStatus.php
Apache-2.0
public function setState($var) { GPBUtil::checkEnum($var, \Google\Cloud\Workflows\Executions\V1\Execution\State::class); $this->state = $var; return $this; }
Output only. Current state of the execution. Generated from protobuf field <code>.google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param int $var @return $this
setState
php
googleapis/google-cloud-php
Workflows/src/Executions/V1/Execution.php
https://github.com/googleapis/google-cloud-php/blob/master/Workflows/src/Executions/V1/Execution.php
Apache-2.0
public function setResult($var) { GPBUtil::checkString($var, True); $this->result = $var; return $this; }
Output only. Output of the execution represented as a JSON string. The value can only be present if the execution's state is `SUCCEEDED`. Generated from protobuf field <code>string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setResult
php
googleapis/google-cloud-php
Workflows/src/Executions/V1/Execution.php
https://github.com/googleapis/google-cloud-php/blob/master/Workflows/src/Executions/V1/Execution.php
Apache-2.0
public function setError($var) { GPBUtil::checkMessage($var, \Google\Cloud\Workflows\Executions\V1\Execution\Error::class); $this->error = $var; return $this; }
Output only. The error which caused the execution to finish prematurely. The value is only present if the execution's state is `FAILED` or `CANCELLED`. Generated from protobuf field <code>.google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Cloud\Workflows\Executions\V1\Execution\Error $var @return $this
setError
php
googleapis/google-cloud-php
Workflows/src/Executions/V1/Execution.php
https://github.com/googleapis/google-cloud-php/blob/master/Workflows/src/Executions/V1/Execution.php
Apache-2.0
public function getWorkflowRevisionId() { return $this->workflow_revision_id; }
Output only. Revision of the workflow this execution is using. Generated from protobuf field <code>string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getWorkflowRevisionId
php
googleapis/google-cloud-php
Workflows/src/Executions/V1/Execution.php
https://github.com/googleapis/google-cloud-php/blob/master/Workflows/src/Executions/V1/Execution.php
Apache-2.0
public function setWorkflowRevisionId($var) { GPBUtil::checkString($var, True); $this->workflow_revision_id = $var; return $this; }
Output only. Revision of the workflow this execution is using. Generated from protobuf field <code>string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setWorkflowRevisionId
php
googleapis/google-cloud-php
Workflows/src/Executions/V1/Execution.php
https://github.com/googleapis/google-cloud-php/blob/master/Workflows/src/Executions/V1/Execution.php
Apache-2.0
public function getCallLogLevel() { return $this->call_log_level; }
The call logging level associated to this execution. Generated from protobuf field <code>.google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9;</code> @return int
getCallLogLevel
php
googleapis/google-cloud-php
Workflows/src/Executions/V1/Execution.php
https://github.com/googleapis/google-cloud-php/blob/master/Workflows/src/Executions/V1/Execution.php
Apache-2.0
public function setCallLogLevel($var) { GPBUtil::checkEnum($var, \Google\Cloud\Workflows\Executions\V1\Execution\CallLogLevel::class); $this->call_log_level = $var; return $this; }
The call logging level associated to this execution. Generated from protobuf field <code>.google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9;</code> @param int $var @return $this
setCallLogLevel
php
googleapis/google-cloud-php
Workflows/src/Executions/V1/Execution.php
https://github.com/googleapis/google-cloud-php/blob/master/Workflows/src/Executions/V1/Execution.php
Apache-2.0
public function setStatus($var) { GPBUtil::checkMessage($var, \Google\Cloud\Workflows\Executions\V1\Execution\Status::class); $this->status = $var; return $this; }
Output only. Status tracks the current steps and progress data of this execution. Generated from protobuf field <code>.google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Cloud\Workflows\Executions\V1\Execution\Status $var @return $this
setStatus
php
googleapis/google-cloud-php
Workflows/src/Executions/V1/Execution.php
https://github.com/googleapis/google-cloud-php/blob/master/Workflows/src/Executions/V1/Execution.php
Apache-2.0
public function getStateError() { return $this->state_error; }
Output only. Error regarding the state of the Execution resource. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions. Generated from protobuf field <code>.google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Cloud\Workflows\Executions\V1\Execution\StateError|null
getStateError
php
googleapis/google-cloud-php
Workflows/src/Executions/V1/Execution.php
https://github.com/googleapis/google-cloud-php/blob/master/Workflows/src/Executions/V1/Execution.php
Apache-2.0
public function setStateError($var) { GPBUtil::checkMessage($var, \Google\Cloud\Workflows\Executions\V1\Execution\StateError::class); $this->state_error = $var; return $this; }
Output only. Error regarding the state of the Execution resource. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions. Generated from protobuf field <code>.google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Cloud\Workflows\Executions\V1\Execution\StateError $var @return $this
setStateError
php
googleapis/google-cloud-php
Workflows/src/Executions/V1/Execution.php
https://github.com/googleapis/google-cloud-php/blob/master/Workflows/src/Executions/V1/Execution.php
Apache-2.0