google-apis-storagetransfer_v1 0.28.0 → 0.31.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 460117ab908659cea635c941d4f8939c4de5ffe44f8aff265df61e8020e813f2
4
- data.tar.gz: ef820e6788eafd85341561e5b9a47172dac7faf5966554dcd91588b611682c67
3
+ metadata.gz: 217ca415f61d289a32e220b7aa60a0f1eb7b4fdac3af27cc0d2dcda11a247f22
4
+ data.tar.gz: c935e05024813a6ffc297cddb50b3906fc02105afaade4e6e5ec390399fc0075
5
5
  SHA512:
6
- metadata.gz: 5d4543a4c2de54948c58751a30c531ea4dba095d042cbc6d3eb9d86325c7712453d860e8550e0705ac4120e129097209a7c2e97ef8545209d08959ed73116ece
7
- data.tar.gz: c19625b74810749b1df5d928e023e1de1aea64eb1a39202122629b65033c25e2b378c8306918d95fab9cf940dd862147e638e094d89d42e502a26a33123405ab
6
+ metadata.gz: '0839aab81652c0da50b8015d0b56e42840c3be10c2ee44b15f1e3a4571988f038955da416dd5ac289de4eb46312974546548b4e0240f0b3c66532b0d1439ae05'
7
+ data.tar.gz: c7588848a970b00703bd02dc5115b3725a70cf2f0d2ba8113e95463caf53874603797d7c5d125d3c33b72f8178e7e8527418dca4f72de5763e36626d727dc619
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-storagetransfer_v1
2
2
 
3
+ ### v0.31.0 (2022-07-19)
4
+
5
+ * Regenerated from discovery document revision 20220714
6
+ * Regenerated using generator version 0.9.0
7
+
8
+ ### v0.30.0 (2022-06-30)
9
+
10
+ * Regenerated using generator version 0.8.0
11
+
12
+ ### v0.29.0 (2022-06-20)
13
+
14
+ * Regenerated using generator version 0.7.0
15
+
3
16
  ### v0.28.0 (2022-06-03)
4
17
 
5
18
  * Regenerated using generator version 0.5.0
@@ -88,6 +88,53 @@ module Google
88
88
  end
89
89
  end
90
90
 
91
+ # An AwsS3CompatibleData resource.
92
+ class AwsS3CompatibleData
93
+ include Google::Apis::Core::Hashable
94
+
95
+ # Required. Specifies the name of the bucket.
96
+ # Corresponds to the JSON property `bucketName`
97
+ # @return [String]
98
+ attr_accessor :bucket_name
99
+
100
+ # Required. Specifies the endpoint of the storage service.
101
+ # Corresponds to the JSON property `endpoint`
102
+ # @return [String]
103
+ attr_accessor :endpoint
104
+
105
+ # Specifies the root path to transfer objects. Must be an empty string or full
106
+ # path name that ends with a '/'. This field is treated as an object prefix. As
107
+ # such, it should generally not begin with a '/'.
108
+ # Corresponds to the JSON property `path`
109
+ # @return [String]
110
+ attr_accessor :path
111
+
112
+ # Specifies the region to sign requests with. This can be left blank if requests
113
+ # should be signed with an empty region.
114
+ # Corresponds to the JSON property `region`
115
+ # @return [String]
116
+ attr_accessor :region
117
+
118
+ # S3CompatibleMetadata contains the metadata fields that apply to the basic
119
+ # types of S3-compatible data providers.
120
+ # Corresponds to the JSON property `s3Metadata`
121
+ # @return [Google::Apis::StoragetransferV1::S3CompatibleMetadata]
122
+ attr_accessor :s3_metadata
123
+
124
+ def initialize(**args)
125
+ update!(**args)
126
+ end
127
+
128
+ # Update properties of this object
129
+ def update!(**args)
130
+ @bucket_name = args[:bucket_name] if args.key?(:bucket_name)
131
+ @endpoint = args[:endpoint] if args.key?(:endpoint)
132
+ @path = args[:path] if args.key?(:path)
133
+ @region = args[:region] if args.key?(:region)
134
+ @s3_metadata = args[:s3_metadata] if args.key?(:s3_metadata)
135
+ end
136
+ end
137
+
91
138
  # An AwsS3Data resource can be a data source, but not a data sink. In an
92
139
  # AwsS3Data resource, an object's name is the S3 object's key name.
93
140
  class AwsS3Data
@@ -930,6 +977,50 @@ module Google
930
977
  end
931
978
  end
932
979
 
980
+ # S3CompatibleMetadata contains the metadata fields that apply to the basic
981
+ # types of S3-compatible data providers.
982
+ class S3CompatibleMetadata
983
+ include Google::Apis::Core::Hashable
984
+
985
+ # Specifies the authentication and authorization method used by the storage
986
+ # service. When not specified, Transfer Service will attempt to determine right
987
+ # auth method to use.
988
+ # Corresponds to the JSON property `authMethod`
989
+ # @return [String]
990
+ attr_accessor :auth_method
991
+
992
+ # The Listing API to use for discovering objects. When not specified, Transfer
993
+ # Service will attempt to determine the right API to use.
994
+ # Corresponds to the JSON property `listApi`
995
+ # @return [String]
996
+ attr_accessor :list_api
997
+
998
+ # Specifies the network protocol of the agent. When not specified, the default
999
+ # value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
1000
+ # Corresponds to the JSON property `protocol`
1001
+ # @return [String]
1002
+ attr_accessor :protocol
1003
+
1004
+ # Specifies the API request model used to call the storage service. When not
1005
+ # specified, the default value of RequestModel
1006
+ # REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.
1007
+ # Corresponds to the JSON property `requestModel`
1008
+ # @return [String]
1009
+ attr_accessor :request_model
1010
+
1011
+ def initialize(**args)
1012
+ update!(**args)
1013
+ end
1014
+
1015
+ # Update properties of this object
1016
+ def update!(**args)
1017
+ @auth_method = args[:auth_method] if args.key?(:auth_method)
1018
+ @list_api = args[:list_api] if args.key?(:list_api)
1019
+ @protocol = args[:protocol] if args.key?(:protocol)
1020
+ @request_model = args[:request_model] if args.key?(:request_model)
1021
+ end
1022
+ end
1023
+
933
1024
  # Transfers can be scheduled to recur or to run just once.
934
1025
  class Schedule
935
1026
  include Google::Apis::Core::Hashable
@@ -1502,6 +1593,11 @@ module Google
1502
1593
  class TransferSpec
1503
1594
  include Google::Apis::Core::Hashable
1504
1595
 
1596
+ # An AwsS3CompatibleData resource.
1597
+ # Corresponds to the JSON property `awsS3CompatibleDataSource`
1598
+ # @return [Google::Apis::StoragetransferV1::AwsS3CompatibleData]
1599
+ attr_accessor :aws_s3_compatible_data_source
1600
+
1505
1601
  # An AwsS3Data resource can be a data source, but not a data sink. In an
1506
1602
  # AwsS3Data resource, an object's name is the S3 object's key name.
1507
1603
  # Corresponds to the JSON property `awsS3DataSource`
@@ -1617,6 +1713,7 @@ module Google
1617
1713
 
1618
1714
  # Update properties of this object
1619
1715
  def update!(**args)
1716
+ @aws_s3_compatible_data_source = args[:aws_s3_compatible_data_source] if args.key?(:aws_s3_compatible_data_source)
1620
1717
  @aws_s3_data_source = args[:aws_s3_data_source] if args.key?(:aws_s3_data_source)
1621
1718
  @azure_blob_storage_data_source = args[:azure_blob_storage_data_source] if args.key?(:azure_blob_storage_data_source)
1622
1719
  @gcs_data_sink = args[:gcs_data_sink] if args.key?(:gcs_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.28.0"
19
+ GEM_VERSION = "0.31.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.5.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220511"
25
+ REVISION = "20220714"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,12 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class AwsS3CompatibleData
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class AwsS3Data
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
@@ -178,6 +184,12 @@ module Google
178
184
  include Google::Apis::Core::JsonObjectSupport
179
185
  end
180
186
 
187
+ class S3CompatibleMetadata
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
181
193
  class Schedule
182
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
195
 
@@ -257,6 +269,18 @@ module Google
257
269
  end
258
270
  end
259
271
 
272
+ class AwsS3CompatibleData
273
+ # @private
274
+ class Representation < Google::Apis::Core::JsonRepresentation
275
+ property :bucket_name, as: 'bucketName'
276
+ property :endpoint, as: 'endpoint'
277
+ property :path, as: 'path'
278
+ property :region, as: 'region'
279
+ property :s3_metadata, as: 's3Metadata', class: Google::Apis::StoragetransferV1::S3CompatibleMetadata, decorator: Google::Apis::StoragetransferV1::S3CompatibleMetadata::Representation
280
+
281
+ end
282
+ end
283
+
260
284
  class AwsS3Data
261
285
  # @private
262
286
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -465,6 +489,16 @@ module Google
465
489
  end
466
490
  end
467
491
 
492
+ class S3CompatibleMetadata
493
+ # @private
494
+ class Representation < Google::Apis::Core::JsonRepresentation
495
+ property :auth_method, as: 'authMethod'
496
+ property :list_api, as: 'listApi'
497
+ property :protocol, as: 'protocol'
498
+ property :request_model, as: 'requestModel'
499
+ end
500
+ end
501
+
468
502
  class Schedule
469
503
  # @private
470
504
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -590,6 +624,8 @@ module Google
590
624
  class TransferSpec
591
625
  # @private
592
626
  class Representation < Google::Apis::Core::JsonRepresentation
627
+ property :aws_s3_compatible_data_source, as: 'awsS3CompatibleDataSource', class: Google::Apis::StoragetransferV1::AwsS3CompatibleData, decorator: Google::Apis::StoragetransferV1::AwsS3CompatibleData::Representation
628
+
593
629
  property :aws_s3_data_source, as: 'awsS3DataSource', class: Google::Apis::StoragetransferV1::AwsS3Data, decorator: Google::Apis::StoragetransferV1::AwsS3Data::Representation
594
630
 
595
631
  property :azure_blob_storage_data_source, as: 'azureBlobStorageDataSource', class: Google::Apis::StoragetransferV1::AzureBlobStorageData, decorator: Google::Apis::StoragetransferV1::AzureBlobStorageData::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.28.0
4
+ version: 0.31.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: 2022-06-13 00:00:00.000000000 Z
11
+ date: 2022-07-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.5'
19
+ version: '0.7'
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.5'
29
+ version: '0.7'
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.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.31.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: []