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 getUpdateTime()
{
return $this->update_time;
} | The last update time of the document after applying the write. Not set
after a `delete`.
If the write did not actually change the document, this will be the
previous update_time.
Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 1;</code>
@return \Google\Protobuf\Timestamp | getUpdateTime | php | googleapis/google-cloud-php | Firestore/src/V1beta1/WriteResult.php | https://github.com/googleapis/google-cloud-php/blob/master/Firestore/src/V1beta1/WriteResult.php | Apache-2.0 |
public function setUpdateTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->update_time = $var;
return $this;
} | The last update time of the document after applying the write. Not set
after a `delete`.
If the write did not actually change the document, this will be the
previous update_time.
Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 1;</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setUpdateTime | php | googleapis/google-cloud-php | Firestore/src/V1beta1/WriteResult.php | https://github.com/googleapis/google-cloud-php/blob/master/Firestore/src/V1beta1/WriteResult.php | Apache-2.0 |
public function getTransformResults()
{
return $this->transform_results;
} | The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the
same order.
Generated from protobuf field <code>repeated .google.firestore.v1beta1.Value transform_results = 2;</code>
@return \Google\Protobuf\Internal\RepeatedField | getTransformResults | php | googleapis/google-cloud-php | Firestore/src/V1beta1/WriteResult.php | https://github.com/googleapis/google-cloud-php/blob/master/Firestore/src/V1beta1/WriteResult.php | Apache-2.0 |
public function setTransformResults($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Firestore\V1beta1\Value::class);
$this->transform_results = $arr;
return $this;
} | The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the
same order.
Generated from protobuf field <code>repeated .google.firestore.v1beta1.Value transform_results = 2;</code>
@param \Google\Cloud\Firestore\V1beta1\Value[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setTransformResults | php | googleapis/google-cloud-php | Firestore/src/V1beta1/WriteResult.php | https://github.com/googleapis/google-cloud-php/blob/master/Firestore/src/V1beta1/WriteResult.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Name of the product.
Generated from protobuf field <code>string name = 1;</code>
@return string | getName | php | googleapis/google-cloud-php | Grafeas/src/V1/VulnerabilityAssessmentNote/Product.php | https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/VulnerabilityAssessmentNote/Product.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Name of the product.
Generated from protobuf field <code>string name = 1;</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | Grafeas/src/V1/VulnerabilityAssessmentNote/Product.php | https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/VulnerabilityAssessmentNote/Product.php | Apache-2.0 |
public function getId()
{
return $this->id;
} | Token that identifies a product so that it can be referred to from other
parts in the document. There is no predefined format as long as it
uniquely identifies a group in the context of the current document.
Generated from protobuf field <code>string id = 2;</code>
@return string | getId | php | googleapis/google-cloud-php | Grafeas/src/V1/VulnerabilityAssessmentNote/Product.php | https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/VulnerabilityAssessmentNote/Product.php | Apache-2.0 |
public function setId($var)
{
GPBUtil::checkString($var, True);
$this->id = $var;
return $this;
} | Token that identifies a product so that it can be referred to from other
parts in the document. There is no predefined format as long as it
uniquely identifies a group in the context of the current document.
Generated from protobuf field <code>string id = 2;</code>
@param string $var
@return $this | setId | php | googleapis/google-cloud-php | Grafeas/src/V1/VulnerabilityAssessmentNote/Product.php | https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/VulnerabilityAssessmentNote/Product.php | Apache-2.0 |
public function getGenericUri()
{
return $this->readOneof(3);
} | Contains a URI which is vendor-specific.
Example: The artifact repository URL of an image.
Generated from protobuf field <code>string generic_uri = 3;</code>
@return string | getGenericUri | php | googleapis/google-cloud-php | Grafeas/src/V1/VulnerabilityAssessmentNote/Product.php | https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/VulnerabilityAssessmentNote/Product.php | Apache-2.0 |
public function setGenericUri($var)
{
GPBUtil::checkString($var, True);
$this->writeOneof(3, $var);
return $this;
} | Contains a URI which is vendor-specific.
Example: The artifact repository URL of an image.
Generated from protobuf field <code>string generic_uri = 3;</code>
@param string $var
@return $this | setGenericUri | php | googleapis/google-cloud-php | Grafeas/src/V1/VulnerabilityAssessmentNote/Product.php | https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/VulnerabilityAssessmentNote/Product.php | Apache-2.0 |
public function getParent()
{
return $this->parent;
} | Required. Parent resource of the Gateway, 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 | ApiGateway/src/V1/ListGatewaysRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ApiGateway/src/V1/ListGatewaysRequest.php | Apache-2.0 |
public function setParent($var)
{
GPBUtil::checkString($var, True);
$this->parent = $var;
return $this;
} | Required. Parent resource of the Gateway, 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 | ApiGateway/src/V1/ListGatewaysRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ApiGateway/src/V1/ListGatewaysRequest.php | Apache-2.0 |
public function getPageSize()
{
return $this->page_size;
} | Page size.
Generated from protobuf field <code>int32 page_size = 2;</code>
@return int | getPageSize | php | googleapis/google-cloud-php | ApiGateway/src/V1/ListGatewaysRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ApiGateway/src/V1/ListGatewaysRequest.php | Apache-2.0 |
public function setPageSize($var)
{
GPBUtil::checkInt32($var);
$this->page_size = $var;
return $this;
} | Page size.
Generated from protobuf field <code>int32 page_size = 2;</code>
@param int $var
@return $this | setPageSize | php | googleapis/google-cloud-php | ApiGateway/src/V1/ListGatewaysRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ApiGateway/src/V1/ListGatewaysRequest.php | Apache-2.0 |
public function getPageToken()
{
return $this->page_token;
} | Page token.
Generated from protobuf field <code>string page_token = 3;</code>
@return string | getPageToken | php | googleapis/google-cloud-php | ApiGateway/src/V1/ListGatewaysRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ApiGateway/src/V1/ListGatewaysRequest.php | Apache-2.0 |
public function setPageToken($var)
{
GPBUtil::checkString($var, True);
$this->page_token = $var;
return $this;
} | Page token.
Generated from protobuf field <code>string page_token = 3;</code>
@param string $var
@return $this | setPageToken | php | googleapis/google-cloud-php | ApiGateway/src/V1/ListGatewaysRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ApiGateway/src/V1/ListGatewaysRequest.php | Apache-2.0 |
public function getFilter()
{
return $this->filter;
} | Filter.
Generated from protobuf field <code>string filter = 4;</code>
@return string | getFilter | php | googleapis/google-cloud-php | ApiGateway/src/V1/ListGatewaysRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ApiGateway/src/V1/ListGatewaysRequest.php | Apache-2.0 |
public function setFilter($var)
{
GPBUtil::checkString($var, True);
$this->filter = $var;
return $this;
} | Filter.
Generated from protobuf field <code>string filter = 4;</code>
@param string $var
@return $this | setFilter | php | googleapis/google-cloud-php | ApiGateway/src/V1/ListGatewaysRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ApiGateway/src/V1/ListGatewaysRequest.php | Apache-2.0 |
public function getOrderBy()
{
return $this->order_by;
} | Order by parameters.
Generated from protobuf field <code>string order_by = 5;</code>
@return string | getOrderBy | php | googleapis/google-cloud-php | ApiGateway/src/V1/ListGatewaysRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ApiGateway/src/V1/ListGatewaysRequest.php | Apache-2.0 |
public function setOrderBy($var)
{
GPBUtil::checkString($var, True);
$this->order_by = $var;
return $this;
} | Order by parameters.
Generated from protobuf field <code>string order_by = 5;</code>
@param string $var
@return $this | setOrderBy | php | googleapis/google-cloud-php | ApiGateway/src/V1/ListGatewaysRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ApiGateway/src/V1/ListGatewaysRequest.php | Apache-2.0 |
public function getDatabaseRoles()
{
return $this->database_roles;
} | Database roles that matched the request.
Generated from protobuf field <code>repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;</code>
@return \Google\Protobuf\Internal\RepeatedField | getDatabaseRoles | php | googleapis/google-cloud-php | Spanner/src/Admin/Database/V1/ListDatabaseRolesResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Database/V1/ListDatabaseRolesResponse.php | Apache-2.0 |
public function setDatabaseRoles($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Spanner\Admin\Database\V1\DatabaseRole::class);
$this->database_roles = $arr;
return $this;
} | Database roles that matched the request.
Generated from protobuf field <code>repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;</code>
@param array<\Google\Cloud\Spanner\Admin\Database\V1\DatabaseRole>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setDatabaseRoles | php | googleapis/google-cloud-php | Spanner/src/Admin/Database/V1/ListDatabaseRolesResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Database/V1/ListDatabaseRolesResponse.php | Apache-2.0 |
public function getNextPageToken()
{
return $this->next_page_token;
} | `next_page_token` can be sent in a subsequent
[ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
call to fetch more of the matching roles.
Generated from protobuf field <code>string next_page_token = 2;</code>
@return string | getNextPageToken | php | googleapis/google-cloud-php | Spanner/src/Admin/Database/V1/ListDatabaseRolesResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Database/V1/ListDatabaseRolesResponse.php | Apache-2.0 |
public function setNextPageToken($var)
{
GPBUtil::checkString($var, True);
$this->next_page_token = $var;
return $this;
} | `next_page_token` can be sent in a subsequent
[ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
call to fetch more of the matching roles.
Generated from protobuf field <code>string next_page_token = 2;</code>
@param string $var
@return $this | setNextPageToken | php | googleapis/google-cloud-php | Spanner/src/Admin/Database/V1/ListDatabaseRolesResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Database/V1/ListDatabaseRolesResponse.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. The instance resource name, in the format
`projects/{project_id}/locations/{location}/instances/{instance_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 | Parallelstore/src/V1/GetInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Parallelstore/src/V1/GetInstanceRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. The instance resource name, in the format
`projects/{project_id}/locations/{location}/instances/{instance_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 | Parallelstore/src/V1/GetInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Parallelstore/src/V1/GetInstanceRequest.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. The unique identifier of the fulfillment.
Supported formats:
- `projects/<Project ID>/agent/fulfillment`
- `projects/<Project ID>/locations/<Location ID>/agent/fulfillment`
This field is not used for Fulfillment in an Environment.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getName | php | googleapis/google-cloud-php | Dialogflow/src/V2/Fulfillment.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Fulfillment.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. The unique identifier of the fulfillment.
Supported formats:
- `projects/<Project ID>/agent/fulfillment`
- `projects/<Project ID>/locations/<Location ID>/agent/fulfillment`
This field is not used for Fulfillment in an Environment.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | Dialogflow/src/V2/Fulfillment.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Fulfillment.php | Apache-2.0 |
public function getDisplayName()
{
return $this->display_name;
} | Optional. The human-readable name of the fulfillment, unique within the
agent.
This field is not used for Fulfillment in an Environment.
Generated from protobuf field <code>string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getDisplayName | php | googleapis/google-cloud-php | Dialogflow/src/V2/Fulfillment.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Fulfillment.php | Apache-2.0 |
public function setDisplayName($var)
{
GPBUtil::checkString($var, True);
$this->display_name = $var;
return $this;
} | Optional. The human-readable name of the fulfillment, unique within the
agent.
This field is not used for Fulfillment in an Environment.
Generated from protobuf field <code>string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setDisplayName | php | googleapis/google-cloud-php | Dialogflow/src/V2/Fulfillment.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Fulfillment.php | Apache-2.0 |
public function getGenericWebService()
{
return $this->readOneof(3);
} | Configuration for a generic web service.
Generated from protobuf field <code>.google.cloud.dialogflow.v2.Fulfillment.GenericWebService generic_web_service = 3;</code>
@return \Google\Cloud\Dialogflow\V2\Fulfillment\GenericWebService|null | getGenericWebService | php | googleapis/google-cloud-php | Dialogflow/src/V2/Fulfillment.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Fulfillment.php | Apache-2.0 |
public function setGenericWebService($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\Fulfillment\GenericWebService::class);
$this->writeOneof(3, $var);
return $this;
} | Configuration for a generic web service.
Generated from protobuf field <code>.google.cloud.dialogflow.v2.Fulfillment.GenericWebService generic_web_service = 3;</code>
@param \Google\Cloud\Dialogflow\V2\Fulfillment\GenericWebService $var
@return $this | setGenericWebService | php | googleapis/google-cloud-php | Dialogflow/src/V2/Fulfillment.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Fulfillment.php | Apache-2.0 |
public function getEnabled()
{
return $this->enabled;
} | Optional. Whether fulfillment is enabled.
Generated from protobuf field <code>bool enabled = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@return bool | getEnabled | php | googleapis/google-cloud-php | Dialogflow/src/V2/Fulfillment.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Fulfillment.php | Apache-2.0 |
public function setEnabled($var)
{
GPBUtil::checkBool($var);
$this->enabled = $var;
return $this;
} | Optional. Whether fulfillment is enabled.
Generated from protobuf field <code>bool enabled = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@param bool $var
@return $this | setEnabled | php | googleapis/google-cloud-php | Dialogflow/src/V2/Fulfillment.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Fulfillment.php | Apache-2.0 |
public function getFeatures()
{
return $this->features;
} | Optional. The field defines whether the fulfillment is enabled for certain
features.
Generated from protobuf field <code>repeated .google.cloud.dialogflow.v2.Fulfillment.Feature features = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Protobuf\Internal\RepeatedField | getFeatures | php | googleapis/google-cloud-php | Dialogflow/src/V2/Fulfillment.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Fulfillment.php | Apache-2.0 |
public function setFeatures($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\V2\Fulfillment\Feature::class);
$this->features = $arr;
return $this;
} | Optional. The field defines whether the fulfillment is enabled for certain
features.
Generated from protobuf field <code>repeated .google.cloud.dialogflow.v2.Fulfillment.Feature features = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array<\Google\Cloud\Dialogflow\V2\Fulfillment\Feature>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setFeatures | php | googleapis/google-cloud-php | Dialogflow/src/V2/Fulfillment.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Fulfillment.php | Apache-2.0 |
public function getCommon()
{
return $this->common;
} | Some settings.
Generated from protobuf field <code>.google.api.CommonLanguageSettings common = 1;</code>
@return \Google\Api\CommonLanguageSettings|null | getCommon | php | googleapis/google-cloud-php | CommonProtos/src/Api/RubySettings.php | https://github.com/googleapis/google-cloud-php/blob/master/CommonProtos/src/Api/RubySettings.php | Apache-2.0 |
public function setCommon($var)
{
GPBUtil::checkMessage($var, \Google\Api\CommonLanguageSettings::class);
$this->common = $var;
return $this;
} | Some settings.
Generated from protobuf field <code>.google.api.CommonLanguageSettings common = 1;</code>
@param \Google\Api\CommonLanguageSettings $var
@return $this | setCommon | php | googleapis/google-cloud-php | CommonProtos/src/Api/RubySettings.php | https://github.com/googleapis/google-cloud-php/blob/master/CommonProtos/src/Api/RubySettings.php | Apache-2.0 |
public function getBackupCollections()
{
return $this->backup_collections;
} | A list of backupCollections in the project.
If the `location_id` in the parent field of the request is "-", all regions
available to the project are queried, and the results aggregated.
If in such an aggregated query a location is unavailable, a placeholder
backupCollection entry is included in the response with the `name` field
set to a value of the form
`projects/{project_id}/locations/{location_id}/backupCollections/`- and the
`status` field set to ERROR and `status_message` field set to "location not
available for ListBackupCollections".
Generated from protobuf field <code>repeated .google.cloud.redis.cluster.v1.BackupCollection backup_collections = 1;</code>
@return \Google\Protobuf\Internal\RepeatedField | getBackupCollections | php | googleapis/google-cloud-php | RedisCluster/src/V1/ListBackupCollectionsResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/RedisCluster/src/V1/ListBackupCollectionsResponse.php | Apache-2.0 |
public function setBackupCollections($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Redis\Cluster\V1\BackupCollection::class);
$this->backup_collections = $arr;
return $this;
} | A list of backupCollections in the project.
If the `location_id` in the parent field of the request is "-", all regions
available to the project are queried, and the results aggregated.
If in such an aggregated query a location is unavailable, a placeholder
backupCollection entry is included in the response with the `name` field
set to a value of the form
`projects/{project_id}/locations/{location_id}/backupCollections/`- and the
`status` field set to ERROR and `status_message` field set to "location not
available for ListBackupCollections".
Generated from protobuf field <code>repeated .google.cloud.redis.cluster.v1.BackupCollection backup_collections = 1;</code>
@param array<\Google\Cloud\Redis\Cluster\V1\BackupCollection>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setBackupCollections | php | googleapis/google-cloud-php | RedisCluster/src/V1/ListBackupCollectionsResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/RedisCluster/src/V1/ListBackupCollectionsResponse.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 | RedisCluster/src/V1/ListBackupCollectionsResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/RedisCluster/src/V1/ListBackupCollectionsResponse.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 | RedisCluster/src/V1/ListBackupCollectionsResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/RedisCluster/src/V1/ListBackupCollectionsResponse.php | Apache-2.0 |
public function getUnreachable()
{
return $this->unreachable;
} | Locations that could not be reached.
Generated from protobuf field <code>repeated string unreachable = 3;</code>
@return \Google\Protobuf\Internal\RepeatedField | getUnreachable | php | googleapis/google-cloud-php | RedisCluster/src/V1/ListBackupCollectionsResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/RedisCluster/src/V1/ListBackupCollectionsResponse.php | Apache-2.0 |
public function setUnreachable($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->unreachable = $arr;
return $this;
} | Locations that could not be reached.
Generated from protobuf field <code>repeated string unreachable = 3;</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setUnreachable | php | googleapis/google-cloud-php | RedisCluster/src/V1/ListBackupCollectionsResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/RedisCluster/src/V1/ListBackupCollectionsResponse.php | Apache-2.0 |
public function getTransitionRouteGroups()
{
return $this->transition_route_groups;
} | The list of transition route groups. There will be a maximum number of
items returned based on the page_size field in the request. The list may in
some cases be empty or contain fewer entries than page_size even if this
isn't the last page.
Generated from protobuf field <code>repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_groups = 1;</code>
@return \Google\Protobuf\Internal\RepeatedField | getTransitionRouteGroups | php | googleapis/google-cloud-php | DialogflowCx/src/V3/ListTransitionRouteGroupsResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/ListTransitionRouteGroupsResponse.php | Apache-2.0 |
public function setTransitionRouteGroups($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\Cx\V3\TransitionRouteGroup::class);
$this->transition_route_groups = $arr;
return $this;
} | The list of transition route groups. There will be a maximum number of
items returned based on the page_size field in the request. The list may in
some cases be empty or contain fewer entries than page_size even if this
isn't the last page.
Generated from protobuf field <code>repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroup transition_route_groups = 1;</code>
@param array<\Google\Cloud\Dialogflow\Cx\V3\TransitionRouteGroup>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setTransitionRouteGroups | php | googleapis/google-cloud-php | DialogflowCx/src/V3/ListTransitionRouteGroupsResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/ListTransitionRouteGroupsResponse.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 | DialogflowCx/src/V3/ListTransitionRouteGroupsResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/ListTransitionRouteGroupsResponse.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 | DialogflowCx/src/V3/ListTransitionRouteGroupsResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/ListTransitionRouteGroupsResponse.php | Apache-2.0 |
public function getStartTime()
{
return $this->start_time;
} | The start time of any upcoming scheduled maintenance for this instance.
Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 1;</code>
@return \Google\Protobuf\Timestamp|null | getStartTime | php | googleapis/google-cloud-php | SqlAdmin/src/V1/DatabaseInstance/SqlScheduledMaintenance.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/DatabaseInstance/SqlScheduledMaintenance.php | Apache-2.0 |
public function setStartTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->start_time = $var;
return $this;
} | The start time of any upcoming scheduled maintenance for this instance.
Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 1;</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setStartTime | php | googleapis/google-cloud-php | SqlAdmin/src/V1/DatabaseInstance/SqlScheduledMaintenance.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/DatabaseInstance/SqlScheduledMaintenance.php | Apache-2.0 |
public function getCanDefer()
{
@trigger_error('can_defer is deprecated.', E_USER_DEPRECATED);
return $this->can_defer;
} | Generated from protobuf field <code>bool can_defer = 2 [deprecated = true];</code>
@return bool
@deprecated | getCanDefer | php | googleapis/google-cloud-php | SqlAdmin/src/V1/DatabaseInstance/SqlScheduledMaintenance.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/DatabaseInstance/SqlScheduledMaintenance.php | Apache-2.0 |
public function setCanDefer($var)
{
@trigger_error('can_defer is deprecated.', E_USER_DEPRECATED);
GPBUtil::checkBool($var);
$this->can_defer = $var;
return $this;
} | Generated from protobuf field <code>bool can_defer = 2 [deprecated = true];</code>
@param bool $var
@return $this
@deprecated | setCanDefer | php | googleapis/google-cloud-php | SqlAdmin/src/V1/DatabaseInstance/SqlScheduledMaintenance.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/DatabaseInstance/SqlScheduledMaintenance.php | Apache-2.0 |
public function getCanReschedule()
{
return $this->can_reschedule;
} | If the scheduled maintenance can be rescheduled.
Generated from protobuf field <code>bool can_reschedule = 3;</code>
@return bool | getCanReschedule | php | googleapis/google-cloud-php | SqlAdmin/src/V1/DatabaseInstance/SqlScheduledMaintenance.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/DatabaseInstance/SqlScheduledMaintenance.php | Apache-2.0 |
public function setCanReschedule($var)
{
GPBUtil::checkBool($var);
$this->can_reschedule = $var;
return $this;
} | If the scheduled maintenance can be rescheduled.
Generated from protobuf field <code>bool can_reschedule = 3;</code>
@param bool $var
@return $this | setCanReschedule | php | googleapis/google-cloud-php | SqlAdmin/src/V1/DatabaseInstance/SqlScheduledMaintenance.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/DatabaseInstance/SqlScheduledMaintenance.php | Apache-2.0 |
public function getScheduleDeadlineTime()
{
return $this->schedule_deadline_time;
} | Maintenance cannot be rescheduled to start beyond this deadline.
Generated from protobuf field <code>optional .google.protobuf.Timestamp schedule_deadline_time = 4;</code>
@return \Google\Protobuf\Timestamp|null | getScheduleDeadlineTime | php | googleapis/google-cloud-php | SqlAdmin/src/V1/DatabaseInstance/SqlScheduledMaintenance.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/DatabaseInstance/SqlScheduledMaintenance.php | Apache-2.0 |
public function setScheduleDeadlineTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->schedule_deadline_time = $var;
return $this;
} | Maintenance cannot be rescheduled to start beyond this deadline.
Generated from protobuf field <code>optional .google.protobuf.Timestamp schedule_deadline_time = 4;</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setScheduleDeadlineTime | php | googleapis/google-cloud-php | SqlAdmin/src/V1/DatabaseInstance/SqlScheduledMaintenance.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/DatabaseInstance/SqlScheduledMaintenance.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. The resource name of the effective Event Threat Detection custom
module.
Its format is:
* `organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}`.
* `folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}`.
* `projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}`.
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 | SecurityCenter/src/V1/GetEffectiveEventThreatDetectionCustomModuleRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V1/GetEffectiveEventThreatDetectionCustomModuleRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. The resource name of the effective Event Threat Detection custom
module.
Its format is:
* `organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}`.
* `folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}`.
* `projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}`.
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 | SecurityCenter/src/V1/GetEffectiveEventThreatDetectionCustomModuleRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V1/GetEffectiveEventThreatDetectionCustomModuleRequest.php | Apache-2.0 |
public function getTitle()
{
return $this->title;
} | The title of the article.
Generated from protobuf field <code>string title = 1;</code>
@return string | getTitle | php | googleapis/google-cloud-php | Dialogflow/src/V2/SearchKnowledgeAnswer/AnswerSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SearchKnowledgeAnswer/AnswerSource.php | Apache-2.0 |
public function setTitle($var)
{
GPBUtil::checkString($var, True);
$this->title = $var;
return $this;
} | The title of the article.
Generated from protobuf field <code>string title = 1;</code>
@param string $var
@return $this | setTitle | php | googleapis/google-cloud-php | Dialogflow/src/V2/SearchKnowledgeAnswer/AnswerSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SearchKnowledgeAnswer/AnswerSource.php | Apache-2.0 |
public function getUri()
{
return $this->uri;
} | The URI of the article.
Generated from protobuf field <code>string uri = 2;</code>
@return string | getUri | php | googleapis/google-cloud-php | Dialogflow/src/V2/SearchKnowledgeAnswer/AnswerSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SearchKnowledgeAnswer/AnswerSource.php | Apache-2.0 |
public function setUri($var)
{
GPBUtil::checkString($var, True);
$this->uri = $var;
return $this;
} | The URI of the article.
Generated from protobuf field <code>string uri = 2;</code>
@param string $var
@return $this | setUri | php | googleapis/google-cloud-php | Dialogflow/src/V2/SearchKnowledgeAnswer/AnswerSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SearchKnowledgeAnswer/AnswerSource.php | Apache-2.0 |
public function getSnippet()
{
return $this->snippet;
} | The relevant snippet of the article.
Generated from protobuf field <code>string snippet = 3;</code>
@return string | getSnippet | php | googleapis/google-cloud-php | Dialogflow/src/V2/SearchKnowledgeAnswer/AnswerSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SearchKnowledgeAnswer/AnswerSource.php | Apache-2.0 |
public function setSnippet($var)
{
GPBUtil::checkString($var, True);
$this->snippet = $var;
return $this;
} | The relevant snippet of the article.
Generated from protobuf field <code>string snippet = 3;</code>
@param string $var
@return $this | setSnippet | php | googleapis/google-cloud-php | Dialogflow/src/V2/SearchKnowledgeAnswer/AnswerSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SearchKnowledgeAnswer/AnswerSource.php | Apache-2.0 |
public function getMetadata()
{
return $this->metadata;
} | Metadata associated with the article.
Generated from protobuf field <code>.google.protobuf.Struct metadata = 5;</code>
@return \Google\Protobuf\Struct|null | getMetadata | php | googleapis/google-cloud-php | Dialogflow/src/V2/SearchKnowledgeAnswer/AnswerSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SearchKnowledgeAnswer/AnswerSource.php | Apache-2.0 |
public function setMetadata($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Struct::class);
$this->metadata = $var;
return $this;
} | Metadata associated with the article.
Generated from protobuf field <code>.google.protobuf.Struct metadata = 5;</code>
@param \Google\Protobuf\Struct $var
@return $this | setMetadata | php | googleapis/google-cloud-php | Dialogflow/src/V2/SearchKnowledgeAnswer/AnswerSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SearchKnowledgeAnswer/AnswerSource.php | Apache-2.0 |
public function getPages()
{
return $this->pages;
} | Optional. Indices of the pages (starting from 1).
Generated from protobuf field <code>repeated int32 pages = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Protobuf\Internal\RepeatedField | getPages | php | googleapis/google-cloud-php | DocumentAi/src/V1/ProcessOptions/IndividualPageSelector.php | https://github.com/googleapis/google-cloud-php/blob/master/DocumentAi/src/V1/ProcessOptions/IndividualPageSelector.php | Apache-2.0 |
public function setPages($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32);
$this->pages = $arr;
return $this;
} | Optional. Indices of the pages (starting from 1).
Generated from protobuf field <code>repeated int32 pages = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array<int>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setPages | php | googleapis/google-cloud-php | DocumentAi/src/V1/ProcessOptions/IndividualPageSelector.php | https://github.com/googleapis/google-cloud-php/blob/master/DocumentAi/src/V1/ProcessOptions/IndividualPageSelector.php | Apache-2.0 |
public function getMaxAttempts()
{
return $this->max_attempts;
} | Number of attempts per task.
Cloud Tasks will attempt the task `max_attempts` times (that is, if the
first attempt fails, then there will be `max_attempts - 1` retries). Must
be >= -1.
If unspecified when the queue is created, Cloud Tasks will pick the
default.
-1 indicates unlimited attempts.
This field has the same meaning as
[task_retry_limit in
queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
Generated from protobuf field <code>int32 max_attempts = 1;</code>
@return int | getMaxAttempts | php | googleapis/google-cloud-php | Tasks/src/V2/RetryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Tasks/src/V2/RetryConfig.php | Apache-2.0 |
public function setMaxAttempts($var)
{
GPBUtil::checkInt32($var);
$this->max_attempts = $var;
return $this;
} | Number of attempts per task.
Cloud Tasks will attempt the task `max_attempts` times (that is, if the
first attempt fails, then there will be `max_attempts - 1` retries). Must
be >= -1.
If unspecified when the queue is created, Cloud Tasks will pick the
default.
-1 indicates unlimited attempts.
This field has the same meaning as
[task_retry_limit in
queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
Generated from protobuf field <code>int32 max_attempts = 1;</code>
@param int $var
@return $this | setMaxAttempts | php | googleapis/google-cloud-php | Tasks/src/V2/RetryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Tasks/src/V2/RetryConfig.php | Apache-2.0 |
public function getMaxRetryDuration()
{
return $this->max_retry_duration;
} | If positive, `max_retry_duration` specifies the time limit for
retrying a failed task, measured from when the task was first
attempted. Once `max_retry_duration` time has passed *and* the
task has been attempted
[max_attempts][google.cloud.tasks.v2.RetryConfig.max_attempts] times, no
further attempts will be made and the task will be deleted.
If zero, then the task age is unlimited.
If unspecified when the queue is created, Cloud Tasks will pick the
default.
`max_retry_duration` will be truncated to the nearest second.
This field has the same meaning as
[task_age_limit in
queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
Generated from protobuf field <code>.google.protobuf.Duration max_retry_duration = 2;</code>
@return \Google\Protobuf\Duration|null | getMaxRetryDuration | php | googleapis/google-cloud-php | Tasks/src/V2/RetryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Tasks/src/V2/RetryConfig.php | Apache-2.0 |
public function setMaxRetryDuration($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
$this->max_retry_duration = $var;
return $this;
} | If positive, `max_retry_duration` specifies the time limit for
retrying a failed task, measured from when the task was first
attempted. Once `max_retry_duration` time has passed *and* the
task has been attempted
[max_attempts][google.cloud.tasks.v2.RetryConfig.max_attempts] times, no
further attempts will be made and the task will be deleted.
If zero, then the task age is unlimited.
If unspecified when the queue is created, Cloud Tasks will pick the
default.
`max_retry_duration` will be truncated to the nearest second.
This field has the same meaning as
[task_age_limit in
queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
Generated from protobuf field <code>.google.protobuf.Duration max_retry_duration = 2;</code>
@param \Google\Protobuf\Duration $var
@return $this | setMaxRetryDuration | php | googleapis/google-cloud-php | Tasks/src/V2/RetryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Tasks/src/V2/RetryConfig.php | Apache-2.0 |
public function getMinBackoff()
{
return $this->min_backoff;
} | A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for
retry between [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff]
and [max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff] duration
after it fails, if the queue's
[RetryConfig][google.cloud.tasks.v2.RetryConfig] specifies that the task
should be retried.
If unspecified when the queue is created, Cloud Tasks will pick the
default.
`min_backoff` will be truncated to the nearest second.
This field has the same meaning as
[min_backoff_seconds in
queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
Generated from protobuf field <code>.google.protobuf.Duration min_backoff = 3;</code>
@return \Google\Protobuf\Duration|null | getMinBackoff | php | googleapis/google-cloud-php | Tasks/src/V2/RetryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Tasks/src/V2/RetryConfig.php | Apache-2.0 |
public function setMinBackoff($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
$this->min_backoff = $var;
return $this;
} | A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for
retry between [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff]
and [max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff] duration
after it fails, if the queue's
[RetryConfig][google.cloud.tasks.v2.RetryConfig] specifies that the task
should be retried.
If unspecified when the queue is created, Cloud Tasks will pick the
default.
`min_backoff` will be truncated to the nearest second.
This field has the same meaning as
[min_backoff_seconds in
queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
Generated from protobuf field <code>.google.protobuf.Duration min_backoff = 3;</code>
@param \Google\Protobuf\Duration $var
@return $this | setMinBackoff | php | googleapis/google-cloud-php | Tasks/src/V2/RetryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Tasks/src/V2/RetryConfig.php | Apache-2.0 |
public function getMaxBackoff()
{
return $this->max_backoff;
} | A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for
retry between [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff]
and [max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff] duration
after it fails, if the queue's
[RetryConfig][google.cloud.tasks.v2.RetryConfig] specifies that the task
should be retried.
If unspecified when the queue is created, Cloud Tasks will pick the
default.
`max_backoff` will be truncated to the nearest second.
This field has the same meaning as
[max_backoff_seconds in
queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
Generated from protobuf field <code>.google.protobuf.Duration max_backoff = 4;</code>
@return \Google\Protobuf\Duration|null | getMaxBackoff | php | googleapis/google-cloud-php | Tasks/src/V2/RetryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Tasks/src/V2/RetryConfig.php | Apache-2.0 |
public function setMaxBackoff($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
$this->max_backoff = $var;
return $this;
} | A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for
retry between [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff]
and [max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff] duration
after it fails, if the queue's
[RetryConfig][google.cloud.tasks.v2.RetryConfig] specifies that the task
should be retried.
If unspecified when the queue is created, Cloud Tasks will pick the
default.
`max_backoff` will be truncated to the nearest second.
This field has the same meaning as
[max_backoff_seconds in
queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
Generated from protobuf field <code>.google.protobuf.Duration max_backoff = 4;</code>
@param \Google\Protobuf\Duration $var
@return $this | setMaxBackoff | php | googleapis/google-cloud-php | Tasks/src/V2/RetryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Tasks/src/V2/RetryConfig.php | Apache-2.0 |
public function getMaxDoublings()
{
return $this->max_doublings;
} | The time between retries will double `max_doublings` times.
A task's retry interval starts at
[min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff], then doubles
`max_doublings` times, then increases linearly, and finally
retries at intervals of
[max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff] up to
[max_attempts][google.cloud.tasks.v2.RetryConfig.max_attempts] times.
For example, if
[min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] is 10s,
[max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff] is 300s, and
`max_doublings` is 3, then the a task will first be retried in
10s. The retry interval will double three times, and then
increase linearly by 2^3 * 10s. Finally, the task will retry at
intervals of [max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff]
until the task has been attempted
[max_attempts][google.cloud.tasks.v2.RetryConfig.max_attempts] times. Thus,
the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, ....
If unspecified when the queue is created, Cloud Tasks will pick the
default.
This field has the same meaning as
[max_doublings in
queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
Generated from protobuf field <code>int32 max_doublings = 5;</code>
@return int | getMaxDoublings | php | googleapis/google-cloud-php | Tasks/src/V2/RetryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Tasks/src/V2/RetryConfig.php | Apache-2.0 |
public function setMaxDoublings($var)
{
GPBUtil::checkInt32($var);
$this->max_doublings = $var;
return $this;
} | The time between retries will double `max_doublings` times.
A task's retry interval starts at
[min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff], then doubles
`max_doublings` times, then increases linearly, and finally
retries at intervals of
[max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff] up to
[max_attempts][google.cloud.tasks.v2.RetryConfig.max_attempts] times.
For example, if
[min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] is 10s,
[max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff] is 300s, and
`max_doublings` is 3, then the a task will first be retried in
10s. The retry interval will double three times, and then
increase linearly by 2^3 * 10s. Finally, the task will retry at
intervals of [max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff]
until the task has been attempted
[max_attempts][google.cloud.tasks.v2.RetryConfig.max_attempts] times. Thus,
the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, ....
If unspecified when the queue is created, Cloud Tasks will pick the
default.
This field has the same meaning as
[max_doublings in
queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
Generated from protobuf field <code>int32 max_doublings = 5;</code>
@param int $var
@return $this | setMaxDoublings | php | googleapis/google-cloud-php | Tasks/src/V2/RetryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Tasks/src/V2/RetryConfig.php | Apache-2.0 |
public function getResourceManagerTags()
{
return $this->resource_manager_tags;
} | Optional. Resource manager tags to be bound to the instance.
Generated from protobuf field <code>map<string, string> resource_manager_tags = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Protobuf\Internal\MapField | getResourceManagerTags | php | googleapis/google-cloud-php | BackupDr/src/V1/InstanceParams.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/InstanceParams.php | Apache-2.0 |
public function setResourceManagerTags($var)
{
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
$this->resource_manager_tags = $arr;
return $this;
} | Optional. Resource manager tags to be bound to the instance.
Generated from protobuf field <code>map<string, string> resource_manager_tags = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this | setResourceManagerTags | php | googleapis/google-cloud-php | BackupDr/src/V1/InstanceParams.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/InstanceParams.php | Apache-2.0 |
public function getIntent()
{
return $this->intent;
} | The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query.
Some, not all fields are filled in this message, including but not limited
to: `name` and `display_name`. Only filled for
[`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type.
Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.Intent intent = 1;</code>
@return \Google\Cloud\Dialogflow\Cx\V3\Intent|null | getIntent | php | googleapis/google-cloud-php | DialogflowCx/src/V3/PBMatch.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/PBMatch.php | Apache-2.0 |
public function setIntent($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\Cx\V3\Intent::class);
$this->intent = $var;
return $this;
} | The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query.
Some, not all fields are filled in this message, including but not limited
to: `name` and `display_name`. Only filled for
[`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type.
Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.Intent intent = 1;</code>
@param \Google\Cloud\Dialogflow\Cx\V3\Intent $var
@return $this | setIntent | php | googleapis/google-cloud-php | DialogflowCx/src/V3/PBMatch.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/PBMatch.php | Apache-2.0 |
public function getEvent()
{
return $this->event;
} | The event that matched the query. Filled for
[`EVENT`][google.cloud.dialogflow.cx.v3.Match.MatchType],
[`NO_MATCH`][google.cloud.dialogflow.cx.v3.Match.MatchType] and
[`NO_INPUT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match types.
Generated from protobuf field <code>string event = 6;</code>
@return string | getEvent | php | googleapis/google-cloud-php | DialogflowCx/src/V3/PBMatch.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/PBMatch.php | Apache-2.0 |
public function setEvent($var)
{
GPBUtil::checkString($var, True);
$this->event = $var;
return $this;
} | The event that matched the query. Filled for
[`EVENT`][google.cloud.dialogflow.cx.v3.Match.MatchType],
[`NO_MATCH`][google.cloud.dialogflow.cx.v3.Match.MatchType] and
[`NO_INPUT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match types.
Generated from protobuf field <code>string event = 6;</code>
@param string $var
@return $this | setEvent | php | googleapis/google-cloud-php | DialogflowCx/src/V3/PBMatch.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/PBMatch.php | Apache-2.0 |
public function getParameters()
{
return $this->parameters;
} | The collection of parameters extracted from the query.
Depending on your protocol or client library language, this is a
map, associative array, symbol table, dictionary, or JSON object
composed of a collection of (MapKey, MapValue) pairs:
* MapKey type: string
* MapKey value: parameter name
* MapValue type: If parameter's entity type is a composite entity then use
map, otherwise, depending on the parameter value type, it could be one of
string, number, boolean, null, list or map.
* MapValue value: If parameter's entity type is a composite entity then use
map from composite entity property names to property values, otherwise,
use parameter value.
Generated from protobuf field <code>.google.protobuf.Struct parameters = 2;</code>
@return \Google\Protobuf\Struct|null | getParameters | php | googleapis/google-cloud-php | DialogflowCx/src/V3/PBMatch.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/PBMatch.php | Apache-2.0 |
public function setParameters($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Struct::class);
$this->parameters = $var;
return $this;
} | The collection of parameters extracted from the query.
Depending on your protocol or client library language, this is a
map, associative array, symbol table, dictionary, or JSON object
composed of a collection of (MapKey, MapValue) pairs:
* MapKey type: string
* MapKey value: parameter name
* MapValue type: If parameter's entity type is a composite entity then use
map, otherwise, depending on the parameter value type, it could be one of
string, number, boolean, null, list or map.
* MapValue value: If parameter's entity type is a composite entity then use
map from composite entity property names to property values, otherwise,
use parameter value.
Generated from protobuf field <code>.google.protobuf.Struct parameters = 2;</code>
@param \Google\Protobuf\Struct $var
@return $this | setParameters | php | googleapis/google-cloud-php | DialogflowCx/src/V3/PBMatch.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/PBMatch.php | Apache-2.0 |
public function getResolvedInput()
{
return $this->resolved_input;
} | Final text input which was matched during MatchIntent. This value can be
different from original input sent in request because of spelling
correction or other processing.
Generated from protobuf field <code>string resolved_input = 3;</code>
@return string | getResolvedInput | php | googleapis/google-cloud-php | DialogflowCx/src/V3/PBMatch.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/PBMatch.php | Apache-2.0 |
public function setResolvedInput($var)
{
GPBUtil::checkString($var, True);
$this->resolved_input = $var;
return $this;
} | Final text input which was matched during MatchIntent. This value can be
different from original input sent in request because of spelling
correction or other processing.
Generated from protobuf field <code>string resolved_input = 3;</code>
@param string $var
@return $this | setResolvedInput | php | googleapis/google-cloud-php | DialogflowCx/src/V3/PBMatch.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/PBMatch.php | Apache-2.0 |
public function getMatchType()
{
return $this->match_type;
} | Type of this [Match][google.cloud.dialogflow.cx.v3.Match].
Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.Match.MatchType match_type = 4;</code>
@return int | getMatchType | php | googleapis/google-cloud-php | DialogflowCx/src/V3/PBMatch.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/PBMatch.php | Apache-2.0 |
public function setMatchType($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\Cx\V3\PBMatch\MatchType::class);
$this->match_type = $var;
return $this;
} | Type of this [Match][google.cloud.dialogflow.cx.v3.Match].
Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.Match.MatchType match_type = 4;</code>
@param int $var
@return $this | setMatchType | php | googleapis/google-cloud-php | DialogflowCx/src/V3/PBMatch.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/PBMatch.php | Apache-2.0 |
public function getConfidence()
{
return $this->confidence;
} | The confidence of this match. Values range from 0.0 (completely uncertain)
to 1.0 (completely certain).
This value is for informational purpose only and is only used to help match
the best intent within the classification threshold. This value may change
for the same end-user expression at any time due to a model retraining or
change in implementation.
Generated from protobuf field <code>float confidence = 5;</code>
@return float | getConfidence | php | googleapis/google-cloud-php | DialogflowCx/src/V3/PBMatch.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/PBMatch.php | Apache-2.0 |
public function setConfidence($var)
{
GPBUtil::checkFloat($var);
$this->confidence = $var;
return $this;
} | The confidence of this match. Values range from 0.0 (completely uncertain)
to 1.0 (completely certain).
This value is for informational purpose only and is only used to help match
the best intent within the classification threshold. This value may change
for the same end-user expression at any time due to a model retraining or
change in implementation.
Generated from protobuf field <code>float confidence = 5;</code>
@param float $var
@return $this | setConfidence | php | googleapis/google-cloud-php | DialogflowCx/src/V3/PBMatch.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/PBMatch.php | Apache-2.0 |
public function getTrainingMethod()
{
return $this->training_method;
} | Training method to use for CDE training.
Generated from protobuf field <code>.google.cloud.documentai.v1.TrainProcessorVersionRequest.CustomDocumentExtractionOptions.TrainingMethod training_method = 3;</code>
@return int | getTrainingMethod | php | googleapis/google-cloud-php | DocumentAi/src/V1/TrainProcessorVersionRequest/CustomDocumentExtractionOptions.php | https://github.com/googleapis/google-cloud-php/blob/master/DocumentAi/src/V1/TrainProcessorVersionRequest/CustomDocumentExtractionOptions.php | Apache-2.0 |
public function setTrainingMethod($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\DocumentAI\V1\TrainProcessorVersionRequest\CustomDocumentExtractionOptions\TrainingMethod::class);
$this->training_method = $var;
return $this;
} | Training method to use for CDE training.
Generated from protobuf field <code>.google.cloud.documentai.v1.TrainProcessorVersionRequest.CustomDocumentExtractionOptions.TrainingMethod training_method = 3;</code>
@param int $var
@return $this | setTrainingMethod | php | googleapis/google-cloud-php | DocumentAi/src/V1/TrainProcessorVersionRequest/CustomDocumentExtractionOptions.php | https://github.com/googleapis/google-cloud-php/blob/master/DocumentAi/src/V1/TrainProcessorVersionRequest/CustomDocumentExtractionOptions.php | Apache-2.0 |
public function getRollout()
{
return $this->rollout;
} | Required. Name of the Rollout. Format is
`projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
Generated from protobuf field <code>string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getRollout | php | googleapis/google-cloud-php | Deploy/src/V1/IgnoreJobRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/IgnoreJobRequest.php | Apache-2.0 |
public function setRollout($var)
{
GPBUtil::checkString($var, True);
$this->rollout = $var;
return $this;
} | Required. Name of the Rollout. Format is
`projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
Generated from protobuf field <code>string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setRollout | php | googleapis/google-cloud-php | Deploy/src/V1/IgnoreJobRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/IgnoreJobRequest.php | Apache-2.0 |
public function getPhaseId()
{
return $this->phase_id;
} | Required. The phase ID the Job to ignore belongs to.
Generated from protobuf field <code>string phase_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getPhaseId | php | googleapis/google-cloud-php | Deploy/src/V1/IgnoreJobRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/IgnoreJobRequest.php | Apache-2.0 |
public function setPhaseId($var)
{
GPBUtil::checkString($var, True);
$this->phase_id = $var;
return $this;
} | Required. The phase ID the Job to ignore belongs to.
Generated from protobuf field <code>string phase_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setPhaseId | php | googleapis/google-cloud-php | Deploy/src/V1/IgnoreJobRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/IgnoreJobRequest.php | Apache-2.0 |
public function getJobId()
{
return $this->job_id;
} | Required. The job ID for the Job to ignore.
Generated from protobuf field <code>string job_id = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getJobId | php | googleapis/google-cloud-php | Deploy/src/V1/IgnoreJobRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/IgnoreJobRequest.php | Apache-2.0 |
public function setJobId($var)
{
GPBUtil::checkString($var, True);
$this->job_id = $var;
return $this;
} | Required. The job ID for the Job to ignore.
Generated from protobuf field <code>string job_id = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setJobId | php | googleapis/google-cloud-php | Deploy/src/V1/IgnoreJobRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/IgnoreJobRequest.php | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.