Skip to content

Commit 5c90074

Browse files
Google APIscopybara-github
authored andcommitted
feat: add fields for tracking reachable status of resources in list methods
feat: add the failure_reason field to workflow invocation actions PiperOrigin-RevId: 460402867
1 parent 5813dcf commit 5c90074

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

google/cloud/dataform/v1alpha2/dataform.proto

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,9 @@ message ListRepositoriesResponse {
421421
// A token which can be sent as `page_token` to retrieve the next page.
422422
// If this field is omitted, there are no subsequent pages.
423423
string next_page_token = 2;
424+
425+
// Locations which could not be reached.
426+
repeated string unreachable = 3;
424427
}
425428

426429
// `GetRepository` request message.
@@ -547,6 +550,9 @@ message ListWorkspacesResponse {
547550
// A token, which can be sent as `page_token` to retrieve the next page.
548551
// If this field is omitted, there are no subsequent pages.
549552
string next_page_token = 2;
553+
554+
// Locations which could not be reached.
555+
repeated string unreachable = 3;
550556
}
551557

552558
// `GetWorkspace` request message.
@@ -1084,6 +1090,9 @@ message ListCompilationResultsResponse {
10841090
// A token, which can be sent as `page_token` to retrieve the next page.
10851091
// If this field is omitted, there are no subsequent pages.
10861092
string next_page_token = 2;
1093+
1094+
// Locations which could not be reached.
1095+
repeated string unreachable = 3;
10871096
}
10881097

10891098
// `GetCompilationResult` request message.
@@ -1474,6 +1483,9 @@ message ListWorkflowInvocationsResponse {
14741483
// A token, which can be sent as `page_token` to retrieve the next page.
14751484
// If this field is omitted, there are no subsequent pages.
14761485
string next_page_token = 2;
1486+
1487+
// Locations which could not be reached.
1488+
repeated string unreachable = 3;
14771489
}
14781490

14791491
// `GetWorkflowInvocation` request message.
@@ -1567,6 +1579,9 @@ message WorkflowInvocationAction {
15671579
// Output only. This action's current state.
15681580
State state = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
15691581

1582+
// Output only. If and only if action's state is FAILED a failure reason is set.
1583+
string failure_reason = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
1584+
15701585
// Output only. This action's timing details.
15711586
// `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
15721587
// CANCELLED, FAILED] state.

google/cloud/dataform/v1alpha2/dataform_v1alpha2.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ http:
6666
additional_bindings:
6767
- post: '/v1alpha2/{resource=projects/*/locations/*/repositories/*/workspaces/*}:setIamPolicy'
6868
body: '*'
69+
- post: '/v1alpha2/{resource=projects/*/locations/*/repositories/*/compilationResults/*}:setIamPolicy'
70+
body: '*'
6971
- selector: google.iam.v1.IAMPolicy.TestIamPermissions
7072
post: '/v1alpha2/{resource=projects/*/locations/*/repositories/*}:testIamPermissions'
7173
body: '*'

0 commit comments

Comments
 (0)