From 9a176a474cfd18a4b53d9b6b78bb432e6dd4cb0b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 20 Dec 2022 07:07:58 +0000 Subject: [PATCH] feat(clouddeploy): update the api #### clouddeploy:v1 The following keys were deleted: - schemas.Config.properties.defaultSkaffoldVersion.readOnly (Total Keys: 1) - schemas.Config.properties.supportedVersions.readOnly (Total Keys: 1) The following keys were added: - schemas.PipelineCondition.properties.targetsTypeCondition.$ref (Total Keys: 1) - schemas.TargetsTypeCondition (Total Keys: 4) --- ....projects.locations.deliveryPipelines.html | 32 ++++++++--- ....locations.deliveryPipelines.releases.html | 24 ++++++-- .../clouddeploy_v1.projects.locations.html | 6 +- .../documents/clouddeploy.v1.json | 57 +++++++++++++------ 4 files changed, 86 insertions(+), 33 deletions(-) diff --git a/docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.html b/docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.html index 63ae5ed6dfe..ea6c9a5e35c 100644 --- a/docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.html +++ b/docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.html @@ -133,13 +133,17 @@

Method Details

"status": True or False, # True if the Pipeline is in a valid state. Otherwise at least one condition in `PipelineCondition` 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 Pipeline. "updateTime": "A String", # Last time the condition was updated. }, - "targetsPresentCondition": { # TargetsPresentCondition contains information on any Targets defined in the Delivery Pipeline that do not actually exist. # Detalis around targets enumerated in the pipeline. - "missingTargets": [ # The list of Target names that are missing. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}. + "targetsPresentCondition": { # TargetsPresentCondition contains information on any Targets defined in the Delivery Pipeline that do not actually exist. # Details around targets enumerated in the pipeline. + "missingTargets": [ # The list of Target names that do not exist. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}. "A String", ], "status": True or False, # True if there aren't any missing Targets. "updateTime": "A String", # Last time the condition was updated. }, + "targetsTypeCondition": { # TargetsTypeCondition contains information on whether the Targets defined in the Delivery Pipeline are of the same type. # Details on the whether the targets enumerated in the pipeline are of the same type. + "errorDetails": "A String", # Human readable error message. + "status": True or False, # True if the targets are all a comparable type. For example this is true if all targets are GKE clusters. This is false if some targets are Cloud Run targets and others are GKE clusters. + }, }, "createTime": "A String", # Output only. Time at which the pipeline was created. "description": "A String", # Description of the `DeliveryPipeline`. Max length is 255 characters. @@ -263,13 +267,17 @@

Method Details

"status": True or False, # True if the Pipeline is in a valid state. Otherwise at least one condition in `PipelineCondition` 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 Pipeline. "updateTime": "A String", # Last time the condition was updated. }, - "targetsPresentCondition": { # TargetsPresentCondition contains information on any Targets defined in the Delivery Pipeline that do not actually exist. # Detalis around targets enumerated in the pipeline. - "missingTargets": [ # The list of Target names that are missing. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}. + "targetsPresentCondition": { # TargetsPresentCondition contains information on any Targets defined in the Delivery Pipeline that do not actually exist. # Details around targets enumerated in the pipeline. + "missingTargets": [ # The list of Target names that do not exist. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}. "A String", ], "status": True or False, # True if there aren't any missing Targets. "updateTime": "A String", # Last time the condition was updated. }, + "targetsTypeCondition": { # TargetsTypeCondition contains information on whether the Targets defined in the Delivery Pipeline are of the same type. # Details on the whether the targets enumerated in the pipeline are of the same type. + "errorDetails": "A String", # Human readable error message. + "status": True or False, # True if the targets are all a comparable type. For example this is true if all targets are GKE clusters. This is false if some targets are Cloud Run targets and others are GKE clusters. + }, }, "createTime": "A String", # Output only. Time at which the pipeline was created. "description": "A String", # Description of the `DeliveryPipeline`. Max length is 255 characters. @@ -376,13 +384,17 @@

Method Details

"status": True or False, # True if the Pipeline is in a valid state. Otherwise at least one condition in `PipelineCondition` 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 Pipeline. "updateTime": "A String", # Last time the condition was updated. }, - "targetsPresentCondition": { # TargetsPresentCondition contains information on any Targets defined in the Delivery Pipeline that do not actually exist. # Detalis around targets enumerated in the pipeline. - "missingTargets": [ # The list of Target names that are missing. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}. + "targetsPresentCondition": { # TargetsPresentCondition contains information on any Targets defined in the Delivery Pipeline that do not actually exist. # Details around targets enumerated in the pipeline. + "missingTargets": [ # The list of Target names that do not exist. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}. "A String", ], "status": True or False, # True if there aren't any missing Targets. "updateTime": "A String", # Last time the condition was updated. }, + "targetsTypeCondition": { # TargetsTypeCondition contains information on whether the Targets defined in the Delivery Pipeline are of the same type. # Details on the whether the targets enumerated in the pipeline are of the same type. + "errorDetails": "A String", # Human readable error message. + "status": True or False, # True if the targets are all a comparable type. For example this is true if all targets are GKE clusters. This is false if some targets are Cloud Run targets and others are GKE clusters. + }, }, "createTime": "A String", # Output only. Time at which the pipeline was created. "description": "A String", # Description of the `DeliveryPipeline`. Max length is 255 characters. @@ -450,13 +462,17 @@

Method Details

"status": True or False, # True if the Pipeline is in a valid state. Otherwise at least one condition in `PipelineCondition` 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 Pipeline. "updateTime": "A String", # Last time the condition was updated. }, - "targetsPresentCondition": { # TargetsPresentCondition contains information on any Targets defined in the Delivery Pipeline that do not actually exist. # Detalis around targets enumerated in the pipeline. - "missingTargets": [ # The list of Target names that are missing. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}. + "targetsPresentCondition": { # TargetsPresentCondition contains information on any Targets defined in the Delivery Pipeline that do not actually exist. # Details around targets enumerated in the pipeline. + "missingTargets": [ # The list of Target names that do not exist. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}. "A String", ], "status": True or False, # True if there aren't any missing Targets. "updateTime": "A String", # Last time the condition was updated. }, + "targetsTypeCondition": { # TargetsTypeCondition contains information on whether the Targets defined in the Delivery Pipeline are of the same type. # Details on the whether the targets enumerated in the pipeline are of the same type. + "errorDetails": "A String", # Human readable error message. + "status": True or False, # True if the targets are all a comparable type. For example this is true if all targets are GKE clusters. This is false if some targets are Cloud Run targets and others are GKE clusters. + }, }, "createTime": "A String", # Output only. Time at which the pipeline was created. "description": "A String", # Description of the `DeliveryPipeline`. Max length is 255 characters. diff --git a/docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.releases.html b/docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.releases.html index d8284b9cc7e..df4917eb18e 100644 --- a/docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.releases.html +++ b/docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.releases.html @@ -157,13 +157,17 @@

Method Details

"status": True or False, # True if the Pipeline is in a valid state. Otherwise at least one condition in `PipelineCondition` 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 Pipeline. "updateTime": "A String", # Last time the condition was updated. }, - "targetsPresentCondition": { # TargetsPresentCondition contains information on any Targets defined in the Delivery Pipeline that do not actually exist. # Detalis around targets enumerated in the pipeline. - "missingTargets": [ # The list of Target names that are missing. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}. + "targetsPresentCondition": { # TargetsPresentCondition contains information on any Targets defined in the Delivery Pipeline that do not actually exist. # Details around targets enumerated in the pipeline. + "missingTargets": [ # The list of Target names that do not exist. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}. "A String", ], "status": True or False, # True if there aren't any missing Targets. "updateTime": "A String", # Last time the condition was updated. }, + "targetsTypeCondition": { # TargetsTypeCondition contains information on whether the Targets defined in the Delivery Pipeline are of the same type. # Details on the whether the targets enumerated in the pipeline are of the same type. + "errorDetails": "A String", # Human readable error message. + "status": True or False, # True if the targets are all a comparable type. For example this is true if all targets are GKE clusters. This is false if some targets are Cloud Run targets and others are GKE clusters. + }, }, "createTime": "A String", # Output only. Time at which the pipeline was created. "description": "A String", # Description of the `DeliveryPipeline`. Max length is 255 characters. @@ -336,13 +340,17 @@

Method Details

"status": True or False, # True if the Pipeline is in a valid state. Otherwise at least one condition in `PipelineCondition` 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 Pipeline. "updateTime": "A String", # Last time the condition was updated. }, - "targetsPresentCondition": { # TargetsPresentCondition contains information on any Targets defined in the Delivery Pipeline that do not actually exist. # Detalis around targets enumerated in the pipeline. - "missingTargets": [ # The list of Target names that are missing. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}. + "targetsPresentCondition": { # TargetsPresentCondition contains information on any Targets defined in the Delivery Pipeline that do not actually exist. # Details around targets enumerated in the pipeline. + "missingTargets": [ # The list of Target names that do not exist. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}. "A String", ], "status": True or False, # True if there aren't any missing Targets. "updateTime": "A String", # Last time the condition was updated. }, + "targetsTypeCondition": { # TargetsTypeCondition contains information on whether the Targets defined in the Delivery Pipeline are of the same type. # Details on the whether the targets enumerated in the pipeline are of the same type. + "errorDetails": "A String", # Human readable error message. + "status": True or False, # True if the targets are all a comparable type. For example this is true if all targets are GKE clusters. This is false if some targets are Cloud Run targets and others are GKE clusters. + }, }, "createTime": "A String", # Output only. Time at which the pipeline was created. "description": "A String", # Description of the `DeliveryPipeline`. Max length is 255 characters. @@ -491,13 +499,17 @@

Method Details

"status": True or False, # True if the Pipeline is in a valid state. Otherwise at least one condition in `PipelineCondition` 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 Pipeline. "updateTime": "A String", # Last time the condition was updated. }, - "targetsPresentCondition": { # TargetsPresentCondition contains information on any Targets defined in the Delivery Pipeline that do not actually exist. # Detalis around targets enumerated in the pipeline. - "missingTargets": [ # The list of Target names that are missing. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}. + "targetsPresentCondition": { # TargetsPresentCondition contains information on any Targets defined in the Delivery Pipeline that do not actually exist. # Details around targets enumerated in the pipeline. + "missingTargets": [ # The list of Target names that do not exist. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}. "A String", ], "status": True or False, # True if there aren't any missing Targets. "updateTime": "A String", # Last time the condition was updated. }, + "targetsTypeCondition": { # TargetsTypeCondition contains information on whether the Targets defined in the Delivery Pipeline are of the same type. # Details on the whether the targets enumerated in the pipeline are of the same type. + "errorDetails": "A String", # Human readable error message. + "status": True or False, # True if the targets are all a comparable type. For example this is true if all targets are GKE clusters. This is false if some targets are Cloud Run targets and others are GKE clusters. + }, }, "createTime": "A String", # Output only. Time at which the pipeline was created. "description": "A String", # Description of the `DeliveryPipeline`. Max length is 255 characters. diff --git a/docs/dyn/clouddeploy_v1.projects.locations.html b/docs/dyn/clouddeploy_v1.projects.locations.html index 33ac8913dc0..c5b0c31ee3e 100644 --- a/docs/dyn/clouddeploy_v1.projects.locations.html +++ b/docs/dyn/clouddeploy_v1.projects.locations.html @@ -152,11 +152,11 @@

Method Details

An object of the form: { # Service-wide configuration. - "defaultSkaffoldVersion": "A String", # Output only. Default Skaffold version that is assigned when a Release is created without specifying a Skaffold version. + "defaultSkaffoldVersion": "A String", # Default Skaffold version that is assigned when a Release is created without specifying a Skaffold version. "name": "A String", # Name of the configuration. - "supportedVersions": [ # Output only. All supported versions of Skaffold. + "supportedVersions": [ # All supported versions of Skaffold. { # Details of a supported Skaffold version. - "supportEndDate": { # 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. + "supportEndDate": { # 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. For a more precise time, use the `support_expiration_time` field. "day": 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't significant. "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. diff --git a/googleapiclient/discovery_cache/documents/clouddeploy.v1.json b/googleapiclient/discovery_cache/documents/clouddeploy.v1.json index b7ad43c858d..3d850085ebb 100644 --- a/googleapiclient/discovery_cache/documents/clouddeploy.v1.json +++ b/googleapiclient/discovery_cache/documents/clouddeploy.v1.json @@ -1334,7 +1334,7 @@ } } }, - "revision": "20221201", + "revision": "20221213", "rootUrl": "https://clouddeploy.googleapis.com/", "schemas": { "AbandonReleaseRequest": { @@ -1509,8 +1509,7 @@ "id": "Config", "properties": { "defaultSkaffoldVersion": { - "description": "Output only. Default Skaffold version that is assigned when a Release is created without specifying a Skaffold version.", - "readOnly": true, + "description": "Default Skaffold version that is assigned when a Release is created without specifying a Skaffold version.", "type": "string" }, "name": { @@ -1518,11 +1517,10 @@ "type": "string" }, "supportedVersions": { - "description": "Output only. All supported versions of Skaffold.", + "description": "All supported versions of Skaffold.", "items": { "$ref": "SkaffoldVersion" }, - "readOnly": true, "type": "array" } }, @@ -1678,13 +1676,15 @@ "FAILURE_CAUSE_UNSPECIFIED", "CLOUD_BUILD_UNAVAILABLE", "EXECUTION_FAILED", - "DEADLINE_EXCEEDED" + "DEADLINE_EXCEEDED", + "CLOUD_BUILD_REQUEST_FAILED" ], "enumDescriptions": [ "No reason for failure is specified.", "Cloud Build is not available, either because it is not enabled or because Google Cloud Deploy has insufficient permissions. See [Required permission](/deploy/docs/cloud-deploy-service-account#required_permissions).", "The deploy operation did not complete successfully; check Cloud Build logs.", - "The deploy build did not complete within the alloted time." + "The deploy build did not complete within the alloted time.", + "Cloud Build failed to fulfill Google Cloud Deploy's request. See failure_message for additional details." ], "readOnly": true, "type": "string" @@ -2331,7 +2331,11 @@ }, "targetsPresentCondition": { "$ref": "TargetsPresentCondition", - "description": "Detalis around targets enumerated in the pipeline." + "description": "Details around targets enumerated in the pipeline." + }, + "targetsTypeCondition": { + "$ref": "TargetsTypeCondition", + "description": "Details on the whether the targets enumerated in the pipeline are of the same type." } }, "type": "object" @@ -2650,7 +2654,8 @@ "DEADLINE_EXCEEDED", "RELEASE_FAILED", "RELEASE_ABANDONED", - "VERIFICATION_CONFIG_NOT_FOUND" + "VERIFICATION_CONFIG_NOT_FOUND", + "CLOUD_BUILD_REQUEST_FAILED" ], "enumDescriptions": [ "No reason for failure is specified.", @@ -2659,7 +2664,8 @@ "Deployment did not complete within the alloted time.", "Release is in a failed state.", "Release is abandoned.", - "No skaffold verify configuration was found." + "No skaffold verify configuration was found.", + "Cloud Build failed to fulfill Google Cloud Deploy's request. See failure_message for additional details." ], "readOnly": true, "type": "string" @@ -2832,7 +2838,7 @@ "properties": { "supportEndDate": { "$ref": "Date", - "description": "Date when this version is expected to no longer be supported." + "description": "Date when this version is expected to no longer be supported. For a more precise time, use the `support_expiration_time` field." }, "version": { "description": "Release version number. For example, \"1.20.3\".", @@ -3050,12 +3056,14 @@ "enum": [ "FAILURE_CAUSE_UNSPECIFIED", "CLOUD_BUILD_UNAVAILABLE", - "EXECUTION_FAILED" + "EXECUTION_FAILED", + "CLOUD_BUILD_REQUEST_FAILED" ], "enumDescriptions": [ "No reason for failure is specified.", "Cloud Build is not available, either because it is not enabled or because Google Cloud Deploy has insufficient permissions. See [required permission](/deploy/docs/cloud-deploy-service-account#required_permissions).", - "The render operation did not complete successfully; check Cloud Build logs." + "The render operation did not complete successfully; check Cloud Build logs.", + "Cloud Build failed to fulfill Google Cloud Deploy's request. See failure_message for additional details." ], "readOnly": true, "type": "string" @@ -3095,7 +3103,7 @@ "id": "TargetsPresentCondition", "properties": { "missingTargets": { - "description": "The list of Target names that are missing. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.", + "description": "The list of Target names that do not exist. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.", "items": { "type": "string" }, @@ -3113,6 +3121,21 @@ }, "type": "object" }, + "TargetsTypeCondition": { + "description": "TargetsTypeCondition contains information on whether the Targets defined in the Delivery Pipeline are of the same type.", + "id": "TargetsTypeCondition", + "properties": { + "errorDetails": { + "description": "Human readable error message.", + "type": "string" + }, + "status": { + "description": "True if the targets are all a comparable type. For example this is true if all targets are GKE clusters. This is false if some targets are Cloud Run targets and others are GKE clusters.", + "type": "boolean" + } + }, + "type": "object" + }, "TestIamPermissionsRequest": { "description": "Request message for `TestIamPermissions` method.", "id": "TestIamPermissionsRequest", @@ -3173,14 +3196,16 @@ "CLOUD_BUILD_UNAVAILABLE", "EXECUTION_FAILED", "DEADLINE_EXCEEDED", - "VERIFICATION_CONFIG_NOT_FOUND" + "VERIFICATION_CONFIG_NOT_FOUND", + "CLOUD_BUILD_REQUEST_FAILED" ], "enumDescriptions": [ "No reason for failure is specified.", "Cloud Build is not available, either because it is not enabled or because Google Cloud Deploy has insufficient permissions. See [required permission](/deploy/docs/cloud-deploy-service-account#required_permissions).", "The verify operation did not complete successfully; check Cloud Build logs.", "The verify build did not complete within the alloted time.", - "No Skaffold verify configuration was found." + "No Skaffold verify configuration was found.", + "Cloud Build failed to fulfill Google Cloud Deploy's request. See failure_message for additional details." ], "readOnly": true, "type": "string"