google-apis-clouddeploy_v1 0.10.0 → 0.11.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: a7b3843c5ee9af71ed7d0cad3edb87537037e4d6e28ae74e05785bcf3695a74f
4
- data.tar.gz: 83d1c33ab464b80fc74058a9b0852465135fceb5ffea043febcf35adea23dd2a
3
+ metadata.gz: 8b07f8ac191266aba12640648938d5c4f417e5d97aa1dda08e60621de34022b3
4
+ data.tar.gz: 53d205afb874b078028986cad5094900eb03dd3c92eac4fae71a570e2b4a6447
5
5
  SHA512:
6
- metadata.gz: 044c41e40d80aedb1193e4941800fd92b4031801cffd26c026d25c8cf8731e030c18913b872a798ef67109a49f7c73d18d78cb695c0ea2ffa2d66deeb2e26fc0
7
- data.tar.gz: 5b4a738e2e57c50be132493f71770f5f8813e121a9dca144af2495193dbcd534907b557d8efcb0ef101c7f27a3ef65cabdb9d88f6839618029e2828b4e783525
6
+ metadata.gz: 2038faf8cb9e1304df7786472b49ec6ae01782564e82eb01f7bfa2d202ce61909acbfd0b1d4d130f3c8cf20ce800f5e2ec99d78c30c6dcf04dec1268e41a7c87
7
+ data.tar.gz: 32102344add47528bda3abe123c221109751f6c3f9ff0673a6a24ba70b7c9076d7958709d8f4572416ff10f021e560170905dcb6af9747c4bde7470ceec84f27
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-clouddeploy_v1
2
2
 
3
+ ### v0.11.0 (2022-06-19)
4
+
5
+ * Regenerated from discovery document revision 20220609
6
+ * Regenerated using generator version 0.7.0
7
+
3
8
  ### v0.10.0 (2022-06-02)
4
9
 
5
10
  * Unspecified changes
@@ -22,6 +22,32 @@ module Google
22
22
  module Apis
23
23
  module ClouddeployV1
24
24
 
25
+ # The request object used by `AbandonRelease`.
26
+ class AbandonReleaseRequest
27
+ include Google::Apis::Core::Hashable
28
+
29
+ def initialize(**args)
30
+ update!(**args)
31
+ end
32
+
33
+ # Update properties of this object
34
+ def update!(**args)
35
+ end
36
+ end
37
+
38
+ # The response object for `AbandonRelease`.
39
+ class AbandonReleaseResponse
40
+ include Google::Apis::Core::Hashable
41
+
42
+ def initialize(**args)
43
+ update!(**args)
44
+ end
45
+
46
+ # Update properties of this object
47
+ def update!(**args)
48
+ end
49
+ end
50
+
25
51
  # Information specifying an Anthos Cluster.
26
52
  class AnthosCluster
27
53
  include Google::Apis::Core::Hashable
@@ -417,6 +443,13 @@ module Google
417
443
  # @return [Google::Apis::ClouddeployV1::SerialPipeline]
418
444
  attr_accessor :serial_pipeline
419
445
 
446
+ # When suspended, no new releases or rollouts can be created, but in-progress
447
+ # ones will complete.
448
+ # Corresponds to the JSON property `suspended`
449
+ # @return [Boolean]
450
+ attr_accessor :suspended
451
+ alias_method :suspended?, :suspended
452
+
420
453
  # Output only. Unique identifier of the `DeliveryPipeline`.
421
454
  # Corresponds to the JSON property `uid`
422
455
  # @return [String]
@@ -441,6 +474,7 @@ module Google
441
474
  @labels = args[:labels] if args.key?(:labels)
442
475
  @name = args[:name] if args.key?(:name)
443
476
  @serial_pipeline = args[:serial_pipeline] if args.key?(:serial_pipeline)
477
+ @suspended = args[:suspended] if args.key?(:suspended)
444
478
  @uid = args[:uid] if args.key?(:uid)
445
479
  @update_time = args[:update_time] if args.key?(:update_time)
446
480
  end
@@ -1183,6 +1217,12 @@ module Google
1183
1217
  class Release
1184
1218
  include Google::Apis::Core::Hashable
1185
1219
 
1220
+ # Output only. Indicates whether this is an abandoned release.
1221
+ # Corresponds to the JSON property `abandoned`
1222
+ # @return [Boolean]
1223
+ attr_accessor :abandoned
1224
+ alias_method :abandoned?, :abandoned
1225
+
1186
1226
  # User annotations. These attributes can only be set and used by the user, and
1187
1227
  # not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for
1188
1228
  # more details such as format and size limitations.
@@ -1296,6 +1336,7 @@ module Google
1296
1336
 
1297
1337
  # Update properties of this object
1298
1338
  def update!(**args)
1339
+ @abandoned = args[:abandoned] if args.key?(:abandoned)
1299
1340
  @annotations = args[:annotations] if args.key?(:annotations)
1300
1341
  @build_artifacts = args[:build_artifacts] if args.key?(:build_artifacts)
1301
1342
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ClouddeployV1
18
18
  # Version of the google-apis-clouddeploy_v1 gem
19
- GEM_VERSION = "0.10.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220504"
25
+ REVISION = "20220609"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,18 @@ module Google
22
22
  module Apis
23
23
  module ClouddeployV1
24
24
 
25
+ class AbandonReleaseRequest
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AbandonReleaseResponse
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
25
37
  class AnthosCluster
26
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
39
 
@@ -304,6 +316,18 @@ module Google
304
316
  include Google::Apis::Core::JsonObjectSupport
305
317
  end
306
318
 
319
+ class AbandonReleaseRequest
320
+ # @private
321
+ class Representation < Google::Apis::Core::JsonRepresentation
322
+ end
323
+ end
324
+
325
+ class AbandonReleaseResponse
326
+ # @private
327
+ class Representation < Google::Apis::Core::JsonRepresentation
328
+ end
329
+ end
330
+
307
331
  class AnthosCluster
308
332
  # @private
309
333
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -405,6 +429,7 @@ module Google
405
429
  property :name, as: 'name'
406
430
  property :serial_pipeline, as: 'serialPipeline', class: Google::Apis::ClouddeployV1::SerialPipeline, decorator: Google::Apis::ClouddeployV1::SerialPipeline::Representation
407
431
 
432
+ property :suspended, as: 'suspended'
408
433
  property :uid, as: 'uid'
409
434
  property :update_time, as: 'updateTime'
410
435
  end
@@ -594,6 +619,7 @@ module Google
594
619
  class Release
595
620
  # @private
596
621
  class Representation < Google::Apis::Core::JsonRepresentation
622
+ property :abandoned, as: 'abandoned'
597
623
  hash :annotations, as: 'annotations'
598
624
  collection :build_artifacts, as: 'buildArtifacts', class: Google::Apis::ClouddeployV1::BuildArtifact, decorator: Google::Apis::ClouddeployV1::BuildArtifact::Representation
599
625
 
@@ -528,6 +528,40 @@ module Google
528
528
  execute_or_queue_command(command, &block)
529
529
  end
530
530
 
531
+ # Abandons a Release in the Delivery Pipeline.
532
+ # @param [String] name
533
+ # Required. Name of the Release. Format is projects/`project`/locations/`
534
+ # location`/deliveryPipelines/`deliveryPipeline`/ releases/`release`.
535
+ # @param [Google::Apis::ClouddeployV1::AbandonReleaseRequest] abandon_release_request_object
536
+ # @param [String] fields
537
+ # Selector specifying which fields to include in a partial response.
538
+ # @param [String] quota_user
539
+ # Available to use for quota purposes for server-side applications. Can be any
540
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
541
+ # @param [Google::Apis::RequestOptions] options
542
+ # Request-specific options
543
+ #
544
+ # @yield [result, err] Result & error if block supplied
545
+ # @yieldparam result [Google::Apis::ClouddeployV1::AbandonReleaseResponse] parsed result object
546
+ # @yieldparam err [StandardError] error object if request failed
547
+ #
548
+ # @return [Google::Apis::ClouddeployV1::AbandonReleaseResponse]
549
+ #
550
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
551
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
552
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
553
+ def abandon_release(name, abandon_release_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
554
+ command = make_simple_command(:post, 'v1/{+name}:abandon', options)
555
+ command.request_representation = Google::Apis::ClouddeployV1::AbandonReleaseRequest::Representation
556
+ command.request_object = abandon_release_request_object
557
+ command.response_representation = Google::Apis::ClouddeployV1::AbandonReleaseResponse::Representation
558
+ command.response_class = Google::Apis::ClouddeployV1::AbandonReleaseResponse
559
+ command.params['name'] = name unless name.nil?
560
+ command.query['fields'] = fields unless fields.nil?
561
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
562
+ execute_or_queue_command(command, &block)
563
+ end
564
+
531
565
  # Creates a new Release in a given project and location.
532
566
  # @param [String] parent
533
567
  # Required. The parent collection in which the `Release` should be created.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-clouddeploy_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.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-06-20 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.6'
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.6'
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-clouddeploy_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.11.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-clouddeploy_v1
63
63
  post_install_message:
64
64
  rdoc_options: []