google-apis-storagetransfer_v1 0.15.0 → 0.16.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: aaf5f19eaeed582465b6c5731652816d1aa449310dd54aaf94b3e046eb7cb585
4
- data.tar.gz: 706993d4d3f82b2ca63d516825538ceb8dd8cf7fa58935c86e3029cc67eade70
3
+ metadata.gz: 80c18683fdb4d192b9f9da51763453689ca91566cea49854332720c3ce6872a2
4
+ data.tar.gz: 9899dedceed7cbeb390be891a7f7b8bb601d92a2f0d2683feac9bce502d5679e
5
5
  SHA512:
6
- metadata.gz: 9955efc018150ff22b5bd04be0f9a3b2d2e445cf4fd7c2fc9ccde7081a6da03bcbb5e5c14907c5daf7be791c1196d6ba9beb1ce8bae2aa34784f12739e52c7a6
7
- data.tar.gz: cb6efab3cdd02c96b51e6f4d291d0287a52ad2f074ad7647f1e7a79871c59fdb4f638439522509d58cdf3f79eb03b2d047b9fe048da8e153a9cbe4e28029d4e8
6
+ metadata.gz: 9ecf86953bf9293d6e0fc819226d7fc9886806ecfafe19c692c5570837663c7c11236753a8980b76a9881cb36e9ab30180c62efb392b892dda7943274925e150
7
+ data.tar.gz: 584341983ca62e5e337c7961ee57cd7fa1c59c876b7e04e0f5d7789cbe52d86dfcb59c9c0aee3c9afadb81f2a55fec5a06002c57e380babfc11d3a77bd26d429
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-storagetransfer_v1
2
2
 
3
+ ### v0.16.0 (2021-10-20)
4
+
5
+ * Regenerated from discovery document revision 20211018
6
+
3
7
  ### v0.15.0 (2021-09-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20210918
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Storagetransfer service in particular.)
67
67
 
@@ -22,6 +22,45 @@ module Google
22
22
  module Apis
23
23
  module StoragetransferV1
24
24
 
25
+ # Represents an On-Premises Agent pool.
26
+ class AgentPool
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Specifies the BandwidthLimit to describe the non-negative bandwidth rate in
30
+ # mbps for the agent pool.
31
+ # Corresponds to the JSON property `bandwidthLimit`
32
+ # @return [Google::Apis::StoragetransferV1::BandwidthLimit]
33
+ attr_accessor :bandwidth_limit
34
+
35
+ # Specifies the client-specified AgentPool description.
36
+ # Corresponds to the JSON property `displayName`
37
+ # @return [String]
38
+ attr_accessor :display_name
39
+
40
+ # Required. Specifies a unique string that identifies the agent pool. Format:
41
+ # projects/`project_id`/agentPools/`agent_pool_id`
42
+ # Corresponds to the JSON property `name`
43
+ # @return [String]
44
+ attr_accessor :name
45
+
46
+ # Output only. Specifies the state of the AgentPool.
47
+ # Corresponds to the JSON property `state`
48
+ # @return [String]
49
+ attr_accessor :state
50
+
51
+ def initialize(**args)
52
+ update!(**args)
53
+ end
54
+
55
+ # Update properties of this object
56
+ def update!(**args)
57
+ @bandwidth_limit = args[:bandwidth_limit] if args.key?(:bandwidth_limit)
58
+ @display_name = args[:display_name] if args.key?(:display_name)
59
+ @name = args[:name] if args.key?(:name)
60
+ @state = args[:state] if args.key?(:state)
61
+ end
62
+ end
63
+
25
64
  # AWS access key (see [AWS Security Credentials](https://docs.aws.amazon.com/
26
65
  # general/latest/gr/aws-security-credentials.html)). For information on our data
27
66
  # retention policy for user credentials, see [User credentials](/storage-
@@ -172,6 +211,26 @@ module Google
172
211
  end
173
212
  end
174
213
 
214
+ # Specifies the BandwidthLimit to describe the non-negative bandwidth rate in
215
+ # mbps for the agent pool.
216
+ class BandwidthLimit
217
+ include Google::Apis::Core::Hashable
218
+
219
+ # Specifies bandwidth rate in mbps distributed across all the agents in the pool.
220
+ # Corresponds to the JSON property `limitMbps`
221
+ # @return [Fixnum]
222
+ attr_accessor :limit_mbps
223
+
224
+ def initialize(**args)
225
+ update!(**args)
226
+ end
227
+
228
+ # Update properties of this object
229
+ def update!(**args)
230
+ @limit_mbps = args[:limit_mbps] if args.key?(:limit_mbps)
231
+ end
232
+ end
233
+
175
234
  # The request message for Operations.CancelOperation.
176
235
  class CancelOperationRequest
177
236
  include Google::Apis::Core::Hashable
@@ -399,6 +458,31 @@ module Google
399
458
  end
400
459
  end
401
460
 
461
+ # Response from ListAgentPools.
462
+ class ListAgentPoolsResponse
463
+ include Google::Apis::Core::Hashable
464
+
465
+ # A list of agent pools.
466
+ # Corresponds to the JSON property `agentPools`
467
+ # @return [Array<Google::Apis::StoragetransferV1::AgentPool>]
468
+ attr_accessor :agent_pools
469
+
470
+ # The list next page token.
471
+ # Corresponds to the JSON property `nextPageToken`
472
+ # @return [String]
473
+ attr_accessor :next_page_token
474
+
475
+ def initialize(**args)
476
+ update!(**args)
477
+ end
478
+
479
+ # Update properties of this object
480
+ def update!(**args)
481
+ @agent_pools = args[:agent_pools] if args.key?(:agent_pools)
482
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
483
+ end
484
+ end
485
+
402
486
  # The response message for Operations.ListOperations.
403
487
  class ListOperationsResponse
404
488
  include Google::Apis::Core::Hashable
@@ -949,6 +1033,16 @@ module Google
949
1033
  # @return [Fixnum]
950
1034
  attr_accessor :directories_successfully_listed_from_source
951
1035
 
1036
+ # Number of successfully cleaned up intermediate objects.
1037
+ # Corresponds to the JSON property `intermediateObjectsCleanedUp`
1038
+ # @return [Fixnum]
1039
+ attr_accessor :intermediate_objects_cleaned_up
1040
+
1041
+ # Number of intermediate objects failed cleaned up.
1042
+ # Corresponds to the JSON property `intermediateObjectsFailedCleanedUp`
1043
+ # @return [Fixnum]
1044
+ attr_accessor :intermediate_objects_failed_cleaned_up
1045
+
952
1046
  # Objects that are copied to the data sink.
953
1047
  # Corresponds to the JSON property `objectsCopiedToSink`
954
1048
  # @return [Fixnum]
@@ -1010,6 +1104,8 @@ module Google
1010
1104
  @directories_failed_to_list_from_source = args[:directories_failed_to_list_from_source] if args.key?(:directories_failed_to_list_from_source)
1011
1105
  @directories_found_from_source = args[:directories_found_from_source] if args.key?(:directories_found_from_source)
1012
1106
  @directories_successfully_listed_from_source = args[:directories_successfully_listed_from_source] if args.key?(:directories_successfully_listed_from_source)
1107
+ @intermediate_objects_cleaned_up = args[:intermediate_objects_cleaned_up] if args.key?(:intermediate_objects_cleaned_up)
1108
+ @intermediate_objects_failed_cleaned_up = args[:intermediate_objects_failed_cleaned_up] if args.key?(:intermediate_objects_failed_cleaned_up)
1013
1109
  @objects_copied_to_sink = args[:objects_copied_to_sink] if args.key?(:objects_copied_to_sink)
1014
1110
  @objects_deleted_from_sink = args[:objects_deleted_from_sink] if args.key?(:objects_deleted_from_sink)
1015
1111
  @objects_deleted_from_source = args[:objects_deleted_from_source] if args.key?(:objects_deleted_from_source)
@@ -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.15.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210918"
25
+ REVISION = "20211018"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module StoragetransferV1
24
24
 
25
+ class AgentPool
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class AwsAccessKey
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -46,6 +52,12 @@ module Google
46
52
  include Google::Apis::Core::JsonObjectSupport
47
53
  end
48
54
 
55
+ class BandwidthLimit
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
49
61
  class CancelOperationRequest
50
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
63
 
@@ -94,6 +106,12 @@ module Google
94
106
  include Google::Apis::Core::JsonObjectSupport
95
107
  end
96
108
 
109
+ class ListAgentPoolsResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
97
115
  class ListOperationsResponse
98
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
117
 
@@ -208,6 +226,17 @@ module Google
208
226
  include Google::Apis::Core::JsonObjectSupport
209
227
  end
210
228
 
229
+ class AgentPool
230
+ # @private
231
+ class Representation < Google::Apis::Core::JsonRepresentation
232
+ property :bandwidth_limit, as: 'bandwidthLimit', class: Google::Apis::StoragetransferV1::BandwidthLimit, decorator: Google::Apis::StoragetransferV1::BandwidthLimit::Representation
233
+
234
+ property :display_name, as: 'displayName'
235
+ property :name, as: 'name'
236
+ property :state, as: 'state'
237
+ end
238
+ end
239
+
211
240
  class AwsAccessKey
212
241
  # @private
213
242
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -245,6 +274,13 @@ module Google
245
274
  end
246
275
  end
247
276
 
277
+ class BandwidthLimit
278
+ # @private
279
+ class Representation < Google::Apis::Core::JsonRepresentation
280
+ property :limit_mbps, :numeric_string => true, as: 'limitMbps'
281
+ end
282
+ end
283
+
248
284
  class CancelOperationRequest
249
285
  # @private
250
286
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -307,6 +343,15 @@ module Google
307
343
  end
308
344
  end
309
345
 
346
+ class ListAgentPoolsResponse
347
+ # @private
348
+ class Representation < Google::Apis::Core::JsonRepresentation
349
+ collection :agent_pools, as: 'agentPools', class: Google::Apis::StoragetransferV1::AgentPool, decorator: Google::Apis::StoragetransferV1::AgentPool::Representation
350
+
351
+ property :next_page_token, as: 'nextPageToken'
352
+ end
353
+ end
354
+
310
355
  class ListOperationsResponse
311
356
  # @private
312
357
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -439,6 +484,8 @@ module Google
439
484
  property :directories_failed_to_list_from_source, :numeric_string => true, as: 'directoriesFailedToListFromSource'
440
485
  property :directories_found_from_source, :numeric_string => true, as: 'directoriesFoundFromSource'
441
486
  property :directories_successfully_listed_from_source, :numeric_string => true, as: 'directoriesSuccessfullyListedFromSource'
487
+ property :intermediate_objects_cleaned_up, :numeric_string => true, as: 'intermediateObjectsCleanedUp'
488
+ property :intermediate_objects_failed_cleaned_up, :numeric_string => true, as: 'intermediateObjectsFailedCleanedUp'
442
489
  property :objects_copied_to_sink, :numeric_string => true, as: 'objectsCopiedToSink'
443
490
  property :objects_deleted_from_sink, :numeric_string => true, as: 'objectsDeletedFromSink'
444
491
  property :objects_deleted_from_source, :numeric_string => true, as: 'objectsDeletedFromSource'
@@ -87,6 +87,189 @@ module Google
87
87
  execute_or_queue_command(command, &block)
88
88
  end
89
89
 
90
+ # Creates an agent pool resource.
91
+ # @param [String] project_id
92
+ # Required. The ID of the Google Cloud Platform Console project that owns the
93
+ # agent pool.
94
+ # @param [Google::Apis::StoragetransferV1::AgentPool] agent_pool_object
95
+ # @param [String] agent_pool_id
96
+ # Required. The id of the agent pool to create. The agent_pool_id must be non-
97
+ # empty, less than or equal to 128 characters, and satisfy the following regex: "
98
+ # ^[a-z]([a-z0-9-._~]*[a-z0-9])?$". Also, agent pool names cannot start with the
99
+ # string "goog".
100
+ # @param [String] fields
101
+ # Selector specifying which fields to include in a partial response.
102
+ # @param [String] quota_user
103
+ # Available to use for quota purposes for server-side applications. Can be any
104
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
105
+ # @param [Google::Apis::RequestOptions] options
106
+ # Request-specific options
107
+ #
108
+ # @yield [result, err] Result & error if block supplied
109
+ # @yieldparam result [Google::Apis::StoragetransferV1::AgentPool] parsed result object
110
+ # @yieldparam err [StandardError] error object if request failed
111
+ #
112
+ # @return [Google::Apis::StoragetransferV1::AgentPool]
113
+ #
114
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
115
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
116
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
117
+ def create_project_agent_pool(project_id, agent_pool_object = nil, agent_pool_id: nil, fields: nil, quota_user: nil, options: nil, &block)
118
+ command = make_simple_command(:post, 'v1/projects/{+projectId}/agentPools', options)
119
+ command.request_representation = Google::Apis::StoragetransferV1::AgentPool::Representation
120
+ command.request_object = agent_pool_object
121
+ command.response_representation = Google::Apis::StoragetransferV1::AgentPool::Representation
122
+ command.response_class = Google::Apis::StoragetransferV1::AgentPool
123
+ command.params['projectId'] = project_id unless project_id.nil?
124
+ command.query['agentPoolId'] = agent_pool_id unless agent_pool_id.nil?
125
+ command.query['fields'] = fields unless fields.nil?
126
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
127
+ execute_or_queue_command(command, &block)
128
+ end
129
+
130
+ # Deletes an agent pool.
131
+ # @param [String] name
132
+ # Required. The agent pool name to delete.
133
+ # @param [String] fields
134
+ # Selector specifying which fields to include in a partial response.
135
+ # @param [String] quota_user
136
+ # Available to use for quota purposes for server-side applications. Can be any
137
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
138
+ # @param [Google::Apis::RequestOptions] options
139
+ # Request-specific options
140
+ #
141
+ # @yield [result, err] Result & error if block supplied
142
+ # @yieldparam result [Google::Apis::StoragetransferV1::Empty] parsed result object
143
+ # @yieldparam err [StandardError] error object if request failed
144
+ #
145
+ # @return [Google::Apis::StoragetransferV1::Empty]
146
+ #
147
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
148
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
149
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
150
+ def delete_project_agent_pool(name, fields: nil, quota_user: nil, options: nil, &block)
151
+ command = make_simple_command(:delete, 'v1/{+name}', options)
152
+ command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation
153
+ command.response_class = Google::Apis::StoragetransferV1::Empty
154
+ command.params['name'] = name unless name.nil?
155
+ command.query['fields'] = fields unless fields.nil?
156
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
157
+ execute_or_queue_command(command, &block)
158
+ end
159
+
160
+ # Gets an agent pool.
161
+ # @param [String] name
162
+ # Required. The agent pool to get.
163
+ # @param [String] fields
164
+ # Selector specifying which fields to include in a partial response.
165
+ # @param [String] quota_user
166
+ # Available to use for quota purposes for server-side applications. Can be any
167
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
168
+ # @param [Google::Apis::RequestOptions] options
169
+ # Request-specific options
170
+ #
171
+ # @yield [result, err] Result & error if block supplied
172
+ # @yieldparam result [Google::Apis::StoragetransferV1::AgentPool] parsed result object
173
+ # @yieldparam err [StandardError] error object if request failed
174
+ #
175
+ # @return [Google::Apis::StoragetransferV1::AgentPool]
176
+ #
177
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
178
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
179
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
180
+ def get_project_agent_pool(name, fields: nil, quota_user: nil, options: nil, &block)
181
+ command = make_simple_command(:get, 'v1/{+name}', options)
182
+ command.response_representation = Google::Apis::StoragetransferV1::AgentPool::Representation
183
+ command.response_class = Google::Apis::StoragetransferV1::AgentPool
184
+ command.params['name'] = name unless name.nil?
185
+ command.query['fields'] = fields unless fields.nil?
186
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
187
+ execute_or_queue_command(command, &block)
188
+ end
189
+
190
+ # Lists agent pools.
191
+ # @param [String] project_id
192
+ # Required. The ID of the Google Cloud Platform Console project that owns the
193
+ # job.
194
+ # @param [String] filter
195
+ # A list of optional query parameters specified as JSON text in the form of: ``"
196
+ # agentPoolNames":["agentpool1","agentpool2",...]`` Since `agentPoolNames`
197
+ # support multiple values, its values must be specified with array notation. `
198
+ # agentPoolNames` is an optional field. The list returns all agent pools for the
199
+ # project when the filter is not provided or empty.
200
+ # @param [Fixnum] page_size
201
+ # The list page size. The max allowed value is 256.
202
+ # @param [String] page_token
203
+ # The list page token.
204
+ # @param [String] fields
205
+ # Selector specifying which fields to include in a partial response.
206
+ # @param [String] quota_user
207
+ # Available to use for quota purposes for server-side applications. Can be any
208
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
209
+ # @param [Google::Apis::RequestOptions] options
210
+ # Request-specific options
211
+ #
212
+ # @yield [result, err] Result & error if block supplied
213
+ # @yieldparam result [Google::Apis::StoragetransferV1::ListAgentPoolsResponse] parsed result object
214
+ # @yieldparam err [StandardError] error object if request failed
215
+ #
216
+ # @return [Google::Apis::StoragetransferV1::ListAgentPoolsResponse]
217
+ #
218
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
219
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
220
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
221
+ def list_project_agent_pools(project_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
222
+ command = make_simple_command(:get, 'v1/projects/{+projectId}/agentPools', options)
223
+ command.response_representation = Google::Apis::StoragetransferV1::ListAgentPoolsResponse::Representation
224
+ command.response_class = Google::Apis::StoragetransferV1::ListAgentPoolsResponse
225
+ command.params['projectId'] = project_id unless project_id.nil?
226
+ command.query['filter'] = filter unless filter.nil?
227
+ command.query['pageSize'] = page_size unless page_size.nil?
228
+ command.query['pageToken'] = page_token unless page_token.nil?
229
+ command.query['fields'] = fields unless fields.nil?
230
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
231
+ execute_or_queue_command(command, &block)
232
+ end
233
+
234
+ # Updates an existing agent pool resource.
235
+ # @param [String] name
236
+ # Required. Specifies a unique string that identifies the agent pool. Format:
237
+ # projects/`project_id`/agentPools/`agent_pool_id`
238
+ # @param [Google::Apis::StoragetransferV1::AgentPool] agent_pool_object
239
+ # @param [String] update_mask
240
+ # The field mask of the fields in `agentPool` that are to be updated in this
241
+ # request. Fields in `agentPool` that can be updated are: display_name,
242
+ # bandwidth_limit,
243
+ # @param [String] fields
244
+ # Selector specifying which fields to include in a partial response.
245
+ # @param [String] quota_user
246
+ # Available to use for quota purposes for server-side applications. Can be any
247
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
248
+ # @param [Google::Apis::RequestOptions] options
249
+ # Request-specific options
250
+ #
251
+ # @yield [result, err] Result & error if block supplied
252
+ # @yieldparam result [Google::Apis::StoragetransferV1::AgentPool] parsed result object
253
+ # @yieldparam err [StandardError] error object if request failed
254
+ #
255
+ # @return [Google::Apis::StoragetransferV1::AgentPool]
256
+ #
257
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
258
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
259
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
260
+ def patch_project_agent_pool(name, agent_pool_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
261
+ command = make_simple_command(:patch, 'v1/{+name}', options)
262
+ command.request_representation = Google::Apis::StoragetransferV1::AgentPool::Representation
263
+ command.request_object = agent_pool_object
264
+ command.response_representation = Google::Apis::StoragetransferV1::AgentPool::Representation
265
+ command.response_class = Google::Apis::StoragetransferV1::AgentPool
266
+ command.params['name'] = name unless name.nil?
267
+ command.query['updateMask'] = update_mask unless update_mask.nil?
268
+ command.query['fields'] = fields unless fields.nil?
269
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
270
+ execute_or_queue_command(command, &block)
271
+ end
272
+
90
273
  # Creates a transfer job that runs periodically.
91
274
  # @param [Google::Apis::StoragetransferV1::TransferJob] transfer_job_object
92
275
  # @param [String] fields
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.15.0
4
+ version: 0.16.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: 2021-09-22 00:00:00.000000000 Z
11
+ date: 2021-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-storagetransfer_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.15.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-storagetransfer_v1
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.16.0
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: []
65
65
  require_paths: