@@ -986,6 +986,18 @@ class ObjectConditions
986986 # @return [Array<String>]
987987 attr_accessor :include_prefixes
988988
989+ # Optional. If specified, objects in the source matching any of the storage
990+ # classes in this field will be transferred. Objects in storage classes not
991+ # included in this field will be skipped. If empty, the default behavior
992+ # regarding the storage classes is applied. This includes all storage classes
993+ # except "GLACIER" as per default behavior. Currently, this field only supports
994+ # S3 data source. For the list of valid Amazon S3 storage classnames, please
995+ # refer to the AWS documentation: https://docs.aws.amazon.com/AmazonS3/latest/
996+ # userguide/sc-howtoset.html
997+ # Corresponds to the JSON property `includeStorageClasses`
998+ # @return [Array<String>]
999+ attr_accessor :include_storage_classes
1000+
9891001 # If specified, only objects with a "last modification time" before this
9901002 # timestamp and objects that don't have a "last modification time" are
9911003 # transferred.
@@ -1039,6 +1051,7 @@ def initialize(**args)
10391051 def update! ( **args )
10401052 @exclude_prefixes = args [ :exclude_prefixes ] if args . key? ( :exclude_prefixes )
10411053 @include_prefixes = args [ :include_prefixes ] if args . key? ( :include_prefixes )
1054+ @include_storage_classes = args [ :include_storage_classes ] if args . key? ( :include_storage_classes )
10421055 @last_modified_before = args [ :last_modified_before ] if args . key? ( :last_modified_before )
10431056 @last_modified_since = args [ :last_modified_since ] if args . key? ( :last_modified_since )
10441057 @match_glob = args [ :match_glob ] if args . key? ( :match_glob )
@@ -1848,8 +1861,9 @@ class TransferOptions
18481861 attr_accessor :delete_objects_from_source_after_transfer
18491862 alias_method :delete_objects_from_source_after_transfer? , :delete_objects_from_source_after_transfer
18501863
1851- # Whether objects that exist only in the sink should be deleted. **Note:** This
1852- # option and delete_objects_from_source_after_transfer are mutually exclusive.
1864+ # Whether objects that exist only in the sink should be deleted from the sink. **
1865+ # Note:** This option and delete_objects_from_source_after_transfer are mutually
1866+ # exclusive.
18531867 # Corresponds to the JSON property `deleteObjectsUniqueInSink`
18541868 # @return [Boolean]
18551869 attr_accessor :delete_objects_unique_in_sink
0 commit comments