Class: Google::Cloud::Compute::V1::CustomerEncryptionKey

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Instance Attribute Summary collapse

Instance Attribute Details

#kms_key_name::String

Returns The name of the encryption key that is stored in Google Cloud KMS.

Returns:

  • (::String)

    The name of the encryption key that is stored in Google Cloud KMS.



609
610
611
612
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 609

class CustomerEncryptionKey
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#kms_key_service_account::String

Returns The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.

Returns:

  • (::String)

    The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.



609
610
611
612
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 609

class CustomerEncryptionKey
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#raw_key::String

Returns Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.

Returns:

  • (::String)

    Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.



609
610
611
612
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 609

class CustomerEncryptionKey
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#sha256::String

Returns [Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.

Returns:

  • (::String)

    [Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.



609
610
611
612
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 609

class CustomerEncryptionKey
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end