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 setVmFamily($var)
{
GPBUtil::checkString($var, True);
$this->vm_family = $var;
return $this;
} | The VM family that all instances scheduled against this reservation must belong to.
Check the VmFamily enum for the list of possible values.
Generated from protobuf field <code>optional string vm_family = 125017580;</code>
@param string $var
@return $this | setVmFamily | php | googleapis/google-cloud-php | Compute/src/V1/AllocationAggregateReservation.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AllocationAggregateReservation.php | Apache-2.0 |
public function getWorkloadType()
{
return isset($this->workload_type) ? $this->workload_type : '';
} | The workload type of the instances that will target this reservation.
Check the WorkloadType enum for the list of possible values.
Generated from protobuf field <code>optional string workload_type = 273432322;</code>
@return string | getWorkloadType | php | googleapis/google-cloud-php | Compute/src/V1/AllocationAggregateReservation.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AllocationAggregateReservation.php | Apache-2.0 |
public function setWorkloadType($var)
{
GPBUtil::checkString($var, True);
$this->workload_type = $var;
return $this;
} | The workload type of the instances that will target this reservation.
Check the WorkloadType enum for the list of possible values.
Generated from protobuf field <code>optional string workload_type = 273432322;</code>
@param string $var
@return $this | setWorkloadType | php | googleapis/google-cloud-php | Compute/src/V1/AllocationAggregateReservation.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AllocationAggregateReservation.php | Apache-2.0 |
public function getRegex()
{
return $this->readOneof(1);
} | Validation based on regular expressions.
Generated from protobuf field <code>.google.cloud.dataproc.v1.RegexValidation regex = 1;</code>
@return \Google\Cloud\Dataproc\V1\RegexValidation|null | getRegex | php | googleapis/google-cloud-php | Dataproc/src/V1/ParameterValidation.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/ParameterValidation.php | Apache-2.0 |
public function setRegex($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1\RegexValidation::class);
$this->writeOneof(1, $var);
return $this;
} | Validation based on regular expressions.
Generated from protobuf field <code>.google.cloud.dataproc.v1.RegexValidation regex = 1;</code>
@param \Google\Cloud\Dataproc\V1\RegexValidation $var
@return $this | setRegex | php | googleapis/google-cloud-php | Dataproc/src/V1/ParameterValidation.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/ParameterValidation.php | Apache-2.0 |
public function getValues()
{
return $this->readOneof(2);
} | Validation based on a list of allowed values.
Generated from protobuf field <code>.google.cloud.dataproc.v1.ValueValidation values = 2;</code>
@return \Google\Cloud\Dataproc\V1\ValueValidation|null | getValues | php | googleapis/google-cloud-php | Dataproc/src/V1/ParameterValidation.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/ParameterValidation.php | Apache-2.0 |
public function setValues($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1\ValueValidation::class);
$this->writeOneof(2, $var);
return $this;
} | Validation based on a list of allowed values.
Generated from protobuf field <code>.google.cloud.dataproc.v1.ValueValidation values = 2;</code>
@param \Google\Cloud\Dataproc\V1\ValueValidation $var
@return $this | setValues | php | googleapis/google-cloud-php | Dataproc/src/V1/ParameterValidation.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/ParameterValidation.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
Cluster 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/UpdateClusterRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/UpdateClusterRequest.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
Cluster 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/UpdateClusterRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/UpdateClusterRequest.php | Apache-2.0 |
public function getCluster()
{
return $this->cluster;
} | Required. The resource being updated
Generated from protobuf field <code>.google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\AlloyDb\V1\Cluster|null | getCluster | php | googleapis/google-cloud-php | AlloyDb/src/V1/UpdateClusterRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/UpdateClusterRequest.php | Apache-2.0 |
public function setCluster($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\AlloyDb\V1\Cluster::class);
$this->cluster = $var;
return $this;
} | Required. The resource being updated
Generated from protobuf field <code>.google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\AlloyDb\V1\Cluster $var
@return $this | setCluster | php | googleapis/google-cloud-php | AlloyDb/src/V1/UpdateClusterRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/UpdateClusterRequest.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/UpdateClusterRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/UpdateClusterRequest.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/UpdateClusterRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/UpdateClusterRequest.php | Apache-2.0 |
public function getValidateOnly()
{
return $this->validate_only;
} | Optional. If set, performs request validation, for example, permission
checks and any other type of validation, but does not actually execute the
create request.
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/UpdateClusterRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/UpdateClusterRequest.php | Apache-2.0 |
public function setValidateOnly($var)
{
GPBUtil::checkBool($var);
$this->validate_only = $var;
return $this;
} | Optional. If set, performs request validation, for example, permission
checks and any other type of validation, but does not actually execute the
create request.
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/UpdateClusterRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/UpdateClusterRequest.php | Apache-2.0 |
public function getAllowMissing()
{
return $this->allow_missing;
} | Optional. If set to true, update succeeds even if cluster is not found. In
that case, a new cluster 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/UpdateClusterRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/UpdateClusterRequest.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 cluster is not found. In
that case, a new cluster 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/UpdateClusterRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/UpdateClusterRequest.php | Apache-2.0 |
public function getMode()
{
return $this->mode;
} | Optional. Current persistence mode.
Generated from protobuf field <code>.google.cloud.memorystore.v1.PersistenceConfig.PersistenceMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@return int | getMode | php | googleapis/google-cloud-php | Memorystore/src/V1/PersistenceConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PersistenceConfig.php | Apache-2.0 |
public function setMode($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Memorystore\V1\PersistenceConfig\PersistenceMode::class);
$this->mode = $var;
return $this;
} | Optional. Current persistence mode.
Generated from protobuf field <code>.google.cloud.memorystore.v1.PersistenceConfig.PersistenceMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@param int $var
@return $this | setMode | php | googleapis/google-cloud-php | Memorystore/src/V1/PersistenceConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PersistenceConfig.php | Apache-2.0 |
public function getRdbConfig()
{
return $this->rdb_config;
} | Optional. RDB configuration. This field will be ignored if mode is not RDB.
Generated from protobuf field <code>.google.cloud.memorystore.v1.PersistenceConfig.RDBConfig rdb_config = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Cloud\Memorystore\V1\PersistenceConfig\RDBConfig|null | getRdbConfig | php | googleapis/google-cloud-php | Memorystore/src/V1/PersistenceConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PersistenceConfig.php | Apache-2.0 |
public function setRdbConfig($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Memorystore\V1\PersistenceConfig\RDBConfig::class);
$this->rdb_config = $var;
return $this;
} | Optional. RDB configuration. This field will be ignored if mode is not RDB.
Generated from protobuf field <code>.google.cloud.memorystore.v1.PersistenceConfig.RDBConfig rdb_config = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Cloud\Memorystore\V1\PersistenceConfig\RDBConfig $var
@return $this | setRdbConfig | php | googleapis/google-cloud-php | Memorystore/src/V1/PersistenceConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PersistenceConfig.php | Apache-2.0 |
public function getAofConfig()
{
return $this->aof_config;
} | Optional. AOF configuration. This field will be ignored if mode is not AOF.
Generated from protobuf field <code>.google.cloud.memorystore.v1.PersistenceConfig.AOFConfig aof_config = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Cloud\Memorystore\V1\PersistenceConfig\AOFConfig|null | getAofConfig | php | googleapis/google-cloud-php | Memorystore/src/V1/PersistenceConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PersistenceConfig.php | Apache-2.0 |
public function setAofConfig($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Memorystore\V1\PersistenceConfig\AOFConfig::class);
$this->aof_config = $var;
return $this;
} | Optional. AOF configuration. This field will be ignored if mode is not AOF.
Generated from protobuf field <code>.google.cloud.memorystore.v1.PersistenceConfig.AOFConfig aof_config = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Cloud\Memorystore\V1\PersistenceConfig\AOFConfig $var
@return $this | setAofConfig | php | googleapis/google-cloud-php | Memorystore/src/V1/PersistenceConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/PersistenceConfig.php | Apache-2.0 |
public function getParent()
{
return $this->parent;
} | Required. The project and location from which to list `Registration`s, specified in
the format `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 | Domains/src/V1/ListRegistrationsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Domains/src/V1/ListRegistrationsRequest.php | Apache-2.0 |
public function setParent($var)
{
GPBUtil::checkString($var, True);
$this->parent = $var;
return $this;
} | Required. The project and location from which to list `Registration`s, specified in
the format `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 | Domains/src/V1/ListRegistrationsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Domains/src/V1/ListRegistrationsRequest.php | Apache-2.0 |
public function getPageSize()
{
return $this->page_size;
} | Maximum number of results to return.
Generated from protobuf field <code>int32 page_size = 2;</code>
@return int | getPageSize | php | googleapis/google-cloud-php | Domains/src/V1/ListRegistrationsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Domains/src/V1/ListRegistrationsRequest.php | Apache-2.0 |
public function setPageSize($var)
{
GPBUtil::checkInt32($var);
$this->page_size = $var;
return $this;
} | Maximum number of results to return.
Generated from protobuf field <code>int32 page_size = 2;</code>
@param int $var
@return $this | setPageSize | php | googleapis/google-cloud-php | Domains/src/V1/ListRegistrationsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Domains/src/V1/ListRegistrationsRequest.php | Apache-2.0 |
public function getPageToken()
{
return $this->page_token;
} | When set to the `next_page_token` from a prior response, provides the next
page of results.
Generated from protobuf field <code>string page_token = 3;</code>
@return string | getPageToken | php | googleapis/google-cloud-php | Domains/src/V1/ListRegistrationsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Domains/src/V1/ListRegistrationsRequest.php | Apache-2.0 |
public function setPageToken($var)
{
GPBUtil::checkString($var, True);
$this->page_token = $var;
return $this;
} | When set to the `next_page_token` from a prior response, provides the next
page of results.
Generated from protobuf field <code>string page_token = 3;</code>
@param string $var
@return $this | setPageToken | php | googleapis/google-cloud-php | Domains/src/V1/ListRegistrationsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Domains/src/V1/ListRegistrationsRequest.php | Apache-2.0 |
public function getFilter()
{
return $this->filter;
} | Filter expression to restrict the `Registration`s returned.
The expression must specify the field name, a comparison operator, and the
value that you want to use for filtering. The value must be a string, a
number, a boolean, or an enum value. The comparison operator should be one
of =, !=, >, <, >=, <=, or : for prefix or wildcard matches.
For example, to filter to a specific domain name, use an expression like
`domainName="example.com"`. You can also check for the existence of a
field; for example, to find domains using custom DNS settings, use an
expression like `dnsSettings.customDns:*`.
You can also create compound filters by combining expressions with the
`AND` and `OR` operators. For example, to find domains that are suspended
or have specific issues flagged, use an expression like
`(state=SUSPENDED) OR (issue:*)`.
Generated from protobuf field <code>string filter = 4;</code>
@return string | getFilter | php | googleapis/google-cloud-php | Domains/src/V1/ListRegistrationsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Domains/src/V1/ListRegistrationsRequest.php | Apache-2.0 |
public function setFilter($var)
{
GPBUtil::checkString($var, True);
$this->filter = $var;
return $this;
} | Filter expression to restrict the `Registration`s returned.
The expression must specify the field name, a comparison operator, and the
value that you want to use for filtering. The value must be a string, a
number, a boolean, or an enum value. The comparison operator should be one
of =, !=, >, <, >=, <=, or : for prefix or wildcard matches.
For example, to filter to a specific domain name, use an expression like
`domainName="example.com"`. You can also check for the existence of a
field; for example, to find domains using custom DNS settings, use an
expression like `dnsSettings.customDns:*`.
You can also create compound filters by combining expressions with the
`AND` and `OR` operators. For example, to find domains that are suspended
or have specific issues flagged, use an expression like
`(state=SUSPENDED) OR (issue:*)`.
Generated from protobuf field <code>string filter = 4;</code>
@param string $var
@return $this | setFilter | php | googleapis/google-cloud-php | Domains/src/V1/ListRegistrationsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Domains/src/V1/ListRegistrationsRequest.php | Apache-2.0 |
public function getPriority()
{
return isset($this->priority) ? $this->priority : 0;
} | The priority of the rule to remove from the security policy.
Generated from protobuf field <code>optional int32 priority = 445151652;</code>
@return int | getPriority | php | googleapis/google-cloud-php | Compute/src/V1/RemoveRuleRegionSecurityPolicyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/RemoveRuleRegionSecurityPolicyRequest.php | Apache-2.0 |
public function setPriority($var)
{
GPBUtil::checkInt32($var);
$this->priority = $var;
return $this;
} | The priority of the rule to remove from the security policy.
Generated from protobuf field <code>optional int32 priority = 445151652;</code>
@param int $var
@return $this | setPriority | php | googleapis/google-cloud-php | Compute/src/V1/RemoveRuleRegionSecurityPolicyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/RemoveRuleRegionSecurityPolicyRequest.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/RemoveRuleRegionSecurityPolicyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/RemoveRuleRegionSecurityPolicyRequest.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/RemoveRuleRegionSecurityPolicyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/RemoveRuleRegionSecurityPolicyRequest.php | Apache-2.0 |
public function getRegion()
{
return $this->region;
} | Name of the region scoping this request.
Generated from protobuf field <code>string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"];</code>
@return string | getRegion | php | googleapis/google-cloud-php | Compute/src/V1/RemoveRuleRegionSecurityPolicyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/RemoveRuleRegionSecurityPolicyRequest.php | Apache-2.0 |
public function setRegion($var)
{
GPBUtil::checkString($var, True);
$this->region = $var;
return $this;
} | Name of the region scoping this request.
Generated from protobuf field <code>string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"];</code>
@param string $var
@return $this | setRegion | php | googleapis/google-cloud-php | Compute/src/V1/RemoveRuleRegionSecurityPolicyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/RemoveRuleRegionSecurityPolicyRequest.php | Apache-2.0 |
public function getSecurityPolicy()
{
return $this->security_policy;
} | Name of the security policy to update.
Generated from protobuf field <code>string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getSecurityPolicy | php | googleapis/google-cloud-php | Compute/src/V1/RemoveRuleRegionSecurityPolicyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/RemoveRuleRegionSecurityPolicyRequest.php | Apache-2.0 |
public function setSecurityPolicy($var)
{
GPBUtil::checkString($var, True);
$this->security_policy = $var;
return $this;
} | Name of the security policy to update.
Generated from protobuf field <code>string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setSecurityPolicy | php | googleapis/google-cloud-php | Compute/src/V1/RemoveRuleRegionSecurityPolicyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/RemoveRuleRegionSecurityPolicyRequest.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. The name of the CustomClass to undelete.
Format:
`projects/{project}/locations/{location}/customClasses/{custom_class}`
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 | Speech/src/V2/UndeleteCustomClassRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Speech/src/V2/UndeleteCustomClassRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. The name of the CustomClass to undelete.
Format:
`projects/{project}/locations/{location}/customClasses/{custom_class}`
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 | Speech/src/V2/UndeleteCustomClassRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Speech/src/V2/UndeleteCustomClassRequest.php | Apache-2.0 |
public function getValidateOnly()
{
return $this->validate_only;
} | If set, validate the request and preview the undeleted CustomClass, but do
not actually undelete it.
Generated from protobuf field <code>bool validate_only = 3;</code>
@return bool | getValidateOnly | php | googleapis/google-cloud-php | Speech/src/V2/UndeleteCustomClassRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Speech/src/V2/UndeleteCustomClassRequest.php | Apache-2.0 |
public function setValidateOnly($var)
{
GPBUtil::checkBool($var);
$this->validate_only = $var;
return $this;
} | If set, validate the request and preview the undeleted CustomClass, but do
not actually undelete it.
Generated from protobuf field <code>bool validate_only = 3;</code>
@param bool $var
@return $this | setValidateOnly | php | googleapis/google-cloud-php | Speech/src/V2/UndeleteCustomClassRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Speech/src/V2/UndeleteCustomClassRequest.php | Apache-2.0 |
public function getEtag()
{
return $this->etag;
} | This checksum is computed by the server based on the value of other
fields. This may be sent on update, undelete, and delete requests to ensure
the client has an up-to-date value before proceeding.
Generated from protobuf field <code>string etag = 4;</code>
@return string | getEtag | php | googleapis/google-cloud-php | Speech/src/V2/UndeleteCustomClassRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Speech/src/V2/UndeleteCustomClassRequest.php | Apache-2.0 |
public function setEtag($var)
{
GPBUtil::checkString($var, True);
$this->etag = $var;
return $this;
} | This checksum is computed by the server based on the value of other
fields. This may be sent on update, undelete, and delete requests to ensure
the client has an up-to-date value before proceeding.
Generated from protobuf field <code>string etag = 4;</code>
@param string $var
@return $this | setEtag | php | googleapis/google-cloud-php | Speech/src/V2/UndeleteCustomClassRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Speech/src/V2/UndeleteCustomClassRequest.php | Apache-2.0 |
public function getConcurrencyMode()
{
return $this->concurrency_mode;
} | Ths concurrency mode for this database.
Generated from protobuf field <code>.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1;</code>
@return int | getConcurrencyMode | php | googleapis/google-cloud-php | DatastoreAdmin/src/V1/MigrationProgressEvent/RedirectWritesStepDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/DatastoreAdmin/src/V1/MigrationProgressEvent/RedirectWritesStepDetails.php | Apache-2.0 |
public function setConcurrencyMode($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Datastore\Admin\V1\MigrationProgressEvent\ConcurrencyMode::class);
$this->concurrency_mode = $var;
return $this;
} | Ths concurrency mode for this database.
Generated from protobuf field <code>.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1;</code>
@param int $var
@return $this | setConcurrencyMode | php | googleapis/google-cloud-php | DatastoreAdmin/src/V1/MigrationProgressEvent/RedirectWritesStepDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/DatastoreAdmin/src/V1/MigrationProgressEvent/RedirectWritesStepDetails.php | Apache-2.0 |
public function getNetworkPeering()
{
return $this->network_peering;
} | Generated from protobuf field <code>optional .google.cloud.compute.v1.NetworkPeering network_peering = 328926767;</code>
@return \Google\Cloud\Compute\V1\NetworkPeering|null | getNetworkPeering | php | googleapis/google-cloud-php | Compute/src/V1/NetworksUpdatePeeringRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworksUpdatePeeringRequest.php | Apache-2.0 |
public function setNetworkPeering($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\NetworkPeering::class);
$this->network_peering = $var;
return $this;
} | Generated from protobuf field <code>optional .google.cloud.compute.v1.NetworkPeering network_peering = 328926767;</code>
@param \Google\Cloud\Compute\V1\NetworkPeering $var
@return $this | setNetworkPeering | php | googleapis/google-cloud-php | Compute/src/V1/NetworksUpdatePeeringRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworksUpdatePeeringRequest.php | Apache-2.0 |
public function getDatabase()
{
return $this->database;
} | Optional. The action's database (Google Cloud project ID) .
Generated from protobuf field <code>string database = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getDatabase | php | googleapis/google-cloud-php | Dataform/src/V1beta1/Target.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/Target.php | Apache-2.0 |
public function setDatabase($var)
{
GPBUtil::checkString($var, True);
$this->database = $var;
return $this;
} | Optional. The action's database (Google Cloud project ID) .
Generated from protobuf field <code>string database = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setDatabase | php | googleapis/google-cloud-php | Dataform/src/V1beta1/Target.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/Target.php | Apache-2.0 |
public function getSchema()
{
return $this->schema;
} | Optional. The action's schema (BigQuery dataset ID), within `database`.
Generated from protobuf field <code>string schema = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getSchema | php | googleapis/google-cloud-php | Dataform/src/V1beta1/Target.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/Target.php | Apache-2.0 |
public function setSchema($var)
{
GPBUtil::checkString($var, True);
$this->schema = $var;
return $this;
} | Optional. The action's schema (BigQuery dataset ID), within `database`.
Generated from protobuf field <code>string schema = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setSchema | php | googleapis/google-cloud-php | Dataform/src/V1beta1/Target.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/Target.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Optional. The action's name, within `database` and `schema`.
Generated from protobuf field <code>string name = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getName | php | googleapis/google-cloud-php | Dataform/src/V1beta1/Target.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/Target.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Optional. The action's name, within `database` and `schema`.
Generated from protobuf field <code>string name = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | Dataform/src/V1beta1/Target.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/Target.php | Apache-2.0 |
public function getGoogleAccount()
{
@trigger_error('google_account is deprecated.', E_USER_DEPRECATED);
return $this->readOneof(1);
} | Authentication using a Google account.
Generated from protobuf field <code>.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true];</code>
@return \Google\Cloud\WebSecurityScanner\V1\ScanConfig\Authentication\GoogleAccount|null
@deprecated | getGoogleAccount | php | googleapis/google-cloud-php | WebSecurityScanner/src/V1/ScanConfig/Authentication.php | https://github.com/googleapis/google-cloud-php/blob/master/WebSecurityScanner/src/V1/ScanConfig/Authentication.php | Apache-2.0 |
public function setGoogleAccount($var)
{
@trigger_error('google_account is deprecated.', E_USER_DEPRECATED);
GPBUtil::checkMessage($var, \Google\Cloud\WebSecurityScanner\V1\ScanConfig\Authentication\GoogleAccount::class);
$this->writeOneof(1, $var);
return $this;
} | Authentication using a Google account.
Generated from protobuf field <code>.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true];</code>
@param \Google\Cloud\WebSecurityScanner\V1\ScanConfig\Authentication\GoogleAccount $var
@return $this
@deprecated | setGoogleAccount | php | googleapis/google-cloud-php | WebSecurityScanner/src/V1/ScanConfig/Authentication.php | https://github.com/googleapis/google-cloud-php/blob/master/WebSecurityScanner/src/V1/ScanConfig/Authentication.php | Apache-2.0 |
public function getCustomAccount()
{
return $this->readOneof(2);
} | Authentication using a custom account.
Generated from protobuf field <code>.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.CustomAccount custom_account = 2;</code>
@return \Google\Cloud\WebSecurityScanner\V1\ScanConfig\Authentication\CustomAccount|null | getCustomAccount | php | googleapis/google-cloud-php | WebSecurityScanner/src/V1/ScanConfig/Authentication.php | https://github.com/googleapis/google-cloud-php/blob/master/WebSecurityScanner/src/V1/ScanConfig/Authentication.php | Apache-2.0 |
public function setCustomAccount($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\WebSecurityScanner\V1\ScanConfig\Authentication\CustomAccount::class);
$this->writeOneof(2, $var);
return $this;
} | Authentication using a custom account.
Generated from protobuf field <code>.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.CustomAccount custom_account = 2;</code>
@param \Google\Cloud\WebSecurityScanner\V1\ScanConfig\Authentication\CustomAccount $var
@return $this | setCustomAccount | php | googleapis/google-cloud-php | WebSecurityScanner/src/V1/ScanConfig/Authentication.php | https://github.com/googleapis/google-cloud-php/blob/master/WebSecurityScanner/src/V1/ScanConfig/Authentication.php | Apache-2.0 |
public function getIapCredential()
{
return $this->readOneof(4);
} | Authentication using Identity-Aware-Proxy (IAP).
Generated from protobuf field <code>.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.IapCredential iap_credential = 4;</code>
@return \Google\Cloud\WebSecurityScanner\V1\ScanConfig\Authentication\IapCredential|null | getIapCredential | php | googleapis/google-cloud-php | WebSecurityScanner/src/V1/ScanConfig/Authentication.php | https://github.com/googleapis/google-cloud-php/blob/master/WebSecurityScanner/src/V1/ScanConfig/Authentication.php | Apache-2.0 |
public function setIapCredential($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\WebSecurityScanner\V1\ScanConfig\Authentication\IapCredential::class);
$this->writeOneof(4, $var);
return $this;
} | Authentication using Identity-Aware-Proxy (IAP).
Generated from protobuf field <code>.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.IapCredential iap_credential = 4;</code>
@param \Google\Cloud\WebSecurityScanner\V1\ScanConfig\Authentication\IapCredential $var
@return $this | setIapCredential | php | googleapis/google-cloud-php | WebSecurityScanner/src/V1/ScanConfig/Authentication.php | https://github.com/googleapis/google-cloud-php/blob/master/WebSecurityScanner/src/V1/ScanConfig/Authentication.php | Apache-2.0 |
public function getCreationTimestamp()
{
return isset($this->creation_timestamp) ? $this->creation_timestamp : '';
} | [Output Only] Creation timestamp in RFC3339 text format.
Generated from protobuf field <code>optional string creation_timestamp = 30525366;</code>
@return string | getCreationTimestamp | php | googleapis/google-cloud-php | Compute/src/V1/NetworkEdgeSecurityService.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEdgeSecurityService.php | Apache-2.0 |
public function setCreationTimestamp($var)
{
GPBUtil::checkString($var, True);
$this->creation_timestamp = $var;
return $this;
} | [Output Only] Creation timestamp in RFC3339 text format.
Generated from protobuf field <code>optional string creation_timestamp = 30525366;</code>
@param string $var
@return $this | setCreationTimestamp | php | googleapis/google-cloud-php | Compute/src/V1/NetworkEdgeSecurityService.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEdgeSecurityService.php | Apache-2.0 |
public function getDescription()
{
return isset($this->description) ? $this->description : '';
} | An optional description of this resource. Provide this property when you create the resource.
Generated from protobuf field <code>optional string description = 422937596;</code>
@return string | getDescription | php | googleapis/google-cloud-php | Compute/src/V1/NetworkEdgeSecurityService.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEdgeSecurityService.php | Apache-2.0 |
public function setDescription($var)
{
GPBUtil::checkString($var, True);
$this->description = $var;
return $this;
} | An optional description of this resource. Provide this property when you create the resource.
Generated from protobuf field <code>optional string description = 422937596;</code>
@param string $var
@return $this | setDescription | php | googleapis/google-cloud-php | Compute/src/V1/NetworkEdgeSecurityService.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEdgeSecurityService.php | Apache-2.0 |
public function getFingerprint()
{
return isset($this->fingerprint) ? $this->fingerprint : '';
} | Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.
Generated from protobuf field <code>optional string fingerprint = 234678500;</code>
@return string | getFingerprint | php | googleapis/google-cloud-php | Compute/src/V1/NetworkEdgeSecurityService.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEdgeSecurityService.php | Apache-2.0 |
public function setFingerprint($var)
{
GPBUtil::checkString($var, True);
$this->fingerprint = $var;
return $this;
} | Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.
Generated from protobuf field <code>optional string fingerprint = 234678500;</code>
@param string $var
@return $this | setFingerprint | php | googleapis/google-cloud-php | Compute/src/V1/NetworkEdgeSecurityService.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEdgeSecurityService.php | Apache-2.0 |
public function getId()
{
return isset($this->id) ? $this->id : 0;
} | [Output Only] The unique identifier for the resource. This identifier is defined by the server.
Generated from protobuf field <code>optional uint64 id = 3355;</code>
@return int|string | getId | php | googleapis/google-cloud-php | Compute/src/V1/NetworkEdgeSecurityService.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEdgeSecurityService.php | Apache-2.0 |
public function setId($var)
{
GPBUtil::checkUint64($var);
$this->id = $var;
return $this;
} | [Output Only] The unique identifier for the resource. This identifier is defined by the server.
Generated from protobuf field <code>optional uint64 id = 3355;</code>
@param int|string $var
@return $this | setId | php | googleapis/google-cloud-php | Compute/src/V1/NetworkEdgeSecurityService.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEdgeSecurityService.php | Apache-2.0 |
public function getKind()
{
return isset($this->kind) ? $this->kind : '';
} | [Output only] Type of the resource. Always compute#networkEdgeSecurityService for NetworkEdgeSecurityServices
Generated from protobuf field <code>optional string kind = 3292052;</code>
@return string | getKind | php | googleapis/google-cloud-php | Compute/src/V1/NetworkEdgeSecurityService.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEdgeSecurityService.php | Apache-2.0 |
public function setKind($var)
{
GPBUtil::checkString($var, True);
$this->kind = $var;
return $this;
} | [Output only] Type of the resource. Always compute#networkEdgeSecurityService for NetworkEdgeSecurityServices
Generated from protobuf field <code>optional string kind = 3292052;</code>
@param string $var
@return $this | setKind | php | googleapis/google-cloud-php | Compute/src/V1/NetworkEdgeSecurityService.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEdgeSecurityService.php | Apache-2.0 |
public function getName()
{
return isset($this->name) ? $this->name : '';
} | Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Generated from protobuf field <code>optional string name = 3373707;</code>
@return string | getName | php | googleapis/google-cloud-php | Compute/src/V1/NetworkEdgeSecurityService.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEdgeSecurityService.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Generated from protobuf field <code>optional string name = 3373707;</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | Compute/src/V1/NetworkEdgeSecurityService.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEdgeSecurityService.php | Apache-2.0 |
public function getRegion()
{
return isset($this->region) ? $this->region : '';
} | [Output Only] URL of the region where the resource resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
Generated from protobuf field <code>optional string region = 138946292;</code>
@return string | getRegion | php | googleapis/google-cloud-php | Compute/src/V1/NetworkEdgeSecurityService.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEdgeSecurityService.php | Apache-2.0 |
public function setRegion($var)
{
GPBUtil::checkString($var, True);
$this->region = $var;
return $this;
} | [Output Only] URL of the region where the resource resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
Generated from protobuf field <code>optional string region = 138946292;</code>
@param string $var
@return $this | setRegion | php | googleapis/google-cloud-php | Compute/src/V1/NetworkEdgeSecurityService.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEdgeSecurityService.php | Apache-2.0 |
public function getSecurityPolicy()
{
return isset($this->security_policy) ? $this->security_policy : '';
} | The resource URL for the network edge security service associated with this network edge security service.
Generated from protobuf field <code>optional string security_policy = 171082513;</code>
@return string | getSecurityPolicy | php | googleapis/google-cloud-php | Compute/src/V1/NetworkEdgeSecurityService.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEdgeSecurityService.php | Apache-2.0 |
public function setSecurityPolicy($var)
{
GPBUtil::checkString($var, True);
$this->security_policy = $var;
return $this;
} | The resource URL for the network edge security service associated with this network edge security service.
Generated from protobuf field <code>optional string security_policy = 171082513;</code>
@param string $var
@return $this | setSecurityPolicy | php | googleapis/google-cloud-php | Compute/src/V1/NetworkEdgeSecurityService.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEdgeSecurityService.php | Apache-2.0 |
public function getSelfLink()
{
return isset($this->self_link) ? $this->self_link : '';
} | [Output Only] Server-defined URL for the resource.
Generated from protobuf field <code>optional string self_link = 456214797;</code>
@return string | getSelfLink | php | googleapis/google-cloud-php | Compute/src/V1/NetworkEdgeSecurityService.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEdgeSecurityService.php | Apache-2.0 |
public function setSelfLink($var)
{
GPBUtil::checkString($var, True);
$this->self_link = $var;
return $this;
} | [Output Only] Server-defined URL for the resource.
Generated from protobuf field <code>optional string self_link = 456214797;</code>
@param string $var
@return $this | setSelfLink | php | googleapis/google-cloud-php | Compute/src/V1/NetworkEdgeSecurityService.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEdgeSecurityService.php | Apache-2.0 |
public function getSelfLinkWithId()
{
return isset($this->self_link_with_id) ? $this->self_link_with_id : '';
} | [Output Only] Server-defined URL for this resource with the resource id.
Generated from protobuf field <code>optional string self_link_with_id = 44520962;</code>
@return string | getSelfLinkWithId | php | googleapis/google-cloud-php | Compute/src/V1/NetworkEdgeSecurityService.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEdgeSecurityService.php | Apache-2.0 |
public function setSelfLinkWithId($var)
{
GPBUtil::checkString($var, True);
$this->self_link_with_id = $var;
return $this;
} | [Output Only] Server-defined URL for this resource with the resource id.
Generated from protobuf field <code>optional string self_link_with_id = 44520962;</code>
@param string $var
@return $this | setSelfLinkWithId | php | googleapis/google-cloud-php | Compute/src/V1/NetworkEdgeSecurityService.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEdgeSecurityService.php | Apache-2.0 |
public function getPageSize()
{
return $this->page_size;
} | Number of instance partitions to be returned in the response. If 0 or less,
defaults to the server's maximum allowed page size.
Generated from protobuf field <code>int32 page_size = 2;</code>
@return int | getPageSize | php | googleapis/google-cloud-php | Spanner/src/Admin/Instance/V1/ListInstancePartitionsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Instance/V1/ListInstancePartitionsRequest.php | Apache-2.0 |
public function setPageSize($var)
{
GPBUtil::checkInt32($var);
$this->page_size = $var;
return $this;
} | Number of instance partitions to be returned in the response. If 0 or less,
defaults to the server's maximum allowed page size.
Generated from protobuf field <code>int32 page_size = 2;</code>
@param int $var
@return $this | setPageSize | php | googleapis/google-cloud-php | Spanner/src/Admin/Instance/V1/ListInstancePartitionsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Instance/V1/ListInstancePartitionsRequest.php | Apache-2.0 |
public function getPageToken()
{
return $this->page_token;
} | If non-empty, `page_token` should contain a
[next_page_token][google.spanner.admin.instance.v1.ListInstancePartitionsResponse.next_page_token]
from a previous
[ListInstancePartitionsResponse][google.spanner.admin.instance.v1.ListInstancePartitionsResponse].
Generated from protobuf field <code>string page_token = 3;</code>
@return string | getPageToken | php | googleapis/google-cloud-php | Spanner/src/Admin/Instance/V1/ListInstancePartitionsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Instance/V1/ListInstancePartitionsRequest.php | Apache-2.0 |
public function setPageToken($var)
{
GPBUtil::checkString($var, True);
$this->page_token = $var;
return $this;
} | If non-empty, `page_token` should contain a
[next_page_token][google.spanner.admin.instance.v1.ListInstancePartitionsResponse.next_page_token]
from a previous
[ListInstancePartitionsResponse][google.spanner.admin.instance.v1.ListInstancePartitionsResponse].
Generated from protobuf field <code>string page_token = 3;</code>
@param string $var
@return $this | setPageToken | php | googleapis/google-cloud-php | Spanner/src/Admin/Instance/V1/ListInstancePartitionsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Instance/V1/ListInstancePartitionsRequest.php | Apache-2.0 |
public function getInstancePartitionDeadline()
{
return $this->instance_partition_deadline;
} | Optional. Deadline used while retrieving metadata for instance partitions.
Instance partitions whose metadata cannot be retrieved within this deadline
will be added to
[unreachable][google.spanner.admin.instance.v1.ListInstancePartitionsResponse.unreachable]
in
[ListInstancePartitionsResponse][google.spanner.admin.instance.v1.ListInstancePartitionsResponse].
Generated from protobuf field <code>.google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Protobuf\Timestamp|null | getInstancePartitionDeadline | php | googleapis/google-cloud-php | Spanner/src/Admin/Instance/V1/ListInstancePartitionsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Instance/V1/ListInstancePartitionsRequest.php | Apache-2.0 |
public function setInstancePartitionDeadline($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->instance_partition_deadline = $var;
return $this;
} | Optional. Deadline used while retrieving metadata for instance partitions.
Instance partitions whose metadata cannot be retrieved within this deadline
will be added to
[unreachable][google.spanner.admin.instance.v1.ListInstancePartitionsResponse.unreachable]
in
[ListInstancePartitionsResponse][google.spanner.admin.instance.v1.ListInstancePartitionsResponse].
Generated from protobuf field <code>.google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setInstancePartitionDeadline | php | googleapis/google-cloud-php | Spanner/src/Admin/Instance/V1/ListInstancePartitionsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Instance/V1/ListInstancePartitionsRequest.php | Apache-2.0 |
public function getContent()
{
return $this->content;
} | Content under the given parent lake.
Generated from protobuf field <code>repeated .google.cloud.dataplex.v1.Content content = 1;</code>
@return \Google\Protobuf\Internal\RepeatedField | getContent | php | googleapis/google-cloud-php | Dataplex/src/V1/ListContentResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/ListContentResponse.php | Apache-2.0 |
public function setContent($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dataplex\V1\Content::class);
$this->content = $arr;
return $this;
} | Content under the given parent lake.
Generated from protobuf field <code>repeated .google.cloud.dataplex.v1.Content content = 1;</code>
@param array<\Google\Cloud\Dataplex\V1\Content>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setContent | php | googleapis/google-cloud-php | Dataplex/src/V1/ListContentResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/ListContentResponse.php | Apache-2.0 |
public function getNextPageToken()
{
return $this->next_page_token;
} | Token to retrieve the next page of results, or empty if there are no more
results in the list.
Generated from protobuf field <code>string next_page_token = 2;</code>
@return string | getNextPageToken | php | googleapis/google-cloud-php | Dataplex/src/V1/ListContentResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/ListContentResponse.php | Apache-2.0 |
public function setNextPageToken($var)
{
GPBUtil::checkString($var, True);
$this->next_page_token = $var;
return $this;
} | Token to retrieve the next page of results, or empty if there are no more
results in the list.
Generated from protobuf field <code>string next_page_token = 2;</code>
@param string $var
@return $this | setNextPageToken | php | googleapis/google-cloud-php | Dataplex/src/V1/ListContentResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/ListContentResponse.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 = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\Dataform\V1beta1\CommitAuthor|null | getAuthor | php | googleapis/google-cloud-php | Dataform/src/V1beta1/CommitMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CommitMetadata.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 = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\Dataform\V1beta1\CommitAuthor $var
@return $this | setAuthor | php | googleapis/google-cloud-php | Dataform/src/V1beta1/CommitMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CommitMetadata.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/CommitMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CommitMetadata.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/CommitMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CommitMetadata.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. The replication resource name, in the format
`projects/*/locations/*/volumes/*/replications/{replication_id}`
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 | NetApp/src/V1/DeleteReplicationRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/NetApp/src/V1/DeleteReplicationRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. The replication resource name, in the format
`projects/*/locations/*/volumes/*/replications/{replication_id}`
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 | NetApp/src/V1/DeleteReplicationRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/NetApp/src/V1/DeleteReplicationRequest.php | Apache-2.0 |
public function getRegexes()
{
return $this->regexes;
} | Required. RE2 regular expressions used to validate the parameter's value.
The value must match the regex in its entirety (substring
matches are not sufficient).
Generated from protobuf field <code>repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Protobuf\Internal\RepeatedField | getRegexes | php | googleapis/google-cloud-php | Dataproc/src/V1/RegexValidation.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/RegexValidation.php | Apache-2.0 |
public function setRegexes($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->regexes = $arr;
return $this;
} | Required. RE2 regular expressions used to validate the parameter's value.
The value must match the regex in its entirety (substring
matches are not sufficient).
Generated from protobuf field <code>repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setRegexes | php | googleapis/google-cloud-php | Dataproc/src/V1/RegexValidation.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/RegexValidation.php | Apache-2.0 |
public function getReservedSpaceGib()
{
return $this->reserved_space_gib;
} | The space on this storage volume reserved for snapshots, shown in GiB.
Generated from protobuf field <code>int64 reserved_space_gib = 1;</code>
@return int|string | getReservedSpaceGib | php | googleapis/google-cloud-php | BareMetalSolution/src/V2/Volume/SnapshotReservationDetail.php | https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/Volume/SnapshotReservationDetail.php | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.