google-apis-clouddeploy_v1 0.13.0 → 0.14.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: 8b02df182854d30b028da9d6d8bae5081a4d84edde122dc18144e86b698c6390
4
- data.tar.gz: debe28954ed92421b0f7b3a1ccdadf118766227bf5ff0d07d30ff8fa982404f0
3
+ metadata.gz: 79127e3c32989d01ac9b51891df6e9ea0dc6d5d441308ec2260590a8ba46eff3
4
+ data.tar.gz: 54fbf86a10362f7525d86037585eabce8da7e6ba8d5a3ffc2cc6245ef738f824
5
5
  SHA512:
6
- metadata.gz: a8c6a183181cc03118376a65ea9d4a8516bc1751523933502634f6d47b0b47c4b7c164bde1e079e6fbbb040a837d7db33c5835dda1e354c6d86b67b3b6564242
7
- data.tar.gz: a5a96cd26a6a6c1892b347cffcb8217717587c1792f8e3c73563725468d8824f340e3b0373ae5553df8eaeeaa0e33e3ebb91fd93de02ec0789a08b8d37b7c7ff
6
+ metadata.gz: 826b176b2ca8c35cc107d678fed3a7e44a2492702c88ab3ddabcb0f1d556789adec3aa893be4e165893334fb1faa384dac4aa532d9cd0a507ef0b20ce3134aac
7
+ data.tar.gz: 9f64d3773bb6680ab3c505f501408437251bbcc09b07354be88beac421aa4a918b86f0f78e66863920acbafd8a8a2c1206991e70a3bfa22948be9c05a3f9e7b2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.13.0 (2022-08-22)
4
8
 
5
9
  * Regenerated from discovery document revision 20220811
@@ -200,31 +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 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`.
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`.
228
230
  # Corresponds to the JSON property `members`
229
231
  # @return [Array<String>]
230
232
  attr_accessor :members
@@ -286,6 +288,58 @@ module Google
286
288
  end
287
289
  end
288
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
+
289
343
  # Service-wide configuration.
290
344
  class Config
291
345
  include Google::Apis::Core::Hashable
@@ -907,6 +961,25 @@ module Google
907
961
  end
908
962
  end
909
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
+
910
983
  # This resource represents a long-running operation that is the result of a
911
984
  # network API call.
912
985
  class Operation
@@ -1504,6 +1577,11 @@ module Google
1504
1577
  # @return [Hash<String,String>]
1505
1578
  attr_accessor :labels
1506
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
+
1507
1585
  # Optional. Name of the `Rollout`. Format is projects/`project`/ locations/`
1508
1586
  # location`/deliveryPipelines/`deliveryPipeline`/ releases/`release`/rollouts/a-
1509
1587
  # z`0,62`.
@@ -1545,6 +1623,7 @@ module Google
1545
1623
  @etag = args[:etag] if args.key?(:etag)
1546
1624
  @failure_reason = args[:failure_reason] if args.key?(:failure_reason)
1547
1625
  @labels = args[:labels] if args.key?(:labels)
1626
+ @metadata = args[:metadata] if args.key?(:metadata)
1548
1627
  @name = args[:name] if args.key?(:name)
1549
1628
  @state = args[:state] if args.key?(:state)
1550
1629
  @target_id = args[:target_id] if args.key?(:target_id)
@@ -1848,6 +1927,11 @@ module Google
1848
1927
  attr_accessor :require_approval
1849
1928
  alias_method :require_approval?, :require_approval
1850
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
+
1851
1935
  # Output only. Resource id of the `Target`.
1852
1936
  # Corresponds to the JSON property `targetId`
1853
1937
  # @return [String]
@@ -1879,6 +1963,7 @@ module Google
1879
1963
  @labels = args[:labels] if args.key?(:labels)
1880
1964
  @name = args[:name] if args.key?(:name)
1881
1965
  @require_approval = args[:require_approval] if args.key?(:require_approval)
1966
+ @run = args[:run] if args.key?(:run)
1882
1967
  @target_id = args[:target_id] if args.key?(:target_id)
1883
1968
  @uid = args[:uid] if args.key?(:uid)
1884
1969
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -1962,6 +2047,11 @@ module Google
1962
2047
  # @return [String]
1963
2048
  attr_accessor :failure_cause
1964
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
+
1965
2055
  # Output only. The resource name of the Cloud Build `Build` object that is used
1966
2056
  # to render the manifest for this target. Format is `projects/`project`/
1967
2057
  # locations/`location`/builds/`build``.
@@ -1981,6 +2071,7 @@ module Google
1981
2071
  # Update properties of this object
1982
2072
  def update!(**args)
1983
2073
  @failure_cause = args[:failure_cause] if args.key?(:failure_cause)
2074
+ @failure_message = args[:failure_message] if args.key?(:failure_message)
1984
2075
  @rendering_build = args[:rendering_build] if args.key?(:rendering_build)
1985
2076
  @rendering_state = args[:rendering_state] if args.key?(:rendering_state)
1986
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.13.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220811"
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.13.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-08-29 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
@@ -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.13.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: []