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-
(::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-
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
-
(::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-
(::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/1This read-only field is used to convey the specific configured CryptoKeyVersion of the
kms_keythat 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- (::String) — Output only. The service account used to access the key.