Observability V1 API - Class Google::Cloud::Observability::V1::CmekSettings (v0.1.0)

Reference documentation and code samples for the Observability V1 API class Google::Cloud::Observability::V1::CmekSettings.

Settings for configuring CMEK for a bucket.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#kms_key

def kms_key() -> ::String
Returns
  • (::String) —

    Optional. The resource name for the configured Cloud KMS key. The format is:

    projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]
    

    For example:

    projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key
    

#kms_key=

def kms_key=(value) -> ::String
Parameter
  • value (::String) —

    Optional. The resource name for the configured Cloud KMS key. The format is:

    projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]
    

    For example:

    projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key
    
Returns
  • (::String) —

    Optional. The resource name for the configured Cloud KMS key. The format is:

    projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]
    

    For example:

    projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key
    

#kms_key_version

def kms_key_version() -> ::String
Returns
  • (::String) — Output only. The CryptoKeyVersion resource name for the configured Cloud KMS key. The format is:

    projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]
    

    For example:

    projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1
    

    This read-only field is used to convey the specific configured CryptoKeyVersion of the kms_key that has been configured. It is populated when the CMEK settings are bound to a single key version.

#service_account_id

def service_account_id() -> ::String
Returns
  • (::String) — Output only. The service account used to access the key.