google-apis-clouddeploy_v1 0.10.0 → 0.13.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b02df182854d30b028da9d6d8bae5081a4d84edde122dc18144e86b698c6390
|
4
|
+
data.tar.gz: debe28954ed92421b0f7b3a1ccdadf118766227bf5ff0d07d30ff8fa982404f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8c6a183181cc03118376a65ea9d4a8516bc1751523933502634f6d47b0b47c4b7c164bde1e079e6fbbb040a837d7db33c5835dda1e354c6d86b67b3b6564242
|
7
|
+
data.tar.gz: a5a96cd26a6a6c1892b347cffcb8217717587c1792f8e3c73563725468d8824f340e3b0373ae5553df8eaeeaa0e33e3ebb91fd93de02ec0789a08b8d37b7c7ff
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Release history for google-apis-clouddeploy_v1
|
2
2
|
|
3
|
+
### v0.13.0 (2022-08-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220811
|
6
|
+
* Regenerated using generator version 0.9.0
|
7
|
+
|
8
|
+
### v0.12.0 (2022-07-02)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.8.0
|
11
|
+
|
12
|
+
### v0.11.0 (2022-06-19)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20220609
|
15
|
+
* Regenerated using generator version 0.7.0
|
16
|
+
|
3
17
|
### v0.10.0 (2022-06-02)
|
4
18
|
|
5
19
|
* 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
|
@@ -177,25 +203,28 @@ module Google
|
|
177
203
|
# anyone who is authenticated with a Google account or a service account. * `
|
178
204
|
# user:`emailid``: An email address that represents a specific Google account.
|
179
205
|
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
180
|
-
# address that represents a service account. For example, `my-other-app@
|
181
|
-
# gserviceaccount.com`. * `
|
182
|
-
#
|
183
|
-
#
|
184
|
-
#
|
185
|
-
#
|
186
|
-
#
|
187
|
-
#
|
188
|
-
#
|
189
|
-
#
|
190
|
-
#
|
191
|
-
# emailid
|
192
|
-
#
|
193
|
-
#
|
194
|
-
#
|
195
|
-
#
|
196
|
-
#
|
197
|
-
#
|
198
|
-
#
|
206
|
+
# address that represents a Google service account. For example, `my-other-app@
|
207
|
+
# appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
|
208
|
+
# namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
|
209
|
+
# https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
|
210
|
+
# accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
|
211
|
+
# . * `group:`emailid``: An email address that represents a Google group. For
|
212
|
+
# example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
|
213
|
+
# email address (plus unique identifier) representing a user that has been
|
214
|
+
# recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
|
215
|
+
# If the user is recovered, this value reverts to `user:`emailid`` and the
|
216
|
+
# recovered user retains the role in the binding. * `deleted:serviceAccount:`
|
217
|
+
# emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
218
|
+
# representing a service account that has been recently deleted. For example, `
|
219
|
+
# my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
|
220
|
+
# service account is undeleted, this value reverts to `serviceAccount:`emailid``
|
221
|
+
# and the undeleted service account retains the role in the binding. * `deleted:
|
222
|
+
# group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
223
|
+
# representing a Google group that has been recently deleted. For example, `
|
224
|
+
# admins@example.com?uid=123456789012345678901`. If the group is recovered, this
|
225
|
+
# value reverts to `group:`emailid`` and the recovered group retains the role in
|
226
|
+
# the binding. * `domain:`domain``: The G Suite domain (primary) that represents
|
227
|
+
# all the users of that domain. For example, `google.com` or `example.com`.
|
199
228
|
# Corresponds to the JSON property `members`
|
200
229
|
# @return [Array<String>]
|
201
230
|
attr_accessor :members
|
@@ -417,6 +446,13 @@ module Google
|
|
417
446
|
# @return [Google::Apis::ClouddeployV1::SerialPipeline]
|
418
447
|
attr_accessor :serial_pipeline
|
419
448
|
|
449
|
+
# When suspended, no new releases or rollouts can be created, but in-progress
|
450
|
+
# ones will complete.
|
451
|
+
# Corresponds to the JSON property `suspended`
|
452
|
+
# @return [Boolean]
|
453
|
+
attr_accessor :suspended
|
454
|
+
alias_method :suspended?, :suspended
|
455
|
+
|
420
456
|
# Output only. Unique identifier of the `DeliveryPipeline`.
|
421
457
|
# Corresponds to the JSON property `uid`
|
422
458
|
# @return [String]
|
@@ -441,6 +477,7 @@ module Google
|
|
441
477
|
@labels = args[:labels] if args.key?(:labels)
|
442
478
|
@name = args[:name] if args.key?(:name)
|
443
479
|
@serial_pipeline = args[:serial_pipeline] if args.key?(:serial_pipeline)
|
480
|
+
@suspended = args[:suspended] if args.key?(:suspended)
|
444
481
|
@uid = args[:uid] if args.key?(:uid)
|
445
482
|
@update_time = args[:update_time] if args.key?(:update_time)
|
446
483
|
end
|
@@ -1183,6 +1220,12 @@ module Google
|
|
1183
1220
|
class Release
|
1184
1221
|
include Google::Apis::Core::Hashable
|
1185
1222
|
|
1223
|
+
# Output only. Indicates whether this is an abandoned release.
|
1224
|
+
# Corresponds to the JSON property `abandoned`
|
1225
|
+
# @return [Boolean]
|
1226
|
+
attr_accessor :abandoned
|
1227
|
+
alias_method :abandoned?, :abandoned
|
1228
|
+
|
1186
1229
|
# User annotations. These attributes can only be set and used by the user, and
|
1187
1230
|
# not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for
|
1188
1231
|
# more details such as format and size limitations.
|
@@ -1296,6 +1339,7 @@ module Google
|
|
1296
1339
|
|
1297
1340
|
# Update properties of this object
|
1298
1341
|
def update!(**args)
|
1342
|
+
@abandoned = args[:abandoned] if args.key?(:abandoned)
|
1299
1343
|
@annotations = args[:annotations] if args.key?(:annotations)
|
1300
1344
|
@build_artifacts = args[:build_artifacts] if args.key?(:build_artifacts)
|
1301
1345
|
@create_time = args[:create_time] if args.key?(:create_time)
|
@@ -1409,8 +1453,8 @@ module Google
|
|
1409
1453
|
# @return [String]
|
1410
1454
|
attr_accessor :deploy_end_time
|
1411
1455
|
|
1412
|
-
# Output only. The reason this
|
1413
|
-
# while the
|
1456
|
+
# Output only. The reason this rollout failed. This will always be unspecified
|
1457
|
+
# while the rollout is in progress.
|
1414
1458
|
# Corresponds to the JSON property `deployFailureCause`
|
1415
1459
|
# @return [String]
|
1416
1460
|
attr_accessor :deploy_failure_cause
|
@@ -1444,7 +1488,7 @@ module Google
|
|
1444
1488
|
# @return [String]
|
1445
1489
|
attr_accessor :etag
|
1446
1490
|
|
1447
|
-
# Output only.
|
1491
|
+
# Output only. Additional information about the rollout failure, if available.
|
1448
1492
|
# Corresponds to the JSON property `failureReason`
|
1449
1493
|
# @return [String]
|
1450
1494
|
attr_accessor :failure_reason
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.13.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220811"
|
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.
|
4
|
+
version: 0.13.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-
|
11
|
+
date: 2022-08-29 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.
|
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.
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.13.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: []
|