google-apis-storagetransfer_v1 0.45.0 → 0.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e7c0c547d472517753b6a34b722cef1eb335dde9e637825672ac587e18be95a
4
- data.tar.gz: 0e18d0016cc2dd509718f17d07fd1177a8147479248dd85cbc79edcd960e325a
3
+ metadata.gz: 560362b122e1b438096a6d85edca66e004bc42e7e7d992da48d44c4df17ab07b
4
+ data.tar.gz: f78e39e0c2cc22bcb725d027a15650a85605c0de7c87860fbf8601a4690b2cc9
5
5
  SHA512:
6
- metadata.gz: 695413c49951c9a8a7d3ae858438ffcb07940914c17f12225e697525759bb40cfd2b6138fd89c584d8d17b571313e698e3cca94afac27c2bcaba4314d9afebc5
7
- data.tar.gz: 7cf2322aba98fc0f870e8cd9d5fa8175fb2a174cde0cfc9279a60f4b43c63e69764e6edbd279fab394b8e36ff79c8a6b71cc2074a965132f38618e4ab5f51f30
6
+ metadata.gz: 54afd261205336749ae0d310e403daf336ef5f585ac188a496cf63be9b5e3cb983cec20afb763917529e0bd1a9122d73c6aa160076713d67dde354cedd48ed2c
7
+ data.tar.gz: fbc3aa65510146186e68bba9615826398dd993ec1c7a6db068ad2292ca77b9edf1a501d52bb9492e538549d67d090a2db32ce3a1a058588e9df7da08dc15422d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-storagetransfer_v1
2
2
 
3
+ ### v0.46.0 (2024-02-24)
4
+
5
+ * Regenerated from discovery document revision 20240217
6
+ * Regenerated using generator version 0.14.0
7
+
3
8
  ### v0.45.0 (2024-02-18)
4
9
 
5
10
  * Regenerated from discovery document revision 20240209
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/storage-transfer/docs) may
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -311,6 +311,37 @@ module Google
311
311
  end
312
312
  end
313
313
 
314
+ #
315
+ class BatchTaskSpec
316
+ include Google::Apis::Core::Hashable
317
+
318
+ #
319
+ # Corresponds to the JSON property `deleteObjectTaskSpec`
320
+ # @return [Google::Apis::StoragetransferV1::DeleteObjectTaskSpec]
321
+ attr_accessor :delete_object_task_spec
322
+
323
+ #
324
+ # Corresponds to the JSON property `listTaskSpec`
325
+ # @return [Google::Apis::StoragetransferV1::ListTaskSpec]
326
+ attr_accessor :list_task_spec
327
+
328
+ #
329
+ # Corresponds to the JSON property `metadataTaskSpec`
330
+ # @return [Google::Apis::StoragetransferV1::MetadataTaskSpec]
331
+ attr_accessor :metadata_task_spec
332
+
333
+ def initialize(**args)
334
+ update!(**args)
335
+ end
336
+
337
+ # Update properties of this object
338
+ def update!(**args)
339
+ @delete_object_task_spec = args[:delete_object_task_spec] if args.key?(:delete_object_task_spec)
340
+ @list_task_spec = args[:list_task_spec] if args.key?(:list_task_spec)
341
+ @metadata_task_spec = args[:metadata_task_spec] if args.key?(:metadata_task_spec)
342
+ end
343
+ end
344
+
314
345
  # The request message for Operations.CancelOperation.
315
346
  class CancelOperationRequest
316
347
  include Google::Apis::Core::Hashable
@@ -365,6 +396,44 @@ module Google
365
396
  end
366
397
  end
367
398
 
399
+ #
400
+ class DeleteObjectTaskSpec
401
+ include Google::Apis::Core::Hashable
402
+
403
+ #
404
+ # Corresponds to the JSON property `generation`
405
+ # @return [Fixnum]
406
+ attr_accessor :generation
407
+
408
+ #
409
+ # Corresponds to the JSON property `hardDeleteVersionedObject`
410
+ # @return [Boolean]
411
+ attr_accessor :hard_delete_versioned_object
412
+ alias_method :hard_delete_versioned_object?, :hard_delete_versioned_object
413
+
414
+ #
415
+ # Corresponds to the JSON property `name`
416
+ # @return [String]
417
+ attr_accessor :name
418
+
419
+ #
420
+ # Corresponds to the JSON property `size`
421
+ # @return [Fixnum]
422
+ attr_accessor :size
423
+
424
+ def initialize(**args)
425
+ update!(**args)
426
+ end
427
+
428
+ # Update properties of this object
429
+ def update!(**args)
430
+ @generation = args[:generation] if args.key?(:generation)
431
+ @hard_delete_versioned_object = args[:hard_delete_versioned_object] if args.key?(:hard_delete_versioned_object)
432
+ @name = args[:name] if args.key?(:name)
433
+ @size = args[:size] if args.key?(:size)
434
+ end
435
+ end
436
+
368
437
  # A generic empty message that you can re-use to avoid defining duplicated empty
369
438
  # messages in your APIs. A typical example is to use it as the request or the
370
439
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -658,6 +727,31 @@ module Google
658
727
  end
659
728
  end
660
729
 
730
+ #
731
+ class ListTaskSpec
732
+ include Google::Apis::Core::Hashable
733
+
734
+ #
735
+ # Corresponds to the JSON property `manifest`
736
+ # @return [Google::Apis::StoragetransferV1::Manifest]
737
+ attr_accessor :manifest
738
+
739
+ #
740
+ # Corresponds to the JSON property `objectPrefixes`
741
+ # @return [Google::Apis::StoragetransferV1::ObjectPrefixes]
742
+ attr_accessor :object_prefixes
743
+
744
+ def initialize(**args)
745
+ update!(**args)
746
+ end
747
+
748
+ # Update properties of this object
749
+ def update!(**args)
750
+ @manifest = args[:manifest] if args.key?(:manifest)
751
+ @object_prefixes = args[:object_prefixes] if args.key?(:object_prefixes)
752
+ end
753
+ end
754
+
661
755
  # Response from ListTransferJobs.
662
756
  class ListTransferJobsResponse
663
757
  include Google::Apis::Core::Hashable
@@ -726,6 +820,31 @@ module Google
726
820
  end
727
821
  end
728
822
 
823
+ #
824
+ class Manifest
825
+ include Google::Apis::Core::Hashable
826
+
827
+ #
828
+ # Corresponds to the JSON property `manifestLocation`
829
+ # @return [String]
830
+ attr_accessor :manifest_location
831
+
832
+ #
833
+ # Corresponds to the JSON property `root`
834
+ # @return [String]
835
+ attr_accessor :root
836
+
837
+ def initialize(**args)
838
+ update!(**args)
839
+ end
840
+
841
+ # Update properties of this object
842
+ def update!(**args)
843
+ @manifest_location = args[:manifest_location] if args.key?(:manifest_location)
844
+ @root = args[:root] if args.key?(:root)
845
+ end
846
+ end
847
+
729
848
  # Specifies the metadata options for running a transfer.
730
849
  class MetadataOptions
731
850
  include Google::Apis::Core::Hashable
@@ -780,9 +899,8 @@ module Google
780
899
  # @return [String]
781
900
  attr_accessor :temporary_hold
782
901
 
783
- # Specifies how each object's `timeCreated` metadata is preserved for transfers
784
- # between Google Cloud Storage buckets. If unspecified, the default behavior is
785
- # the same as TIME_CREATED_SKIP.
902
+ # Specifies how each object's `timeCreated` metadata is preserved for transfers.
903
+ # If unspecified, the default behavior is the same as TIME_CREATED_SKIP.
786
904
  # Corresponds to the JSON property `timeCreated`
787
905
  # @return [String]
788
906
  attr_accessor :time_created
@@ -812,6 +930,43 @@ module Google
812
930
  end
813
931
  end
814
932
 
933
+ #
934
+ class MetadataTaskSpec
935
+ include Google::Apis::Core::Hashable
936
+
937
+ #
938
+ # Corresponds to the JSON property `bucketName`
939
+ # @return [String]
940
+ attr_accessor :bucket_name
941
+
942
+ #
943
+ # Corresponds to the JSON property `generation`
944
+ # @return [Fixnum]
945
+ attr_accessor :generation
946
+
947
+ #
948
+ # Corresponds to the JSON property `key`
949
+ # @return [String]
950
+ attr_accessor :key
951
+
952
+ #
953
+ # Corresponds to the JSON property `size`
954
+ # @return [Fixnum]
955
+ attr_accessor :size
956
+
957
+ def initialize(**args)
958
+ update!(**args)
959
+ end
960
+
961
+ # Update properties of this object
962
+ def update!(**args)
963
+ @bucket_name = args[:bucket_name] if args.key?(:bucket_name)
964
+ @generation = args[:generation] if args.key?(:generation)
965
+ @key = args[:key] if args.key?(:key)
966
+ @size = args[:size] if args.key?(:size)
967
+ end
968
+ end
969
+
815
970
  # Specification to configure notifications published to Pub/Sub. Notifications
816
971
  # are published to the customer-provided topic using the following `
817
972
  # PubsubMessage.attributes`: * `"eventType"`: one of the EventType values * `"
@@ -961,6 +1116,50 @@ module Google
961
1116
  end
962
1117
  end
963
1118
 
1119
+ #
1120
+ class ObjectPrefix
1121
+ include Google::Apis::Core::Hashable
1122
+
1123
+ #
1124
+ # Corresponds to the JSON property `bucketName`
1125
+ # @return [String]
1126
+ attr_accessor :bucket_name
1127
+
1128
+ #
1129
+ # Corresponds to the JSON property `objectPrefix`
1130
+ # @return [String]
1131
+ attr_accessor :object_prefix
1132
+
1133
+ def initialize(**args)
1134
+ update!(**args)
1135
+ end
1136
+
1137
+ # Update properties of this object
1138
+ def update!(**args)
1139
+ @bucket_name = args[:bucket_name] if args.key?(:bucket_name)
1140
+ @object_prefix = args[:object_prefix] if args.key?(:object_prefix)
1141
+ end
1142
+ end
1143
+
1144
+ #
1145
+ class ObjectPrefixes
1146
+ include Google::Apis::Core::Hashable
1147
+
1148
+ #
1149
+ # Corresponds to the JSON property `objectPrefixes`
1150
+ # @return [Array<Google::Apis::StoragetransferV1::ObjectPrefix>]
1151
+ attr_accessor :object_prefixes
1152
+
1153
+ def initialize(**args)
1154
+ update!(**args)
1155
+ end
1156
+
1157
+ # Update properties of this object
1158
+ def update!(**args)
1159
+ @object_prefixes = args[:object_prefixes] if args.key?(:object_prefixes)
1160
+ end
1161
+ end
1162
+
964
1163
  # This resource represents a long-running operation that is the result of a
965
1164
  # network API call.
966
1165
  class Operation
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module StoragetransferV1
18
18
  # Version of the google-apis-storagetransfer_v1 gem
19
- GEM_VERSION = "0.45.0"
19
+ GEM_VERSION = "0.46.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.1"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240209"
25
+ REVISION = "20240217"
26
26
  end
27
27
  end
28
28
  end
@@ -64,6 +64,12 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class BatchTaskSpec
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
67
73
  class CancelOperationRequest
68
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
75
 
@@ -76,6 +82,12 @@ module Google
76
82
  include Google::Apis::Core::JsonObjectSupport
77
83
  end
78
84
 
85
+ class DeleteObjectTaskSpec
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
79
91
  class Empty
80
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
93
 
@@ -136,6 +148,12 @@ module Google
136
148
  include Google::Apis::Core::JsonObjectSupport
137
149
  end
138
150
 
151
+ class ListTaskSpec
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
139
157
  class ListTransferJobsResponse
140
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
159
 
@@ -148,12 +166,24 @@ module Google
148
166
  include Google::Apis::Core::JsonObjectSupport
149
167
  end
150
168
 
169
+ class Manifest
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
151
175
  class MetadataOptions
152
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
177
 
154
178
  include Google::Apis::Core::JsonObjectSupport
155
179
  end
156
180
 
181
+ class MetadataTaskSpec
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
157
187
  class NotificationConfig
158
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
189
 
@@ -166,6 +196,18 @@ module Google
166
196
  include Google::Apis::Core::JsonObjectSupport
167
197
  end
168
198
 
199
+ class ObjectPrefix
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class ObjectPrefixes
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
169
211
  class Operation
170
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
213
 
@@ -332,6 +374,18 @@ module Google
332
374
  end
333
375
  end
334
376
 
377
+ class BatchTaskSpec
378
+ # @private
379
+ class Representation < Google::Apis::Core::JsonRepresentation
380
+ property :delete_object_task_spec, as: 'deleteObjectTaskSpec', class: Google::Apis::StoragetransferV1::DeleteObjectTaskSpec, decorator: Google::Apis::StoragetransferV1::DeleteObjectTaskSpec::Representation
381
+
382
+ property :list_task_spec, as: 'listTaskSpec', class: Google::Apis::StoragetransferV1::ListTaskSpec, decorator: Google::Apis::StoragetransferV1::ListTaskSpec::Representation
383
+
384
+ property :metadata_task_spec, as: 'metadataTaskSpec', class: Google::Apis::StoragetransferV1::MetadataTaskSpec, decorator: Google::Apis::StoragetransferV1::MetadataTaskSpec::Representation
385
+
386
+ end
387
+ end
388
+
335
389
  class CancelOperationRequest
336
390
  # @private
337
391
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -347,6 +401,16 @@ module Google
347
401
  end
348
402
  end
349
403
 
404
+ class DeleteObjectTaskSpec
405
+ # @private
406
+ class Representation < Google::Apis::Core::JsonRepresentation
407
+ property :generation, :numeric_string => true, as: 'generation'
408
+ property :hard_delete_versioned_object, as: 'hardDeleteVersionedObject'
409
+ property :name, as: 'name'
410
+ property :size, :numeric_string => true, as: 'size'
411
+ end
412
+ end
413
+
350
414
  class Empty
351
415
  # @private
352
416
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -429,6 +493,16 @@ module Google
429
493
  end
430
494
  end
431
495
 
496
+ class ListTaskSpec
497
+ # @private
498
+ class Representation < Google::Apis::Core::JsonRepresentation
499
+ property :manifest, as: 'manifest', class: Google::Apis::StoragetransferV1::Manifest, decorator: Google::Apis::StoragetransferV1::Manifest::Representation
500
+
501
+ property :object_prefixes, as: 'objectPrefixes', class: Google::Apis::StoragetransferV1::ObjectPrefixes, decorator: Google::Apis::StoragetransferV1::ObjectPrefixes::Representation
502
+
503
+ end
504
+ end
505
+
432
506
  class ListTransferJobsResponse
433
507
  # @private
434
508
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -447,6 +521,14 @@ module Google
447
521
  end
448
522
  end
449
523
 
524
+ class Manifest
525
+ # @private
526
+ class Representation < Google::Apis::Core::JsonRepresentation
527
+ property :manifest_location, as: 'manifestLocation'
528
+ property :root, as: 'root'
529
+ end
530
+ end
531
+
450
532
  class MetadataOptions
451
533
  # @private
452
534
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -462,6 +544,16 @@ module Google
462
544
  end
463
545
  end
464
546
 
547
+ class MetadataTaskSpec
548
+ # @private
549
+ class Representation < Google::Apis::Core::JsonRepresentation
550
+ property :bucket_name, as: 'bucketName'
551
+ property :generation, :numeric_string => true, as: 'generation'
552
+ property :key, as: 'key'
553
+ property :size, :numeric_string => true, as: 'size'
554
+ end
555
+ end
556
+
465
557
  class NotificationConfig
466
558
  # @private
467
559
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -483,6 +575,22 @@ module Google
483
575
  end
484
576
  end
485
577
 
578
+ class ObjectPrefix
579
+ # @private
580
+ class Representation < Google::Apis::Core::JsonRepresentation
581
+ property :bucket_name, as: 'bucketName'
582
+ property :object_prefix, as: 'objectPrefix'
583
+ end
584
+ end
585
+
586
+ class ObjectPrefixes
587
+ # @private
588
+ class Representation < Google::Apis::Core::JsonRepresentation
589
+ collection :object_prefixes, as: 'objectPrefixes', class: Google::Apis::StoragetransferV1::ObjectPrefix, decorator: Google::Apis::StoragetransferV1::ObjectPrefix::Representation
590
+
591
+ end
592
+ end
593
+
486
594
  class Operation
487
595
  # @private
488
596
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-storagetransfer_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.45.0
4
+ version: 0.46.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-18 00:00:00.000000000 Z
11
+ date: 2024-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.12.0
19
+ version: 0.14.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.12.0
29
+ version: 0.14.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storagetransfer_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.45.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.46.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storagetransfer_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Storage Transfer API V1