google-apis-clouddeploy_v1 0.19.0 → 0.21.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: 0b282227266707c18d0e75e4a55de7db6677c75d493e2ce3cea351f439aa30ce
4
- data.tar.gz: ba06ba4dfcd88b8172e71184a573124e088dbdfeb56d9572aa002d712aa7b890
3
+ metadata.gz: 4e61fb749e392f129dcf0d21fe07415602dc1be3d6a7c0e189ec8306cec83358
4
+ data.tar.gz: 7f72a30153ebe2142b0c501ee89ff19cafbb6f2aa809d20a57a95de9faa55c86
5
5
  SHA512:
6
- metadata.gz: ec625752c2019ace75d8a7c15be02257fb0ca9c93d653b9daf89010501eda2152b711e58bb804c266c7eaa7398e3508cbc78714dd98f57d9d371b27da5a59f22
7
- data.tar.gz: c9826befe021b34ba1ca9db252bcca264c17e0d7874929db5e1528b12cf3c9c07dd985a8bf583bd44e86e89949e7a01746520fc6ecc8dfad0500a1d6fceaa22d
6
+ metadata.gz: acd213759632c036c450a0a63c66136743aae272053f84d86cb525651be2810088d9a3ee13762b5100b181a55665e6105388992ff9369c1c00575acb711bc7d5
7
+ data.tar.gz: ea1386a3f42932e7059a6302c2925d0a0cd34c41edc5b3278ac9bc8a2df188b4f04901fad692facd44d1f83a982d4f1d0945ffc7ab82a424a4a8f9553c7238ce
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-clouddeploy_v1
2
2
 
3
+ ### v0.21.0 (2023-02-19)
4
+
5
+ * Regenerated from discovery document revision 20230209
6
+ * Regenerated using generator version 0.12.0
7
+
8
+ ### v0.20.0 (2023-02-12)
9
+
10
+ * Regenerated from discovery document revision 20230124
11
+
3
12
  ### v0.19.0 (2023-01-29)
4
13
 
5
14
  * Regenerated from discovery document revision 20230118
@@ -211,22 +211,22 @@ module Google
211
211
  # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
212
212
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
213
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=
214
+ # . * `domain:`domain``: The G Suite domain (primary) that represents all the
215
+ # users of that domain. For example, `google.com` or `example.com`. * `deleted:
216
+ # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
217
+ # representing a user that has been recently deleted. For example, `alice@
218
+ # example.com?uid=123456789012345678901`. If the user is recovered, this value
219
+ # reverts to `user:`emailid`` and the recovered user retains the role in the
220
+ # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
221
+ # (plus unique identifier) representing a service account that has been recently
222
+ # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
221
223
  # 123456789012345678901`. If the service account is undeleted, this value
222
224
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
223
225
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
224
226
  # An email address (plus unique identifier) representing a Google group that has
225
227
  # been recently deleted. For example, `admins@example.com?uid=
226
228
  # 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`.
229
+ # group:`emailid`` and the recovered group retains the role in the binding.
230
230
  # Corresponds to the JSON property `members`
231
231
  # @return [Array<String>]
232
232
  attr_accessor :members
@@ -1664,6 +1664,11 @@ module Google
1664
1664
  # @return [Array<Google::Apis::ClouddeployV1::BuildArtifact>]
1665
1665
  attr_accessor :build_artifacts
1666
1666
 
1667
+ # ReleaseCondition contains all conditions relevant to a Release.
1668
+ # Corresponds to the JSON property `condition`
1669
+ # @return [Google::Apis::ClouddeployV1::ReleaseCondition]
1670
+ attr_accessor :condition
1671
+
1667
1672
  # Output only. Time at which the `Release` was created.
1668
1673
  # Corresponds to the JSON property `createTime`
1669
1674
  # @return [String]
@@ -1768,6 +1773,7 @@ module Google
1768
1773
  @abandoned = args[:abandoned] if args.key?(:abandoned)
1769
1774
  @annotations = args[:annotations] if args.key?(:annotations)
1770
1775
  @build_artifacts = args[:build_artifacts] if args.key?(:build_artifacts)
1776
+ @condition = args[:condition] if args.key?(:condition)
1771
1777
  @create_time = args[:create_time] if args.key?(:create_time)
1772
1778
  @delivery_pipeline_snapshot = args[:delivery_pipeline_snapshot] if args.key?(:delivery_pipeline_snapshot)
1773
1779
  @description = args[:description] if args.key?(:description)
@@ -1787,6 +1793,33 @@ module Google
1787
1793
  end
1788
1794
  end
1789
1795
 
1796
+ # ReleaseCondition contains all conditions relevant to a Release.
1797
+ class ReleaseCondition
1798
+ include Google::Apis::Core::Hashable
1799
+
1800
+ # ReleaseReadyCondition contains information around the status of the Release.
1801
+ # If a release is not ready, you cannot create a rollout with the release.
1802
+ # Corresponds to the JSON property `releaseReadyCondition`
1803
+ # @return [Google::Apis::ClouddeployV1::ReleaseReadyCondition]
1804
+ attr_accessor :release_ready_condition
1805
+
1806
+ # SkaffoldSupportedCondition contains information about when support for the
1807
+ # release's version of skaffold ends.
1808
+ # Corresponds to the JSON property `skaffoldSupportedCondition`
1809
+ # @return [Google::Apis::ClouddeployV1::SkaffoldSupportedCondition]
1810
+ attr_accessor :skaffold_supported_condition
1811
+
1812
+ def initialize(**args)
1813
+ update!(**args)
1814
+ end
1815
+
1816
+ # Update properties of this object
1817
+ def update!(**args)
1818
+ @release_ready_condition = args[:release_ready_condition] if args.key?(:release_ready_condition)
1819
+ @skaffold_supported_condition = args[:skaffold_supported_condition] if args.key?(:skaffold_supported_condition)
1820
+ end
1821
+ end
1822
+
1790
1823
  # Payload proto for "clouddeploy.googleapis.com/release_notification" Platform
1791
1824
  # Log event that describes the failure to send release status change Pub/Sub
1792
1825
  # notification.
@@ -1820,6 +1853,30 @@ module Google
1820
1853
  end
1821
1854
  end
1822
1855
 
1856
+ # ReleaseReadyCondition contains information around the status of the Release.
1857
+ # If a release is not ready, you cannot create a rollout with the release.
1858
+ class ReleaseReadyCondition
1859
+ include Google::Apis::Core::Hashable
1860
+
1861
+ # True if the Release is in a valid state. Otherwise at least one condition in `
1862
+ # ReleaseCondition` is in an invalid state. Iterate over those conditions and
1863
+ # see which condition(s) has status = false to find out what is wrong with the
1864
+ # Release.
1865
+ # Corresponds to the JSON property `status`
1866
+ # @return [Boolean]
1867
+ attr_accessor :status
1868
+ alias_method :status?, :status
1869
+
1870
+ def initialize(**args)
1871
+ update!(**args)
1872
+ end
1873
+
1874
+ # Update properties of this object
1875
+ def update!(**args)
1876
+ @status = args[:status] if args.key?(:status)
1877
+ end
1878
+ end
1879
+
1823
1880
  # Payload proto for "clouddeploy.googleapis.com/release_render" Platform Log
1824
1881
  # event that describes the render status change.
1825
1882
  class ReleaseRenderEvent
@@ -2152,10 +2209,56 @@ module Google
2152
2209
  end
2153
2210
  end
2154
2211
 
2212
+ # SkaffoldSupportedCondition contains information about when support for the
2213
+ # release's version of skaffold ends.
2214
+ class SkaffoldSupportedCondition
2215
+ include Google::Apis::Core::Hashable
2216
+
2217
+ # The time at which this release's version of skaffold will enter maintenance
2218
+ # mode.
2219
+ # Corresponds to the JSON property `maintenanceModeTime`
2220
+ # @return [String]
2221
+ attr_accessor :maintenance_mode_time
2222
+
2223
+ # The skaffold support state for this release's version of skaffold.
2224
+ # Corresponds to the JSON property `skaffoldSupportState`
2225
+ # @return [String]
2226
+ attr_accessor :skaffold_support_state
2227
+
2228
+ # True if the version of skaffold used by this release is supported.
2229
+ # Corresponds to the JSON property `status`
2230
+ # @return [Boolean]
2231
+ attr_accessor :status
2232
+ alias_method :status?, :status
2233
+
2234
+ # The time at which this release's version of skaffold will no longer be
2235
+ # supported.
2236
+ # Corresponds to the JSON property `supportExpirationTime`
2237
+ # @return [String]
2238
+ attr_accessor :support_expiration_time
2239
+
2240
+ def initialize(**args)
2241
+ update!(**args)
2242
+ end
2243
+
2244
+ # Update properties of this object
2245
+ def update!(**args)
2246
+ @maintenance_mode_time = args[:maintenance_mode_time] if args.key?(:maintenance_mode_time)
2247
+ @skaffold_support_state = args[:skaffold_support_state] if args.key?(:skaffold_support_state)
2248
+ @status = args[:status] if args.key?(:status)
2249
+ @support_expiration_time = args[:support_expiration_time] if args.key?(:support_expiration_time)
2250
+ end
2251
+ end
2252
+
2155
2253
  # Details of a supported Skaffold version.
2156
2254
  class SkaffoldVersion
2157
2255
  include Google::Apis::Core::Hashable
2158
2256
 
2257
+ # The time at which this version of skaffold will enter maintenance mode.
2258
+ # Corresponds to the JSON property `maintenanceModeTime`
2259
+ # @return [String]
2260
+ attr_accessor :maintenance_mode_time
2261
+
2159
2262
  # Represents a whole or partial calendar date, such as a birthday. The time of
2160
2263
  # day and time zone are either specified elsewhere or are insignificant. The
2161
2264
  # date is relative to the Gregorian Calendar. This can represent one of the
@@ -2168,6 +2271,11 @@ module Google
2168
2271
  # @return [Google::Apis::ClouddeployV1::Date]
2169
2272
  attr_accessor :support_end_date
2170
2273
 
2274
+ # The time at which this version of skaffold will no longer be supported.
2275
+ # Corresponds to the JSON property `supportExpirationTime`
2276
+ # @return [String]
2277
+ attr_accessor :support_expiration_time
2278
+
2171
2279
  # Release version number. For example, "1.20.3".
2172
2280
  # Corresponds to the JSON property `version`
2173
2281
  # @return [String]
@@ -2179,7 +2287,9 @@ module Google
2179
2287
 
2180
2288
  # Update properties of this object
2181
2289
  def update!(**args)
2290
+ @maintenance_mode_time = args[:maintenance_mode_time] if args.key?(:maintenance_mode_time)
2182
2291
  @support_end_date = args[:support_end_date] if args.key?(:support_end_date)
2292
+ @support_expiration_time = args[:support_expiration_time] if args.key?(:support_expiration_time)
2183
2293
  @version = args[:version] if args.key?(:version)
2184
2294
  end
2185
2295
  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.19.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.1"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230118"
25
+ REVISION = "20230209"
26
26
  end
27
27
  end
28
28
  end
@@ -292,12 +292,24 @@ module Google
292
292
  include Google::Apis::Core::JsonObjectSupport
293
293
  end
294
294
 
295
+ class ReleaseCondition
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
295
301
  class ReleaseNotificationEvent
296
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
303
 
298
304
  include Google::Apis::Core::JsonObjectSupport
299
305
  end
300
306
 
307
+ class ReleaseReadyCondition
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
301
313
  class ReleaseRenderEvent
302
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
315
 
@@ -340,6 +352,12 @@ module Google
340
352
  include Google::Apis::Core::JsonObjectSupport
341
353
  end
342
354
 
355
+ class SkaffoldSupportedCondition
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
343
361
  class SkaffoldVersion
344
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
363
 
@@ -863,6 +881,8 @@ module Google
863
881
  hash :annotations, as: 'annotations'
864
882
  collection :build_artifacts, as: 'buildArtifacts', class: Google::Apis::ClouddeployV1::BuildArtifact, decorator: Google::Apis::ClouddeployV1::BuildArtifact::Representation
865
883
 
884
+ property :condition, as: 'condition', class: Google::Apis::ClouddeployV1::ReleaseCondition, decorator: Google::Apis::ClouddeployV1::ReleaseCondition::Representation
885
+
866
886
  property :create_time, as: 'createTime'
867
887
  property :delivery_pipeline_snapshot, as: 'deliveryPipelineSnapshot', class: Google::Apis::ClouddeployV1::DeliveryPipeline, decorator: Google::Apis::ClouddeployV1::DeliveryPipeline::Representation
868
888
 
@@ -886,6 +906,16 @@ module Google
886
906
  end
887
907
  end
888
908
 
909
+ class ReleaseCondition
910
+ # @private
911
+ class Representation < Google::Apis::Core::JsonRepresentation
912
+ property :release_ready_condition, as: 'releaseReadyCondition', class: Google::Apis::ClouddeployV1::ReleaseReadyCondition, decorator: Google::Apis::ClouddeployV1::ReleaseReadyCondition::Representation
913
+
914
+ property :skaffold_supported_condition, as: 'skaffoldSupportedCondition', class: Google::Apis::ClouddeployV1::SkaffoldSupportedCondition, decorator: Google::Apis::ClouddeployV1::SkaffoldSupportedCondition::Representation
915
+
916
+ end
917
+ end
918
+
889
919
  class ReleaseNotificationEvent
890
920
  # @private
891
921
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -895,6 +925,13 @@ module Google
895
925
  end
896
926
  end
897
927
 
928
+ class ReleaseReadyCondition
929
+ # @private
930
+ class Representation < Google::Apis::Core::JsonRepresentation
931
+ property :status, as: 'status'
932
+ end
933
+ end
934
+
898
935
  class ReleaseRenderEvent
899
936
  # @private
900
937
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -973,11 +1010,23 @@ module Google
973
1010
  end
974
1011
  end
975
1012
 
1013
+ class SkaffoldSupportedCondition
1014
+ # @private
1015
+ class Representation < Google::Apis::Core::JsonRepresentation
1016
+ property :maintenance_mode_time, as: 'maintenanceModeTime'
1017
+ property :skaffold_support_state, as: 'skaffoldSupportState'
1018
+ property :status, as: 'status'
1019
+ property :support_expiration_time, as: 'supportExpirationTime'
1020
+ end
1021
+ end
1022
+
976
1023
  class SkaffoldVersion
977
1024
  # @private
978
1025
  class Representation < Google::Apis::Core::JsonRepresentation
1026
+ property :maintenance_mode_time, as: 'maintenanceModeTime'
979
1027
  property :support_end_date, as: 'supportEndDate', class: Google::Apis::ClouddeployV1::Date, decorator: Google::Apis::ClouddeployV1::Date::Representation
980
1028
 
1029
+ property :support_expiration_time, as: 'supportExpirationTime'
981
1030
  property :version, as: 'version'
982
1031
  end
983
1032
  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.19.0
4
+ version: 0.21.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: 2023-01-29 00:00:00.000000000 Z
11
+ date: 2023-02-19 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.9.1
19
+ version: 0.11.0
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.9.1
29
+ version: 0.11.0
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.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.21.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: []