Skip to content

Commit 2ef1ca4

Browse files
feat(clouddeploy): update the api
#### clouddeploy:v1 The following keys were added: - schemas.Release.properties.condition (Total Keys: 2) - schemas.ReleaseCondition (Total Keys: 4) - schemas.ReleaseReadyCondition (Total Keys: 3) - schemas.SkaffoldSupportedCondition (Total Keys: 8) - schemas.SkaffoldVersion.properties.maintenanceModeTime (Total Keys: 2) - schemas.SkaffoldVersion.properties.supportExpirationTime (Total Keys: 2)
1 parent e7b4eb4 commit 2ef1ca4

File tree

3 files changed

+114
-1
lines changed

3 files changed

+114
-1
lines changed

docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.releases.html

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,17 @@ <h3>Method Details</h3>
147147
&quot;tag&quot;: &quot;A String&quot;, # Image tag to use. This will generally be the full path to an image, such as &quot;gcr.io/my-project/busybox:1.2.3&quot; or &quot;gcr.io/my-project/busybox@sha256:abc123&quot;.
148148
},
149149
],
150+
&quot;condition&quot;: { # ReleaseCondition contains all conditions relevant to a Release. # Output only. Information around the state of the Release.
151+
&quot;releaseReadyCondition&quot;: { # ReleaseReadyCondition contains information around the status of the Release. If a release is not ready, you cannot create a rollout with the release. # Details around the Releases&#x27;s overall status.
152+
&quot;status&quot;: True or False, # True if the Release is in a valid state. Otherwise at least one condition in `ReleaseCondition` is in an invalid state. Iterate over those conditions and see which condition(s) has status = false to find out what is wrong with the Release.
153+
},
154+
&quot;skaffoldSupportedCondition&quot;: { # SkaffoldSupportedCondition contains information about when support for the release&#x27;s version of skaffold ends. # Details around the support state of the release&#x27;s skaffold version.
155+
&quot;maintenanceModeTime&quot;: &quot;A String&quot;, # The time at which this release&#x27;s version of skaffold will enter maintenance mode.
156+
&quot;skaffoldSupportState&quot;: &quot;A String&quot;, # The skaffold support state for this release&#x27;s version of skaffold.
157+
&quot;status&quot;: True or False, # True if the version of skaffold used by this release is supported.
158+
&quot;supportExpirationTime&quot;: &quot;A String&quot;, # The time at which this release&#x27;s version of skaffold will no longer be supported.
159+
},
160+
},
150161
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the `Release` was created.
151162
&quot;deliveryPipelineSnapshot&quot;: { # A `DeliveryPipeline` resource in the Google Cloud Deploy API. A `DeliveryPipeline` defines a pipeline through which a Skaffold configuration can progress. # Output only. Snapshot of the parent pipeline taken at release creation time.
152163
&quot;annotations&quot;: { # User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy.
@@ -330,6 +341,17 @@ <h3>Method Details</h3>
330341
&quot;tag&quot;: &quot;A String&quot;, # Image tag to use. This will generally be the full path to an image, such as &quot;gcr.io/my-project/busybox:1.2.3&quot; or &quot;gcr.io/my-project/busybox@sha256:abc123&quot;.
331342
},
332343
],
344+
&quot;condition&quot;: { # ReleaseCondition contains all conditions relevant to a Release. # Output only. Information around the state of the Release.
345+
&quot;releaseReadyCondition&quot;: { # ReleaseReadyCondition contains information around the status of the Release. If a release is not ready, you cannot create a rollout with the release. # Details around the Releases&#x27;s overall status.
346+
&quot;status&quot;: True or False, # True if the Release is in a valid state. Otherwise at least one condition in `ReleaseCondition` is in an invalid state. Iterate over those conditions and see which condition(s) has status = false to find out what is wrong with the Release.
347+
},
348+
&quot;skaffoldSupportedCondition&quot;: { # SkaffoldSupportedCondition contains information about when support for the release&#x27;s version of skaffold ends. # Details around the support state of the release&#x27;s skaffold version.
349+
&quot;maintenanceModeTime&quot;: &quot;A String&quot;, # The time at which this release&#x27;s version of skaffold will enter maintenance mode.
350+
&quot;skaffoldSupportState&quot;: &quot;A String&quot;, # The skaffold support state for this release&#x27;s version of skaffold.
351+
&quot;status&quot;: True or False, # True if the version of skaffold used by this release is supported.
352+
&quot;supportExpirationTime&quot;: &quot;A String&quot;, # The time at which this release&#x27;s version of skaffold will no longer be supported.
353+
},
354+
},
333355
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the `Release` was created.
334356
&quot;deliveryPipelineSnapshot&quot;: { # A `DeliveryPipeline` resource in the Google Cloud Deploy API. A `DeliveryPipeline` defines a pipeline through which a Skaffold configuration can progress. # Output only. Snapshot of the parent pipeline taken at release creation time.
335357
&quot;annotations&quot;: { # User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy.
@@ -489,6 +511,17 @@ <h3>Method Details</h3>
489511
&quot;tag&quot;: &quot;A String&quot;, # Image tag to use. This will generally be the full path to an image, such as &quot;gcr.io/my-project/busybox:1.2.3&quot; or &quot;gcr.io/my-project/busybox@sha256:abc123&quot;.
490512
},
491513
],
514+
&quot;condition&quot;: { # ReleaseCondition contains all conditions relevant to a Release. # Output only. Information around the state of the Release.
515+
&quot;releaseReadyCondition&quot;: { # ReleaseReadyCondition contains information around the status of the Release. If a release is not ready, you cannot create a rollout with the release. # Details around the Releases&#x27;s overall status.
516+
&quot;status&quot;: True or False, # True if the Release is in a valid state. Otherwise at least one condition in `ReleaseCondition` is in an invalid state. Iterate over those conditions and see which condition(s) has status = false to find out what is wrong with the Release.
517+
},
518+
&quot;skaffoldSupportedCondition&quot;: { # SkaffoldSupportedCondition contains information about when support for the release&#x27;s version of skaffold ends. # Details around the support state of the release&#x27;s skaffold version.
519+
&quot;maintenanceModeTime&quot;: &quot;A String&quot;, # The time at which this release&#x27;s version of skaffold will enter maintenance mode.
520+
&quot;skaffoldSupportState&quot;: &quot;A String&quot;, # The skaffold support state for this release&#x27;s version of skaffold.
521+
&quot;status&quot;: True or False, # True if the version of skaffold used by this release is supported.
522+
&quot;supportExpirationTime&quot;: &quot;A String&quot;, # The time at which this release&#x27;s version of skaffold will no longer be supported.
523+
},
524+
},
492525
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the `Release` was created.
493526
&quot;deliveryPipelineSnapshot&quot;: { # A `DeliveryPipeline` resource in the Google Cloud Deploy API. A `DeliveryPipeline` defines a pipeline through which a Skaffold configuration can progress. # Output only. Snapshot of the parent pipeline taken at release creation time.
494527
&quot;annotations&quot;: { # User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy.

docs/dyn/clouddeploy_v1.projects.locations.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,13 @@ <h3>Method Details</h3>
156156
&quot;name&quot;: &quot;A String&quot;, # Name of the configuration.
157157
&quot;supportedVersions&quot;: [ # All supported versions of Skaffold.
158158
{ # Details of a supported Skaffold version.
159+
&quot;maintenanceModeTime&quot;: &quot;A String&quot;, # The time at which this version of skaffold will enter maintenance mode.
159160
&quot;supportEndDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date when this version is expected to no longer be supported.
160161
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
161162
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
162163
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
163164
},
165+
&quot;supportExpirationTime&quot;: &quot;A String&quot;, # The time at which this version of skaffold will no longer be supported.
164166
&quot;version&quot;: &quot;A String&quot;, # Release version number. For example, &quot;1.20.3&quot;.
165167
},
166168
],

googleapiclient/discovery_cache/documents/clouddeploy.v1.json

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1339,7 +1339,7 @@
13391339
}
13401340
}
13411341
},
1342-
"revision": "20230124",
1342+
"revision": "20230209",
13431343
"rootUrl": "https://clouddeploy.googleapis.com/",
13441344
"schemas": {
13451345
"AbandonReleaseRequest": {
@@ -2434,6 +2434,11 @@
24342434
},
24352435
"type": "array"
24362436
},
2437+
"condition": {
2438+
"$ref": "ReleaseCondition",
2439+
"description": "Output only. Information around the state of the Release.",
2440+
"readOnly": true
2441+
},
24372442
"createTime": {
24382443
"description": "Output only. Time at which the `Release` was created.",
24392444
"format": "google-datetime",
@@ -2537,6 +2542,21 @@
25372542
},
25382543
"type": "object"
25392544
},
2545+
"ReleaseCondition": {
2546+
"description": "ReleaseCondition contains all conditions relevant to a Release.",
2547+
"id": "ReleaseCondition",
2548+
"properties": {
2549+
"releaseReadyCondition": {
2550+
"$ref": "ReleaseReadyCondition",
2551+
"description": "Details around the Releases's overall status."
2552+
},
2553+
"skaffoldSupportedCondition": {
2554+
"$ref": "SkaffoldSupportedCondition",
2555+
"description": "Details around the support state of the release's skaffold version."
2556+
}
2557+
},
2558+
"type": "object"
2559+
},
25402560
"ReleaseNotificationEvent": {
25412561
"description": "Payload proto for \"clouddeploy.googleapis.com/release_notification\" Platform Log event that describes the failure to send release status change Pub/Sub notification.",
25422562
"id": "ReleaseNotificationEvent",
@@ -2566,6 +2586,17 @@
25662586
},
25672587
"type": "object"
25682588
},
2589+
"ReleaseReadyCondition": {
2590+
"description": "ReleaseReadyCondition contains information around the status of the Release. If a release is not ready, you cannot create a rollout with the release.",
2591+
"id": "ReleaseReadyCondition",
2592+
"properties": {
2593+
"status": {
2594+
"description": "True if the Release is in a valid state. Otherwise at least one condition in `ReleaseCondition` is in an invalid state. Iterate over those conditions and see which condition(s) has status = false to find out what is wrong with the Release.",
2595+
"type": "boolean"
2596+
}
2597+
},
2598+
"type": "object"
2599+
},
25692600
"ReleaseRenderEvent": {
25702601
"description": "Payload proto for \"clouddeploy.googleapis.com/release_render\" Platform Log event that describes the render status change.",
25712602
"id": "ReleaseRenderEvent",
@@ -2837,14 +2868,61 @@
28372868
},
28382869
"type": "object"
28392870
},
2871+
"SkaffoldSupportedCondition": {
2872+
"description": "SkaffoldSupportedCondition contains information about when support for the release's version of skaffold ends.",
2873+
"id": "SkaffoldSupportedCondition",
2874+
"properties": {
2875+
"maintenanceModeTime": {
2876+
"description": "The time at which this release's version of skaffold will enter maintenance mode.",
2877+
"format": "google-datetime",
2878+
"type": "string"
2879+
},
2880+
"skaffoldSupportState": {
2881+
"description": "The skaffold support state for this release's version of skaffold.",
2882+
"enum": [
2883+
"SKAFFOLD_SUPPORT_STATE_UNSPECIFIED",
2884+
"SKAFFOLD_SUPPORT_STATE_SUPPORTED",
2885+
"SKAFFOLD_SUPPORT_STATE_MAINTENANCE_MODE",
2886+
"SKAFFOLD_SUPPORT_STATE_UNSUPPORTED"
2887+
],
2888+
"enumDescriptions": [
2889+
"Default value. This value is unused.",
2890+
"This skaffold version is currently supported.",
2891+
"This skaffold version is in maintenance mode.",
2892+
"This skaffold version is no longer supported."
2893+
],
2894+
"type": "string"
2895+
},
2896+
"status": {
2897+
"description": "True if the version of skaffold used by this release is supported.",
2898+
"type": "boolean"
2899+
},
2900+
"supportExpirationTime": {
2901+
"description": "The time at which this release's version of skaffold will no longer be supported.",
2902+
"format": "google-datetime",
2903+
"type": "string"
2904+
}
2905+
},
2906+
"type": "object"
2907+
},
28402908
"SkaffoldVersion": {
28412909
"description": "Details of a supported Skaffold version.",
28422910
"id": "SkaffoldVersion",
28432911
"properties": {
2912+
"maintenanceModeTime": {
2913+
"description": "The time at which this version of skaffold will enter maintenance mode.",
2914+
"format": "google-datetime",
2915+
"type": "string"
2916+
},
28442917
"supportEndDate": {
28452918
"$ref": "Date",
28462919
"description": "Date when this version is expected to no longer be supported."
28472920
},
2921+
"supportExpirationTime": {
2922+
"description": "The time at which this version of skaffold will no longer be supported.",
2923+
"format": "google-datetime",
2924+
"type": "string"
2925+
},
28482926
"version": {
28492927
"description": "Release version number. For example, \"1.20.3\".",
28502928
"type": "string"

0 commit comments

Comments
 (0)