1.11.0 (latest) 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.1

    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](https://learn.microsoft.com/dotnet/api/system.object) \> CreateAnywhereCacheRequest

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[CreateAnywhereCacheRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Storage.Control.V2/latest/Google.Cloud.Storage.Control.V2.CreateAnywhereCacheRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateAnywhereCacheRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Storage.Control.V2/latest/Google.Cloud.Storage.Control.V2.CreateAnywhereCacheRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[CreateAnywhereCacheRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Storage.Control.V2/latest/Google.Cloud.Storage.Control.V2.CreateAnywhereCacheRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Storage.Control.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Storage.Control.V2/latest/Google.Cloud.Storage.Control.V2.md.txt)

## 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](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Storage.Control.V2/latest/Google.Cloud.Storage.Control.V2.BucketName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Storage.Control.V2/latest/Google.Cloud.Storage.Control.V2.CreateAnywhereCacheRequest.md.txt#Google_Cloud_Storage_Control_V2_CreateAnywhereCacheRequest_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` |   |