Skip to content

Commit c2f34cd

Browse files
feat: [deploy] add Automation API and Rollback API (#4787)
- [ ] Regenerate this pull request now. chore: update platform logs docs: small documentation updates PiperOrigin-RevId: 578872129 Source-Link: https://togithub.com/googleapis/googleapis/commit/41d7a832828ef42fcf6d97d48f4802b55628126f Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/eb84145fc26cf1f77d65af9ad82a239dfddc16bd Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRlcGxveS8uT3dsQm90LnlhbWwiLCJoIjoiZWI4NDE0NWZjMjZjZjFmNzdkNjVhZjlhZDgyYTIzOWRmZGRjMTZiZCJ9
1 parent ef9cced commit c2f34cd

45 files changed

Lines changed: 38147 additions & 14351 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/google-cloud-deploy/README.md

Lines changed: 9 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
// Copyright 2023 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
syntax = "proto3";
16+
17+
package google.cloud.deploy.v1;
18+
19+
import "google/cloud/deploy/v1/log_enums.proto";
20+
21+
option go_package = "cloud.google.com/go/deploy/apiv1/deploypb;deploypb";
22+
option java_multiple_files = true;
23+
option java_outer_classname = "AutomationPayloadProto";
24+
option java_package = "com.google.cloud.deploy.v1";
25+
26+
// Payload proto for "clouddeploy.googleapis.com/automation"
27+
// Platform Log event that describes the Automation related events.
28+
message AutomationEvent {
29+
// Debug message for when there is an update on the AutomationRun.
30+
// Provides further details about the resource creation or state change.
31+
string message = 1;
32+
33+
// The name of the `AutomationRun`.
34+
string automation = 2;
35+
36+
// Unique identifier of the `DeliveryPipeline`.
37+
string pipeline_uid = 3;
38+
39+
// Type of this notification, e.g. for a Pub/Sub failure.
40+
Type type = 4;
41+
}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
// Copyright 2023 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
syntax = "proto3";
16+
17+
package google.cloud.deploy.v1;
18+
19+
import "google/cloud/deploy/v1/log_enums.proto";
20+
21+
option go_package = "cloud.google.com/go/deploy/apiv1/deploypb;deploypb";
22+
option java_multiple_files = true;
23+
option java_outer_classname = "AutomationRunPayloadProto";
24+
option java_package = "com.google.cloud.deploy.v1";
25+
26+
// Payload proto for "clouddeploy.googleapis.com/automation_run"
27+
// Platform Log event that describes the AutomationRun related events.
28+
message AutomationRunEvent {
29+
// Debug message for when there is an update on the AutomationRun.
30+
// Provides further details about the resource creation or state change.
31+
string message = 1;
32+
33+
// The name of the `AutomationRun`.
34+
string automation_run = 2;
35+
36+
// Unique identifier of the `DeliveryPipeline`.
37+
string pipeline_uid = 3;
38+
39+
// Identifier of the `Automation`.
40+
string automation_id = 4;
41+
42+
// Identifier of the `Automation` rule.
43+
string rule_id = 5;
44+
45+
// ID of the `Target` to which the `AutomationRun` is created.
46+
string destination_target_id = 6;
47+
48+
// Type of this notification, e.g. for a Pub/Sub failure.
49+
Type type = 7;
50+
}

0 commit comments

Comments
 (0)