Class Google::Cloud::Logging::V2::UpdateCmekSettingsRequest (v0.5.6)

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

See Enabling CMEK for Logs 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"
    

    Example: "organizations/12345/cmekSettings".

    Note: CMEK for the Logs Router can currently only be configured for GCP organizations. Once configured, it applies to all projects and folders in the GCP 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"
    

    Example: "organizations/12345/cmekSettings".

    Note: CMEK for the Logs Router can currently only be configured for GCP organizations. Once configured, it applies to all projects and folders in the GCP 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"
    

    Example: "organizations/12345/cmekSettings".

    Note: CMEK for the Logs Router can currently only be configured for GCP organizations. Once configured, it applies to all projects and folders in the GCP 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.

    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.

    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.

    Example: "updateMask=kmsKeyName"