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:



1037
1038
1039
1040
# File 'proto_docs/google/logging/v2/logging_config.rb', line 1037

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"



1037
1038
1039
1040
# File 'proto_docs/google/logging/v2/logging_config.rb', line 1037

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



1037
1038
1039
1040
# File 'proto_docs/google/logging/v2/logging_config.rb', line 1037

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