Interface CreateAnywhereCacheRequestOrBuilder (2.53.0)

public interface CreateAnywhereCacheRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnywhereCache()

public abstract AnywhereCache getAnywhereCache()

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.

.google.storage.control.v2.AnywhereCache anywhere_cache = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AnywhereCache

The anywhereCache.

getAnywhereCacheOrBuilder()

public abstract AnywhereCacheOrBuilder getAnywhereCacheOrBuilder()

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.

.google.storage.control.v2.AnywhereCache anywhere_cache = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AnywhereCacheOrBuilder

getParent()

public abstract String getParent()

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

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

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

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getRequestId()

public abstract String 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.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public abstract ByteString getRequestIdBytes()

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.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

hasAnywhereCache()

public abstract boolean hasAnywhereCache()

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.

.google.storage.control.v2.AnywhereCache anywhere_cache = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the anywhereCache field is set.