Skip to content

Commit 453b0cc

Browse files
Google APIscopybara-github
authored andcommitted
feat: Add resource definition for Revision
docs: Typos fixes and small improvements PiperOrigin-RevId: 742835092
1 parent 6d3f7d5 commit 453b0cc

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

google/cloud/deploy/v1/cloud_deploy.proto

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ option (google.api.resource_definition) = {
6565
type: "run.googleapis.com/Job"
6666
pattern: "projects/{project}/locations/{location}/jobs/{job}"
6767
};
68+
option (google.api.resource_definition) = {
69+
type: "run.googleapis.com/Revision"
70+
pattern: "projects/{project}/locations/{location}/revisions/{revision}"
71+
};
6872

6973
// CloudDeploy service creates and manages Continuous Delivery operations
7074
// on Google Cloud Platform via Skaffold (https://skaffold.dev).
@@ -2332,8 +2336,8 @@ message Release {
23322336
VERIFICATION_CONFIG_NOT_FOUND = 4;
23332337

23342338
// The render operation did not complete successfully because the custom
2335-
// action required for predeploy or postdeploy was not found in the
2336-
// Skaffold configuration. See failure_message for additional details.
2339+
// action(s) required for Rollout jobs were not found in the Skaffold
2340+
// configuration. See failure_message for additional details.
23372341
CUSTOM_ACTION_NOT_FOUND = 5;
23382342

23392343
// Release failed during rendering because the release configuration is
@@ -2717,11 +2721,12 @@ message TargetArtifact {
27172721
string artifact_uri = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
27182722
}
27192723

2720-
// Output only. File path of the resolved Skaffold configuration relative to
2721-
// the URI.
2724+
// Output only. File path of the resolved Skaffold configuration for the
2725+
// stable phase, relative to the URI.
27222726
string skaffold_config_path = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
27232727

2724-
// Output only. File path of the rendered manifest relative to the URI.
2728+
// Output only. File path of the rendered manifest relative to the URI for the
2729+
// stable phase.
27252730
string manifest_path = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
27262731

27272732
// Output only. Map from the phase ID to the phase artifacts for the `Target`.

0 commit comments

Comments
 (0)