Google Cloud Storage Control V2 Client - Class UpdateRapidCacheRequest (1.12.3)

Reference documentation and code samples for the Google Cloud Storage Control V2 Client class UpdateRapidCacheRequest.

Request message for UpdateRapidCache.

Generated from protobuf message google.storage.control.v2.UpdateRapidCacheRequest

Namespace

Google \ Cloud \ Storage \ Control \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ rapid_cache RapidCache

Required. The RapidCache to update.

↳ update_mask Google\Protobuf\FieldMask

Required. List of fields to be updated. Mutable fields of RapidCache include ttl, admission_policy and ingest_on_write. To specify ALL fields, specify a single field with the value *. Note: We recommend against doing this. If a new field is introduced at a later time, an older client updating with the * may accidentally reset the new field's value. Not specifying any fields is an error.

↳ request_id string

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. This request is only idempotent if a request_id is provided.

getRapidCache

Required. The RapidCache to update.

Returns
Type Description
RapidCache|null

hasRapidCache

clearRapidCache

setRapidCache

Required. The RapidCache to update.

Parameter
Name Description
var RapidCache
Returns
Type Description
$this

getUpdateMask

Required. List of fields to be updated. Mutable fields of RapidCache include ttl, admission_policy and ingest_on_write.

To specify ALL fields, specify a single field with the value *. Note: We recommend against doing this. If a new field is introduced at a later time, an older client updating with the * may accidentally reset the new field's value. Not specifying any fields is an error.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. List of fields to be updated. Mutable fields of RapidCache include ttl, admission_policy and ingest_on_write.

To specify ALL fields, specify a single field with the value *. Note: We recommend against doing this. If a new field is introduced at a later time, an older client updating with the * may accidentally reset the new field's value. Not specifying any fields is an error.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

getRequestId

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. This request is only idempotent if a request_id is provided.

Returns
Type Description
string

setRequestId

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. This request is only idempotent if a request_id is provided.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
rapidCache RapidCache

Required. The RapidCache to update.

updateMask Google\Protobuf\FieldMask

Required. List of fields to be updated. Mutable fields of RapidCache include ttl, admission_policy and ingest_on_write.

To specify ALL fields, specify a single field with the value *. Note: We recommend against doing this. If a new field is introduced at a later time, an older client updating with the * may accidentally reset the new field's value.

Not specifying any fields is an error.

Returns
Type Description
UpdateRapidCacheRequest