class Google::Apis::StorageV1::Bucket::Encryption

Encryption configuration for a bucket.

Attributes

default_kms_key_name[RW]

A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified. Corresponds to the JSON property `defaultKmsKeyName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/storage_v1/classes.rb, line 314
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 319
def update!(**args)
  @default_kms_key_name = args[:default_kms_key_name] if args.key?(:default_kms_key_name)
end