Class: Google::Cloud::Kms::V1::EncryptRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/kms/v1/doc/google/cloud/kms/v1/service.rb

Overview

Request message for KeyManagementService::Encrypt.

Instance Attribute Summary collapse

Instance Attribute Details

#additional_authenticated_dataString

Returns Optional data that, if specified, must also be provided during decryption through DecryptRequest#additional_authenticated_data. Must be no larger than 64KiB.

Returns:



202
# File 'lib/google/cloud/kms/v1/doc/google/cloud/kms/v1/service.rb', line 202

class EncryptRequest; end

#nameString

Returns Required. The resource name of the CryptoKey or CryptoKeyVersion to use for encryption.

If a CryptoKey is specified, the server will use its primary version.

Returns:



202
# File 'lib/google/cloud/kms/v1/doc/google/cloud/kms/v1/service.rb', line 202

class EncryptRequest; end

#plaintextString

Returns Required. The data to encrypt. Must be no larger than 64KiB.

Returns:

  • (String)

    Required. The data to encrypt. Must be no larger than 64KiB.



202
# File 'lib/google/cloud/kms/v1/doc/google/cloud/kms/v1/service.rb', line 202

class EncryptRequest; end