Skip to content

Commit

Permalink
feat(clouddeploy): update the api
Browse files Browse the repository at this point in the history
#### clouddeploy:v1

The following keys were added:
- schemas.DeployArtifact (Total Keys: 7)
- schemas.DeployJobRun.properties.artifact (Total Keys: 2)
- schemas.PhaseArtifact.properties.jobManifestsPath (Total Keys: 2)
  • Loading branch information
yoshi-automation committed May 24, 2023
1 parent fed3215 commit baa0bd6
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 8 deletions.
Expand Up @@ -260,6 +260,7 @@ <h3>Method Details</h3>
&quot;manifestPath&quot;: &quot;A String&quot;, # Output only. File path of the rendered manifest relative to the URI.
&quot;phaseArtifacts&quot;: { # Output only. Map from the phase ID to the phase artifacts for the `Target`.
&quot;a_key&quot;: { # Contains the paths to the artifacts, relative to the URI, for a phase.
&quot;jobManifestsPath&quot;: &quot;A String&quot;, # Output only. File path of the directory of rendered job manifests relative to the URI. This is only set if it is applicable.
&quot;manifestPath&quot;: &quot;A String&quot;, # Output only. File path of the rendered manifest relative to the URI.
&quot;skaffoldConfigPath&quot;: &quot;A String&quot;, # Output only. File path of the resolved Skaffold configuration relative to the URI.
},
Expand Down Expand Up @@ -506,6 +507,7 @@ <h3>Method Details</h3>
&quot;manifestPath&quot;: &quot;A String&quot;, # Output only. File path of the rendered manifest relative to the URI.
&quot;phaseArtifacts&quot;: { # Output only. Map from the phase ID to the phase artifacts for the `Target`.
&quot;a_key&quot;: { # Contains the paths to the artifacts, relative to the URI, for a phase.
&quot;jobManifestsPath&quot;: &quot;A String&quot;, # Output only. File path of the directory of rendered job manifests relative to the URI. This is only set if it is applicable.
&quot;manifestPath&quot;: &quot;A String&quot;, # Output only. File path of the rendered manifest relative to the URI.
&quot;skaffoldConfigPath&quot;: &quot;A String&quot;, # Output only. File path of the resolved Skaffold configuration relative to the URI.
},
Expand Down Expand Up @@ -728,6 +730,7 @@ <h3>Method Details</h3>
&quot;manifestPath&quot;: &quot;A String&quot;, # Output only. File path of the rendered manifest relative to the URI.
&quot;phaseArtifacts&quot;: { # Output only. Map from the phase ID to the phase artifacts for the `Target`.
&quot;a_key&quot;: { # Contains the paths to the artifacts, relative to the URI, for a phase.
&quot;jobManifestsPath&quot;: &quot;A String&quot;, # Output only. File path of the directory of rendered job manifests relative to the URI. This is only set if it is applicable.
&quot;manifestPath&quot;: &quot;A String&quot;, # Output only. File path of the rendered manifest relative to the URI.
&quot;skaffoldConfigPath&quot;: &quot;A String&quot;, # Output only. File path of the resolved Skaffold configuration relative to the URI.
},
Expand Down
Expand Up @@ -264,7 +264,7 @@ <h3>Method Details</h3>
],
},
&quot;deploymentJobs&quot;: { # Deployment job composition. # Output only. Deployment job composition.
&quot;deployJob&quot;: { # Job represents an operation for a `Rollout`. # Output only. The deploy Job. This is the first job run in the phase.
&quot;deployJob&quot;: { # Job represents an operation for a `Rollout`. # Output only. The deploy Job. This is the deploy job in the phase.
&quot;advanceChildRolloutJob&quot;: { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job.
},
&quot;createChildRolloutJob&quot;: { # A createChildRollout Job. # Output only. A createChildRollout Job.
Expand Down Expand Up @@ -416,7 +416,7 @@ <h3>Method Details</h3>
],
},
&quot;deploymentJobs&quot;: { # Deployment job composition. # Output only. Deployment job composition.
&quot;deployJob&quot;: { # Job represents an operation for a `Rollout`. # Output only. The deploy Job. This is the first job run in the phase.
&quot;deployJob&quot;: { # Job represents an operation for a `Rollout`. # Output only. The deploy Job. This is the deploy job in the phase.
&quot;advanceChildRolloutJob&quot;: { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job.
},
&quot;createChildRolloutJob&quot;: { # A createChildRollout Job. # Output only. A createChildRollout Job.
Expand Down Expand Up @@ -569,7 +569,7 @@ <h3>Method Details</h3>
],
},
&quot;deploymentJobs&quot;: { # Deployment job composition. # Output only. Deployment job composition.
&quot;deployJob&quot;: { # Job represents an operation for a `Rollout`. # Output only. The deploy Job. This is the first job run in the phase.
&quot;deployJob&quot;: { # Job represents an operation for a `Rollout`. # Output only. The deploy Job. This is the deploy job in the phase.
&quot;advanceChildRolloutJob&quot;: { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job.
},
&quot;createChildRolloutJob&quot;: { # A createChildRollout Job. # Output only. A createChildRollout Job.
Expand Down
Expand Up @@ -120,6 +120,12 @@ <h3>Method Details</h3>
},
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the `JobRun` was created.
&quot;deployJobRun&quot;: { # DeployJobRun contains information specific to a deploy `JobRun`. # Output only. Information specific to a deploy `JobRun`.
&quot;artifact&quot;: { # The artifacts produced by a deploy operation. # Output only. The artifact of a deploy job run, if available.
&quot;artifactUri&quot;: &quot;A String&quot;, # Output only. URI of a directory containing the artifacts. All paths are relative to this location.
&quot;manifestPaths&quot;: [ # Output only. File paths of the manifests applied during the deploy operation relative to the URI.
&quot;A String&quot;,
],
},
&quot;build&quot;: &quot;A String&quot;, # Output only. The resource name of the Cloud Build `Build` object that is used to deploy. Format is projects/{project}/locations/{location}/builds/{build}.
&quot;failureCause&quot;: &quot;A String&quot;, # Output only. The reason the deploy failed. This will always be unspecified while the deploy is in progress or if it succeeded.
&quot;failureMessage&quot;: &quot;A String&quot;, # Output only. Additional information about the deploy failure, if available.
Expand Down Expand Up @@ -182,6 +188,12 @@ <h3>Method Details</h3>
},
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the `JobRun` was created.
&quot;deployJobRun&quot;: { # DeployJobRun contains information specific to a deploy `JobRun`. # Output only. Information specific to a deploy `JobRun`.
&quot;artifact&quot;: { # The artifacts produced by a deploy operation. # Output only. The artifact of a deploy job run, if available.
&quot;artifactUri&quot;: &quot;A String&quot;, # Output only. URI of a directory containing the artifacts. All paths are relative to this location.
&quot;manifestPaths&quot;: [ # Output only. File paths of the manifests applied during the deploy operation relative to the URI.
&quot;A String&quot;,
],
},
&quot;build&quot;: &quot;A String&quot;, # Output only. The resource name of the Cloud Build `Build` object that is used to deploy. Format is projects/{project}/locations/{location}/builds/{build}.
&quot;failureCause&quot;: &quot;A String&quot;, # Output only. The reason the deploy failed. This will always be unspecified while the deploy is in progress or if it succeeded.
&quot;failureMessage&quot;: &quot;A String&quot;, # Output only. Additional information about the deploy failure, if available.
Expand Down
4 changes: 2 additions & 2 deletions docs/dyn/clouddeploy_v1.projects.locations.html
Expand Up @@ -124,7 +124,7 @@ <h3>Method Details</h3>
Returns:
An object of the form:

{ # A resource that represents Google Cloud Platform location.
{ # A resource that represents a Google Cloud location.
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
&quot;a_key&quot;: &quot;A String&quot;,
Expand Down Expand Up @@ -188,7 +188,7 @@ <h3>Method Details</h3>

{ # The response message for Locations.ListLocations.
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
{ # A resource that represents Google Cloud Platform location.
{ # A resource that represents a Google Cloud location.
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
&quot;a_key&quot;: &quot;A String&quot;,
Expand Down
56 changes: 53 additions & 3 deletions googleapiclient/discovery_cache/documents/clouddeploy.v1.json
Expand Up @@ -1451,7 +1451,7 @@
}
}
},
"revision": "20230405",
"revision": "20230510",
"rootUrl": "https://clouddeploy.googleapis.com/",
"schemas": {
"AbandonReleaseRequest": {
Expand Down Expand Up @@ -1933,18 +1933,42 @@
"enum": [
"TYPE_UNSPECIFIED",
"TYPE_PUBSUB_NOTIFICATION_FAILURE",
"TYPE_RESOURCE_STATE_CHANGE",
"TYPE_PROCESS_ABORTED",
"TYPE_RENDER_STATUES_CHANGE"
],
"enumDescriptions": [
"Type is unspecified.",
"A Pub/Sub notification failed to be sent.",
"Resource state changed.",
"A process aborted.",
"Deprecated: This field is never used. Use release_render log type instead."
],
"type": "string"
}
},
"type": "object"
},
"DeployArtifact": {
"description": "The artifacts produced by a deploy operation.",
"id": "DeployArtifact",
"properties": {
"artifactUri": {
"description": "Output only. URI of a directory containing the artifacts. All paths are relative to this location.",
"readOnly": true,
"type": "string"
},
"manifestPaths": {
"description": "Output only. File paths of the manifests applied during the deploy operation relative to the URI.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
}
},
"type": "object"
},
"DeployJob": {
"description": "A deploy Job.",
"id": "DeployJob",
Expand All @@ -1955,6 +1979,11 @@
"description": "DeployJobRun contains information specific to a deploy `JobRun`.",
"id": "DeployJobRun",
"properties": {
"artifact": {
"$ref": "DeployArtifact",
"description": "Output only. The artifact of a deploy job run, if available.",
"readOnly": true
},
"build": {
"description": "Output only. The resource name of the Cloud Build `Build` object that is used to deploy. Format is projects/{project}/locations/{location}/builds/{build}.",
"readOnly": true,
Expand Down Expand Up @@ -2012,7 +2041,7 @@
"properties": {
"deployJob": {
"$ref": "Job",
"description": "Output only. The deploy Job. This is the first job run in the phase.",
"description": "Output only. The deploy Job. This is the deploy job in the phase.",
"readOnly": true
},
"verifyJob": {
Expand Down Expand Up @@ -2350,11 +2379,15 @@
"enum": [
"TYPE_UNSPECIFIED",
"TYPE_PUBSUB_NOTIFICATION_FAILURE",
"TYPE_RESOURCE_STATE_CHANGE",
"TYPE_PROCESS_ABORTED",
"TYPE_RENDER_STATUES_CHANGE"
],
"enumDescriptions": [
"Type is unspecified.",
"A Pub/Sub notification failed to be sent.",
"Resource state changed.",
"A process aborted.",
"Deprecated: This field is never used. Use release_render log type instead."
],
"type": "string"
Expand Down Expand Up @@ -2539,7 +2572,7 @@
"type": "object"
},
"Location": {
"description": "A resource that represents Google Cloud Platform location.",
"description": "A resource that represents a Google Cloud location.",
"id": "Location",
"properties": {
"displayName": {
Expand Down Expand Up @@ -2731,6 +2764,11 @@
"description": "Contains the paths to the artifacts, relative to the URI, for a phase.",
"id": "PhaseArtifact",
"properties": {
"jobManifestsPath": {
"description": "Output only. File path of the directory of rendered job manifests relative to the URI. This is only set if it is applicable.",
"readOnly": true,
"type": "string"
},
"manifestPath": {
"description": "Output only. File path of the rendered manifest relative to the URI.",
"readOnly": true,
Expand Down Expand Up @@ -3019,11 +3057,15 @@
"enum": [
"TYPE_UNSPECIFIED",
"TYPE_PUBSUB_NOTIFICATION_FAILURE",
"TYPE_RESOURCE_STATE_CHANGE",
"TYPE_PROCESS_ABORTED",
"TYPE_RENDER_STATUES_CHANGE"
],
"enumDescriptions": [
"Type is unspecified.",
"A Pub/Sub notification failed to be sent.",
"Resource state changed.",
"A process aborted.",
"Deprecated: This field is never used. Use release_render log type instead."
],
"type": "string"
Expand Down Expand Up @@ -3294,11 +3336,15 @@
"enum": [
"TYPE_UNSPECIFIED",
"TYPE_PUBSUB_NOTIFICATION_FAILURE",
"TYPE_RESOURCE_STATE_CHANGE",
"TYPE_PROCESS_ABORTED",
"TYPE_RENDER_STATUES_CHANGE"
],
"enumDescriptions": [
"Type is unspecified.",
"A Pub/Sub notification failed to be sent.",
"Resource state changed.",
"A process aborted.",
"Deprecated: This field is never used. Use release_render log type instead."
],
"type": "string"
Expand Down Expand Up @@ -3632,11 +3678,15 @@
"enum": [
"TYPE_UNSPECIFIED",
"TYPE_PUBSUB_NOTIFICATION_FAILURE",
"TYPE_RESOURCE_STATE_CHANGE",
"TYPE_PROCESS_ABORTED",
"TYPE_RENDER_STATUES_CHANGE"
],
"enumDescriptions": [
"Type is unspecified.",
"A Pub/Sub notification failed to be sent.",
"Resource state changed.",
"A process aborted.",
"Deprecated: This field is never used. Use release_render log type instead."
],
"type": "string"
Expand Down

0 comments on commit baa0bd6

Please sign in to comment.