(::Google::Protobuf::FieldMask) — Optional. Field mask that specifies the fields in view that need
an update. A field will be overwritten if, and only if, it is
in the update mask. name and output only fields cannot be updated.
For a detailed FieldMask definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
value (::Google::Protobuf::FieldMask) — Optional. Field mask that specifies the fields in view that need
an update. A field will be overwritten if, and only if, it is
in the update mask. name and output only fields cannot be updated.
For a detailed FieldMask definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
For example: updateMask=filter
Returns
(::Google::Protobuf::FieldMask) — Optional. Field mask that specifies the fields in view that need
an update. A field will be overwritten if, and only if, it is
in the update mask. name and output only fields cannot be updated.
For a detailed FieldMask definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
[[["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-08-28 UTC."],[],[],null,["# Cloud Logging V2 API - Class Google::Cloud::Logging::V2::UpdateViewRequest (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-logging-v2/latest/Google-Cloud-Logging-V2-UpdateViewRequest)\n- [1.2.1](/ruby/docs/reference/google-cloud-logging-v2/1.2.1/Google-Cloud-Logging-V2-UpdateViewRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-logging-v2/1.1.0/Google-Cloud-Logging-V2-UpdateViewRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-logging-v2/1.0.1/Google-Cloud-Logging-V2-UpdateViewRequest)\n- [0.13.0](/ruby/docs/reference/google-cloud-logging-v2/0.13.0/Google-Cloud-Logging-V2-UpdateViewRequest)\n- [0.12.2](/ruby/docs/reference/google-cloud-logging-v2/0.12.2/Google-Cloud-Logging-V2-UpdateViewRequest)\n- [0.11.0](/ruby/docs/reference/google-cloud-logging-v2/0.11.0/Google-Cloud-Logging-V2-UpdateViewRequest)\n- [0.10.1](/ruby/docs/reference/google-cloud-logging-v2/0.10.1/Google-Cloud-Logging-V2-UpdateViewRequest)\n- [0.9.0](/ruby/docs/reference/google-cloud-logging-v2/0.9.0/Google-Cloud-Logging-V2-UpdateViewRequest)\n- [0.8.1](/ruby/docs/reference/google-cloud-logging-v2/0.8.1/Google-Cloud-Logging-V2-UpdateViewRequest)\n- [0.7.0](/ruby/docs/reference/google-cloud-logging-v2/0.7.0/Google-Cloud-Logging-V2-UpdateViewRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-logging-v2/0.6.0/Google-Cloud-Logging-V2-UpdateViewRequest)\n- [0.5.6](/ruby/docs/reference/google-cloud-logging-v2/0.5.6/Google-Cloud-Logging-V2-UpdateViewRequest) \nReference documentation and code samples for the Cloud Logging V2 API class Google::Cloud::Logging::V2::UpdateViewRequest.\n\nThe parameters to `UpdateView`. \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### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The full resource name of the view to update\n\n \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\"\n\n For example:\n\n `\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"`\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The full resource name of the view to update\n\n\n \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\"\n\n For example:\n\n`\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"` \n**Returns**\n\n- (::String) --- Required. The full resource name of the view to update\n\n \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\"\n\n For example:\n\n `\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"`\n\n### #update_mask\n\n def update_mask() -\u003e ::Google::Protobuf::FieldMask\n\n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- Optional. Field mask that specifies the fields in `view` that need an update. A field will be overwritten if, and only if, it is in the update mask. `name` and output only fields cannot be updated.\n\n\n For a detailed `FieldMask` definition, see\n https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask\n\n For example: `updateMask=filter`\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)) --- Optional. Field mask that specifies the fields in `view` that need an update. A field will be overwritten if, and only if, it is in the update mask. `name` and output only fields cannot be updated.\n\n\n For a detailed `FieldMask` definition, see\n https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask\n\nFor example: `updateMask=filter` \n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- Optional. Field mask that specifies the fields in `view` that need an update. A field will be overwritten if, and only if, it is in the update mask. `name` and output only fields cannot be updated.\n\n\n For a detailed `FieldMask` definition, see\n https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask\n\n For example: `updateMask=filter`\n\n### #view\n\n def view() -\u003e ::Google::Cloud::Logging::V2::LogView\n\n**Returns**\n\n- ([::Google::Cloud::Logging::V2::LogView](./Google-Cloud-Logging-V2-LogView)) --- Required. The updated view.\n\n### #view=\n\n def view=(value) -\u003e ::Google::Cloud::Logging::V2::LogView\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Logging::V2::LogView](./Google-Cloud-Logging-V2-LogView)) --- Required. The updated view. \n**Returns**\n\n- ([::Google::Cloud::Logging::V2::LogView](./Google-Cloud-Logging-V2-LogView)) --- Required. The updated view."]]