Class: Google::Cloud::Kms::V1::GenerateRandomBytesRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Kms::V1::GenerateRandomBytesRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/kms/v1/service.rb
Overview
Request message for KeyManagementService.GenerateRandomBytes.
Instance Attribute Summary collapse
-
#length_bytes ⇒ ::Integer
The length in bytes of the amount of randomness to retrieve.
-
#location ⇒ ::String
The project-specific location in which to generate random bytes.
-
#protection_level ⇒ ::Google::Cloud::Kms::V1::ProtectionLevel
The ProtectionLevel to use when generating the random data.
Instance Attribute Details
#length_bytes ⇒ ::Integer
Returns 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".
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.
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 |