google-apis-clouddeploy_v1 0.9.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b6e723eb98ea715c3416cbfb3e1d90d7afba54e95757dae2c97a2131e0e9cac9
4
- data.tar.gz: 2d1c18ee194d7026e4f0424f711c132d93c4abbc0adb09e8d735a9276f560d1b
3
+ metadata.gz: 3a20f0317fd153c478a3bb4f5f5b05aae8409aa700438e717015c9444a9bcb58
4
+ data.tar.gz: 732ba6887289a4f42b7e85df93ac63b147af75b7ec576de7a5e11840f40fee64
5
5
  SHA512:
6
- metadata.gz: 8177b984015b4278a2491b5b9332528543720e2770f3ec051f715d49fc984fb5e379697e878456ac990b50ba1c805977e46fae79c6107f209aef3021f32af3f4
7
- data.tar.gz: 368e0a5ef4b6eea6307af79931fa9db29548c5cfa1feb6ff11435655adb16ae270447a17edb67c304c5ac974b3bea1c9bb631c5831b7febfe59492618bb44f12
6
+ metadata.gz: f02455a0338a6a9636d236e2205f66f72091c82e091eca547f0f0d2ece15aa3d1f4e8c0441be4e45adc5c8e68c45f9a8785940efb5310ea7ede9a69c4fe702f2
7
+ data.tar.gz: 4cfb2f1528a6b2f5d13305abbbdc6cb71b105c54d7d4a113b3dfa4afca6c2026ccdb3c38b27e981f927d58fc2357d096e38311e8d0e4b017f0df553be3647627
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-clouddeploy_v1
2
2
 
3
+ ### v0.12.0 (2022-07-02)
4
+
5
+ * Regenerated using generator version 0.8.0
6
+
7
+ ### v0.11.0 (2022-06-19)
8
+
9
+ * Regenerated from discovery document revision 20220609
10
+ * Regenerated using generator version 0.7.0
11
+
12
+ ### v0.10.0 (2022-06-02)
13
+
14
+ * Unspecified changes
15
+
3
16
  ### v0.9.0 (2022-05-15)
4
17
 
5
18
  * Regenerated from discovery document revision 20220504
@@ -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.9.0"
19
+ GEM_VERSION = "0.12.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.8.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.9.0
4
+ version: 0.12.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-05-16 00:00:00.000000000 Z
11
+ date: 2022-07-04 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.4'
19
+ version: '0.7'
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.4'
29
+ version: '0.7'
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.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.12.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Cloud Deploy API V1