google-apis-storagetransfer_v1 0.30.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: baddb11d1eca0b610aa34242566724a0a0ca5ead42ffe0baf71fbf0b8d2e1b7c
4
- data.tar.gz: f9ba5a6ae8d31c09e5d118e5f911786590819fd87959f0becf54b39ded6e8c2c
3
+ metadata.gz: 217ca415f61d289a32e220b7aa60a0f1eb7b4fdac3af27cc0d2dcda11a247f22
4
+ data.tar.gz: c935e05024813a6ffc297cddb50b3906fc02105afaade4e6e5ec390399fc0075
5
5
  SHA512:
6
- metadata.gz: c7bbf9355eaecba01e048c141e0781d0d3ec5f7b972a68063c14b1c5df337fa88af95361d7f0904d587105d79a3951b580ca664ed941d0e55293cf8dae0eb642
7
- data.tar.gz: 1d8e502324382d43d6a4fcb22c6e9176567e3ec126a2fc666875f874c3fcf1f4a392797c3f229935687fa59b77b450ba4ade44b9a0dfd6476557488e0d6f28d2
6
+ metadata.gz: '0839aab81652c0da50b8015d0b56e42840c3be10c2ee44b15f1e3a4571988f038955da416dd5ac289de4eb46312974546548b4e0240f0b3c66532b0d1439ae05'
7
+ data.tar.gz: c7588848a970b00703bd02dc5115b3725a70cf2f0d2ba8113e95463caf53874603797d7c5d125d3c33b72f8178e7e8527418dca4f72de5763e36626d727dc619
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.30.0 (2022-06-30)
4
9
 
5
10
  * Regenerated using generator version 0.8.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.30.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.8.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.30.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-07-04 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
@@ -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.30.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: []