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::GetCmekSettingsRequest.

The parameters to
[GetCmekSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-logging-v2/latest/Google-Cloud-Logging-V2-ConfigService-Client#Google__Cloud__Logging__V2__ConfigService__Client_get_cmek_settings_instance_ "Google::Cloud::Logging::V2::ConfigService::Client#get_cmek_settings (method)").


<br />

See [Enabling CMEK for Log
Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
more information.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. The resource for which to retrieve CMEK settings.

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

  For example:

  `"organizations/12345/cmekSettings"`

  Note: CMEK for the Log Router can be configured for Google Cloud projects,
  folders, organizations and billing accounts. Once configured for an
  organization, it applies to all projects and folders in the Google Cloud
  organization.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The resource for which to retrieve CMEK settings.


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

  For example:

  `"organizations/12345/cmekSettings"`

  Note: CMEK for the Log Router can be configured for Google Cloud projects,
  folders, organizations and billing accounts. Once configured for an
  organization, it applies to all projects and folders in the Google Cloud
  organization.
**Returns**

- (::String) --- Required. The resource for which to retrieve CMEK settings.

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

  For example:

  `"organizations/12345/cmekSettings"`

  Note: CMEK for the Log Router can be configured for Google Cloud projects,
  folders, organizations and billing accounts. Once configured for an
  organization, it applies to all projects and folders in the Google Cloud
  organization.