Class: Google::Logging::V2::UpdateExclusionRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/logging/v2/doc/google/logging/v2/logging_config.rb

Overview

The parameters to +UpdateExclusion+.

Instance Attribute Summary collapse

Instance Attribute Details

#exclusionGoogle::Logging::V2::LogExclusion

Returns Required. New values for the existing exclusion. Only the fields specified in +update_mask+ are relevant.

Returns:



365
# File 'lib/google/cloud/logging/v2/doc/google/logging/v2/logging_config.rb', line 365

class UpdateExclusionRequest; end

#nameString

Returns Required. The resource name of the exclusion to update:

"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"

Example: +"projects/my-project-id/exclusions/my-exclusion-id"+.

Returns:

  • (String)

    Required. The resource name of the exclusion to update:

    "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
    "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
    "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
    "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
    

    Example: +"projects/my-project-id/exclusions/my-exclusion-id"+.



365
# File 'lib/google/cloud/logging/v2/doc/google/logging/v2/logging_config.rb', line 365

class UpdateExclusionRequest; end

#update_maskGoogle::Protobuf::FieldMask

Returns Required. A nonempty 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 nonempty 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"+.



365
# File 'lib/google/cloud/logging/v2/doc/google/logging/v2/logging_config.rb', line 365

class UpdateExclusionRequest; end