Class: Google::Cloud::SecretManager::V1::SecretPayload

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

Overview

A secret payload resource in the Secret Manager API. This contains the sensitive secret payload that is associated with a SecretVersion.

Instance Attribute Summary collapse

Instance Attribute Details

#data::String

Returns The secret data. Must be no larger than 64KiB.

Returns:

  • (::String)

    The secret data. Must be no larger than 64KiB.



488
489
490
491
# File 'proto_docs/google/cloud/secretmanager/v1/resources.rb', line 488

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

#data_crc32c::Integer

Returns Optional. If specified, SecretManagerService will verify the integrity of the received data on SecretManagerService.AddSecretVersion calls using the crc32c checksum and store it to include in future SecretManagerService.AccessSecretVersion responses. If a checksum is not provided in the SecretManagerService.AddSecretVersion request, the SecretManagerService will generate and store one for you.

The CRC32C value is encoded as a Int64 for compatibility, and can be safely downconverted to uint32 in languages that support this type. https://cloud.google.com/apis/design/design_patterns#integer_types.

Returns:



488
489
490
491
# File 'proto_docs/google/cloud/secretmanager/v1/resources.rb', line 488

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