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

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

Request message for CreateRapidCache.

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

Namespace

Google \ Cloud \ Storage \ Control \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The bucket to which this cache belongs. Format: projects/{project}/buckets/{bucket}

↳ rapid_cache RapidCache

Required. The RapidCache to create. Default values for ingest_on_write, ttl and admission_policy will be applied if not specified in the request.

↳ 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.

getParent

Required. The bucket to which this cache belongs.

Format: projects/{project}/buckets/{bucket}

Returns
Type Description
string

setParent

Required. The bucket to which this cache belongs.

Format: projects/{project}/buckets/{bucket}

Parameter
Name Description
var string
Returns
Type Description
$this

getRapidCache

Required. The RapidCache to create. Default values for ingest_on_write, ttl and admission_policy will be applied if not specified in the request.

Returns
Type Description
RapidCache|null

hasRapidCache

clearRapidCache

setRapidCache

Required. The RapidCache to create. Default values for ingest_on_write, ttl and admission_policy will be applied if not specified in the request.

Parameter
Name Description
var RapidCache
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
parent string

Required. The bucket to which this cache belongs. Format: projects/{project}/buckets/{bucket} Please see StorageControlClient::bucketName() for help formatting this field.

rapidCache RapidCache

Required. The RapidCache to create. Default values for ingest_on_write, ttl and admission_policy will be applied if not specified in the request.

Returns
Type Description
CreateRapidCacheRequest