class

GoogleCloudStorage::ObjectCustomerEncryption

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Metadata of customer-supplied encryption key, if the object is encrypted by such a key.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, encryption_algorithm : String | Nil = nil, key_sha256 : String | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

encryption_algorithm

The encryption algorithm.

Source
encryption_algorithm=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] encryption_algorithm Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

key_sha256

SHA256 hash value of the encryption key.

Source
key_sha256=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] key_sha256 Object to be assigned

Source
list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source