google-apis-clouddeploy_v1 0.11.0 → 0.14.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: 8b07f8ac191266aba12640648938d5c4f417e5d97aa1dda08e60621de34022b3
4
- data.tar.gz: 53d205afb874b078028986cad5094900eb03dd3c92eac4fae71a570e2b4a6447
3
+ metadata.gz: 79127e3c32989d01ac9b51891df6e9ea0dc6d5d441308ec2260590a8ba46eff3
4
+ data.tar.gz: 54fbf86a10362f7525d86037585eabce8da7e6ba8d5a3ffc2cc6245ef738f824
5
5
  SHA512:
6
- metadata.gz: 2038faf8cb9e1304df7786472b49ec6ae01782564e82eb01f7bfa2d202ce61909acbfd0b1d4d130f3c8cf20ce800f5e2ec99d78c30c6dcf04dec1268e41a7c87
7
- data.tar.gz: 32102344add47528bda3abe123c221109751f6c3f9ff0673a6a24ba70b7c9076d7958709d8f4572416ff10f021e560170905dcb6af9747c4bde7470ceec84f27
6
+ metadata.gz: 826b176b2ca8c35cc107d678fed3a7e44a2492702c88ab3ddabcb0f1d556789adec3aa893be4e165893334fb1faa384dac4aa532d9cd0a507ef0b20ce3134aac
7
+ data.tar.gz: 9f64d3773bb6680ab3c505f501408437251bbcc09b07354be88beac421aa4a918b86f0f78e66863920acbafd8a8a2c1206991e70a3bfa22948be9c05a3f9e7b2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-clouddeploy_v1
2
2
 
3
+ ### v0.14.0 (2022-09-10)
4
+
5
+ * Regenerated from discovery document revision 20220906
6
+
7
+ ### v0.13.0 (2022-08-22)
8
+
9
+ * Regenerated from discovery document revision 20220811
10
+ * Regenerated using generator version 0.9.0
11
+
12
+ ### v0.12.0 (2022-07-02)
13
+
14
+ * Regenerated using generator version 0.8.0
15
+
3
16
  ### v0.11.0 (2022-06-19)
4
17
 
5
18
  * Regenerated from discovery document revision 20220609
@@ -200,28 +200,33 @@ module Google
200
200
  # members` can have the following values: * `allUsers`: A special identifier
201
201
  # that represents anyone who is on the internet; with or without a Google
202
202
  # account. * `allAuthenticatedUsers`: A special identifier that represents
203
- # anyone who is authenticated with a Google account or a service account. * `
204
- # user:`emailid``: An email address that represents a specific Google account.
205
- # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
206
- # address that represents a service account. For example, `my-other-app@appspot.
207
- # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
208
- # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
209
- # `uniqueid``: An email address (plus unique identifier) representing a user
210
- # that has been recently deleted. For example, `alice@example.com?uid=
211
- # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
212
- # emailid`` and the recovered user retains the role in the binding. * `deleted:
213
- # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
214
- # identifier) representing a service account that has been recently deleted. For
215
- # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
216
- # If the service account is undeleted, this value reverts to `serviceAccount:`
217
- # emailid`` and the undeleted service account retains the role in the binding. *
218
- # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
219
- # identifier) representing a Google group that has been recently deleted. For
220
- # example, `admins@example.com?uid=123456789012345678901`. If the group is
221
- # recovered, this value reverts to `group:`emailid`` and the recovered group
222
- # retains the role in the binding. * `domain:`domain``: The G Suite domain (
223
- # primary) that represents all the users of that domain. For example, `google.
224
- # com` or `example.com`.
203
+ # anyone who is authenticated with a Google account or a service account. Does
204
+ # not include identities that come from external identity providers (IdPs)
205
+ # through identity federation. * `user:`emailid``: An email address that
206
+ # represents a specific Google account. For example, `alice@example.com` . * `
207
+ # serviceAccount:`emailid``: An email address that represents a Google service
208
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
209
+ # serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
210
+ # identifier for a [Kubernetes service account](https://cloud.google.com/
211
+ # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
212
+ # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
213
+ # email address that represents a Google group. For example, `admins@example.com`
214
+ # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
215
+ # identifier) representing a user that has been recently deleted. For example, `
216
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
217
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
218
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
219
+ # address (plus unique identifier) representing a service account that has been
220
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
221
+ # 123456789012345678901`. If the service account is undeleted, this value
222
+ # reverts to `serviceAccount:`emailid`` and the undeleted service account
223
+ # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
224
+ # An email address (plus unique identifier) representing a Google group that has
225
+ # been recently deleted. For example, `admins@example.com?uid=
226
+ # 123456789012345678901`. If the group is recovered, this value reverts to `
227
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
228
+ # domain:`domain``: The G Suite domain (primary) that represents all the users
229
+ # of that domain. For example, `google.com` or `example.com`.
225
230
  # Corresponds to the JSON property `members`
226
231
  # @return [Array<String>]
227
232
  attr_accessor :members
@@ -283,6 +288,58 @@ module Google
283
288
  end
284
289
  end
285
290
 
291
+ # Information specifying where to deploy a Cloud Run Service.
292
+ class CloudRunLocation
293
+ include Google::Apis::Core::Hashable
294
+
295
+ # Required. The location where the Cloud Run Service should be located. Format
296
+ # is `projects/`project`/locations/`location``.
297
+ # Corresponds to the JSON property `location`
298
+ # @return [String]
299
+ attr_accessor :location
300
+
301
+ def initialize(**args)
302
+ update!(**args)
303
+ end
304
+
305
+ # Update properties of this object
306
+ def update!(**args)
307
+ @location = args[:location] if args.key?(:location)
308
+ end
309
+ end
310
+
311
+ # CloudRunMetadata contains information from a Cloud Run deployment.
312
+ class CloudRunMetadata
313
+ include Google::Apis::Core::Hashable
314
+
315
+ # Output only. The Cloud Run Revision id associated with a `Rollout`.
316
+ # Corresponds to the JSON property `revision`
317
+ # @return [String]
318
+ attr_accessor :revision
319
+
320
+ # Output only. The name of the Cloud Run Service that is associated with a `
321
+ # Rollout`. Format is projects/`project`/locations/`location`/services/`service`.
322
+ # Corresponds to the JSON property `service`
323
+ # @return [String]
324
+ attr_accessor :service
325
+
326
+ # Output only. The Cloud Run Service urls that are associated with a `Rollout`.
327
+ # Corresponds to the JSON property `serviceUrls`
328
+ # @return [Array<String>]
329
+ attr_accessor :service_urls
330
+
331
+ def initialize(**args)
332
+ update!(**args)
333
+ end
334
+
335
+ # Update properties of this object
336
+ def update!(**args)
337
+ @revision = args[:revision] if args.key?(:revision)
338
+ @service = args[:service] if args.key?(:service)
339
+ @service_urls = args[:service_urls] if args.key?(:service_urls)
340
+ end
341
+ end
342
+
286
343
  # Service-wide configuration.
287
344
  class Config
288
345
  include Google::Apis::Core::Hashable
@@ -904,6 +961,25 @@ module Google
904
961
  end
905
962
  end
906
963
 
964
+ # Metadata surfaces information associated with a `Rollout` to the user.
965
+ class Metadata
966
+ include Google::Apis::Core::Hashable
967
+
968
+ # CloudRunMetadata contains information from a Cloud Run deployment.
969
+ # Corresponds to the JSON property `cloudRun`
970
+ # @return [Google::Apis::ClouddeployV1::CloudRunMetadata]
971
+ attr_accessor :cloud_run
972
+
973
+ def initialize(**args)
974
+ update!(**args)
975
+ end
976
+
977
+ # Update properties of this object
978
+ def update!(**args)
979
+ @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
980
+ end
981
+ end
982
+
907
983
  # This resource represents a long-running operation that is the result of a
908
984
  # network API call.
909
985
  class Operation
@@ -1450,8 +1526,8 @@ module Google
1450
1526
  # @return [String]
1451
1527
  attr_accessor :deploy_end_time
1452
1528
 
1453
- # Output only. The reason this deploy failed. This will always be unspecified
1454
- # while the deploy in progress.
1529
+ # Output only. The reason this rollout failed. This will always be unspecified
1530
+ # while the rollout is in progress.
1455
1531
  # Corresponds to the JSON property `deployFailureCause`
1456
1532
  # @return [String]
1457
1533
  attr_accessor :deploy_failure_cause
@@ -1485,7 +1561,7 @@ module Google
1485
1561
  # @return [String]
1486
1562
  attr_accessor :etag
1487
1563
 
1488
- # Output only. Reason the build failed. Empty if the build succeeded.
1564
+ # Output only. Additional information about the rollout failure, if available.
1489
1565
  # Corresponds to the JSON property `failureReason`
1490
1566
  # @return [String]
1491
1567
  attr_accessor :failure_reason
@@ -1501,6 +1577,11 @@ module Google
1501
1577
  # @return [Hash<String,String>]
1502
1578
  attr_accessor :labels
1503
1579
 
1580
+ # Metadata surfaces information associated with a `Rollout` to the user.
1581
+ # Corresponds to the JSON property `metadata`
1582
+ # @return [Google::Apis::ClouddeployV1::Metadata]
1583
+ attr_accessor :metadata
1584
+
1504
1585
  # Optional. Name of the `Rollout`. Format is projects/`project`/ locations/`
1505
1586
  # location`/deliveryPipelines/`deliveryPipeline`/ releases/`release`/rollouts/a-
1506
1587
  # z`0,62`.
@@ -1542,6 +1623,7 @@ module Google
1542
1623
  @etag = args[:etag] if args.key?(:etag)
1543
1624
  @failure_reason = args[:failure_reason] if args.key?(:failure_reason)
1544
1625
  @labels = args[:labels] if args.key?(:labels)
1626
+ @metadata = args[:metadata] if args.key?(:metadata)
1545
1627
  @name = args[:name] if args.key?(:name)
1546
1628
  @state = args[:state] if args.key?(:state)
1547
1629
  @target_id = args[:target_id] if args.key?(:target_id)
@@ -1845,6 +1927,11 @@ module Google
1845
1927
  attr_accessor :require_approval
1846
1928
  alias_method :require_approval?, :require_approval
1847
1929
 
1930
+ # Information specifying where to deploy a Cloud Run Service.
1931
+ # Corresponds to the JSON property `run`
1932
+ # @return [Google::Apis::ClouddeployV1::CloudRunLocation]
1933
+ attr_accessor :run
1934
+
1848
1935
  # Output only. Resource id of the `Target`.
1849
1936
  # Corresponds to the JSON property `targetId`
1850
1937
  # @return [String]
@@ -1876,6 +1963,7 @@ module Google
1876
1963
  @labels = args[:labels] if args.key?(:labels)
1877
1964
  @name = args[:name] if args.key?(:name)
1878
1965
  @require_approval = args[:require_approval] if args.key?(:require_approval)
1966
+ @run = args[:run] if args.key?(:run)
1879
1967
  @target_id = args[:target_id] if args.key?(:target_id)
1880
1968
  @uid = args[:uid] if args.key?(:uid)
1881
1969
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -1959,6 +2047,11 @@ module Google
1959
2047
  # @return [String]
1960
2048
  attr_accessor :failure_cause
1961
2049
 
2050
+ # Output only. Additional information about the render failure, if available.
2051
+ # Corresponds to the JSON property `failureMessage`
2052
+ # @return [String]
2053
+ attr_accessor :failure_message
2054
+
1962
2055
  # Output only. The resource name of the Cloud Build `Build` object that is used
1963
2056
  # to render the manifest for this target. Format is `projects/`project`/
1964
2057
  # locations/`location`/builds/`build``.
@@ -1978,6 +2071,7 @@ module Google
1978
2071
  # Update properties of this object
1979
2072
  def update!(**args)
1980
2073
  @failure_cause = args[:failure_cause] if args.key?(:failure_cause)
2074
+ @failure_message = args[:failure_message] if args.key?(:failure_message)
1981
2075
  @rendering_build = args[:rendering_build] if args.key?(:rendering_build)
1982
2076
  @rendering_state = args[:rendering_state] if args.key?(:rendering_state)
1983
2077
  end
@@ -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.11.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.7.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220609"
25
+ REVISION = "20220906"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,18 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class CloudRunLocation
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class CloudRunMetadata
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
85
97
  class Config
86
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
99
 
@@ -178,6 +190,12 @@ module Google
178
190
  include Google::Apis::Core::JsonObjectSupport
179
191
  end
180
192
 
193
+ class Metadata
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
181
199
  class Operation
182
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
201
 
@@ -389,6 +407,22 @@ module Google
389
407
  end
390
408
  end
391
409
 
410
+ class CloudRunLocation
411
+ # @private
412
+ class Representation < Google::Apis::Core::JsonRepresentation
413
+ property :location, as: 'location'
414
+ end
415
+ end
416
+
417
+ class CloudRunMetadata
418
+ # @private
419
+ class Representation < Google::Apis::Core::JsonRepresentation
420
+ property :revision, as: 'revision'
421
+ property :service, as: 'service'
422
+ collection :service_urls, as: 'serviceUrls'
423
+ end
424
+ end
425
+
392
426
  class Config
393
427
  # @private
394
428
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -552,6 +586,14 @@ module Google
552
586
  end
553
587
  end
554
588
 
589
+ class Metadata
590
+ # @private
591
+ class Representation < Google::Apis::Core::JsonRepresentation
592
+ property :cloud_run, as: 'cloudRun', class: Google::Apis::ClouddeployV1::CloudRunMetadata, decorator: Google::Apis::ClouddeployV1::CloudRunMetadata::Representation
593
+
594
+ end
595
+ end
596
+
555
597
  class Operation
556
598
  # @private
557
599
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -679,6 +721,8 @@ module Google
679
721
  property :etag, as: 'etag'
680
722
  property :failure_reason, as: 'failureReason'
681
723
  hash :labels, as: 'labels'
724
+ property :metadata, as: 'metadata', class: Google::Apis::ClouddeployV1::Metadata, decorator: Google::Apis::ClouddeployV1::Metadata::Representation
725
+
682
726
  property :name, as: 'name'
683
727
  property :state, as: 'state'
684
728
  property :target_id, as: 'targetId'
@@ -757,6 +801,8 @@ module Google
757
801
  hash :labels, as: 'labels'
758
802
  property :name, as: 'name'
759
803
  property :require_approval, as: 'requireApproval'
804
+ property :run, as: 'run', class: Google::Apis::ClouddeployV1::CloudRunLocation, decorator: Google::Apis::ClouddeployV1::CloudRunLocation::Representation
805
+
760
806
  property :target_id, as: 'targetId'
761
807
  property :uid, as: 'uid'
762
808
  property :update_time, as: 'updateTime'
@@ -785,6 +831,7 @@ module Google
785
831
  # @private
786
832
  class Representation < Google::Apis::Core::JsonRepresentation
787
833
  property :failure_cause, as: 'failureCause'
834
+ property :failure_message, as: 'failureMessage'
788
835
  property :rendering_build, as: 'renderingBuild'
789
836
  property :rendering_state, as: 'renderingState'
790
837
  end
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.11.0
4
+ version: 0.14.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-20 00:00:00.000000000 Z
11
+ date: 2022-09-12 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.6'
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.6'
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.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.14.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: []