Class: Google::Cloud::Kms::V1::GenerateRandomBytesRequest

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#length_bytes::Integer

Returns The length in bytes of the amount of randomness to retrieve. Minimum 8 bytes, maximum 1024 bytes.

Returns:

  • (::Integer)

    The length in bytes of the amount of randomness to retrieve. Minimum 8 bytes, maximum 1024 bytes.



1097
1098
1099
1100
# File 'proto_docs/google/cloud/kms/v1/service.rb', line 1097

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

#location::String

Returns The project-specific location in which to generate random bytes. For example, "projects/my-project/locations/us-central1".

Returns:

  • (::String)

    The project-specific location in which to generate random bytes. For example, "projects/my-project/locations/us-central1".



1097
1098
1099
1100
# File 'proto_docs/google/cloud/kms/v1/service.rb', line 1097

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

#protection_level::Google::Cloud::Kms::V1::ProtectionLevel

Returns The ProtectionLevel to use when generating the random data. Currently, only HSM protection level is supported.

Returns:



1097
1098
1099
1100
# File 'proto_docs/google/cloud/kms/v1/service.rb', line 1097

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