google-apis-storagetransfer_v1 0.31.0 → 0.33.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: 6e03f03ae8afcf853b5536b11598a1f880f37c1db841030cf12b30336fd0bab1
4
+ data.tar.gz: e1fc16f6597325ff22f668e0f0de3c826d60634fed68eca4eccdd93b7e4fd42c
5
5
  SHA512:
6
- metadata.gz: '0839aab81652c0da50b8015d0b56e42840c3be10c2ee44b15f1e3a4571988f038955da416dd5ac289de4eb46312974546548b4e0240f0b3c66532b0d1439ae05'
7
- data.tar.gz: c7588848a970b00703bd02dc5115b3725a70cf2f0d2ba8113e95463caf53874603797d7c5d125d3c33b72f8178e7e8527418dca4f72de5763e36626d727dc619
6
+ metadata.gz: 385e3f31cf5cbfe5e761d014122fc73fd37297ab47590f465f060e0ebd2db91abbe7bcf01852e3850aa2715215a9d9f3e88d2e3d1fc849060b829f90cdfc3a3f
7
+ data.tar.gz: 131cb114fe40dd0a91149c3f79b5b391ddc8b0193d091728680e78c9e90cdaa8c59298d8a9a2ecc2d779662c5bd8776598748bf7af0de03c65cca25ff5be019d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-storagetransfer_v1
2
2
 
3
+ ### v0.33.0 (2022-09-22)
4
+
5
+ * Regenerated from discovery document revision 20220915
6
+ * Regenerated using generator version 0.10.0
7
+
8
+ ### v0.32.0 (2022-09-06)
9
+
10
+ * Regenerated from discovery document revision 20220901
11
+
3
12
  ### v0.31.0 (2022-07-19)
4
13
 
5
14
  * 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.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.9.0"
22
+ GENERATOR_VERSION = "0.10.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220714"
25
+ REVISION = "20220915"
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.33.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-26 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.7'
19
+ version: 0.9.0
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.7'
29
+ version: 0.9.0
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.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.33.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: []