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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/logging/v2/logging_config.rb

Overview

The parameters to UpdateExclusion.

Instance Attribute Summary collapse

Instance Attribute Details

#exclusion::Google::Cloud::Logging::V2::LogExclusion

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

Returns:



859
860
861
862
# File 'proto_docs/google/logging/v2/logging_config.rb', line 859

class UpdateExclusionRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

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]"

For example:

"projects/my-project/exclusions/my-exclusion".

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]"
    

    For example:

    "projects/my-project/exclusions/my-exclusion"



859
860
861
862
# File 'proto_docs/google/logging/v2/logging_config.rb', line 859

class UpdateExclusionRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#update_mask::Google::Protobuf::FieldMask

Returns 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".



859
860
861
862
# File 'proto_docs/google/logging/v2/logging_config.rb', line 859

class UpdateExclusionRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end