# Storage Control V2 API - Class Google::Cloud::Storage::Control::V2::UpdateAnywhereCacheRequest (v1.12.0)

1.12.0 (latest) 1.11.0 1.10.1 1.9.0 1.8.1 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.1.1 Reference documentation and code samples for the Storage Control V2 API class Google::Cloud::Storage::Control::V2::UpdateAnywhereCacheRequest.

Request message for UpdateAnywhereCache.

## 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Cloud-Storage-Control-V2-AnywhereCache)) --- Required. The Anywhere Cache instance to be updated.

### #anywhere_cache=

    def anywhere_cache=(value) -> ::Google::Cloud::Storage::Control::V2::AnywhereCache

**Parameter**

- **value** ([::Google::Cloud::Storage::Control::V2::AnywhereCache](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Cloud-Storage-Control-V2-AnywhereCache)) --- Required. The Anywhere Cache instance to be updated.
**Returns**

- ([::Google::Cloud::Storage::Control::V2::AnywhereCache](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Cloud-Storage-Control-V2-AnywhereCache)) --- Required. The Anywhere Cache instance to be updated.

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

### #update_mask

    def update_mask() -> ::Google::Protobuf::FieldMask

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Protobuf-FieldMask)) --- Required. List of fields to be updated. Mutable fields of AnywhereCache include `ttl` and `admission_policy`.


  To specify ALL fields, specify a single field with the value `*`. Note: We
  recommend against doing this. If a new field is introduced at a later time,
  an older client updating with the `*` may accidentally reset the new
  field's value.

  Not specifying any fields is an error.

### #update_mask=

    def update_mask=(value) -> ::Google::Protobuf::FieldMask

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Protobuf-FieldMask)) --- Required. List of fields to be updated. Mutable fields of AnywhereCache include `ttl` and `admission_policy`.


  To specify ALL fields, specify a single field with the value `*`. Note: We
  recommend against doing this. If a new field is introduced at a later time,
  an older client updating with the `*` may accidentally reset the new
  field's value.

  Not specifying any fields is an error.
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Protobuf-FieldMask)) --- Required. List of fields to be updated. Mutable fields of AnywhereCache include `ttl` and `admission_policy`.


  To specify ALL fields, specify a single field with the value `*`. Note: We
  recommend against doing this. If a new field is introduced at a later time,
  an older client updating with the `*` may accidentally reset the new
  field's value.

  Not specifying any fields is an error.