class Google::Apis::StorageV1::Object::CustomerEncryption

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

Attributes

encryption_algorithm[RW]

The encryption algorithm. Corresponds to the JSON property `encryptionAlgorithm` @return [String]

key_sha256[RW]

SHA256 hash value of the encryption key. Corresponds to the JSON property `keySha256` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/storage_v1/classes.rb, line 1607
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/storage_v1/classes.rb, line 1612
def update!(**args)
  @encryption_algorithm = args[:encryption_algorithm] if args.key?(:encryption_algorithm)
  @key_sha256 = args[:key_sha256] if args.key?(:key_sha256)
end