Storage Control V2 API - Class Google::Cloud::Storage::Control::V2::CreateAnywhereCacheRequest (v1.4.0)

Reference documentation and code samples for the Storage Control V2 API class Google::Cloud::Storage::Control::V2::CreateAnywhereCacheRequest.

Request message for CreateAnywhereCache.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#anywhere_cache

def anywhere_cache() -> ::Google::Cloud::Storage::Control::V2::AnywhereCache
Returns
  • (::Google::Cloud::Storage::Control::V2::AnywhereCache) — Required. Properties of the Anywhere Cache instance being created. The parent bucket name is specified in the parent field. Server uses the default value of ttl or admission_policy if not specified in request.

#anywhere_cache=

def anywhere_cache=(value) -> ::Google::Cloud::Storage::Control::V2::AnywhereCache
Parameter
  • value (::Google::Cloud::Storage::Control::V2::AnywhereCache) — Required. Properties of the Anywhere Cache instance being created. The parent bucket name is specified in the parent field. Server uses the default value of ttl or admission_policy if not specified in request.
Returns
  • (::Google::Cloud::Storage::Control::V2::AnywhereCache) — Required. Properties of the Anywhere Cache instance being created. The parent bucket name is specified in the parent field. Server uses the default value of ttl or admission_policy if not specified in request.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The bucket to which this cache belongs. Format: projects/{project}/buckets/{bucket}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The bucket to which this cache belongs. Format: projects/{project}/buckets/{bucket}
Returns
  • (::String) — Required. The bucket to which this cache belongs. Format: projects/{project}/buckets/{bucket}

#request_id

def request_id() -> ::String
Returns
  • (::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.

#request_id=

def request_id=(value) -> ::String
Parameter
  • value (::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.
Returns
  • (::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.