1.9.0 (latest) 1.8.0 1.7.1 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.13.0 0.12.2 0.11.0 0.10.1 0.9.0 0.8.1 0.7.0 0.6.0 0.5.6 Reference documentation and code samples for the Cloud Logging V2 API class Google::Cloud::Logging::V2::CreateExclusionRequest.

The parameters to `CreateExclusion`.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #exclusion

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

**Returns**

- ([::Google::Cloud::Logging::V2::LogExclusion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-logging-v2/latest/Google-Cloud-Logging-V2-LogExclusion)) --- Required. The new exclusion, whose `name` parameter is an exclusion name that is not already used in the parent resource.

### #exclusion=

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

**Parameter**

- **value** ([::Google::Cloud::Logging::V2::LogExclusion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-logging-v2/latest/Google-Cloud-Logging-V2-LogExclusion)) --- Required. The new exclusion, whose `name` parameter is an exclusion name that is not already used in the parent resource.
**Returns**

- ([::Google::Cloud::Logging::V2::LogExclusion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-logging-v2/latest/Google-Cloud-Logging-V2-LogExclusion)) --- Required. The new exclusion, whose `name` parameter is an exclusion name that is not already used in the parent resource.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The parent resource in which to create the exclusion:

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

  For examples:

  `"projects/my-logging-project"`
  `"organizations/123456789"`

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent resource in which to create the exclusion:


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

  For examples:

  `"projects/my-logging-project"`
  `"organizations/123456789"`
**Returns**

- (::String) --- Required. The parent resource in which to create the exclusion:

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

  For examples:

  `"projects/my-logging-project"`
  `"organizations/123456789"`