Skip to content

Commit c7d2bda

Browse files
feat: Automated regeneration of storagetransfer v1 client (#27211)
Auto-created at 2026-07-05 09:52:25 +0000 using the toys pull request generator.
1 parent 0213b7e commit c7d2bda

5 files changed

Lines changed: 25 additions & 4 deletions

File tree

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409883,6 +409883,8 @@
409883409883
"/storagetransfer:v1/ObjectConditions/excludePrefixes/exclude_prefix": exclude_prefix
409884409884
"/storagetransfer:v1/ObjectConditions/includePrefixes": include_prefixes
409885409885
"/storagetransfer:v1/ObjectConditions/includePrefixes/include_prefix": include_prefix
409886+
"/storagetransfer:v1/ObjectConditions/includeStorageClasses": include_storage_classes
409887+
"/storagetransfer:v1/ObjectConditions/includeStorageClasses/include_storage_class": include_storage_class
409886409888
"/storagetransfer:v1/ObjectConditions/lastModifiedBefore": last_modified_before
409887409889
"/storagetransfer:v1/ObjectConditions/lastModifiedSince": last_modified_since
409888409890
"/storagetransfer:v1/ObjectConditions/matchGlob": match_glob

generated/google-apis-storagetransfer_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-storagetransfer_v1
22

3+
### v0.65.0 (2026-07-05)
4+
5+
* Regenerated from discovery document revision 20260619
6+
37
### v0.64.0 (2026-06-14)
48

59
* Regenerated using generator version 0.19.0

generated/google-apis-storagetransfer_v1/lib/google/apis/storagetransfer_v1/classes.rb

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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

generated/google-apis-storagetransfer_v1/lib/google/apis/storagetransfer_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module StoragetransferV1
1818
# Version of the google-apis-storagetransfer_v1 gem
19-
GEM_VERSION = "0.64.0"
19+
GEM_VERSION = "0.65.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.19.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260109"
25+
REVISION = "20260619"
2626
end
2727
end
2828
end

generated/google-apis-storagetransfer_v1/lib/google/apis/storagetransfer_v1/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,7 @@ class ObjectConditions
502502
class Representation < Google::Apis::Core::JsonRepresentation
503503
collection :exclude_prefixes, as: 'excludePrefixes'
504504
collection :include_prefixes, as: 'includePrefixes'
505+
collection :include_storage_classes, as: 'includeStorageClasses'
505506
property :last_modified_before, as: 'lastModifiedBefore'
506507
property :last_modified_since, as: 'lastModifiedSince'
507508
property :match_glob, as: 'matchGlob'

0 commit comments

Comments
 (0)