(::Google::Protobuf::FieldMask) — Required. A non-empty list of fields to change in the existing exclusion.
New values for the fields are taken from the corresponding fields in the
LogExclusion included in this request.
Fields not mentioned in update_mask are not changed and are ignored in
the request.
For example, to change the filter and description of an exclusion,
specify an update_mask of "filter,description".
value (::Google::Protobuf::FieldMask) — Required. A non-empty list of fields to change in the existing exclusion.
New values for the fields are taken from the corresponding fields in the
LogExclusion included in this request.
Fields not mentioned in update_mask are not changed and are ignored in
the request.
For example, to change the filter and description of an exclusion,
specify an update_mask of "filter,description".
Returns
(::Google::Protobuf::FieldMask) — Required. A non-empty list of fields to change in the existing exclusion.
New values for the fields are taken from the corresponding fields in the
LogExclusion included in this request.
Fields not mentioned in update_mask are not changed and are ignored in
the request.
For example, to change the filter and description of an exclusion,
specify an update_mask of "filter,description".
[[["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::UpdateExclusionRequest (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-UpdateExclusionRequest)\n- [1.2.1](/ruby/docs/reference/google-cloud-logging-v2/1.2.1/Google-Cloud-Logging-V2-UpdateExclusionRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-logging-v2/1.1.0/Google-Cloud-Logging-V2-UpdateExclusionRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-logging-v2/1.0.1/Google-Cloud-Logging-V2-UpdateExclusionRequest)\n- [0.13.0](/ruby/docs/reference/google-cloud-logging-v2/0.13.0/Google-Cloud-Logging-V2-UpdateExclusionRequest)\n- [0.12.2](/ruby/docs/reference/google-cloud-logging-v2/0.12.2/Google-Cloud-Logging-V2-UpdateExclusionRequest)\n- [0.11.0](/ruby/docs/reference/google-cloud-logging-v2/0.11.0/Google-Cloud-Logging-V2-UpdateExclusionRequest)\n- [0.10.1](/ruby/docs/reference/google-cloud-logging-v2/0.10.1/Google-Cloud-Logging-V2-UpdateExclusionRequest)\n- [0.9.0](/ruby/docs/reference/google-cloud-logging-v2/0.9.0/Google-Cloud-Logging-V2-UpdateExclusionRequest)\n- [0.8.1](/ruby/docs/reference/google-cloud-logging-v2/0.8.1/Google-Cloud-Logging-V2-UpdateExclusionRequest)\n- [0.7.0](/ruby/docs/reference/google-cloud-logging-v2/0.7.0/Google-Cloud-Logging-V2-UpdateExclusionRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-logging-v2/0.6.0/Google-Cloud-Logging-V2-UpdateExclusionRequest)\n- [0.5.6](/ruby/docs/reference/google-cloud-logging-v2/0.5.6/Google-Cloud-Logging-V2-UpdateExclusionRequest) \nReference documentation and code samples for the Cloud Logging V2 API class Google::Cloud::Logging::V2::UpdateExclusionRequest.\n\nThe parameters to `UpdateExclusion`. \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### #exclusion\n\n def exclusion() -\u003e ::Google::Cloud::Logging::V2::LogExclusion\n\n**Returns**\n\n- ([::Google::Cloud::Logging::V2::LogExclusion](./Google-Cloud-Logging-V2-LogExclusion)) --- Required. New values for the existing exclusion. Only the fields specified in `update_mask` are relevant.\n\n### #exclusion=\n\n def exclusion=(value) -\u003e ::Google::Cloud::Logging::V2::LogExclusion\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Logging::V2::LogExclusion](./Google-Cloud-Logging-V2-LogExclusion)) --- Required. New values for the existing exclusion. Only the fields specified in `update_mask` are relevant. \n**Returns**\n\n- ([::Google::Cloud::Logging::V2::LogExclusion](./Google-Cloud-Logging-V2-LogExclusion)) --- Required. New values for the existing exclusion. Only the fields specified in `update_mask` are relevant.\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The resource name of the exclusion to update:\n\n \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\"\n \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\"\n \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\"\n \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\"\n\n For example:\n\n `\"projects/my-project/exclusions/my-exclusion\"`\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The resource name of the exclusion to update:\n\n\n \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\"\n \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\"\n \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\"\n \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\"\n\n For example:\n\n`\"projects/my-project/exclusions/my-exclusion\"` \n**Returns**\n\n- (::String) --- Required. The resource name of the exclusion to update:\n\n \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\"\n \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\"\n \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\"\n \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\"\n\n For example:\n\n `\"projects/my-project/exclusions/my-exclusion\"`\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. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the [LogExclusion](/ruby/docs/reference/google-cloud-logging-v2/latest/Google-Cloud-Logging-V2-LogExclusion \"Google::Cloud::Logging::V2::LogExclusion (class)\") included in this request. Fields not mentioned in `update_mask` are not changed and are ignored in the request.\n\n\n For example, to change the filter and description of an exclusion,\n specify an `update_mask` of `\"filter,description\"`.\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. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the [LogExclusion](/ruby/docs/reference/google-cloud-logging-v2/latest/Google-Cloud-Logging-V2-LogExclusion \"Google::Cloud::Logging::V2::LogExclusion (class)\") included in this request. Fields not mentioned in `update_mask` are not changed and are ignored in the request.\n\n\n For example, to change the filter and description of an exclusion,\nspecify an `update_mask` of `\"filter,description\"`. \n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the [LogExclusion](/ruby/docs/reference/google-cloud-logging-v2/latest/Google-Cloud-Logging-V2-LogExclusion \"Google::Cloud::Logging::V2::LogExclusion (class)\") included in this request. Fields not mentioned in `update_mask` are not changed and are ignored in the request.\n\n\n For example, to change the filter and description of an exclusion,\n specify an `update_mask` of `\"filter,description\"`."]]