google-apis-clouddeploy_v1 0.5.0 → 0.8.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: 9c02da7eec5e9bd76ac859b8b7230d6552c666a89824fb6b9a332f0ee54b598b
4
- data.tar.gz: 71bbe97139293980a8796d5c06e6e29c49e5214b4e37e2677b3a0d15dad43e79
3
+ metadata.gz: 290146757eb9deac5aedefc47c635f4d8b7a9223aad6c356959145a01f5c75f4
4
+ data.tar.gz: 556b0fafbc0f7294a40ee8d947981db8a2e2113099c329634c645522c47934d5
5
5
  SHA512:
6
- metadata.gz: fb0628b0902991d40cb94d10dc34ac4cfdc0082b19e681d671b073ea76286cdde21d68284e1dd677b4b93345d1bda7e4a83f1f1f25ff03a8bc731af96cc63735
7
- data.tar.gz: 007a2b2a6385927f057cb4b8ab7862448a1ab4058b91ed06186992a12cfd7b079a97c5d04a5ed785115fdbc786830b8907c4ec79202d85c2767318262bbc8ac5
6
+ metadata.gz: a0cd79bb8f1389b8d9667d0f7d0322d1a19bcbf3784d918be17852ded7e215fba0dcf83b0189a7aaf74b69b9e42cda4d1c753467d47f536e1db9eb4b85cfa53e
7
+ data.tar.gz: 4c7db3ecc17705c3873be68d88ac428aefc2e91e2b47f06d6babdc6afb469c782f1ed901be6f5e68df9cf94173923777f1bd23ab1ea55294e06bb97a98398fb5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-clouddeploy_v1
2
2
 
3
+ ### v0.8.0 (2022-04-23)
4
+
5
+ * Regenerated from discovery document revision 20220413
6
+
7
+ ### v0.7.0 (2022-04-10)
8
+
9
+ * Regenerated from discovery document revision 20220330
10
+
11
+ ### v0.6.0 (2022-03-26)
12
+
13
+ * Regenerated from discovery document revision 20220314
14
+
3
15
  ### v0.5.0 (2022-03-12)
4
16
 
5
17
  * Regenerated from discovery document revision 20220302
@@ -170,7 +170,7 @@ module Google
170
170
  # @return [Google::Apis::ClouddeployV1::Expr]
171
171
  attr_accessor :condition
172
172
 
173
- # Specifies the principals requesting access for a Cloud Platform resource. `
173
+ # Specifies the principals requesting access for a Google Cloud resource. `
174
174
  # members` can have the following values: * `allUsers`: A special identifier
175
175
  # that represents anyone who is on the internet; with or without a Google
176
176
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -446,11 +446,43 @@ module Google
446
446
  end
447
447
  end
448
448
 
449
+ # Payload proto for "clouddeploy.googleapis.com/deliverypipeline_notification"
450
+ # Platform Log event that describes the failure to send delivery pipeline status
451
+ # change Pub/Sub notification.
452
+ class DeliveryPipelineNotificationEvent
453
+ include Google::Apis::Core::Hashable
454
+
455
+ # The name of the `Delivery Pipeline`.
456
+ # Corresponds to the JSON property `deliveryPipeline`
457
+ # @return [String]
458
+ attr_accessor :delivery_pipeline
459
+
460
+ # Debug message for when a notification fails to send.
461
+ # Corresponds to the JSON property `message`
462
+ # @return [String]
463
+ attr_accessor :message
464
+
465
+ # Type of this notification, e.g. for a Pub/Sub failure.
466
+ # Corresponds to the JSON property `type`
467
+ # @return [String]
468
+ attr_accessor :type
469
+
470
+ def initialize(**args)
471
+ update!(**args)
472
+ end
473
+
474
+ # Update properties of this object
475
+ def update!(**args)
476
+ @delivery_pipeline = args[:delivery_pipeline] if args.key?(:delivery_pipeline)
477
+ @message = args[:message] if args.key?(:message)
478
+ @type = args[:type] if args.key?(:type)
479
+ end
480
+ end
481
+
449
482
  # A generic empty message that you can re-use to avoid defining duplicated empty
450
483
  # messages in your APIs. A typical example is to use it as the request or the
451
484
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
452
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
453
- # `Empty` is empty JSON object ````.
485
+ # protobuf.Empty) returns (google.protobuf.Empty); `
454
486
  class Empty
455
487
  include Google::Apis::Core::Hashable
456
488
 
@@ -1278,6 +1310,66 @@ module Google
1278
1310
  end
1279
1311
  end
1280
1312
 
1313
+ # Payload proto for "clouddeploy.googleapis.com/release_notification" Platform
1314
+ # Log event that describes the failure to send release status change Pub/Sub
1315
+ # notification.
1316
+ class ReleaseNotificationEvent
1317
+ include Google::Apis::Core::Hashable
1318
+
1319
+ # Debug message for when a notification fails to send.
1320
+ # Corresponds to the JSON property `message`
1321
+ # @return [String]
1322
+ attr_accessor :message
1323
+
1324
+ # The name of the `Release`.
1325
+ # Corresponds to the JSON property `release`
1326
+ # @return [String]
1327
+ attr_accessor :release
1328
+
1329
+ # Type of this notification, e.g. for a Pub/Sub failure.
1330
+ # Corresponds to the JSON property `type`
1331
+ # @return [String]
1332
+ attr_accessor :type
1333
+
1334
+ def initialize(**args)
1335
+ update!(**args)
1336
+ end
1337
+
1338
+ # Update properties of this object
1339
+ def update!(**args)
1340
+ @message = args[:message] if args.key?(:message)
1341
+ @release = args[:release] if args.key?(:release)
1342
+ @type = args[:type] if args.key?(:type)
1343
+ end
1344
+ end
1345
+
1346
+ # Payload proto for "clouddeploy.googleapis.com/release_render" Platform Log
1347
+ # event that describes the render status change.
1348
+ class ReleaseRenderEvent
1349
+ include Google::Apis::Core::Hashable
1350
+
1351
+ # Debug message for when a render transition occurs. Provides further details as
1352
+ # rendering progresses through render states.
1353
+ # Corresponds to the JSON property `message`
1354
+ # @return [String]
1355
+ attr_accessor :message
1356
+
1357
+ # The name of the `Release`.
1358
+ # Corresponds to the JSON property `release`
1359
+ # @return [String]
1360
+ attr_accessor :release
1361
+
1362
+ def initialize(**args)
1363
+ update!(**args)
1364
+ end
1365
+
1366
+ # Update properties of this object
1367
+ def update!(**args)
1368
+ @message = args[:message] if args.key?(:message)
1369
+ @release = args[:release] if args.key?(:release)
1370
+ end
1371
+ end
1372
+
1281
1373
  # A `Rollout` resource in the Google Cloud Deploy API. A `Rollout` contains
1282
1374
  # information around a specific deployment to a `Target`.
1283
1375
  class Rollout
@@ -1409,6 +1501,57 @@ module Google
1409
1501
  end
1410
1502
  end
1411
1503
 
1504
+ # Payload proto for "clouddeploy.googleapis.com/rollout_notification" Platform
1505
+ # Log event that describes the failure to send rollout status change Pub/Sub
1506
+ # notification.
1507
+ class RolloutNotificationEvent
1508
+ include Google::Apis::Core::Hashable
1509
+
1510
+ # Debug message for when a notification fails to send.
1511
+ # Corresponds to the JSON property `message`
1512
+ # @return [String]
1513
+ attr_accessor :message
1514
+
1515
+ # Unique identifier of the `DeliveryPipeline`.
1516
+ # Corresponds to the JSON property `pipelineUid`
1517
+ # @return [String]
1518
+ attr_accessor :pipeline_uid
1519
+
1520
+ # Unique identifier of the `Release`.
1521
+ # Corresponds to the JSON property `releaseUid`
1522
+ # @return [String]
1523
+ attr_accessor :release_uid
1524
+
1525
+ # The name of the `Rollout`.
1526
+ # Corresponds to the JSON property `rollout`
1527
+ # @return [String]
1528
+ attr_accessor :rollout
1529
+
1530
+ # ID of the `Target` that the rollout is deployed to.
1531
+ # Corresponds to the JSON property `targetId`
1532
+ # @return [String]
1533
+ attr_accessor :target_id
1534
+
1535
+ # Type of this notification, e.g. for a Pub/Sub failure.
1536
+ # Corresponds to the JSON property `type`
1537
+ # @return [String]
1538
+ attr_accessor :type
1539
+
1540
+ def initialize(**args)
1541
+ update!(**args)
1542
+ end
1543
+
1544
+ # Update properties of this object
1545
+ def update!(**args)
1546
+ @message = args[:message] if args.key?(:message)
1547
+ @pipeline_uid = args[:pipeline_uid] if args.key?(:pipeline_uid)
1548
+ @release_uid = args[:release_uid] if args.key?(:release_uid)
1549
+ @rollout = args[:rollout] if args.key?(:rollout)
1550
+ @target_id = args[:target_id] if args.key?(:target_id)
1551
+ @type = args[:type] if args.key?(:type)
1552
+ end
1553
+ end
1554
+
1412
1555
  # SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`.
1413
1556
  class SerialPipeline
1414
1557
  include Google::Apis::Core::Hashable
@@ -1725,6 +1868,39 @@ module Google
1725
1868
  end
1726
1869
  end
1727
1870
 
1871
+ # Payload proto for "clouddeploy.googleapis.com/target_notification" Platform
1872
+ # Log event that describes the failure to send target status change Pub/Sub
1873
+ # notification.
1874
+ class TargetNotificationEvent
1875
+ include Google::Apis::Core::Hashable
1876
+
1877
+ # Debug message for when a notification fails to send.
1878
+ # Corresponds to the JSON property `message`
1879
+ # @return [String]
1880
+ attr_accessor :message
1881
+
1882
+ # The name of the `Target`.
1883
+ # Corresponds to the JSON property `target`
1884
+ # @return [String]
1885
+ attr_accessor :target
1886
+
1887
+ # Type of this notification, e.g. for a Pub/Sub failure.
1888
+ # Corresponds to the JSON property `type`
1889
+ # @return [String]
1890
+ attr_accessor :type
1891
+
1892
+ def initialize(**args)
1893
+ update!(**args)
1894
+ end
1895
+
1896
+ # Update properties of this object
1897
+ def update!(**args)
1898
+ @message = args[:message] if args.key?(:message)
1899
+ @target = args[:target] if args.key?(:target)
1900
+ @type = args[:type] if args.key?(:type)
1901
+ end
1902
+ end
1903
+
1728
1904
  # Details of rendering for a single target.
1729
1905
  class TargetRender
1730
1906
  include Google::Apis::Core::Hashable
@@ -1798,7 +1974,7 @@ module Google
1798
1974
  include Google::Apis::Core::Hashable
1799
1975
 
1800
1976
  # The set of permissions to check for the `resource`. Permissions with wildcards
1801
- # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
1977
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
1802
1978
  # Overview](https://cloud.google.com/iam/docs/overview#permissions).
1803
1979
  # Corresponds to the JSON property `permissions`
1804
1980
  # @return [Array<String>]
@@ -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.5.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220302"
25
+ REVISION = "20220413"
26
26
  end
27
27
  end
28
28
  end
@@ -94,6 +94,12 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class DeliveryPipelineNotificationEvent
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
97
103
  class Empty
98
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
105
 
@@ -202,12 +208,30 @@ module Google
202
208
  include Google::Apis::Core::JsonObjectSupport
203
209
  end
204
210
 
211
+ class ReleaseNotificationEvent
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class ReleaseRenderEvent
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
205
223
  class Rollout
206
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
225
 
208
226
  include Google::Apis::Core::JsonObjectSupport
209
227
  end
210
228
 
229
+ class RolloutNotificationEvent
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
211
235
  class SerialPipeline
212
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
237
 
@@ -250,6 +274,12 @@ module Google
250
274
  include Google::Apis::Core::JsonObjectSupport
251
275
  end
252
276
 
277
+ class TargetNotificationEvent
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
253
283
  class TargetRender
254
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
285
 
@@ -380,6 +410,15 @@ module Google
380
410
  end
381
411
  end
382
412
 
413
+ class DeliveryPipelineNotificationEvent
414
+ # @private
415
+ class Representation < Google::Apis::Core::JsonRepresentation
416
+ property :delivery_pipeline, as: 'deliveryPipeline'
417
+ property :message, as: 'message'
418
+ property :type, as: 'type'
419
+ end
420
+ end
421
+
383
422
  class Empty
384
423
  # @private
385
424
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -580,6 +619,23 @@ module Google
580
619
  end
581
620
  end
582
621
 
622
+ class ReleaseNotificationEvent
623
+ # @private
624
+ class Representation < Google::Apis::Core::JsonRepresentation
625
+ property :message, as: 'message'
626
+ property :release, as: 'release'
627
+ property :type, as: 'type'
628
+ end
629
+ end
630
+
631
+ class ReleaseRenderEvent
632
+ # @private
633
+ class Representation < Google::Apis::Core::JsonRepresentation
634
+ property :message, as: 'message'
635
+ property :release, as: 'release'
636
+ end
637
+ end
638
+
583
639
  class Rollout
584
640
  # @private
585
641
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -603,6 +659,18 @@ module Google
603
659
  end
604
660
  end
605
661
 
662
+ class RolloutNotificationEvent
663
+ # @private
664
+ class Representation < Google::Apis::Core::JsonRepresentation
665
+ property :message, as: 'message'
666
+ property :pipeline_uid, as: 'pipelineUid'
667
+ property :release_uid, as: 'releaseUid'
668
+ property :rollout, as: 'rollout'
669
+ property :target_id, as: 'targetId'
670
+ property :type, as: 'type'
671
+ end
672
+ end
673
+
606
674
  class SerialPipeline
607
675
  # @private
608
676
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -677,6 +745,15 @@ module Google
677
745
  end
678
746
  end
679
747
 
748
+ class TargetNotificationEvent
749
+ # @private
750
+ class Representation < Google::Apis::Core::JsonRepresentation
751
+ property :message, as: 'message'
752
+ property :target, as: 'target'
753
+ property :type, as: 'type'
754
+ end
755
+ end
756
+
680
757
  class TargetRender
681
758
  # @private
682
759
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -114,8 +114,8 @@ module Google
114
114
  # The resource that owns the locations collection, if applicable.
115
115
  # @param [String] filter
116
116
  # A filter to narrow down results to a preferred subset. The filtering language
117
- # accepts strings like "displayName=tokyo", and is documented in more detail in [
118
- # AIP-160](https://google.aip.dev/160).
117
+ # accepts strings like `"displayName=tokyo"`, and is documented in more detail
118
+ # in [AIP-160](https://google.aip.dev/160).
119
119
  # @param [Fixnum] page_size
120
120
  # The maximum number of results to return. If not set, the service selects a
121
121
  # default.
@@ -347,7 +347,8 @@ module Google
347
347
  # Required. The parent, which owns this collection of pipelines. Format must be
348
348
  # projects/`project_id`/locations/`location_name`.
349
349
  # @param [String] filter
350
- # Filter builds to be returned. See https://google.aip.dev/160 for more details.
350
+ # Filter pipelines to be returned. See https://google.aip.dev/160 for more
351
+ # details.
351
352
  # @param [String] order_by
352
353
  # Field to sort by. See https://google.aip.dev/132#ordering for more details.
353
354
  # @param [Fixnum] page_size
@@ -615,7 +616,7 @@ module Google
615
616
  # Required. The `DeliveryPipeline` which owns this collection of `Release`
616
617
  # objects.
617
618
  # @param [String] filter
618
- # Optional. Filter builds to be returned. See https://google.aip.dev/160 for
619
+ # Optional. Filter releases to be returned. See https://google.aip.dev/160 for
619
620
  # more details.
620
621
  # @param [String] order_by
621
622
  # Optional. Field to sort by. See https://google.aip.dev/132#ordering for more
@@ -785,7 +786,7 @@ module Google
785
786
  # @param [String] parent
786
787
  # Required. The `Release` which owns this collection of `Rollout` objects.
787
788
  # @param [String] filter
788
- # Optional. Filter builds to be returned. See https://google.aip.dev/160 for
789
+ # Optional. Filter rollouts to be returned. See https://google.aip.dev/160 for
789
790
  # more details.
790
791
  # @param [String] order_by
791
792
  # Optional. Field to sort by. See https://google.aip.dev/132#ordering for more
@@ -1169,7 +1170,7 @@ module Google
1169
1170
  # Required. The parent, which owns this collection of targets. Format must be
1170
1171
  # projects/`project_id`/locations/`location_name`.
1171
1172
  # @param [String] filter
1172
- # Optional. Filter builds to be returned. See https://google.aip.dev/160 for
1173
+ # Optional. Filter targets to be returned. See https://google.aip.dev/160 for
1173
1174
  # more details.
1174
1175
  # @param [String] order_by
1175
1176
  # Optional. Field to sort by. See https://google.aip.dev/132#ordering for more
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.5.0
4
+ version: 0.8.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-03-14 00:00:00.000000000 Z
11
+ date: 2022-04-25 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.5.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.8.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: []