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 setPscConnectionId($var)
{
GPBUtil::checkString($var, True);
$this->psc_connection_id = $var;
return $this;
} | Output only. The PSC connection id of the forwarding rule connected to the
service attachment.
Generated from protobuf field <code>string psc_connection_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setPscConnectionId | php | googleapis/google-cloud-php | Memorystore/src/V1/PscAutoConnection.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PscAutoConnection.php | Apache-2.0 |
public function getIpAddress()
{
return $this->ip_address;
} | Output only. The IP allocated on the consumer network for the PSC
forwarding rule.
Generated from protobuf field <code>string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = {</code>
@return string | getIpAddress | php | googleapis/google-cloud-php | Memorystore/src/V1/PscAutoConnection.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PscAutoConnection.php | Apache-2.0 |
public function setIpAddress($var)
{
GPBUtil::checkString($var, True);
$this->ip_address = $var;
return $this;
} | Output only. The IP allocated on the consumer network for the PSC
forwarding rule.
Generated from protobuf field <code>string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = {</code>
@param string $var
@return $this | setIpAddress | php | googleapis/google-cloud-php | Memorystore/src/V1/PscAutoConnection.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PscAutoConnection.php | Apache-2.0 |
public function getProjectId()
{
return $this->project_id;
} | Required. The consumer project_id where PSC connections are established.
This should be the same project_id that the instance is being created in.
Generated from protobuf field <code>string project_id = 4 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getProjectId | php | googleapis/google-cloud-php | Memorystore/src/V1/PscAutoConnection.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PscAutoConnection.php | Apache-2.0 |
public function setProjectId($var)
{
GPBUtil::checkString($var, True);
$this->project_id = $var;
return $this;
} | Required. The consumer project_id where PSC connections are established.
This should be the same project_id that the instance is being created in.
Generated from protobuf field <code>string project_id = 4 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setProjectId | php | googleapis/google-cloud-php | Memorystore/src/V1/PscAutoConnection.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PscAutoConnection.php | Apache-2.0 |
public function getNetwork()
{
return $this->network;
} | Required. The network where the PSC endpoints are created, in the form of
projects/{project_id}/global/networks/{network_id}.
Generated from protobuf field <code>string network = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getNetwork | php | googleapis/google-cloud-php | Memorystore/src/V1/PscAutoConnection.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PscAutoConnection.php | Apache-2.0 |
public function setNetwork($var)
{
GPBUtil::checkString($var, True);
$this->network = $var;
return $this;
} | Required. The network where the PSC endpoints are created, in the form of
projects/{project_id}/global/networks/{network_id}.
Generated from protobuf field <code>string network = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setNetwork | php | googleapis/google-cloud-php | Memorystore/src/V1/PscAutoConnection.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PscAutoConnection.php | Apache-2.0 |
public function getServiceAttachment()
{
return $this->service_attachment;
} | Output only. The service attachment which is the target of the PSC
connection, in the form of
projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
Generated from protobuf field <code>string service_attachment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {</code>
@return string | getServiceAttachment | php | googleapis/google-cloud-php | Memorystore/src/V1/PscAutoConnection.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PscAutoConnection.php | Apache-2.0 |
public function setServiceAttachment($var)
{
GPBUtil::checkString($var, True);
$this->service_attachment = $var;
return $this;
} | Output only. The service attachment which is the target of the PSC
connection, in the form of
projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
Generated from protobuf field <code>string service_attachment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setServiceAttachment | php | googleapis/google-cloud-php | Memorystore/src/V1/PscAutoConnection.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PscAutoConnection.php | Apache-2.0 |
public function getPscConnectionStatus()
{
return $this->psc_connection_status;
} | Output only. The status of the PSC connection: whether a connection exists
and ACTIVE or it no longer exists. Please note that this value is updated
periodically. Please use Private Service Connect APIs for the latest
status.
Generated from protobuf field <code>.google.cloud.memorystore.v1.PscConnectionStatus psc_connection_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return int | getPscConnectionStatus | php | googleapis/google-cloud-php | Memorystore/src/V1/PscAutoConnection.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PscAutoConnection.php | Apache-2.0 |
public function setPscConnectionStatus($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Memorystore\V1\PscConnectionStatus::class);
$this->psc_connection_status = $var;
return $this;
} | Output only. The status of the PSC connection: whether a connection exists
and ACTIVE or it no longer exists. Please note that this value is updated
periodically. Please use Private Service Connect APIs for the latest
status.
Generated from protobuf field <code>.google.cloud.memorystore.v1.PscConnectionStatus psc_connection_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param int $var
@return $this | setPscConnectionStatus | php | googleapis/google-cloud-php | Memorystore/src/V1/PscAutoConnection.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PscAutoConnection.php | Apache-2.0 |
public function getConnectionType()
{
return $this->connection_type;
} | Output only. Type of the PSC connection.
Generated from protobuf field <code>.google.cloud.memorystore.v1.ConnectionType connection_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return int | getConnectionType | php | googleapis/google-cloud-php | Memorystore/src/V1/PscAutoConnection.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PscAutoConnection.php | Apache-2.0 |
public function setConnectionType($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Memorystore\V1\ConnectionType::class);
$this->connection_type = $var;
return $this;
} | Output only. Type of the PSC connection.
Generated from protobuf field <code>.google.cloud.memorystore.v1.ConnectionType connection_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param int $var
@return $this | setConnectionType | php | googleapis/google-cloud-php | Memorystore/src/V1/PscAutoConnection.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PscAutoConnection.php | Apache-2.0 |
public function getAllowedLocations()
{
return $this->allowed_locations;
} | A list of allowed location names represented by internal URLs.
Each location can be a region or a zone.
Only one region or multiple zones in one region is supported now.
For example,
["regions/us-central1"] allow VMs in any zones in region us-central1.
["zones/us-central1-a", "zones/us-central1-c"] only allow VMs
in zones us-central1-a and us-central1-c.
Mixing locations from different regions would cause errors.
For example,
["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b",
"zones/us-west1-a"] contains locations from two distinct regions:
us-central1 and us-west1. This combination will trigger an error.
Generated from protobuf field <code>repeated string allowed_locations = 1;</code>
@return \Google\Protobuf\Internal\RepeatedField | getAllowedLocations | php | googleapis/google-cloud-php | Batch/src/V1/AllocationPolicy/LocationPolicy.php | https://github.com/googleapis/google-cloud-php/blob/master/Batch/src/V1/AllocationPolicy/LocationPolicy.php | Apache-2.0 |
public function setAllowedLocations($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->allowed_locations = $arr;
return $this;
} | A list of allowed location names represented by internal URLs.
Each location can be a region or a zone.
Only one region or multiple zones in one region is supported now.
For example,
["regions/us-central1"] allow VMs in any zones in region us-central1.
["zones/us-central1-a", "zones/us-central1-c"] only allow VMs
in zones us-central1-a and us-central1-c.
Mixing locations from different regions would cause errors.
For example,
["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b",
"zones/us-west1-a"] contains locations from two distinct regions:
us-central1 and us-west1. This combination will trigger an error.
Generated from protobuf field <code>repeated string allowed_locations = 1;</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setAllowedLocations | php | googleapis/google-cloud-php | Batch/src/V1/AllocationPolicy/LocationPolicy.php | https://github.com/googleapis/google-cloud-php/blob/master/Batch/src/V1/AllocationPolicy/LocationPolicy.php | Apache-2.0 |
public function getParent()
{
return $this->parent;
} | Required. Parent resource of the Instance, of the form: `projects/*/locations/*`
Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getParent | php | googleapis/google-cloud-php | ApigeeRegistry/src/V1/CreateInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ApigeeRegistry/src/V1/CreateInstanceRequest.php | Apache-2.0 |
public function setParent($var)
{
GPBUtil::checkString($var, True);
$this->parent = $var;
return $this;
} | Required. Parent resource of the Instance, of the form: `projects/*/locations/*`
Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setParent | php | googleapis/google-cloud-php | ApigeeRegistry/src/V1/CreateInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ApigeeRegistry/src/V1/CreateInstanceRequest.php | Apache-2.0 |
public function getInstanceId()
{
return $this->instance_id;
} | Required. Identifier to assign to the Instance. Must be unique within scope of the
parent resource.
Generated from protobuf field <code>string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getInstanceId | php | googleapis/google-cloud-php | ApigeeRegistry/src/V1/CreateInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ApigeeRegistry/src/V1/CreateInstanceRequest.php | Apache-2.0 |
public function setInstanceId($var)
{
GPBUtil::checkString($var, True);
$this->instance_id = $var;
return $this;
} | Required. Identifier to assign to the Instance. Must be unique within scope of the
parent resource.
Generated from protobuf field <code>string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setInstanceId | php | googleapis/google-cloud-php | ApigeeRegistry/src/V1/CreateInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ApigeeRegistry/src/V1/CreateInstanceRequest.php | Apache-2.0 |
public function getInstance()
{
return $this->instance;
} | Required. The Instance.
Generated from protobuf field <code>.google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\ApigeeRegistry\V1\Instance|null | getInstance | php | googleapis/google-cloud-php | ApigeeRegistry/src/V1/CreateInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ApigeeRegistry/src/V1/CreateInstanceRequest.php | Apache-2.0 |
public function setInstance($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\ApigeeRegistry\V1\Instance::class);
$this->instance = $var;
return $this;
} | Required. The Instance.
Generated from protobuf field <code>.google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\ApigeeRegistry\V1\Instance $var
@return $this | setInstance | php | googleapis/google-cloud-php | ApigeeRegistry/src/V1/CreateInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ApigeeRegistry/src/V1/CreateInstanceRequest.php | Apache-2.0 |
public function getUpdateMask()
{
return $this->update_mask;
} | Optional. Field mask is used to specify the fields to be overwritten in the
Backup resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
Generated from protobuf field <code>.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Protobuf\FieldMask|null | getUpdateMask | php | googleapis/google-cloud-php | AlloyDb/src/V1/UpdateBackupRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/UpdateBackupRequest.php | Apache-2.0 |
public function setUpdateMask($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
$this->update_mask = $var;
return $this;
} | Optional. Field mask is used to specify the fields to be overwritten in the
Backup resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
Generated from protobuf field <code>.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Protobuf\FieldMask $var
@return $this | setUpdateMask | php | googleapis/google-cloud-php | AlloyDb/src/V1/UpdateBackupRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/UpdateBackupRequest.php | Apache-2.0 |
public function getBackup()
{
return $this->backup;
} | Required. The resource being updated
Generated from protobuf field <code>.google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\AlloyDb\V1\Backup|null | getBackup | php | googleapis/google-cloud-php | AlloyDb/src/V1/UpdateBackupRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/UpdateBackupRequest.php | Apache-2.0 |
public function setBackup($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\AlloyDb\V1\Backup::class);
$this->backup = $var;
return $this;
} | Required. The resource being updated
Generated from protobuf field <code>.google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\AlloyDb\V1\Backup $var
@return $this | setBackup | php | googleapis/google-cloud-php | AlloyDb/src/V1/UpdateBackupRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/UpdateBackupRequest.php | Apache-2.0 |
public function getRequestId()
{
return $this->request_id;
} | Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server ignores the
request if it has already been completed. The server guarantees that for at
least 60 minutes since the first request.
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 the original operation with the same request ID
was received, and if so, ignores the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
Generated from protobuf field <code>string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getRequestId | php | googleapis/google-cloud-php | AlloyDb/src/V1/UpdateBackupRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/UpdateBackupRequest.php | Apache-2.0 |
public function setRequestId($var)
{
GPBUtil::checkString($var, True);
$this->request_id = $var;
return $this;
} | Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server ignores the
request if it has already been completed. The server guarantees that for at
least 60 minutes since the first request.
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 the original operation with the same request ID
was received, and if so, ignores the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
Generated from protobuf field <code>string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setRequestId | php | googleapis/google-cloud-php | AlloyDb/src/V1/UpdateBackupRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/UpdateBackupRequest.php | Apache-2.0 |
public function getValidateOnly()
{
return $this->validate_only;
} | Optional. If set, the backend validates the request, but doesn't actually
execute it.
Generated from protobuf field <code>bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@return bool | getValidateOnly | php | googleapis/google-cloud-php | AlloyDb/src/V1/UpdateBackupRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/UpdateBackupRequest.php | Apache-2.0 |
public function setValidateOnly($var)
{
GPBUtil::checkBool($var);
$this->validate_only = $var;
return $this;
} | Optional. If set, the backend validates the request, but doesn't actually
execute it.
Generated from protobuf field <code>bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@param bool $var
@return $this | setValidateOnly | php | googleapis/google-cloud-php | AlloyDb/src/V1/UpdateBackupRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/UpdateBackupRequest.php | Apache-2.0 |
public function getAllowMissing()
{
return $this->allow_missing;
} | Optional. If set to true, update succeeds even if instance is not found. In
that case, a new backup is created and `update_mask` is ignored.
Generated from protobuf field <code>bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
@return bool | getAllowMissing | php | googleapis/google-cloud-php | AlloyDb/src/V1/UpdateBackupRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/UpdateBackupRequest.php | Apache-2.0 |
public function setAllowMissing($var)
{
GPBUtil::checkBool($var);
$this->allow_missing = $var;
return $this;
} | Optional. If set to true, update succeeds even if instance is not found. In
that case, a new backup is created and `update_mask` is ignored.
Generated from protobuf field <code>bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
@param bool $var
@return $this | setAllowMissing | php | googleapis/google-cloud-php | AlloyDb/src/V1/UpdateBackupRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/UpdateBackupRequest.php | Apache-2.0 |
public function getNetworkPeering()
{
return $this->network_peering;
} | Required. Network peering description.
Generated from protobuf field <code>.google.cloud.vmwareengine.v1.NetworkPeering network_peering = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\VmwareEngine\V1\NetworkPeering|null | getNetworkPeering | php | googleapis/google-cloud-php | VmwareEngine/src/V1/UpdateNetworkPeeringRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VmwareEngine/src/V1/UpdateNetworkPeeringRequest.php | Apache-2.0 |
public function setNetworkPeering($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\VmwareEngine\V1\NetworkPeering::class);
$this->network_peering = $var;
return $this;
} | Required. Network peering description.
Generated from protobuf field <code>.google.cloud.vmwareengine.v1.NetworkPeering network_peering = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\VmwareEngine\V1\NetworkPeering $var
@return $this | setNetworkPeering | php | googleapis/google-cloud-php | VmwareEngine/src/V1/UpdateNetworkPeeringRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VmwareEngine/src/V1/UpdateNetworkPeeringRequest.php | Apache-2.0 |
public function getUpdateMask()
{
return $this->update_mask;
} | Required. Field mask is used to specify the fields to be overwritten in the
`NetworkPeering` resource by the update.
The fields specified in the `update_mask` are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
Generated from protobuf field <code>.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Protobuf\FieldMask|null | getUpdateMask | php | googleapis/google-cloud-php | VmwareEngine/src/V1/UpdateNetworkPeeringRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VmwareEngine/src/V1/UpdateNetworkPeeringRequest.php | Apache-2.0 |
public function setUpdateMask($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
$this->update_mask = $var;
return $this;
} | Required. Field mask is used to specify the fields to be overwritten in the
`NetworkPeering` resource by the update.
The fields specified in the `update_mask` are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
Generated from protobuf field <code>.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Protobuf\FieldMask $var
@return $this | setUpdateMask | php | googleapis/google-cloud-php | VmwareEngine/src/V1/UpdateNetworkPeeringRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VmwareEngine/src/V1/UpdateNetworkPeeringRequest.php | Apache-2.0 |
public function getRequestId()
{
return $this->request_id;
} | Optional. A request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know to ignore
the request if it has already been completed. The server guarantees that a
request doesn't result in creation of duplicate commitments for at least 60
minutes.
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>string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getRequestId | php | googleapis/google-cloud-php | VmwareEngine/src/V1/UpdateNetworkPeeringRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VmwareEngine/src/V1/UpdateNetworkPeeringRequest.php | Apache-2.0 |
public function setRequestId($var)
{
GPBUtil::checkString($var, True);
$this->request_id = $var;
return $this;
} | Optional. A request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know to ignore
the request if it has already been completed. The server guarantees that a
request doesn't result in creation of duplicate commitments for at least 60
minutes.
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>string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setRequestId | php | googleapis/google-cloud-php | VmwareEngine/src/V1/UpdateNetworkPeeringRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VmwareEngine/src/V1/UpdateNetworkPeeringRequest.php | Apache-2.0 |
public function getParent()
{
return $this->parent;
} | Required. The queue name. For example:
`projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getParent | php | googleapis/google-cloud-php | Tasks/src/V2/ListTasksRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Tasks/src/V2/ListTasksRequest.php | Apache-2.0 |
public function setParent($var)
{
GPBUtil::checkString($var, True);
$this->parent = $var;
return $this;
} | Required. The queue name. For example:
`projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setParent | php | googleapis/google-cloud-php | Tasks/src/V2/ListTasksRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Tasks/src/V2/ListTasksRequest.php | Apache-2.0 |
public function getPageSize()
{
return $this->page_size;
} | Maximum page size.
Fewer tasks than requested might be returned, even if more tasks exist; use
[next_page_token][google.cloud.tasks.v2.ListTasksResponse.next_page_token]
in the response to determine if more tasks exist.
The maximum page size is 1000. If unspecified, the page size will be the
maximum.
Generated from protobuf field <code>int32 page_size = 3;</code>
@return int | getPageSize | php | googleapis/google-cloud-php | Tasks/src/V2/ListTasksRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Tasks/src/V2/ListTasksRequest.php | Apache-2.0 |
public function setPageSize($var)
{
GPBUtil::checkInt32($var);
$this->page_size = $var;
return $this;
} | Maximum page size.
Fewer tasks than requested might be returned, even if more tasks exist; use
[next_page_token][google.cloud.tasks.v2.ListTasksResponse.next_page_token]
in the response to determine if more tasks exist.
The maximum page size is 1000. If unspecified, the page size will be the
maximum.
Generated from protobuf field <code>int32 page_size = 3;</code>
@param int $var
@return $this | setPageSize | php | googleapis/google-cloud-php | Tasks/src/V2/ListTasksRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Tasks/src/V2/ListTasksRequest.php | Apache-2.0 |
public function getPageToken()
{
return $this->page_token;
} | A token identifying the page of results to return.
To request the first page results, page_token must be empty. To
request the next page of results, page_token must be the value of
[next_page_token][google.cloud.tasks.v2.ListTasksResponse.next_page_token]
returned from the previous call to
[ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks] method.
The page token is valid for only 2 hours.
Generated from protobuf field <code>string page_token = 4;</code>
@return string | getPageToken | php | googleapis/google-cloud-php | Tasks/src/V2/ListTasksRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Tasks/src/V2/ListTasksRequest.php | Apache-2.0 |
public function setPageToken($var)
{
GPBUtil::checkString($var, True);
$this->page_token = $var;
return $this;
} | A token identifying the page of results to return.
To request the first page results, page_token must be empty. To
request the next page of results, page_token must be the value of
[next_page_token][google.cloud.tasks.v2.ListTasksResponse.next_page_token]
returned from the previous call to
[ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks] method.
The page token is valid for only 2 hours.
Generated from protobuf field <code>string page_token = 4;</code>
@param string $var
@return $this | setPageToken | php | googleapis/google-cloud-php | Tasks/src/V2/ListTasksRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Tasks/src/V2/ListTasksRequest.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. Name of the `Target`. Format must be
`projects/{project_id}/locations/{location_name}/targets/{target_name}`.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getName | php | googleapis/google-cloud-php | Deploy/src/V1/GetTargetRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/GetTargetRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. Name of the `Target`. Format must be
`projects/{project_id}/locations/{location_name}/targets/{target_name}`.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | Deploy/src/V1/GetTargetRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/GetTargetRequest.php | Apache-2.0 |
public function getParent()
{
return $this->parent;
} | Required. The project, location and certificate map from which the
certificate map entries should be listed, specified in the format
`projects/*/locations/*/certificateMaps/*`.
Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getParent | php | googleapis/google-cloud-php | CertificateManager/src/V1/ListCertificateMapEntriesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/CertificateManager/src/V1/ListCertificateMapEntriesRequest.php | Apache-2.0 |
public function setParent($var)
{
GPBUtil::checkString($var, True);
$this->parent = $var;
return $this;
} | Required. The project, location and certificate map from which the
certificate map entries should be listed, specified in the format
`projects/*/locations/*/certificateMaps/*`.
Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setParent | php | googleapis/google-cloud-php | CertificateManager/src/V1/ListCertificateMapEntriesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/CertificateManager/src/V1/ListCertificateMapEntriesRequest.php | Apache-2.0 |
public function getPageSize()
{
return $this->page_size;
} | Maximum number of certificate map entries to return. The service may return
fewer than this value.
If unspecified, at most 50 certificate map entries will be returned.
The maximum value is 1000; values above 1000 will be coerced to 1000.
Generated from protobuf field <code>int32 page_size = 2;</code>
@return int | getPageSize | php | googleapis/google-cloud-php | CertificateManager/src/V1/ListCertificateMapEntriesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/CertificateManager/src/V1/ListCertificateMapEntriesRequest.php | Apache-2.0 |
public function setPageSize($var)
{
GPBUtil::checkInt32($var);
$this->page_size = $var;
return $this;
} | Maximum number of certificate map entries to return. The service may return
fewer than this value.
If unspecified, at most 50 certificate map entries will be returned.
The maximum value is 1000; values above 1000 will be coerced to 1000.
Generated from protobuf field <code>int32 page_size = 2;</code>
@param int $var
@return $this | setPageSize | php | googleapis/google-cloud-php | CertificateManager/src/V1/ListCertificateMapEntriesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/CertificateManager/src/V1/ListCertificateMapEntriesRequest.php | Apache-2.0 |
public function getPageToken()
{
return $this->page_token;
} | The value returned by the last `ListCertificateMapEntriesResponse`.
Indicates that this is a continuation of a prior
`ListCertificateMapEntries` call, and that the system should return the
next page of data.
Generated from protobuf field <code>string page_token = 3;</code>
@return string | getPageToken | php | googleapis/google-cloud-php | CertificateManager/src/V1/ListCertificateMapEntriesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/CertificateManager/src/V1/ListCertificateMapEntriesRequest.php | Apache-2.0 |
public function setPageToken($var)
{
GPBUtil::checkString($var, True);
$this->page_token = $var;
return $this;
} | The value returned by the last `ListCertificateMapEntriesResponse`.
Indicates that this is a continuation of a prior
`ListCertificateMapEntries` call, and that the system should return the
next page of data.
Generated from protobuf field <code>string page_token = 3;</code>
@param string $var
@return $this | setPageToken | php | googleapis/google-cloud-php | CertificateManager/src/V1/ListCertificateMapEntriesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/CertificateManager/src/V1/ListCertificateMapEntriesRequest.php | Apache-2.0 |
public function getFilter()
{
return $this->filter;
} | Filter expression to restrict the returned Certificate Map Entries.
Generated from protobuf field <code>string filter = 4;</code>
@return string | getFilter | php | googleapis/google-cloud-php | CertificateManager/src/V1/ListCertificateMapEntriesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/CertificateManager/src/V1/ListCertificateMapEntriesRequest.php | Apache-2.0 |
public function setFilter($var)
{
GPBUtil::checkString($var, True);
$this->filter = $var;
return $this;
} | Filter expression to restrict the returned Certificate Map Entries.
Generated from protobuf field <code>string filter = 4;</code>
@param string $var
@return $this | setFilter | php | googleapis/google-cloud-php | CertificateManager/src/V1/ListCertificateMapEntriesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/CertificateManager/src/V1/ListCertificateMapEntriesRequest.php | Apache-2.0 |
public function getOrderBy()
{
return $this->order_by;
} | A list of Certificate Map Entry field names used to specify
the order of the returned results. The default sorting order is ascending.
To specify descending order for a field, add a suffix `" desc"`.
Generated from protobuf field <code>string order_by = 5;</code>
@return string | getOrderBy | php | googleapis/google-cloud-php | CertificateManager/src/V1/ListCertificateMapEntriesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/CertificateManager/src/V1/ListCertificateMapEntriesRequest.php | Apache-2.0 |
public function setOrderBy($var)
{
GPBUtil::checkString($var, True);
$this->order_by = $var;
return $this;
} | A list of Certificate Map Entry field names used to specify
the order of the returned results. The default sorting order is ascending.
To specify descending order for a field, add a suffix `" desc"`.
Generated from protobuf field <code>string order_by = 5;</code>
@param string $var
@return $this | setOrderBy | php | googleapis/google-cloud-php | CertificateManager/src/V1/ListCertificateMapEntriesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/CertificateManager/src/V1/ListCertificateMapEntriesRequest.php | Apache-2.0 |
public function getCommonMetadata()
{
return $this->common_metadata;
} | The basic metadata of the long-running operation.
Generated from protobuf field <code>.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1;</code>
@return \Google\Cloud\DocumentAI\V1\CommonOperationMetadata|null | getCommonMetadata | php | googleapis/google-cloud-php | DocumentAi/src/V1/DeleteProcessorVersionMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/DocumentAi/src/V1/DeleteProcessorVersionMetadata.php | Apache-2.0 |
public function setCommonMetadata($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\DocumentAI\V1\CommonOperationMetadata::class);
$this->common_metadata = $var;
return $this;
} | The basic metadata of the long-running operation.
Generated from protobuf field <code>.google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1;</code>
@param \Google\Cloud\DocumentAI\V1\CommonOperationMetadata $var
@return $this | setCommonMetadata | php | googleapis/google-cloud-php | DocumentAi/src/V1/DeleteProcessorVersionMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/DocumentAi/src/V1/DeleteProcessorVersionMetadata.php | Apache-2.0 |
public function getActive()
{
return $this->active;
} | Output only. Queries over sessions to mark whether the environment is
currently active or not
Generated from protobuf field <code>bool active = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return bool | getActive | php | googleapis/google-cloud-php | Dataplex/src/V1/Environment/SessionStatus.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/Environment/SessionStatus.php | Apache-2.0 |
public function setActive($var)
{
GPBUtil::checkBool($var);
$this->active = $var;
return $this;
} | Output only. Queries over sessions to mark whether the environment is
currently active or not
Generated from protobuf field <code>bool active = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param bool $var
@return $this | setActive | php | googleapis/google-cloud-php | Dataplex/src/V1/Environment/SessionStatus.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/Environment/SessionStatus.php | Apache-2.0 |
public function getBigqueryAction()
{
return $this->readOneof(6);
} | Output only. The workflow action's bigquery action details.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Cloud\Dataform\V1beta1\WorkflowInvocationAction\BigQueryAction|null | getBigqueryAction | php | googleapis/google-cloud-php | Dataform/src/V1beta1/WorkflowInvocationAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/WorkflowInvocationAction.php | Apache-2.0 |
public function setBigqueryAction($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Dataform\V1beta1\WorkflowInvocationAction\BigQueryAction::class);
$this->writeOneof(6, $var);
return $this;
} | Output only. The workflow action's bigquery action details.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param \Google\Cloud\Dataform\V1beta1\WorkflowInvocationAction\BigQueryAction $var
@return $this | setBigqueryAction | php | googleapis/google-cloud-php | Dataform/src/V1beta1/WorkflowInvocationAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/WorkflowInvocationAction.php | Apache-2.0 |
public function getNotebookAction()
{
return $this->readOneof(8);
} | Output only. The workflow action's notebook action details.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.WorkflowInvocationAction.NotebookAction notebook_action = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Cloud\Dataform\V1beta1\WorkflowInvocationAction\NotebookAction|null | getNotebookAction | php | googleapis/google-cloud-php | Dataform/src/V1beta1/WorkflowInvocationAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/WorkflowInvocationAction.php | Apache-2.0 |
public function setNotebookAction($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Dataform\V1beta1\WorkflowInvocationAction\NotebookAction::class);
$this->writeOneof(8, $var);
return $this;
} | Output only. The workflow action's notebook action details.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.WorkflowInvocationAction.NotebookAction notebook_action = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param \Google\Cloud\Dataform\V1beta1\WorkflowInvocationAction\NotebookAction $var
@return $this | setNotebookAction | php | googleapis/google-cloud-php | Dataform/src/V1beta1/WorkflowInvocationAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/WorkflowInvocationAction.php | Apache-2.0 |
public function getTarget()
{
return $this->target;
} | Output only. This action's identifier. Unique within the workflow
invocation.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Cloud\Dataform\V1beta1\Target|null | getTarget | php | googleapis/google-cloud-php | Dataform/src/V1beta1/WorkflowInvocationAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/WorkflowInvocationAction.php | Apache-2.0 |
public function setTarget($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Dataform\V1beta1\Target::class);
$this->target = $var;
return $this;
} | Output only. This action's identifier. Unique within the workflow
invocation.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param \Google\Cloud\Dataform\V1beta1\Target $var
@return $this | setTarget | php | googleapis/google-cloud-php | Dataform/src/V1beta1/WorkflowInvocationAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/WorkflowInvocationAction.php | Apache-2.0 |
public function getCanonicalTarget()
{
return $this->canonical_target;
} | Output only. The action's identifier if the project had been compiled
without any overrides configured. Unique within the compilation result.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Cloud\Dataform\V1beta1\Target|null | getCanonicalTarget | php | googleapis/google-cloud-php | Dataform/src/V1beta1/WorkflowInvocationAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/WorkflowInvocationAction.php | Apache-2.0 |
public function setCanonicalTarget($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Dataform\V1beta1\Target::class);
$this->canonical_target = $var;
return $this;
} | Output only. The action's identifier if the project had been compiled
without any overrides configured. Unique within the compilation result.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param \Google\Cloud\Dataform\V1beta1\Target $var
@return $this | setCanonicalTarget | php | googleapis/google-cloud-php | Dataform/src/V1beta1/WorkflowInvocationAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/WorkflowInvocationAction.php | Apache-2.0 |
public function getState()
{
return $this->state;
} | Output only. This action's current state.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return int | getState | php | googleapis/google-cloud-php | Dataform/src/V1beta1/WorkflowInvocationAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/WorkflowInvocationAction.php | Apache-2.0 |
public function setState($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Dataform\V1beta1\WorkflowInvocationAction\State::class);
$this->state = $var;
return $this;
} | Output only. This action's current state.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param int $var
@return $this | setState | php | googleapis/google-cloud-php | Dataform/src/V1beta1/WorkflowInvocationAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/WorkflowInvocationAction.php | Apache-2.0 |
public function getFailureReason()
{
return $this->failure_reason;
} | Output only. If and only if action's state is FAILED a failure reason is
set.
Generated from protobuf field <code>string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getFailureReason | php | googleapis/google-cloud-php | Dataform/src/V1beta1/WorkflowInvocationAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/WorkflowInvocationAction.php | Apache-2.0 |
public function setFailureReason($var)
{
GPBUtil::checkString($var, True);
$this->failure_reason = $var;
return $this;
} | Output only. If and only if action's state is FAILED a failure reason is
set.
Generated from protobuf field <code>string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setFailureReason | php | googleapis/google-cloud-php | Dataform/src/V1beta1/WorkflowInvocationAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/WorkflowInvocationAction.php | Apache-2.0 |
public function getInvocationTiming()
{
return $this->invocation_timing;
} | Output only. This action's timing details.
`start_time` will be set if the action is in [RUNNING, SUCCEEDED,
CANCELLED, FAILED] state.
`end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED]
state.
Generated from protobuf field <code>.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Type\Interval|null | getInvocationTiming | php | googleapis/google-cloud-php | Dataform/src/V1beta1/WorkflowInvocationAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/WorkflowInvocationAction.php | Apache-2.0 |
public function setInvocationTiming($var)
{
GPBUtil::checkMessage($var, \Google\Type\Interval::class);
$this->invocation_timing = $var;
return $this;
} | Output only. This action's timing details.
`start_time` will be set if the action is in [RUNNING, SUCCEEDED,
CANCELLED, FAILED] state.
`end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED]
state.
Generated from protobuf field <code>.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param \Google\Type\Interval $var
@return $this | setInvocationTiming | php | googleapis/google-cloud-php | Dataform/src/V1beta1/WorkflowInvocationAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/WorkflowInvocationAction.php | Apache-2.0 |
public function getInternalMetadata()
{
return isset($this->internal_metadata) ? $this->internal_metadata : '';
} | Output only. All the metadata information that is used internally to serve
the resource. For example: timestamps, flags, status fields, etc. The
format of this field is a JSON string.
Generated from protobuf field <code>optional string internal_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getInternalMetadata | php | googleapis/google-cloud-php | Dataform/src/V1beta1/WorkflowInvocationAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/WorkflowInvocationAction.php | Apache-2.0 |
public function setInternalMetadata($var)
{
GPBUtil::checkString($var, True);
$this->internal_metadata = $var;
return $this;
} | Output only. All the metadata information that is used internally to serve
the resource. For example: timestamps, flags, status fields, etc. The
format of this field is a JSON string.
Generated from protobuf field <code>optional string internal_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setInternalMetadata | php | googleapis/google-cloud-php | Dataform/src/V1beta1/WorkflowInvocationAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/WorkflowInvocationAction.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. The workspace's name.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getName | php | googleapis/google-cloud-php | Dataform/src/V1beta1/CommitWorkspaceChangesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CommitWorkspaceChangesRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. The workspace's name.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | Dataform/src/V1beta1/CommitWorkspaceChangesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CommitWorkspaceChangesRequest.php | Apache-2.0 |
public function getAuthor()
{
return $this->author;
} | Required. The commit's author.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\Dataform\V1beta1\CommitAuthor|null | getAuthor | php | googleapis/google-cloud-php | Dataform/src/V1beta1/CommitWorkspaceChangesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CommitWorkspaceChangesRequest.php | Apache-2.0 |
public function setAuthor($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Dataform\V1beta1\CommitAuthor::class);
$this->author = $var;
return $this;
} | Required. The commit's author.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\Dataform\V1beta1\CommitAuthor $var
@return $this | setAuthor | php | googleapis/google-cloud-php | Dataform/src/V1beta1/CommitWorkspaceChangesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CommitWorkspaceChangesRequest.php | Apache-2.0 |
public function getCommitMessage()
{
return $this->commit_message;
} | Optional. The commit's message.
Generated from protobuf field <code>string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getCommitMessage | php | googleapis/google-cloud-php | Dataform/src/V1beta1/CommitWorkspaceChangesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CommitWorkspaceChangesRequest.php | Apache-2.0 |
public function setCommitMessage($var)
{
GPBUtil::checkString($var, True);
$this->commit_message = $var;
return $this;
} | Optional. The commit's message.
Generated from protobuf field <code>string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setCommitMessage | php | googleapis/google-cloud-php | Dataform/src/V1beta1/CommitWorkspaceChangesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CommitWorkspaceChangesRequest.php | Apache-2.0 |
public function getPaths()
{
return $this->paths;
} | Optional. Full file paths to commit including filename, rooted at workspace
root. If left empty, all files will be committed.
Generated from protobuf field <code>repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Protobuf\Internal\RepeatedField | getPaths | php | googleapis/google-cloud-php | Dataform/src/V1beta1/CommitWorkspaceChangesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CommitWorkspaceChangesRequest.php | Apache-2.0 |
public function setPaths($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->paths = $arr;
return $this;
} | Optional. Full file paths to commit including filename, rooted at workspace
root. If left empty, all files will be committed.
Generated from protobuf field <code>repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setPaths | php | googleapis/google-cloud-php | Dataform/src/V1beta1/CommitWorkspaceChangesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CommitWorkspaceChangesRequest.php | Apache-2.0 |
public function getIpCidrRange()
{
return isset($this->ip_cidr_range) ? $this->ip_cidr_range : '';
} | The IP (in CIDR format or netmask) of internal addresses that are legal on this Subnetwork. This range should be disjoint from other subnetworks within this network. This range can only be larger than (i.e. a superset of) the range previously defined before the update.
Generated from protobuf field <code>optional string ip_cidr_range = 98117322;</code>
@return string | getIpCidrRange | php | googleapis/google-cloud-php | Compute/src/V1/SubnetworksExpandIpCidrRangeRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SubnetworksExpandIpCidrRangeRequest.php | Apache-2.0 |
public function setIpCidrRange($var)
{
GPBUtil::checkString($var, True);
$this->ip_cidr_range = $var;
return $this;
} | The IP (in CIDR format or netmask) of internal addresses that are legal on this Subnetwork. This range should be disjoint from other subnetworks within this network. This range can only be larger than (i.e. a superset of) the range previously defined before the update.
Generated from protobuf field <code>optional string ip_cidr_range = 98117322;</code>
@param string $var
@return $this | setIpCidrRange | php | googleapis/google-cloud-php | Compute/src/V1/SubnetworksExpandIpCidrRangeRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SubnetworksExpandIpCidrRangeRequest.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Immutable. Fully qualified name
`projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*`
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = IMMUTABLE];</code>
@return string | getName | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Session.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Session.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Immutable. Fully qualified name
`projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*`
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = IMMUTABLE];</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Session.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Session.php | Apache-2.0 |
public function getDisplayName()
{
return $this->display_name;
} | Optional. The display name of the session.
This field is used to identify the session in the UI.
By default, the display name is the first turn query text in the session.
Generated from protobuf field <code>string display_name = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getDisplayName | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Session.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Session.php | Apache-2.0 |
public function setDisplayName($var)
{
GPBUtil::checkString($var, True);
$this->display_name = $var;
return $this;
} | Optional. The display name of the session.
This field is used to identify the session in the UI.
By default, the display name is the first turn query text in the session.
Generated from protobuf field <code>string display_name = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setDisplayName | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Session.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Session.php | Apache-2.0 |
public function getState()
{
return $this->state;
} | The state of the session.
Generated from protobuf field <code>.google.cloud.discoveryengine.v1.Session.State state = 2;</code>
@return int | getState | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Session.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Session.php | Apache-2.0 |
public function setState($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\DiscoveryEngine\V1\Session\State::class);
$this->state = $var;
return $this;
} | The state of the session.
Generated from protobuf field <code>.google.cloud.discoveryengine.v1.Session.State state = 2;</code>
@param int $var
@return $this | setState | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Session.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Session.php | Apache-2.0 |
public function getUserPseudoId()
{
return $this->user_pseudo_id;
} | A unique identifier for tracking users.
Generated from protobuf field <code>string user_pseudo_id = 3;</code>
@return string | getUserPseudoId | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Session.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Session.php | Apache-2.0 |
public function setUserPseudoId($var)
{
GPBUtil::checkString($var, True);
$this->user_pseudo_id = $var;
return $this;
} | A unique identifier for tracking users.
Generated from protobuf field <code>string user_pseudo_id = 3;</code>
@param string $var
@return $this | setUserPseudoId | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Session.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Session.php | Apache-2.0 |
public function getTurns()
{
return $this->turns;
} | Turns.
Generated from protobuf field <code>repeated .google.cloud.discoveryengine.v1.Session.Turn turns = 4;</code>
@return \Google\Protobuf\Internal\RepeatedField | getTurns | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Session.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Session.php | Apache-2.0 |
public function setTurns($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\DiscoveryEngine\V1\Session\Turn::class);
$this->turns = $arr;
return $this;
} | Turns.
Generated from protobuf field <code>repeated .google.cloud.discoveryengine.v1.Session.Turn turns = 4;</code>
@param array<\Google\Cloud\DiscoveryEngine\V1\Session\Turn>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setTurns | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Session.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Session.php | Apache-2.0 |
public function getStartTime()
{
return $this->start_time;
} | Output only. The time the session started.
Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Protobuf\Timestamp|null | getStartTime | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Session.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Session.php | Apache-2.0 |
public function setStartTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->start_time = $var;
return $this;
} | Output only. The time the session started.
Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setStartTime | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Session.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Session.php | Apache-2.0 |
public function getEndTime()
{
return $this->end_time;
} | Output only. The time the session finished.
Generated from protobuf field <code>.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Protobuf\Timestamp|null | getEndTime | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Session.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Session.php | Apache-2.0 |
public function setEndTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->end_time = $var;
return $this;
} | Output only. The time the session finished.
Generated from protobuf field <code>.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setEndTime | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Session.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Session.php | Apache-2.0 |
public function getIsPinned()
{
return $this->is_pinned;
} | Optional. Whether the session is pinned, pinned session will be displayed
on the top of the session list.
Generated from protobuf field <code>bool is_pinned = 8 [(.google.api.field_behavior) = OPTIONAL];</code>
@return bool | getIsPinned | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Session.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Session.php | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.