google-apis-clouddeploy_v1 0.8.0 → 0.11.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b07f8ac191266aba12640648938d5c4f417e5d97aa1dda08e60621de34022b3
|
4
|
+
data.tar.gz: 53d205afb874b078028986cad5094900eb03dd3c92eac4fae71a570e2b4a6447
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2038faf8cb9e1304df7786472b49ec6ae01782564e82eb01f7bfa2d202ce61909acbfd0b1d4d130f3c8cf20ce800f5e2ec99d78c30c6dcf04dec1268e41a7c87
|
7
|
+
data.tar.gz: 32102344add47528bda3abe123c221109751f6c3f9ff0673a6a24ba70b7c9076d7958709d8f4572416ff10f021e560170905dcb6af9747c4bde7470ceec84f27
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
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
|
+
|
8
|
+
### v0.10.0 (2022-06-02)
|
9
|
+
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.9.0 (2022-05-15)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20220504
|
15
|
+
|
3
16
|
### v0.8.0 (2022-04-23)
|
4
17
|
|
5
18
|
* Regenerated from discovery document revision 20220413
|
@@ -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
|
@@ -89,8 +115,8 @@ module Google
|
|
89
115
|
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
90
116
|
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
91
117
|
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
92
|
-
# exempts jose@example.com from DATA_READ logging, and aliya@example.com
|
93
|
-
# DATA_WRITE logging.
|
118
|
+
# exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
|
119
|
+
# from DATA_WRITE logging.
|
94
120
|
class AuditConfig
|
95
121
|
include Google::Apis::Core::Hashable
|
96
122
|
|
@@ -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
|
@@ -512,6 +546,12 @@ module Google
|
|
512
546
|
# @return [Google::Apis::ClouddeployV1::DefaultPool]
|
513
547
|
attr_accessor :default_pool
|
514
548
|
|
549
|
+
# Optional. Execution timeout for a Cloud Build Execution. This must be between
|
550
|
+
# 10m and 24h in seconds format. If unspecified, a default timeout of 1h is used.
|
551
|
+
# Corresponds to the JSON property `executionTimeout`
|
552
|
+
# @return [String]
|
553
|
+
attr_accessor :execution_timeout
|
554
|
+
|
515
555
|
# Execution using a private Cloud Build pool.
|
516
556
|
# Corresponds to the JSON property `privatePool`
|
517
557
|
# @return [Google::Apis::ClouddeployV1::PrivatePool]
|
@@ -544,6 +584,7 @@ module Google
|
|
544
584
|
def update!(**args)
|
545
585
|
@artifact_storage = args[:artifact_storage] if args.key?(:artifact_storage)
|
546
586
|
@default_pool = args[:default_pool] if args.key?(:default_pool)
|
587
|
+
@execution_timeout = args[:execution_timeout] if args.key?(:execution_timeout)
|
547
588
|
@private_pool = args[:private_pool] if args.key?(:private_pool)
|
548
589
|
@service_account = args[:service_account] if args.key?(:service_account)
|
549
590
|
@usages = args[:usages] if args.key?(:usages)
|
@@ -1176,6 +1217,12 @@ module Google
|
|
1176
1217
|
class Release
|
1177
1218
|
include Google::Apis::Core::Hashable
|
1178
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
|
+
|
1179
1226
|
# User annotations. These attributes can only be set and used by the user, and
|
1180
1227
|
# not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for
|
1181
1228
|
# more details such as format and size limitations.
|
@@ -1289,6 +1336,7 @@ module Google
|
|
1289
1336
|
|
1290
1337
|
# Update properties of this object
|
1291
1338
|
def update!(**args)
|
1339
|
+
@abandoned = args[:abandoned] if args.key?(:abandoned)
|
1292
1340
|
@annotations = args[:annotations] if args.key?(:annotations)
|
1293
1341
|
@build_artifacts = args[:build_artifacts] if args.key?(:build_artifacts)
|
1294
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.
|
19
|
+
GEM_VERSION = "0.11.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.7.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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
|
@@ -431,6 +456,7 @@ module Google
|
|
431
456
|
property :artifact_storage, as: 'artifactStorage'
|
432
457
|
property :default_pool, as: 'defaultPool', class: Google::Apis::ClouddeployV1::DefaultPool, decorator: Google::Apis::ClouddeployV1::DefaultPool::Representation
|
433
458
|
|
459
|
+
property :execution_timeout, as: 'executionTimeout'
|
434
460
|
property :private_pool, as: 'privatePool', class: Google::Apis::ClouddeployV1::PrivatePool, decorator: Google::Apis::ClouddeployV1::PrivatePool::Representation
|
435
461
|
|
436
462
|
property :service_account, as: 'serviceAccount'
|
@@ -593,6 +619,7 @@ module Google
|
|
593
619
|
class Release
|
594
620
|
# @private
|
595
621
|
class Representation < Google::Apis::Core::JsonRepresentation
|
622
|
+
property :abandoned, as: 'abandoned'
|
596
623
|
hash :annotations, as: 'annotations'
|
597
624
|
collection :build_artifacts, as: 'buildArtifacts', class: Google::Apis::ClouddeployV1::BuildArtifact, decorator: Google::Apis::ClouddeployV1::BuildArtifact::Representation
|
598
625
|
|
@@ -301,8 +301,9 @@ module Google
|
|
301
301
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
302
302
|
# resource exists and does not have a policy set.
|
303
303
|
# @param [String] resource
|
304
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
305
|
-
#
|
304
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
305
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
306
|
+
# appropriate value for this field.
|
306
307
|
# @param [Fixnum] options_requested_policy_version
|
307
308
|
# Optional. The maximum policy version that will be used to format the policy.
|
308
309
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -455,8 +456,9 @@ module Google
|
|
455
456
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
456
457
|
# PERMISSION_DENIED` errors.
|
457
458
|
# @param [String] resource
|
458
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
459
|
-
#
|
459
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
460
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
461
|
+
# appropriate value for this field.
|
460
462
|
# @param [Google::Apis::ClouddeployV1::SetIamPolicyRequest] set_iam_policy_request_object
|
461
463
|
# @param [String] fields
|
462
464
|
# Selector specifying which fields to include in a partial response.
|
@@ -493,8 +495,9 @@ module Google
|
|
493
495
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
494
496
|
# This operation may "fail open" without warning.
|
495
497
|
# @param [String] resource
|
496
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
497
|
-
#
|
498
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
499
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
500
|
+
# appropriate value for this field.
|
498
501
|
# @param [Google::Apis::ClouddeployV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
499
502
|
# @param [String] fields
|
500
503
|
# Selector specifying which fields to include in a partial response.
|
@@ -525,6 +528,40 @@ module Google
|
|
525
528
|
execute_or_queue_command(command, &block)
|
526
529
|
end
|
527
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
|
+
|
528
565
|
# Creates a new Release in a given project and location.
|
529
566
|
# @param [String] parent
|
530
567
|
# Required. The parent collection in which the `Release` should be created.
|
@@ -1124,8 +1161,9 @@ module Google
|
|
1124
1161
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
1125
1162
|
# resource exists and does not have a policy set.
|
1126
1163
|
# @param [String] resource
|
1127
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
1128
|
-
#
|
1164
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1165
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1166
|
+
# appropriate value for this field.
|
1129
1167
|
# @param [Fixnum] options_requested_policy_version
|
1130
1168
|
# Optional. The maximum policy version that will be used to format the policy.
|
1131
1169
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -1279,8 +1317,9 @@ module Google
|
|
1279
1317
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1280
1318
|
# PERMISSION_DENIED` errors.
|
1281
1319
|
# @param [String] resource
|
1282
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
1283
|
-
#
|
1320
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1321
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1322
|
+
# appropriate value for this field.
|
1284
1323
|
# @param [Google::Apis::ClouddeployV1::SetIamPolicyRequest] set_iam_policy_request_object
|
1285
1324
|
# @param [String] fields
|
1286
1325
|
# Selector specifying which fields to include in a partial response.
|
@@ -1317,8 +1356,9 @@ module Google
|
|
1317
1356
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
1318
1357
|
# This operation may "fail open" without warning.
|
1319
1358
|
# @param [String] resource
|
1320
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
1321
|
-
#
|
1359
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1360
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1361
|
+
# appropriate value for this field.
|
1322
1362
|
# @param [Google::Apis::ClouddeployV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1323
1363
|
# @param [String] fields
|
1324
1364
|
# Selector specifying which fields to include in a partial response.
|
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.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-
|
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.
|
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.
|
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.
|
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: []
|
@@ -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.
|
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
|