Cloud Storage v2 API - Class CreateAnywhereCacheRequest (1.3.0)

public sealed class CreateAnywhereCacheRequest : IMessage<CreateAnywhereCacheRequest>, IEquatable<CreateAnywhereCacheRequest>, IDeepCloneable<CreateAnywhereCacheRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Storage v2 API class CreateAnywhereCacheRequest.

Request message for CreateAnywhereCache.

Inheritance

object > CreateAnywhereCacheRequest

Namespace

Google.Cloud.Storage.Control.V2

Assembly

Google.Cloud.Storage.Control.V2.dll

Constructors

CreateAnywhereCacheRequest()

public CreateAnywhereCacheRequest()

CreateAnywhereCacheRequest(CreateAnywhereCacheRequest)

public CreateAnywhereCacheRequest(CreateAnywhereCacheRequest other)
Parameter
Name Description
other CreateAnywhereCacheRequest

Properties

AnywhereCache

public AnywhereCache AnywhereCache { get; set; }

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.

Property Value
Type Description
AnywhereCache

Parent

public string Parent { get; set; }

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

Property Value
Type Description
string

ParentAsBucketName

public BucketName ParentAsBucketName { get; set; }

BucketName-typed view over the Parent resource name property.

Property Value
Type Description
BucketName

RequestId

public string RequestId { get; set; }

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.

Property Value
Type Description
string