Cloud Logging V2 API - Class Google::Cloud::Logging::V2::UpdateCmekSettingsRequest (v0.7.0)

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

The parameters to {::Google::Cloud::Logging::V2::ConfigServiceV2::Client#update_cmek_settings UpdateCmekSettings}.

See Enabling CMEK for Log Router for more information.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cmek_settings

def cmek_settings() -> ::Google::Cloud::Logging::V2::CmekSettings
Returns

#cmek_settings=

def cmek_settings=(value) -> ::Google::Cloud::Logging::V2::CmekSettings
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Required. The resource name for the CMEK settings to update.

    "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 currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name for the CMEK settings to update.

    "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 currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.

Returns
  • (::String) — Required. The resource name for the CMEK settings to update.

    "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 currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.

#update_mask

def update_mask() -> ::Google::Protobuf::FieldMask
Returns
  • (::Google::Protobuf::FieldMask) — Optional. Field mask identifying which fields from cmek_settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.

    See FieldMask for more information.

    For example: "updateMask=kmsKeyName"

#update_mask=

def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
  • value (::Google::Protobuf::FieldMask) — Optional. Field mask identifying which fields from cmek_settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.

    See FieldMask for more information.

    For example: "updateMask=kmsKeyName"

Returns
  • (::Google::Protobuf::FieldMask) — Optional. Field mask identifying which fields from cmek_settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.

    See FieldMask for more information.

    For example: "updateMask=kmsKeyName"