generated/google/apis/storage_v1/classes.rb in google-api-client-0.20.1 vs generated/google/apis/storage_v1/classes.rb in google-api-client-0.21.0

- old
+ new

@@ -59,12 +59,11 @@ # Default access controls to apply to new objects when no ACL is provided. # Corresponds to the JSON property `defaultObjectAcl` # @return [Array<Google::Apis::StorageV1::ObjectAccessControl>] attr_accessor :default_object_acl - # Encryption configuration used by default for newly inserted objects, when no - # encryption config is specified. + # Encryption configuration for a bucket. # Corresponds to the JSON property `encryption` # @return [Google::Apis::StorageV1::Bucket::Encryption] attr_accessor :encryption # HTTP 1.1 Entity tag for the bucket. @@ -268,17 +267,15 @@ @origin = args[:origin] if args.key?(:origin) @response_header = args[:response_header] if args.key?(:response_header) end end - # Encryption configuration used by default for newly inserted objects, when no - # encryption config is specified. + # Encryption configuration for a bucket. class Encryption include Google::Apis::Core::Hashable # A Cloud KMS key that will be used to encrypt objects inserted into this bucket, - # if no encryption method is specified. Limited availability; usable only by - # enabled projects. + # if no encryption method is specified. # Corresponds to the JSON property `defaultKmsKeyName` # @return [String] attr_accessor :default_kms_key_name def initialize(**args)