google-apis-storagetransfer_v1 0.31.0 → 0.32.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: 217ca415f61d289a32e220b7aa60a0f1eb7b4fdac3af27cc0d2dcda11a247f22
4
- data.tar.gz: c935e05024813a6ffc297cddb50b3906fc02105afaade4e6e5ec390399fc0075
3
+ metadata.gz: dd5db80d8ae22e70559083241fe944c22e47a4d909c8d3d134add1e2e8f994a3
4
+ data.tar.gz: 7c0e1806755d7a1a42b250e09304f059c01b9c90145486f21ab98cab76f88cbc
5
5
  SHA512:
6
- metadata.gz: '0839aab81652c0da50b8015d0b56e42840c3be10c2ee44b15f1e3a4571988f038955da416dd5ac289de4eb46312974546548b4e0240f0b3c66532b0d1439ae05'
7
- data.tar.gz: c7588848a970b00703bd02dc5115b3725a70cf2f0d2ba8113e95463caf53874603797d7c5d125d3c33b72f8178e7e8527418dca4f72de5763e36626d727dc619
6
+ metadata.gz: 16e42f8210975edae356f0dcfa89bf5fe980f66bbbcb6999bea00305d037df1baca09ca2891039a8029656f20985f7bb4ac4af55834bdae7909238501cb1f268
7
+ data.tar.gz: 9248ff2240c20e3abc4162aada0141a806822a06a749b4a6dc7257622c9ce46234542e3424b7a6ca225aac1eb6e956c2bac9d18b079cb7adb149de192ef0afd1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-storagetransfer_v1
2
2
 
3
+ ### v0.32.0 (2022-09-06)
4
+
5
+ * Regenerated from discovery document revision 20220901
6
+
3
7
  ### v0.31.0 (2022-07-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20220714
@@ -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.31.0"
19
+ GEM_VERSION = "0.32.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220714"
25
+ REVISION = "20220901"
26
26
  end
27
27
  end
28
28
  end
@@ -302,6 +302,39 @@ module Google
302
302
  execute_or_queue_command(command, &block)
303
303
  end
304
304
 
305
+ # Deletes a transfer job. Deleting a transfer job sets its status to DELETED.
306
+ # @param [String] job_name
307
+ # Required. The job to delete.
308
+ # @param [String] project_id
309
+ # Required. The ID of the Google Cloud project that owns the job.
310
+ # @param [String] fields
311
+ # Selector specifying which fields to include in a partial response.
312
+ # @param [String] quota_user
313
+ # Available to use for quota purposes for server-side applications. Can be any
314
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
315
+ # @param [Google::Apis::RequestOptions] options
316
+ # Request-specific options
317
+ #
318
+ # @yield [result, err] Result & error if block supplied
319
+ # @yieldparam result [Google::Apis::StoragetransferV1::Empty] parsed result object
320
+ # @yieldparam err [StandardError] error object if request failed
321
+ #
322
+ # @return [Google::Apis::StoragetransferV1::Empty]
323
+ #
324
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
325
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
326
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
327
+ def delete_transfer_job(job_name, project_id, fields: nil, quota_user: nil, options: nil, &block)
328
+ command = make_simple_command(:delete, 'v1/{+jobName}', options)
329
+ command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation
330
+ command.response_class = Google::Apis::StoragetransferV1::Empty
331
+ command.params['jobName'] = job_name unless job_name.nil?
332
+ command.query['projectId'] = project_id unless project_id.nil?
333
+ command.query['fields'] = fields unless fields.nil?
334
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
335
+ execute_or_queue_command(command, &block)
336
+ end
337
+
305
338
  # Gets a transfer job.
306
339
  # @param [String] job_name
307
340
  # Required. The job to get.
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.31.0
4
+ version: 0.32.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-25 00:00:00.000000000 Z
11
+ date: 2022-09-12 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.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.32.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: []