(::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=
defrequest_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
defupdate_mask()->::Google::Protobuf::FieldMask
Returns
(::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.
value (::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) — 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[],[],null,["# Storage Control V2 API - Class Google::Cloud::Storage::Control::V2::UpdateAnywhereCacheRequest (v1.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.5.0 (latest)](/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Cloud-Storage-Control-V2-UpdateAnywhereCacheRequest)\n- [1.4.0](/ruby/docs/reference/google-cloud-storage-control-v2/1.4.0/Google-Cloud-Storage-Control-V2-UpdateAnywhereCacheRequest)\n- [1.3.0](/ruby/docs/reference/google-cloud-storage-control-v2/1.3.0/Google-Cloud-Storage-Control-V2-UpdateAnywhereCacheRequest)\n- [1.2.1](/ruby/docs/reference/google-cloud-storage-control-v2/1.2.1/Google-Cloud-Storage-Control-V2-UpdateAnywhereCacheRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-storage-control-v2/1.1.0/Google-Cloud-Storage-Control-V2-UpdateAnywhereCacheRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-storage-control-v2/1.0.1/Google-Cloud-Storage-Control-V2-UpdateAnywhereCacheRequest)\n- [0.1.1](/ruby/docs/reference/google-cloud-storage-control-v2/0.1.1/Google-Cloud-Storage-Control-V2-UpdateAnywhereCacheRequest) \nReference documentation and code samples for the Storage Control V2 API class Google::Cloud::Storage::Control::V2::UpdateAnywhereCacheRequest.\n\nRequest message for UpdateAnywhereCache. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #anywhere_cache\n\n def anywhere_cache() -\u003e ::Google::Cloud::Storage::Control::V2::AnywhereCache\n\n**Returns**\n\n- ([::Google::Cloud::Storage::Control::V2::AnywhereCache](./Google-Cloud-Storage-Control-V2-AnywhereCache)) --- Required. The Anywhere Cache instance to be updated.\n\n### #anywhere_cache=\n\n def anywhere_cache=(value) -\u003e ::Google::Cloud::Storage::Control::V2::AnywhereCache\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Storage::Control::V2::AnywhereCache](./Google-Cloud-Storage-Control-V2-AnywhereCache)) --- Required. The Anywhere Cache instance to be updated. \n**Returns**\n\n- ([::Google::Cloud::Storage::Control::V2::AnywhereCache](./Google-Cloud-Storage-Control-V2-AnywhereCache)) --- Required. The Anywhere Cache instance to be updated.\n\n### #request_id\n\n def request_id() -\u003e ::String\n\n**Returns**\n\n- (::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.\n\n### #request_id=\n\n def request_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **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. \n**Returns**\n\n- (::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.\n\n### #update_mask\n\n def update_mask() -\u003e ::Google::Protobuf::FieldMask\n\n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- Required. List of fields to be updated. Mutable fields of AnywhereCache include `ttl` and `admission_policy`.\n\n\n To specify ALL fields, specify a single field with the value `*`. Note: We\n recommend against doing this. If a new field is introduced at a later time,\n an older client updating with the `*` may accidentally reset the new\n field's value.\n\n Not specifying any fields is an error.\n\n### #update_mask=\n\n def update_mask=(value) -\u003e ::Google::Protobuf::FieldMask\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- Required. List of fields to be updated. Mutable fields of AnywhereCache include `ttl` and `admission_policy`.\n\n\n To specify ALL fields, specify a single field with the value `*`. Note: We\n recommend against doing this. If a new field is introduced at a later time,\n an older client updating with the `*` may accidentally reset the new\n field's value.\n\nNot specifying any fields is an error. \n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- Required. List of fields to be updated. Mutable fields of AnywhereCache include `ttl` and `admission_policy`.\n\n\n To specify ALL fields, specify a single field with the value `*`. Note: We\n recommend against doing this. If a new field is introduced at a later time,\n an older client updating with the `*` may accidentally reset the new\n field's value.\n\n Not specifying any fields is an error."]]