google-apis-clouddeploy_v1 0.2.0 → 0.3.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: 20201940fa5ef890a8d9570f716bec055baf1e0c65bebefec281a861a0a0a432
|
4
|
+
data.tar.gz: 2e996028ef08d9483b50f73c1d83663f9c7a63b1f4db4860e90fe4d6d1a40d1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b2b1de18d1e9d016a71262ad0f1dc673a8841064002d63b12f33481d270dd8f75e414c956e7630578f9dd0c9dbfe678252625cc22f52557309b8a087d39dac7
|
7
|
+
data.tar.gz: 20d7c7e48bb397c6750aa619884ead34e79597c561720661042a2b5048d500650abaa8863019b6127479a0e8aeacc3c018f100616b3920400c6e94558fb89144
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-clouddeploy_v1
|
2
2
|
|
3
|
+
### v0.3.0 (2022-01-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220124
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
3
8
|
### v0.2.0 (2021-12-18)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20211212
|
@@ -22,6 +22,27 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ClouddeployV1
|
24
24
|
|
25
|
+
# Information specifying an Anthos Cluster.
|
26
|
+
class AnthosCluster
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Membership of the GKE Hub registered cluster that the Skaffold configuration
|
30
|
+
# should be applied to. Format is `projects/`project`/locations/`location`/
|
31
|
+
# memberships/`membership_name``.
|
32
|
+
# Corresponds to the JSON property `membership`
|
33
|
+
# @return [String]
|
34
|
+
attr_accessor :membership
|
35
|
+
|
36
|
+
def initialize(**args)
|
37
|
+
update!(**args)
|
38
|
+
end
|
39
|
+
|
40
|
+
# Update properties of this object
|
41
|
+
def update!(**args)
|
42
|
+
@membership = args[:membership] if args.key?(:membership)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
25
46
|
# The request object used by `ApproveRollout`.
|
26
47
|
class ApproveRolloutRequest
|
27
48
|
include Google::Apis::Core::Hashable
|
@@ -446,6 +467,14 @@ module Google
|
|
446
467
|
class ExecutionConfig
|
447
468
|
include Google::Apis::Core::Hashable
|
448
469
|
|
470
|
+
# Optional. Cloud Storage location where execution outputs should be stored.
|
471
|
+
# This can either be a bucket ("gs://my-bucket") or a path within a bucket ("gs:/
|
472
|
+
# /my-bucket/my-dir"). If unspecified, a default bucket located in the same
|
473
|
+
# region will be used.
|
474
|
+
# Corresponds to the JSON property `artifactStorage`
|
475
|
+
# @return [String]
|
476
|
+
attr_accessor :artifact_storage
|
477
|
+
|
449
478
|
# Execution using the default Cloud Build pool.
|
450
479
|
# Corresponds to the JSON property `defaultPool`
|
451
480
|
# @return [Google::Apis::ClouddeployV1::DefaultPool]
|
@@ -456,20 +485,37 @@ module Google
|
|
456
485
|
# @return [Google::Apis::ClouddeployV1::PrivatePool]
|
457
486
|
attr_accessor :private_pool
|
458
487
|
|
488
|
+
# Optional. Google service account to use for execution. If unspecified, the
|
489
|
+
# project execution service account (-compute@developer.gserviceaccount.com)
|
490
|
+
# will be used.
|
491
|
+
# Corresponds to the JSON property `serviceAccount`
|
492
|
+
# @return [String]
|
493
|
+
attr_accessor :service_account
|
494
|
+
|
459
495
|
# Required. Usages when this configuration should be applied.
|
460
496
|
# Corresponds to the JSON property `usages`
|
461
497
|
# @return [Array<String>]
|
462
498
|
attr_accessor :usages
|
463
499
|
|
500
|
+
# Optional. The resource name of the `WorkerPool`, with the format `projects/`
|
501
|
+
# project`/locations/`location`/workerPools/`worker_pool``. If this optional
|
502
|
+
# field is unspecified, the default Cloud Build pool will be used.
|
503
|
+
# Corresponds to the JSON property `workerPool`
|
504
|
+
# @return [String]
|
505
|
+
attr_accessor :worker_pool
|
506
|
+
|
464
507
|
def initialize(**args)
|
465
508
|
update!(**args)
|
466
509
|
end
|
467
510
|
|
468
511
|
# Update properties of this object
|
469
512
|
def update!(**args)
|
513
|
+
@artifact_storage = args[:artifact_storage] if args.key?(:artifact_storage)
|
470
514
|
@default_pool = args[:default_pool] if args.key?(:default_pool)
|
471
515
|
@private_pool = args[:private_pool] if args.key?(:private_pool)
|
516
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
472
517
|
@usages = args[:usages] if args.key?(:usages)
|
518
|
+
@worker_pool = args[:worker_pool] if args.key?(:worker_pool)
|
473
519
|
end
|
474
520
|
end
|
475
521
|
|
@@ -1182,8 +1228,7 @@ module Google
|
|
1182
1228
|
# @return [Hash<String,Google::Apis::ClouddeployV1::TargetRender>]
|
1183
1229
|
attr_accessor :target_renders
|
1184
1230
|
|
1185
|
-
# Output only. Snapshot of the
|
1186
|
-
# creation time.
|
1231
|
+
# Output only. Snapshot of the targets taken at release creation time.
|
1187
1232
|
# Corresponds to the JSON property `targetSnapshots`
|
1188
1233
|
# @return [Array<Google::Apis::ClouddeployV1::Target>]
|
1189
1234
|
attr_accessor :target_snapshots
|
@@ -1467,9 +1512,9 @@ module Google
|
|
1467
1512
|
|
1468
1513
|
# The target_id to which this stage points. This field refers exclusively to the
|
1469
1514
|
# last segment of a target name. For example, this field would just be `my-
|
1470
|
-
# target` (rather than `projects/project/
|
1471
|
-
#
|
1472
|
-
#
|
1515
|
+
# target` (rather than `projects/project/locations/location/targets/my-target`).
|
1516
|
+
# The location of the `Target` is inferred to be the same as the location of the
|
1517
|
+
# `DeliveryPipeline` that contains this `Stage`.
|
1473
1518
|
# Corresponds to the JSON property `targetId`
|
1474
1519
|
# @return [String]
|
1475
1520
|
attr_accessor :target_id
|
@@ -1536,6 +1581,11 @@ module Google
|
|
1536
1581
|
# @return [Hash<String,String>]
|
1537
1582
|
attr_accessor :annotations
|
1538
1583
|
|
1584
|
+
# Information specifying an Anthos Cluster.
|
1585
|
+
# Corresponds to the JSON property `anthosCluster`
|
1586
|
+
# @return [Google::Apis::ClouddeployV1::AnthosCluster]
|
1587
|
+
attr_accessor :anthos_cluster
|
1588
|
+
|
1539
1589
|
# Output only. Time at which the `Target` was created.
|
1540
1590
|
# Corresponds to the JSON property `createTime`
|
1541
1591
|
# @return [String]
|
@@ -1580,7 +1630,7 @@ module Google
|
|
1580
1630
|
attr_accessor :labels
|
1581
1631
|
|
1582
1632
|
# Optional. Name of the `Target`. Format is projects/`project`/locations/`
|
1583
|
-
# location`/
|
1633
|
+
# location`/targets/a-z`0,62`.
|
1584
1634
|
# Corresponds to the JSON property `name`
|
1585
1635
|
# @return [String]
|
1586
1636
|
attr_accessor :name
|
@@ -1613,6 +1663,7 @@ module Google
|
|
1613
1663
|
# Update properties of this object
|
1614
1664
|
def update!(**args)
|
1615
1665
|
@annotations = args[:annotations] if args.key?(:annotations)
|
1666
|
+
@anthos_cluster = args[:anthos_cluster] if args.key?(:anthos_cluster)
|
1616
1667
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1617
1668
|
@description = args[:description] if args.key?(:description)
|
1618
1669
|
@etag = args[:etag] if args.key?(:etag)
|
@@ -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.3.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220124"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ClouddeployV1
|
24
24
|
|
25
|
+
class AnthosCluster
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class ApproveRolloutRequest
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -268,6 +274,13 @@ module Google
|
|
268
274
|
include Google::Apis::Core::JsonObjectSupport
|
269
275
|
end
|
270
276
|
|
277
|
+
class AnthosCluster
|
278
|
+
# @private
|
279
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
280
|
+
property :membership, as: 'membership'
|
281
|
+
end
|
282
|
+
end
|
283
|
+
|
271
284
|
class ApproveRolloutRequest
|
272
285
|
# @private
|
273
286
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -376,11 +389,14 @@ module Google
|
|
376
389
|
class ExecutionConfig
|
377
390
|
# @private
|
378
391
|
class Representation < Google::Apis::Core::JsonRepresentation
|
392
|
+
property :artifact_storage, as: 'artifactStorage'
|
379
393
|
property :default_pool, as: 'defaultPool', class: Google::Apis::ClouddeployV1::DefaultPool, decorator: Google::Apis::ClouddeployV1::DefaultPool::Representation
|
380
394
|
|
381
395
|
property :private_pool, as: 'privatePool', class: Google::Apis::ClouddeployV1::PrivatePool, decorator: Google::Apis::ClouddeployV1::PrivatePool::Representation
|
382
396
|
|
397
|
+
property :service_account, as: 'serviceAccount'
|
383
398
|
collection :usages, as: 'usages'
|
399
|
+
property :worker_pool, as: 'workerPool'
|
384
400
|
end
|
385
401
|
end
|
386
402
|
|
@@ -633,6 +649,8 @@ module Google
|
|
633
649
|
# @private
|
634
650
|
class Representation < Google::Apis::Core::JsonRepresentation
|
635
651
|
hash :annotations, as: 'annotations'
|
652
|
+
property :anthos_cluster, as: 'anthosCluster', class: Google::Apis::ClouddeployV1::AnthosCluster, decorator: Google::Apis::ClouddeployV1::AnthosCluster::Representation
|
653
|
+
|
636
654
|
property :create_time, as: 'createTime'
|
637
655
|
property :description, as: 'description'
|
638
656
|
property :etag, as: 'etag'
|
@@ -1216,7 +1216,7 @@ module Google
|
|
1216
1216
|
# Updates the parameters of a single Target.
|
1217
1217
|
# @param [String] name
|
1218
1218
|
# Optional. Name of the `Target`. Format is projects/`project`/locations/`
|
1219
|
-
# location`/
|
1219
|
+
# location`/targets/a-z`0,62`.
|
1220
1220
|
# @param [Google::Apis::ClouddeployV1::Target] target_object
|
1221
1221
|
# @param [Boolean] allow_missing
|
1222
1222
|
# Optional. If set to true, updating a `Target` that does not exist will result
|
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.3.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-01-
|
11
|
+
date: 2022-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -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.3.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.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Google Cloud Deploy API V1
|