class Google::Apis::CloudkmsV1::GenerateRandomBytesRequest
Request message for KeyManagementService.GenerateRandomBytes.
Attributes
length_bytes[RW]
The length in bytes of the amount of randomness to retrieve. Minimum 8 bytes, maximum 1024 bytes. Corresponds to the JSON property `lengthBytes` @return [Fixnum]
protection_level[RW]
The ProtectionLevel to use when generating the random data. Defaults to SOFTWARE. Corresponds to the JSON property `protectionLevel` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudkms_v1/classes.rb, line 1022 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/cloudkms_v1/classes.rb, line 1027 def update!(**args) @length_bytes = args[:length_bytes] if args.key?(:length_bytes) @protection_level = args[:protection_level] if args.key?(:protection_level) end