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 setFilter($var) { GPBUtil::checkString($var, True); $this->filter = $var; return $this; }
Optional. Filtering results. This field is currently not supported, its value will be ignored if passed. Generated from protobuf field <code>string filter = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setFilter
php
googleapis/google-cloud-php
AlloyDb/src/V1/ListDatabasesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/ListDatabasesRequest.php
Apache-2.0
public function getStartTime() { return $this->start_time; }
Output only. Marks the beginning of execution. Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Timestamp|null
getStartTime
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 setStartTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->start_time = $var; return $this; }
Output only. Marks the beginning of execution. Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Protobuf\Timestamp $var @return $this
setStartTime
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 getEndTime() { return $this->end_time; }
Output only. Marks the end of execution, successful or not. Generated from protobuf field <code>.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Timestamp|null
getEndTime
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 setEndTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->end_time = $var; return $this; }
Output only. Marks the end of execution, successful or not. Generated from protobuf field <code>.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Protobuf\Timestamp $var @return $this
setEndTime
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 getDuration() { return $this->duration; }
Output only. Measures the duration of the execution. Generated from protobuf field <code>.google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Duration|null
getDuration
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 setDuration($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); $this->duration = $var; return $this; }
Output only. Measures the duration of the execution. Generated from protobuf field <code>.google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Protobuf\Duration $var @return $this
setDuration
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 getState() { return $this->state; }
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> @return int
getState
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 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 getArgument() { return $this->argument; }
Input parameters of the execution represented as a JSON string. The size limit is 32KB. *Note*: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'` Generated from protobuf field <code>string argument = 5;</code> @return string
getArgument
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 setArgument($var) { GPBUtil::checkString($var, True); $this->argument = $var; return $this; }
Input parameters of the execution represented as a JSON string. The size limit is 32KB. *Note*: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'` Generated from protobuf field <code>string argument = 5;</code> @param string $var @return $this
setArgument
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 getResult() { return $this->result; }
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> @return string
getResult
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 getError() { return $this->error; }
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> @return \Google\Cloud\Workflows\Executions\V1\Execution\Error|null
getError
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 getStatus() { return $this->status; }
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> @return \Google\Cloud\Workflows\Executions\V1\Execution\Status|null
getStatus
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 getLabels() { return $this->labels; }
Labels associated with this execution. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed. By default, labels are inherited from the workflow but are overridden by any labels associated with the execution. Generated from protobuf field <code>map<string, string> labels = 11;</code> @return \Google\Protobuf\Internal\MapField
getLabels
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 setLabels($var) { $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); $this->labels = $arr; return $this; }
Labels associated with this execution. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed. By default, labels are inherited from the workflow but are overridden by any labels associated with the execution. Generated from protobuf field <code>map<string, string> labels = 11;</code> @param array|\Google\Protobuf\Internal\MapField $var @return $this
setLabels
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
public function getType() { return $this->type; }
The Google Workspace data source. Generated from protobuf field <code>.google.cloud.discoveryengine.v1.WorkspaceConfig.Type type = 1;</code> @return int
getType
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/WorkspaceConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/WorkspaceConfig.php
Apache-2.0
public function setType($var) { GPBUtil::checkEnum($var, \Google\Cloud\DiscoveryEngine\V1\WorkspaceConfig\Type::class); $this->type = $var; return $this; }
The Google Workspace data source. Generated from protobuf field <code>.google.cloud.discoveryengine.v1.WorkspaceConfig.Type type = 1;</code> @param int $var @return $this
setType
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/WorkspaceConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/WorkspaceConfig.php
Apache-2.0
public function getDasherCustomerId() { return $this->dasher_customer_id; }
Obfuscated Dasher customer ID. Generated from protobuf field <code>string dasher_customer_id = 2;</code> @return string
getDasherCustomerId
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/WorkspaceConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/WorkspaceConfig.php
Apache-2.0
public function setDasherCustomerId($var) { GPBUtil::checkString($var, True); $this->dasher_customer_id = $var; return $this; }
Obfuscated Dasher customer ID. Generated from protobuf field <code>string dasher_customer_id = 2;</code> @param string $var @return $this
setDasherCustomerId
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/WorkspaceConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/WorkspaceConfig.php
Apache-2.0
public function getSuperAdminServiceAccount() { return $this->super_admin_service_account; }
Optional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion. Generated from protobuf field <code>string super_admin_service_account = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getSuperAdminServiceAccount
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/WorkspaceConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/WorkspaceConfig.php
Apache-2.0
public function setSuperAdminServiceAccount($var) { GPBUtil::checkString($var, True); $this->super_admin_service_account = $var; return $this; }
Optional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion. Generated from protobuf field <code>string super_admin_service_account = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setSuperAdminServiceAccount
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/WorkspaceConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/WorkspaceConfig.php
Apache-2.0
public function getSuperAdminEmailAddress() { return $this->super_admin_email_address; }
Optional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion. Generated from protobuf field <code>string super_admin_email_address = 5 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getSuperAdminEmailAddress
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/WorkspaceConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/WorkspaceConfig.php
Apache-2.0
public function setSuperAdminEmailAddress($var) { GPBUtil::checkString($var, True); $this->super_admin_email_address = $var; return $this; }
Optional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion. Generated from protobuf field <code>string super_admin_email_address = 5 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setSuperAdminEmailAddress
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/WorkspaceConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/WorkspaceConfig.php
Apache-2.0
public function getName() { return $this->name; }
Name of the constraint. This is unique within the organization. Format of the name should be * `organizations/{organization_id}/customConstraints/{custom_constraint_id}` Example : "organizations/123/customConstraints/custom.createOnlyE2TypeVms" Generated from protobuf field <code>string name = 1;</code> @return string
getName
php
googleapis/google-cloud-php
Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
https://github.com/googleapis/google-cloud-php/blob/master/Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Name of the constraint. This is unique within the organization. Format of the name should be * `organizations/{organization_id}/customConstraints/{custom_constraint_id}` Example : "organizations/123/customConstraints/custom.createOnlyE2TypeVms" Generated from protobuf field <code>string name = 1;</code> @param string $var @return $this
setName
php
googleapis/google-cloud-php
Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
https://github.com/googleapis/google-cloud-php/blob/master/Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
Apache-2.0
public function getResourceTypes() { return $this->resource_types; }
The Resource Instance type on which this policy applies to. Format will be of the form : "<canonical service name>/<type>" Example: * `compute.googleapis.com/Instance`. Generated from protobuf field <code>repeated string resource_types = 2;</code> @return \Google\Protobuf\Internal\RepeatedField
getResourceTypes
php
googleapis/google-cloud-php
Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
https://github.com/googleapis/google-cloud-php/blob/master/Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
Apache-2.0
public function setResourceTypes($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->resource_types = $arr; return $this; }
The Resource Instance type on which this policy applies to. Format will be of the form : "<canonical service name>/<type>" Example: * `compute.googleapis.com/Instance`. Generated from protobuf field <code>repeated string resource_types = 2;</code> @param array<string>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setResourceTypes
php
googleapis/google-cloud-php
Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
https://github.com/googleapis/google-cloud-php/blob/master/Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
Apache-2.0
public function getMethodTypes() { return $this->method_types; }
All the operations being applied for this constraint. Generated from protobuf field <code>repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3;</code> @return \Google\Protobuf\Internal\RepeatedField
getMethodTypes
php
googleapis/google-cloud-php
Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
https://github.com/googleapis/google-cloud-php/blob/master/Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
Apache-2.0
public function setMethodTypes($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint\CustomConstraint\MethodType::class); $this->method_types = $arr; return $this; }
All the operations being applied for this constraint. Generated from protobuf field <code>repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3;</code> @param array<int>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setMethodTypes
php
googleapis/google-cloud-php
Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
https://github.com/googleapis/google-cloud-php/blob/master/Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
Apache-2.0
public function getCondition() { return $this->condition; }
Organization Policy condition/expression. For example: `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or, `resource.management.auto_upgrade == true` Generated from protobuf field <code>string condition = 4;</code> @return string
getCondition
php
googleapis/google-cloud-php
Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
https://github.com/googleapis/google-cloud-php/blob/master/Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
Apache-2.0
public function setCondition($var) { GPBUtil::checkString($var, True); $this->condition = $var; return $this; }
Organization Policy condition/expression. For example: `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or, `resource.management.auto_upgrade == true` Generated from protobuf field <code>string condition = 4;</code> @param string $var @return $this
setCondition
php
googleapis/google-cloud-php
Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
https://github.com/googleapis/google-cloud-php/blob/master/Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
Apache-2.0
public function getActionType() { return $this->action_type; }
Allow or deny type. Generated from protobuf field <code>.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5;</code> @return int
getActionType
php
googleapis/google-cloud-php
Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
https://github.com/googleapis/google-cloud-php/blob/master/Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
Apache-2.0
public function setActionType($var) { GPBUtil::checkEnum($var, \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint\CustomConstraint\ActionType::class); $this->action_type = $var; return $this; }
Allow or deny type. Generated from protobuf field <code>.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5;</code> @param int $var @return $this
setActionType
php
googleapis/google-cloud-php
Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
https://github.com/googleapis/google-cloud-php/blob/master/Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
Apache-2.0
public function getDisplayName() { return $this->display_name; }
One line display name for the UI. Generated from protobuf field <code>string display_name = 6;</code> @return string
getDisplayName
php
googleapis/google-cloud-php
Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
https://github.com/googleapis/google-cloud-php/blob/master/Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
Apache-2.0
public function setDisplayName($var) { GPBUtil::checkString($var, True); $this->display_name = $var; return $this; }
One line display name for the UI. Generated from protobuf field <code>string display_name = 6;</code> @param string $var @return $this
setDisplayName
php
googleapis/google-cloud-php
Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
https://github.com/googleapis/google-cloud-php/blob/master/Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
Apache-2.0
public function getDescription() { return $this->description; }
Detailed information about this custom policy constraint. Generated from protobuf field <code>string description = 7;</code> @return string
getDescription
php
googleapis/google-cloud-php
Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
https://github.com/googleapis/google-cloud-php/blob/master/Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
Apache-2.0
public function setDescription($var) { GPBUtil::checkString($var, True); $this->description = $var; return $this; }
Detailed information about this custom policy constraint. Generated from protobuf field <code>string description = 7;</code> @param string $var @return $this
setDescription
php
googleapis/google-cloud-php
Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
https://github.com/googleapis/google-cloud-php/blob/master/Asset/src/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
Apache-2.0
public function getMinimumRiskScore() { return $this->readOneof(1); }
The minimum data risk score that triggers the condition. Generated from protobuf field <code>.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1;</code> @return int
getMinimumRiskScore
php
googleapis/google-cloud-php
Dlp/src/V2/DataProfilePubSubCondition/PubSubCondition.php
https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/DataProfilePubSubCondition/PubSubCondition.php
Apache-2.0
public function setMinimumRiskScore($var) { GPBUtil::checkEnum($var, \Google\Cloud\Dlp\V2\DataProfilePubSubCondition\ProfileScoreBucket::class); $this->writeOneof(1, $var); return $this; }
The minimum data risk score that triggers the condition. Generated from protobuf field <code>.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1;</code> @param int $var @return $this
setMinimumRiskScore
php
googleapis/google-cloud-php
Dlp/src/V2/DataProfilePubSubCondition/PubSubCondition.php
https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/DataProfilePubSubCondition/PubSubCondition.php
Apache-2.0
public function getMinimumSensitivityScore() { return $this->readOneof(2); }
The minimum sensitivity level that triggers the condition. Generated from protobuf field <code>.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2;</code> @return int
getMinimumSensitivityScore
php
googleapis/google-cloud-php
Dlp/src/V2/DataProfilePubSubCondition/PubSubCondition.php
https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/DataProfilePubSubCondition/PubSubCondition.php
Apache-2.0
public function setMinimumSensitivityScore($var) { GPBUtil::checkEnum($var, \Google\Cloud\Dlp\V2\DataProfilePubSubCondition\ProfileScoreBucket::class); $this->writeOneof(2, $var); return $this; }
The minimum sensitivity level that triggers the condition. Generated from protobuf field <code>.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2;</code> @param int $var @return $this
setMinimumSensitivityScore
php
googleapis/google-cloud-php
Dlp/src/V2/DataProfilePubSubCondition/PubSubCondition.php
https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/DataProfilePubSubCondition/PubSubCondition.php
Apache-2.0
public function getUri() { return $this->uri; }
The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form `gs://bucketName/fileName`. If the file already exists, the request succeeds, but the operation fails. If `fileType` is `SQL` and the filename ends with .gz, the contents are compressed. Generated from protobuf field <code>string uri = 1;</code> @return string
getUri
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ExportContext.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ExportContext.php
Apache-2.0
public function setUri($var) { GPBUtil::checkString($var, True); $this->uri = $var; return $this; }
The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form `gs://bucketName/fileName`. If the file already exists, the request succeeds, but the operation fails. If `fileType` is `SQL` and the filename ends with .gz, the contents are compressed. Generated from protobuf field <code>string uri = 1;</code> @param string $var @return $this
setUri
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ExportContext.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ExportContext.php
Apache-2.0
public function getDatabases() { return $this->databases; }
Databases to be exported. <br /> `MySQL instances:` If `fileType` is `SQL` and no database is specified, all databases are exported, except for the `mysql` system database. If `fileType` is `CSV`, you can specify one database, either by using this property or by using the `csvExportOptions.selectQuery` property, which takes precedence over this property. <br /> `PostgreSQL instances:` You must specify one database to be exported. If `fileType` is `CSV`, this database must match the one specified in the `csvExportOptions.selectQuery` property. <br /> `SQL Server instances:` You must specify one database to be exported, and the `fileType` must be `BAK`. Generated from protobuf field <code>repeated string databases = 2;</code> @return \Google\Protobuf\Internal\RepeatedField
getDatabases
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ExportContext.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ExportContext.php
Apache-2.0
public function setDatabases($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->databases = $arr; return $this; }
Databases to be exported. <br /> `MySQL instances:` If `fileType` is `SQL` and no database is specified, all databases are exported, except for the `mysql` system database. If `fileType` is `CSV`, you can specify one database, either by using this property or by using the `csvExportOptions.selectQuery` property, which takes precedence over this property. <br /> `PostgreSQL instances:` You must specify one database to be exported. If `fileType` is `CSV`, this database must match the one specified in the `csvExportOptions.selectQuery` property. <br /> `SQL Server instances:` You must specify one database to be exported, and the `fileType` must be `BAK`. Generated from protobuf field <code>repeated string databases = 2;</code> @param array<string>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setDatabases
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ExportContext.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ExportContext.php
Apache-2.0
public function getKind() { return $this->kind; }
This is always `sql#exportContext`. Generated from protobuf field <code>string kind = 3;</code> @return string
getKind
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ExportContext.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ExportContext.php
Apache-2.0
public function setKind($var) { GPBUtil::checkString($var, True); $this->kind = $var; return $this; }
This is always `sql#exportContext`. Generated from protobuf field <code>string kind = 3;</code> @param string $var @return $this
setKind
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ExportContext.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ExportContext.php
Apache-2.0
public function getSqlExportOptions() { return $this->sql_export_options; }
Options for exporting data as SQL statements. Generated from protobuf field <code>.google.cloud.sql.v1.ExportContext.SqlExportOptions sql_export_options = 4;</code> @return \Google\Cloud\Sql\V1\ExportContext\SqlExportOptions|null
getSqlExportOptions
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ExportContext.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ExportContext.php
Apache-2.0
public function setSqlExportOptions($var) { GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\ExportContext\SqlExportOptions::class); $this->sql_export_options = $var; return $this; }
Options for exporting data as SQL statements. Generated from protobuf field <code>.google.cloud.sql.v1.ExportContext.SqlExportOptions sql_export_options = 4;</code> @param \Google\Cloud\Sql\V1\ExportContext\SqlExportOptions $var @return $this
setSqlExportOptions
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ExportContext.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ExportContext.php
Apache-2.0
public function getCsvExportOptions() { return $this->csv_export_options; }
Options for exporting data as CSV. `MySQL` and `PostgreSQL` instances only. Generated from protobuf field <code>.google.cloud.sql.v1.ExportContext.SqlCsvExportOptions csv_export_options = 5;</code> @return \Google\Cloud\Sql\V1\ExportContext\SqlCsvExportOptions|null
getCsvExportOptions
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ExportContext.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ExportContext.php
Apache-2.0
public function setCsvExportOptions($var) { GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\ExportContext\SqlCsvExportOptions::class); $this->csv_export_options = $var; return $this; }
Options for exporting data as CSV. `MySQL` and `PostgreSQL` instances only. Generated from protobuf field <code>.google.cloud.sql.v1.ExportContext.SqlCsvExportOptions csv_export_options = 5;</code> @param \Google\Cloud\Sql\V1\ExportContext\SqlCsvExportOptions $var @return $this
setCsvExportOptions
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ExportContext.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ExportContext.php
Apache-2.0
public function getFileType() { return $this->file_type; }
The file type for the specified uri. Generated from protobuf field <code>.google.cloud.sql.v1.SqlFileType file_type = 6;</code> @return int
getFileType
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ExportContext.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ExportContext.php
Apache-2.0
public function setFileType($var) { GPBUtil::checkEnum($var, \Google\Cloud\Sql\V1\SqlFileType::class); $this->file_type = $var; return $this; }
The file type for the specified uri. Generated from protobuf field <code>.google.cloud.sql.v1.SqlFileType file_type = 6;</code> @param int $var @return $this
setFileType
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ExportContext.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ExportContext.php
Apache-2.0
public function getOffload() { return $this->offload; }
Option for export offload. Generated from protobuf field <code>.google.protobuf.BoolValue offload = 8;</code> @return \Google\Protobuf\BoolValue|null
getOffload
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ExportContext.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ExportContext.php
Apache-2.0
public function getOffloadUnwrapped() { return $this->readWrapperValue("offload"); }
Returns the unboxed value from <code>getOffload()</code> Option for export offload. Generated from protobuf field <code>.google.protobuf.BoolValue offload = 8;</code> @return bool|null
getOffloadUnwrapped
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ExportContext.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ExportContext.php
Apache-2.0
public function setOffload($var) { GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class); $this->offload = $var; return $this; }
Option for export offload. Generated from protobuf field <code>.google.protobuf.BoolValue offload = 8;</code> @param \Google\Protobuf\BoolValue $var @return $this
setOffload
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ExportContext.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ExportContext.php
Apache-2.0
public function setOffloadUnwrapped($var) { $this->writeWrapperValue("offload", $var); return $this;}
Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object. Option for export offload. Generated from protobuf field <code>.google.protobuf.BoolValue offload = 8;</code> @param bool|null $var @return $this
setOffloadUnwrapped
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ExportContext.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ExportContext.php
Apache-2.0
public function getBakExportOptions() { return $this->bak_export_options; }
Options for exporting data as BAK files. Generated from protobuf field <code>.google.cloud.sql.v1.ExportContext.SqlBakExportOptions bak_export_options = 9;</code> @return \Google\Cloud\Sql\V1\ExportContext\SqlBakExportOptions|null
getBakExportOptions
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ExportContext.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ExportContext.php
Apache-2.0
public function setBakExportOptions($var) { GPBUtil::checkMessage($var, \Google\Cloud\Sql\V1\ExportContext\SqlBakExportOptions::class); $this->bak_export_options = $var; return $this; }
Options for exporting data as BAK files. Generated from protobuf field <code>.google.cloud.sql.v1.ExportContext.SqlBakExportOptions bak_export_options = 9;</code> @param \Google\Cloud\Sql\V1\ExportContext\SqlBakExportOptions $var @return $this
setBakExportOptions
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ExportContext.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ExportContext.php
Apache-2.0
public function getTransferEligibility() { return $this->transfer_eligibility; }
Describes the transfer eligibility of a SKU. Generated from protobuf field <code>.google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9;</code> @return \Google\Cloud\Channel\V1\TransferEligibility|null
getTransferEligibility
php
googleapis/google-cloud-php
Channel/src/V1/TransferableSku.php
https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/TransferableSku.php
Apache-2.0
public function setTransferEligibility($var) { GPBUtil::checkMessage($var, \Google\Cloud\Channel\V1\TransferEligibility::class); $this->transfer_eligibility = $var; return $this; }
Describes the transfer eligibility of a SKU. Generated from protobuf field <code>.google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9;</code> @param \Google\Cloud\Channel\V1\TransferEligibility $var @return $this
setTransferEligibility
php
googleapis/google-cloud-php
Channel/src/V1/TransferableSku.php
https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/TransferableSku.php
Apache-2.0
public function getSku() { return $this->sku; }
The SKU pertaining to the provisioning resource as specified in the Offer. Generated from protobuf field <code>.google.cloud.channel.v1.Sku sku = 11;</code> @return \Google\Cloud\Channel\V1\Sku|null
getSku
php
googleapis/google-cloud-php
Channel/src/V1/TransferableSku.php
https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/TransferableSku.php
Apache-2.0
public function setSku($var) { GPBUtil::checkMessage($var, \Google\Cloud\Channel\V1\Sku::class); $this->sku = $var; return $this; }
The SKU pertaining to the provisioning resource as specified in the Offer. Generated from protobuf field <code>.google.cloud.channel.v1.Sku sku = 11;</code> @param \Google\Cloud\Channel\V1\Sku $var @return $this
setSku
php
googleapis/google-cloud-php
Channel/src/V1/TransferableSku.php
https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/TransferableSku.php
Apache-2.0
public function getLegacySku() { return $this->legacy_sku; }
Optional. The customer to transfer has an entitlement with the populated legacy SKU. Generated from protobuf field <code>.google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Cloud\Channel\V1\Sku|null
getLegacySku
php
googleapis/google-cloud-php
Channel/src/V1/TransferableSku.php
https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/TransferableSku.php
Apache-2.0
public function setLegacySku($var) { GPBUtil::checkMessage($var, \Google\Cloud\Channel\V1\Sku::class); $this->legacy_sku = $var; return $this; }
Optional. The customer to transfer has an entitlement with the populated legacy SKU. Generated from protobuf field <code>.google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL];</code> @param \Google\Cloud\Channel\V1\Sku $var @return $this
setLegacySku
php
googleapis/google-cloud-php
Channel/src/V1/TransferableSku.php
https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/TransferableSku.php
Apache-2.0
public function getInstanceGroupManager() { return $this->instance_group_manager; }
The name of the managed instance group. Generated from protobuf field <code>string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getInstanceGroupManager
php
googleapis/google-cloud-php
Compute/src/V1/SetInstanceTemplateInstanceGroupManagerRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetInstanceTemplateInstanceGroupManagerRequest.php
Apache-2.0
public function setInstanceGroupManager($var) { GPBUtil::checkString($var, True); $this->instance_group_manager = $var; return $this; }
The name of the managed instance group. Generated from protobuf field <code>string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setInstanceGroupManager
php
googleapis/google-cloud-php
Compute/src/V1/SetInstanceTemplateInstanceGroupManagerRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetInstanceTemplateInstanceGroupManagerRequest.php
Apache-2.0
public function getInstanceGroupManagersSetInstanceTemplateRequestResource() { return $this->instance_group_managers_set_instance_template_request_resource; }
The body resource for this request Generated from protobuf field <code>.google.cloud.compute.v1.InstanceGroupManagersSetInstanceTemplateRequest instance_group_managers_set_instance_template_request_resource = 9809093 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Cloud\Compute\V1\InstanceGroupManagersSetInstanceTemplateRequest|null
getInstanceGroupManagersSetInstanceTemplateRequestResource
php
googleapis/google-cloud-php
Compute/src/V1/SetInstanceTemplateInstanceGroupManagerRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetInstanceTemplateInstanceGroupManagerRequest.php
Apache-2.0
public function setInstanceGroupManagersSetInstanceTemplateRequestResource($var) { GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\InstanceGroupManagersSetInstanceTemplateRequest::class); $this->instance_group_managers_set_instance_template_request_resource = $var; return $this; }
The body resource for this request Generated from protobuf field <code>.google.cloud.compute.v1.InstanceGroupManagersSetInstanceTemplateRequest instance_group_managers_set_instance_template_request_resource = 9809093 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\Compute\V1\InstanceGroupManagersSetInstanceTemplateRequest $var @return $this
setInstanceGroupManagersSetInstanceTemplateRequestResource
php
googleapis/google-cloud-php
Compute/src/V1/SetInstanceTemplateInstanceGroupManagerRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetInstanceTemplateInstanceGroupManagerRequest.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, (.google.cloud.operation_request_field) = "project"];</code> @return string
getProject
php
googleapis/google-cloud-php
Compute/src/V1/SetInstanceTemplateInstanceGroupManagerRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetInstanceTemplateInstanceGroupManagerRequest.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, (.google.cloud.operation_request_field) = "project"];</code> @param string $var @return $this
setProject
php
googleapis/google-cloud-php
Compute/src/V1/SetInstanceTemplateInstanceGroupManagerRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetInstanceTemplateInstanceGroupManagerRequest.php
Apache-2.0
public function getRequestId() { return isset($this->request_id) ? $this->request_id : ''; }
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. For example, consider a situation where you make an initial request and the 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>optional string request_id = 37109963;</code> @return string
getRequestId
php
googleapis/google-cloud-php
Compute/src/V1/SetInstanceTemplateInstanceGroupManagerRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetInstanceTemplateInstanceGroupManagerRequest.php
Apache-2.0
public function setRequestId($var) { GPBUtil::checkString($var, True); $this->request_id = $var; return $this; }
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. For example, consider a situation where you make an initial request and the 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>optional string request_id = 37109963;</code> @param string $var @return $this
setRequestId
php
googleapis/google-cloud-php
Compute/src/V1/SetInstanceTemplateInstanceGroupManagerRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetInstanceTemplateInstanceGroupManagerRequest.php
Apache-2.0
public function getZone() { return $this->zone; }
The name of the zone where the managed instance group is located. Generated from protobuf field <code>string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];</code> @return string
getZone
php
googleapis/google-cloud-php
Compute/src/V1/SetInstanceTemplateInstanceGroupManagerRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetInstanceTemplateInstanceGroupManagerRequest.php
Apache-2.0
public function setZone($var) { GPBUtil::checkString($var, True); $this->zone = $var; return $this; }
The name of the zone where the managed instance group is located. Generated from protobuf field <code>string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];</code> @param string $var @return $this
setZone
php
googleapis/google-cloud-php
Compute/src/V1/SetInstanceTemplateInstanceGroupManagerRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetInstanceTemplateInstanceGroupManagerRequest.php
Apache-2.0
public function getAnswerRelevance() { return $this->answer_relevance; }
Optional. Whether or not the suggested answer is relevant. For example: * Query: "Can I change my mailing address?" * Suggested document says: "Items must be returned/exchanged within 60 days of the purchase date." * [answer_relevance][google.cloud.dialogflow.v2.AgentAssistantFeedback.answer_relevance]: [AnswerRelevance.IRRELEVANT][google.cloud.dialogflow.v2.AgentAssistantFeedback.AnswerRelevance.IRRELEVANT] Generated from protobuf field <code>.google.cloud.dialogflow.v2.AgentAssistantFeedback.AnswerRelevance answer_relevance = 1 [(.google.api.field_behavior) = OPTIONAL];</code> @return int
getAnswerRelevance
php
googleapis/google-cloud-php
Dialogflow/src/V2/AgentAssistantFeedback.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/AgentAssistantFeedback.php
Apache-2.0
public function setAnswerRelevance($var) { GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\AgentAssistantFeedback\AnswerRelevance::class); $this->answer_relevance = $var; return $this; }
Optional. Whether or not the suggested answer is relevant. For example: * Query: "Can I change my mailing address?" * Suggested document says: "Items must be returned/exchanged within 60 days of the purchase date." * [answer_relevance][google.cloud.dialogflow.v2.AgentAssistantFeedback.answer_relevance]: [AnswerRelevance.IRRELEVANT][google.cloud.dialogflow.v2.AgentAssistantFeedback.AnswerRelevance.IRRELEVANT] Generated from protobuf field <code>.google.cloud.dialogflow.v2.AgentAssistantFeedback.AnswerRelevance answer_relevance = 1 [(.google.api.field_behavior) = OPTIONAL];</code> @param int $var @return $this
setAnswerRelevance
php
googleapis/google-cloud-php
Dialogflow/src/V2/AgentAssistantFeedback.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/AgentAssistantFeedback.php
Apache-2.0
public function getDocumentCorrectness() { return $this->document_correctness; }
Optional. Whether or not the information in the document is correct. For example: * Query: "Can I return the package in 2 days once received?" * Suggested document says: "Items must be returned/exchanged within 60 days of the purchase date." * Ground truth: "No return or exchange is allowed." * [document_correctness][google.cloud.dialogflow.v2.AgentAssistantFeedback.document_correctness]: [INCORRECT][google.cloud.dialogflow.v2.AgentAssistantFeedback.DocumentCorrectness.INCORRECT] Generated from protobuf field <code>.google.cloud.dialogflow.v2.AgentAssistantFeedback.DocumentCorrectness document_correctness = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @return int
getDocumentCorrectness
php
googleapis/google-cloud-php
Dialogflow/src/V2/AgentAssistantFeedback.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/AgentAssistantFeedback.php
Apache-2.0
public function setDocumentCorrectness($var) { GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\AgentAssistantFeedback\DocumentCorrectness::class); $this->document_correctness = $var; return $this; }
Optional. Whether or not the information in the document is correct. For example: * Query: "Can I return the package in 2 days once received?" * Suggested document says: "Items must be returned/exchanged within 60 days of the purchase date." * Ground truth: "No return or exchange is allowed." * [document_correctness][google.cloud.dialogflow.v2.AgentAssistantFeedback.document_correctness]: [INCORRECT][google.cloud.dialogflow.v2.AgentAssistantFeedback.DocumentCorrectness.INCORRECT] Generated from protobuf field <code>.google.cloud.dialogflow.v2.AgentAssistantFeedback.DocumentCorrectness document_correctness = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @param int $var @return $this
setDocumentCorrectness
php
googleapis/google-cloud-php
Dialogflow/src/V2/AgentAssistantFeedback.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/AgentAssistantFeedback.php
Apache-2.0
public function getDocumentEfficiency() { return $this->document_efficiency; }
Optional. Whether or not the suggested document is efficient. For example, if the document is poorly written, hard to understand, hard to use or too long to find useful information, [document_efficiency][google.cloud.dialogflow.v2.AgentAssistantFeedback.document_efficiency] is [DocumentEfficiency.INEFFICIENT][google.cloud.dialogflow.v2.AgentAssistantFeedback.DocumentEfficiency.INEFFICIENT]. Generated from protobuf field <code>.google.cloud.dialogflow.v2.AgentAssistantFeedback.DocumentEfficiency document_efficiency = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @return int
getDocumentEfficiency
php
googleapis/google-cloud-php
Dialogflow/src/V2/AgentAssistantFeedback.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/AgentAssistantFeedback.php
Apache-2.0
public function setDocumentEfficiency($var) { GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\AgentAssistantFeedback\DocumentEfficiency::class); $this->document_efficiency = $var; return $this; }
Optional. Whether or not the suggested document is efficient. For example, if the document is poorly written, hard to understand, hard to use or too long to find useful information, [document_efficiency][google.cloud.dialogflow.v2.AgentAssistantFeedback.document_efficiency] is [DocumentEfficiency.INEFFICIENT][google.cloud.dialogflow.v2.AgentAssistantFeedback.DocumentEfficiency.INEFFICIENT]. Generated from protobuf field <code>.google.cloud.dialogflow.v2.AgentAssistantFeedback.DocumentEfficiency document_efficiency = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @param int $var @return $this
setDocumentEfficiency
php
googleapis/google-cloud-php
Dialogflow/src/V2/AgentAssistantFeedback.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/AgentAssistantFeedback.php
Apache-2.0
public function getSummarizationFeedback() { return $this->summarization_feedback; }
Optional. Feedback for conversation summarization. Generated from protobuf field <code>.google.cloud.dialogflow.v2.AgentAssistantFeedback.SummarizationFeedback summarization_feedback = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Cloud\Dialogflow\V2\AgentAssistantFeedback\SummarizationFeedback|null
getSummarizationFeedback
php
googleapis/google-cloud-php
Dialogflow/src/V2/AgentAssistantFeedback.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/AgentAssistantFeedback.php
Apache-2.0
public function setSummarizationFeedback($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\AgentAssistantFeedback\SummarizationFeedback::class); $this->summarization_feedback = $var; return $this; }
Optional. Feedback for conversation summarization. Generated from protobuf field <code>.google.cloud.dialogflow.v2.AgentAssistantFeedback.SummarizationFeedback summarization_feedback = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @param \Google\Cloud\Dialogflow\V2\AgentAssistantFeedback\SummarizationFeedback $var @return $this
setSummarizationFeedback
php
googleapis/google-cloud-php
Dialogflow/src/V2/AgentAssistantFeedback.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/AgentAssistantFeedback.php
Apache-2.0
public function getKnowledgeSearchFeedback() { return $this->knowledge_search_feedback; }
Optional. Feedback for knowledge search. Generated from protobuf field <code>.google.cloud.dialogflow.v2.AgentAssistantFeedback.KnowledgeSearchFeedback knowledge_search_feedback = 5 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Cloud\Dialogflow\V2\AgentAssistantFeedback\KnowledgeSearchFeedback|null
getKnowledgeSearchFeedback
php
googleapis/google-cloud-php
Dialogflow/src/V2/AgentAssistantFeedback.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/AgentAssistantFeedback.php
Apache-2.0
public function setKnowledgeSearchFeedback($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\AgentAssistantFeedback\KnowledgeSearchFeedback::class); $this->knowledge_search_feedback = $var; return $this; }
Optional. Feedback for knowledge search. Generated from protobuf field <code>.google.cloud.dialogflow.v2.AgentAssistantFeedback.KnowledgeSearchFeedback knowledge_search_feedback = 5 [(.google.api.field_behavior) = OPTIONAL];</code> @param \Google\Cloud\Dialogflow\V2\AgentAssistantFeedback\KnowledgeSearchFeedback $var @return $this
setKnowledgeSearchFeedback
php
googleapis/google-cloud-php
Dialogflow/src/V2/AgentAssistantFeedback.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/AgentAssistantFeedback.php
Apache-2.0
public function getKnowledgeAssistFeedback() { return $this->knowledge_assist_feedback; }
Optional. Feedback for knowledge assist. Generated from protobuf field <code>.google.cloud.dialogflow.v2.AgentAssistantFeedback.KnowledgeAssistFeedback knowledge_assist_feedback = 6 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Cloud\Dialogflow\V2\AgentAssistantFeedback\KnowledgeAssistFeedback|null
getKnowledgeAssistFeedback
php
googleapis/google-cloud-php
Dialogflow/src/V2/AgentAssistantFeedback.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/AgentAssistantFeedback.php
Apache-2.0
public function setKnowledgeAssistFeedback($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\AgentAssistantFeedback\KnowledgeAssistFeedback::class); $this->knowledge_assist_feedback = $var; return $this; }
Optional. Feedback for knowledge assist. Generated from protobuf field <code>.google.cloud.dialogflow.v2.AgentAssistantFeedback.KnowledgeAssistFeedback knowledge_assist_feedback = 6 [(.google.api.field_behavior) = OPTIONAL];</code> @param \Google\Cloud\Dialogflow\V2\AgentAssistantFeedback\KnowledgeAssistFeedback $var @return $this
setKnowledgeAssistFeedback
php
googleapis/google-cloud-php
Dialogflow/src/V2/AgentAssistantFeedback.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/AgentAssistantFeedback.php
Apache-2.0
public function getViewQuery() { return $this->view_query; }
Output only. The query that defines the table view. Generated from protobuf field <code>string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getViewQuery
php
googleapis/google-cloud-php
DataCatalog/src/V1/ViewSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/ViewSpec.php
Apache-2.0
public function setViewQuery($var) { GPBUtil::checkString($var, True); $this->view_query = $var; return $this; }
Output only. The query that defines the table view. Generated from protobuf field <code>string view_query = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setViewQuery
php
googleapis/google-cloud-php
DataCatalog/src/V1/ViewSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/ViewSpec.php
Apache-2.0
public function getDataset() { return $this->readOneof(1); }
Migrated Dataset's resource name. Generated from protobuf field <code>string dataset = 1 [(.google.api.resource_reference) = {</code> @return string
getDataset
php
googleapis/google-cloud-php
AiPlatform/src/V1/MigrateResourceResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/MigrateResourceResponse.php
Apache-2.0