Cloud Logging V2 API - Class Google::Cloud::Logging::V2::UpdateExclusionRequest (v0.9.0)

Reference documentation and code samples for the Cloud Logging V2 API class Google::Cloud::Logging::V2::UpdateExclusionRequest.

The parameters to UpdateExclusion.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#exclusion

def exclusion() -> ::Google::Cloud::Logging::V2::LogExclusion
Returns

#exclusion=

def exclusion=(value) -> ::Google::Cloud::Logging::V2::LogExclusion
Parameter
Returns

#name

def name() -> ::String
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"

#name=

def name=(value) -> ::String
Parameter
  • value (::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"

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"

#update_mask

def update_mask() -> ::Google::Protobuf::FieldMask
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".

#update_mask=

def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
  • 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".