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
pull/727/head
Google APIs 3 years ago committed by Copybara-Service
parent 5813dcf3c8
commit 5c90074382
  1. 15
      google/cloud/dataform/v1alpha2/dataform.proto
  2. 2
      google/cloud/dataform/v1alpha2/dataform_v1alpha2.yaml

@ -421,6 +421,9 @@ message ListRepositoriesResponse {
// A token which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
// Locations which could not be reached.
repeated string unreachable = 3;
}
// `GetRepository` request message.
@ -547,6 +550,9 @@ message ListWorkspacesResponse {
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
// Locations which could not be reached.
repeated string unreachable = 3;
}
// `GetWorkspace` request message.
@ -1084,6 +1090,9 @@ message ListCompilationResultsResponse {
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
// Locations which could not be reached.
repeated string unreachable = 3;
}
// `GetCompilationResult` request message.
@ -1474,6 +1483,9 @@ message ListWorkflowInvocationsResponse {
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
// Locations which could not be reached.
repeated string unreachable = 3;
}
// `GetWorkflowInvocation` request message.
@ -1567,6 +1579,9 @@ message WorkflowInvocationAction {
// Output only. This action's current state.
State state = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. If and only if action's state is FAILED a failure reason is set.
string failure_reason = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
// Output only. This action's timing details.
// `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
// CANCELLED, FAILED] state.

@ -66,6 +66,8 @@ http:
additional_bindings:
- post: '/v1alpha2/{resource=projects/*/locations/*/repositories/*/workspaces/*}:setIamPolicy'
body: '*'
- post: '/v1alpha2/{resource=projects/*/locations/*/repositories/*/compilationResults/*}:setIamPolicy'
body: '*'
- selector: google.iam.v1.IAMPolicy.TestIamPermissions
post: '/v1alpha2/{resource=projects/*/locations/*/repositories/*}:testIamPermissions'
body: '*'

Loading…
Cancel
Save