google-apis-storagetransfer_v1 0.43.0 → 0.45.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: 10cb97952130a9cf0bad7cded9f456dc7d4fca8c924f15faa38f7be90304061e
4
- data.tar.gz: 60e73a07874d6b19b62c1390ecd7fbec1bccc85c16581fab8d7bf5c85176cd7a
3
+ metadata.gz: 8e7c0c547d472517753b6a34b722cef1eb335dde9e637825672ac587e18be95a
4
+ data.tar.gz: 0e18d0016cc2dd509718f17d07fd1177a8147479248dd85cbc79edcd960e325a
5
5
  SHA512:
6
- metadata.gz: 47a73a3711717679334becb62e489aa24d81d73660ffe749a1e38198018148e4bde689f059021724f18572e3409a1ec31aad090dad1f4ba970e19b1340a7deb2
7
- data.tar.gz: 3cc6065ab06e3d60ec31ede7071bb79104a13f0fbc5d4ddc6b01bf1de5ea30cb48b74e099988baf5f6b0ea63065afdd37b57b02bf85a3bc953b5edcda96fabf3
6
+ metadata.gz: 695413c49951c9a8a7d3ae858438ffcb07940914c17f12225e697525759bb40cfd2b6138fd89c584d8d17b571313e698e3cca94afac27c2bcaba4314d9afebc5
7
+ data.tar.gz: 7cf2322aba98fc0f870e8cd9d5fa8175fb2a174cde0cfc9279a60f4b43c63e69764e6edbd279fab394b8e36ff79c8a6b71cc2074a965132f38618e4ab5f51f30
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-storagetransfer_v1
2
2
 
3
+ ### v0.45.0 (2024-02-18)
4
+
5
+ * Regenerated from discovery document revision 20240209
6
+
7
+ ### v0.44.0 (2024-02-04)
8
+
9
+ * Regenerated from discovery document revision 20240126
10
+ * Regenerated using generator version 0.13.1
11
+
3
12
  ### v0.43.0 (2024-01-23)
4
13
 
5
14
  * Regenerated using generator version 0.13.0
@@ -490,6 +490,16 @@ module Google
490
490
  # @return [String]
491
491
  attr_accessor :bucket_name
492
492
 
493
+ # Transfer managed folders is in public preview. This option is only applicable
494
+ # to the Cloud Storage source bucket. If set to true: - The source managed
495
+ # folder will be transferred to the destination bucket - The destination managed
496
+ # folder will always be overwritten, other OVERWRITE options will not be
497
+ # supported
498
+ # Corresponds to the JSON property `managedFolderTransferEnabled`
499
+ # @return [Boolean]
500
+ attr_accessor :managed_folder_transfer_enabled
501
+ alias_method :managed_folder_transfer_enabled?, :managed_folder_transfer_enabled
502
+
493
503
  # Root path to transfer objects. Must be an empty string or full path name that
494
504
  # ends with a '/'. This field is treated as an object prefix. As such, it should
495
505
  # generally not begin with a '/'. The root path value must meet [Object Name
@@ -505,6 +515,7 @@ module Google
505
515
  # Update properties of this object
506
516
  def update!(**args)
507
517
  @bucket_name = args[:bucket_name] if args.key?(:bucket_name)
518
+ @managed_folder_transfer_enabled = args[:managed_folder_transfer_enabled] if args.key?(:managed_folder_transfer_enabled)
508
519
  @path = args[:path] if args.key?(:path)
509
520
  end
510
521
  end
@@ -534,6 +545,28 @@ module Google
534
545
  end
535
546
  end
536
547
 
548
+ # An HdfsData resource specifies a path within an HDFS entity (e.g. a cluster).
549
+ # All cluster-specific settings, such as namenodes and ports, are configured on
550
+ # the transfer agents servicing requests, so HdfsData only contains the root
551
+ # path to the data in our transfer.
552
+ class HdfsData
553
+ include Google::Apis::Core::Hashable
554
+
555
+ # Root path to transfer files.
556
+ # Corresponds to the JSON property `path`
557
+ # @return [String]
558
+ attr_accessor :path
559
+
560
+ def initialize(**args)
561
+ update!(**args)
562
+ end
563
+
564
+ # Update properties of this object
565
+ def update!(**args)
566
+ @path = args[:path] if args.key?(:path)
567
+ end
568
+ end
569
+
537
570
  # An HttpData resource specifies a list of objects on the web to be transferred
538
571
  # over HTTP. The information of the objects to be transferred is contained in a
539
572
  # file referenced by a URL. The first line in the file must be `"TsvHttpData-1.0"
@@ -1732,6 +1765,14 @@ module Google
1732
1765
  # @return [Google::Apis::StoragetransferV1::GcsData]
1733
1766
  attr_accessor :gcs_intermediate_data_location
1734
1767
 
1768
+ # An HdfsData resource specifies a path within an HDFS entity (e.g. a cluster).
1769
+ # All cluster-specific settings, such as namenodes and ports, are configured on
1770
+ # the transfer agents servicing requests, so HdfsData only contains the root
1771
+ # path to the data in our transfer.
1772
+ # Corresponds to the JSON property `hdfsDataSource`
1773
+ # @return [Google::Apis::StoragetransferV1::HdfsData]
1774
+ attr_accessor :hdfs_data_source
1775
+
1735
1776
  # An HttpData resource specifies a list of objects on the web to be transferred
1736
1777
  # over HTTP. The information of the objects to be transferred is contained in a
1737
1778
  # file referenced by a URL. The first line in the file must be `"TsvHttpData-1.0"
@@ -1812,6 +1853,7 @@ module Google
1812
1853
  @gcs_data_sink = args[:gcs_data_sink] if args.key?(:gcs_data_sink)
1813
1854
  @gcs_data_source = args[:gcs_data_source] if args.key?(:gcs_data_source)
1814
1855
  @gcs_intermediate_data_location = args[:gcs_intermediate_data_location] if args.key?(:gcs_intermediate_data_location)
1856
+ @hdfs_data_source = args[:hdfs_data_source] if args.key?(:hdfs_data_source)
1815
1857
  @http_data_source = args[:http_data_source] if args.key?(:http_data_source)
1816
1858
  @object_conditions = args[:object_conditions] if args.key?(:object_conditions)
1817
1859
  @posix_data_sink = args[:posix_data_sink] if args.key?(:posix_data_sink)
@@ -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.43.0"
19
+ GEM_VERSION = "0.45.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231130"
25
+ REVISION = "20240209"
26
26
  end
27
27
  end
28
28
  end
@@ -112,6 +112,12 @@ module Google
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
+ class HdfsData
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
115
121
  class HttpData
116
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
123
 
@@ -378,6 +384,7 @@ module Google
378
384
  # @private
379
385
  class Representation < Google::Apis::Core::JsonRepresentation
380
386
  property :bucket_name, as: 'bucketName'
387
+ property :managed_folder_transfer_enabled, as: 'managedFolderTransferEnabled'
381
388
  property :path, as: 'path'
382
389
  end
383
390
  end
@@ -390,6 +397,13 @@ module Google
390
397
  end
391
398
  end
392
399
 
400
+ class HdfsData
401
+ # @private
402
+ class Representation < Google::Apis::Core::JsonRepresentation
403
+ property :path, as: 'path'
404
+ end
405
+ end
406
+
393
407
  class HttpData
394
408
  # @private
395
409
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -658,6 +672,8 @@ module Google
658
672
 
659
673
  property :gcs_intermediate_data_location, as: 'gcsIntermediateDataLocation', class: Google::Apis::StoragetransferV1::GcsData, decorator: Google::Apis::StoragetransferV1::GcsData::Representation
660
674
 
675
+ property :hdfs_data_source, as: 'hdfsDataSource', class: Google::Apis::StoragetransferV1::HdfsData, decorator: Google::Apis::StoragetransferV1::HdfsData::Representation
676
+
661
677
  property :http_data_source, as: 'httpDataSource', class: Google::Apis::StoragetransferV1::HttpData, decorator: Google::Apis::StoragetransferV1::HttpData::Representation
662
678
 
663
679
  property :object_conditions, as: 'objectConditions', class: Google::Apis::StoragetransferV1::ObjectConditions, decorator: Google::Apis::StoragetransferV1::ObjectConditions::Representation
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.43.0
4
+ version: 0.45.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-01-23 00:00:00.000000000 Z
11
+ date: 2024-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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.43.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.45.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: []