UNPKG

@google-cloud/workflows

Version:
1,071 lines (1,070 loc) 134 kB
{ "nested": { "google": { "nested": { "cloud": { "nested": { "workflows": { "nested": { "executions": { "nested": { "v1": { "options": { "go_package": "cloud.google.com/go/workflows/executions/apiv1/executionspb;executionspb", "java_multiple_files": true, "java_outer_classname": "ExecutionsProto", "java_package": "com.google.cloud.workflows.executions.v1", "(google.api.resource_definition).type": "workflows.googleapis.com/Workflow", "(google.api.resource_definition).pattern": "projects/{project}/locations/{location}/workflows/{workflow}" }, "nested": { "Executions": { "options": { "(google.api.default_host)": "workflowexecutions.googleapis.com", "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform" }, "methods": { "ListExecutions": { "requestType": "ListExecutionsRequest", "responseType": "ListExecutionsResponse", "options": { "(google.api.http).get": "/v1/{parent=projects/*/locations/*/workflows/*}/executions", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*/workflows/*}/executions" } }, { "(google.api.method_signature)": "parent" } ] }, "CreateExecution": { "requestType": "CreateExecutionRequest", "responseType": "Execution", "options": { "(google.api.http).post": "/v1/{parent=projects/*/locations/*/workflows/*}/executions", "(google.api.http).body": "execution", "(google.api.method_signature)": "parent,execution" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=projects/*/locations/*/workflows/*}/executions", "body": "execution" } }, { "(google.api.method_signature)": "parent,execution" } ] }, "GetExecution": { "requestType": "GetExecutionRequest", "responseType": "Execution", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/workflows/*/executions/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/workflows/*/executions/*}" } }, { "(google.api.method_signature)": "name" } ] }, "CancelExecution": { "requestType": "CancelExecutionRequest", "responseType": "Execution", "options": { "(google.api.http).post": "/v1/{name=projects/*/locations/*/workflows/*/executions/*}:cancel", "(google.api.http).body": "*", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{name=projects/*/locations/*/workflows/*/executions/*}:cancel", "body": "*" } }, { "(google.api.method_signature)": "name" } ] } } }, "Execution": { "options": { "(google.api.resource).type": "workflowexecutions.googleapis.com/Execution", "(google.api.resource).pattern": "projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}" }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "startTime": { "type": "google.protobuf.Timestamp", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "endTime": { "type": "google.protobuf.Timestamp", "id": 3, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "duration": { "type": "google.protobuf.Duration", "id": 12, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "state": { "type": "State", "id": 4, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "argument": { "type": "string", "id": 5 }, "result": { "type": "string", "id": 6, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "error": { "type": "Error", "id": 7, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "workflowRevisionId": { "type": "string", "id": 8, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "callLogLevel": { "type": "CallLogLevel", "id": 9 }, "status": { "type": "Status", "id": 10, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "labels": { "keyType": "string", "type": "string", "id": 11 }, "stateError": { "type": "StateError", "id": 13, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } }, "nested": { "State": { "values": { "STATE_UNSPECIFIED": 0, "ACTIVE": 1, "SUCCEEDED": 2, "FAILED": 3, "CANCELLED": 4, "UNAVAILABLE": 5, "QUEUED": 6 } }, "StackTraceElement": { "fields": { "step": { "type": "string", "id": 1 }, "routine": { "type": "string", "id": 2 }, "position": { "type": "Position", "id": 3 } }, "nested": { "Position": { "fields": { "line": { "type": "int64", "id": 1 }, "column": { "type": "int64", "id": 2 }, "length": { "type": "int64", "id": 3 } } } } }, "StackTrace": { "fields": { "elements": { "rule": "repeated", "type": "StackTraceElement", "id": 1 } } }, "Error": { "fields": { "payload": { "type": "string", "id": 1 }, "context": { "type": "string", "id": 2 }, "stackTrace": { "type": "StackTrace", "id": 3 } } }, "CallLogLevel": { "values": { "CALL_LOG_LEVEL_UNSPECIFIED": 0, "LOG_ALL_CALLS": 1, "LOG_ERRORS_ONLY": 2, "LOG_NONE": 3 } }, "Status": { "fields": { "currentSteps": { "rule": "repeated", "type": "Step", "id": 1 } }, "nested": { "Step": { "fields": { "routine": { "type": "string", "id": 1 }, "step": { "type": "string", "id": 2 } } } } }, "StateError": { "fields": { "details": { "type": "string", "id": 1 }, "type": { "type": "Type", "id": 2 } }, "nested": { "Type": { "values": { "TYPE_UNSPECIFIED": 0, "KMS_ERROR": 1 } } } } } }, "ListExecutionsRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "workflows.googleapis.com/Workflow" } }, "pageSize": { "type": "int32", "id": 2 }, "pageToken": { "type": "string", "id": 3 }, "view": { "type": "ExecutionView", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "filter": { "type": "string", "id": 5, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "orderBy": { "type": "string", "id": 6, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "ListExecutionsResponse": { "fields": { "executions": { "rule": "repeated", "type": "Execution", "id": 1 }, "nextPageToken": { "type": "string", "id": 2 } } }, "CreateExecutionRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "workflows.googleapis.com/Workflow" } }, "execution": { "type": "Execution", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } } } }, "GetExecutionRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "workflowexecutions.googleapis.com/Execution" } }, "view": { "type": "ExecutionView", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "CancelExecutionRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "workflowexecutions.googleapis.com/Execution" } } } }, "ExecutionView": { "values": { "EXECUTION_VIEW_UNSPECIFIED": 0, "BASIC": 1, "FULL": 2 } } } }, "v1beta": { "options": { "go_package": "cloud.google.com/go/workflows/executions/apiv1beta/executionspb;executionspb", "java_multiple_files": true, "java_outer_classname": "ExecutionsProto", "java_package": "com.google.cloud.workflows.executions.v1beta", "(google.api.resource_definition).type": "workflows.googleapis.com/Workflow", "(google.api.resource_definition).pattern": "projects/{project}/locations/{location}/workflows/{workflow}" }, "nested": { "Executions": { "options": { "(google.api.default_host)": "workflowexecutions.googleapis.com", "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform" }, "methods": { "ListExecutions": { "requestType": "ListExecutionsRequest", "responseType": "ListExecutionsResponse", "options": { "(google.api.http).get": "/v1beta/{parent=projects/*/locations/*/workflows/*}/executions", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1beta/{parent=projects/*/locations/*/workflows/*}/executions" } }, { "(google.api.method_signature)": "parent" } ] }, "CreateExecution": { "requestType": "CreateExecutionRequest", "responseType": "Execution", "options": { "(google.api.http).post": "/v1beta/{parent=projects/*/locations/*/workflows/*}/executions", "(google.api.http).body": "execution", "(google.api.method_signature)": "parent,execution" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1beta/{parent=projects/*/locations/*/workflows/*}/executions", "body": "execution" } }, { "(google.api.method_signature)": "parent,execution" } ] }, "GetExecution": { "requestType": "GetExecutionRequest", "responseType": "Execution", "options": { "(google.api.http).get": "/v1beta/{name=projects/*/locations/*/workflows/*/executions/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1beta/{name=projects/*/locations/*/workflows/*/executions/*}" } }, { "(google.api.method_signature)": "name" } ] }, "CancelExecution": { "requestType": "CancelExecutionRequest", "responseType": "Execution", "options": { "(google.api.http).post": "/v1beta/{name=projects/*/locations/*/workflows/*/executions/*}:cancel", "(google.api.http).body": "*", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1beta/{name=projects/*/locations/*/workflows/*/executions/*}:cancel", "body": "*" } }, { "(google.api.method_signature)": "name" } ] } } }, "Execution": { "options": { "(google.api.resource).type": "workflowexecutions.googleapis.com/Execution", "(google.api.resource).pattern": "projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}" }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "startTime": { "type": "google.protobuf.Timestamp", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "endTime": { "type": "google.protobuf.Timestamp", "id": 3, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "state": { "type": "State", "id": 4, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "argument": { "type": "string", "id": 5 }, "result": { "type": "string", "id": 6, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "error": { "type": "Error", "id": 7, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "workflowRevisionId": { "type": "string", "id": 8, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } }, "nested": { "Error": { "fields": { "payload": { "type": "string", "id": 1 }, "context": { "type": "string", "id": 2 } } }, "State": { "values": { "STATE_UNSPECIFIED": 0, "ACTIVE": 1, "SUCCEEDED": 2, "FAILED": 3, "CANCELLED": 4 } } } }, "ListExecutionsRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "workflows.googleapis.com/Workflow" } }, "pageSize": { "type": "int32", "id": 2 }, "pageToken": { "type": "string", "id": 3 }, "view": { "type": "ExecutionView", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "ListExecutionsResponse": { "fields": { "executions": { "rule": "repeated", "type": "Execution", "id": 1 }, "nextPageToken": { "type": "string", "id": 2 } } }, "CreateExecutionRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "workflows.googleapis.com/Workflow" } }, "execution": { "type": "Execution", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } } } }, "GetExecutionRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "workflowexecutions.googleapis.com/Execution" } }, "view": { "type": "ExecutionView", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "CancelExecutionRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "workflowexecutions.googleapis.com/Execution" } } } }, "ExecutionView": { "values": { "EXECUTION_VIEW_UNSPECIFIED": 0, "BASIC": 1, "FULL": 2 } } } } } }, "v1": { "options": { "go_package": "cloud.google.com/go/workflows/apiv1/workflowspb;workflowspb", "java_multiple_files": true, "java_outer_classname": "WorkflowsProto", "java_package": "com.google.cloud.workflows.v1", "(google.api.resource_definition).type": "cloudkms.googleapis.com/CryptoKeyVersion", "(google.api.resource_definition).pattern": "projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}" }, "nested": { "Workflows": { "options": { "(google.api.default_host)": "workflows.googleapis.com", "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform" }, "methods": { "ListWorkflows": { "requestType": "ListWorkflowsRequest", "responseType": "ListWorkflowsResponse", "options": { "(google.api.http).get": "/v1/{parent=projects/*/locations/*}/workflows", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*}/workflows" } }, { "(google.api.method_signature)": "parent" } ] }, "GetWorkflow": { "requestType": "GetWorkflowRequest", "responseType": "Workflow", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/workflows/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/workflows/*}" } }, { "(google.api.method_signature)": "name" } ] }, "CreateWorkflow": { "requestType": "CreateWorkflowRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).post": "/v1/{parent=projects/*/locations/*}/workflows", "(google.api.http).body": "workflow", "(google.api.method_signature)": "parent,workflow,workflow_id", "(google.longrunning.operation_info).response_type": "Workflow", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=projects/*/locations/*}/workflows", "body": "workflow" } }, { "(google.api.method_signature)": "parent,workflow,workflow_id" }, { "(google.longrunning.operation_info)": { "response_type": "Workflow", "metadata_type": "OperationMetadata" } } ] }, "DeleteWorkflow": { "requestType": "DeleteWorkflowRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).delete": "/v1/{name=projects/*/locations/*/workflows/*}", "(google.api.method_signature)": "name", "(google.longrunning.operation_info).response_type": "google.protobuf.Empty", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "delete": "/v1/{name=projects/*/locations/*/workflows/*}" } }, { "(google.api.method_signature)": "name" }, { "(google.longrunning.operation_info)": { "response_type": "google.protobuf.Empty", "metadata_type": "OperationMetadata" } } ] }, "UpdateWorkflow": { "requestType": "UpdateWorkflowRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).patch": "/v1/{workflow.name=projects/*/locations/*/workflows/*}", "(google.api.http).body": "workflow", "(google.api.method_signature)": "workflow,update_mask", "(google.longrunning.operation_info).response_type": "Workflow", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "patch": "/v1/{workflow.name=projects/*/locations/*/workflows/*}", "body": "workflow" } }, { "(google.api.method_signature)": "workflow,update_mask" }, { "(google.longrunning.operation_info)": { "response_type": "Workflow", "metadata_type": "OperationMetadata" } } ] }, "ListWorkflowRevisions": { "requestType": "ListWorkflowRevisionsRequest", "responseType": "ListWorkflowRevisionsResponse", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/workflows/*}:listRevisions" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/workflows/*}:listRevisions" } } ] } } }, "Workflow": { "options": { "(google.api.resource).type": "workflows.googleapis.com/Workflow", "(google.api.resource).pattern": "projects/{project}/locations/{location}/workflows/{workflow}" }, "oneofs": { "sourceCode": { "oneof": [ "sourceContents" ] } }, "fields": { "name": { "type": "string", "id": 1 }, "description": { "type": "string", "id": 2 }, "state": { "type": "State", "id": 3, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "revisionId": { "type": "string", "id": 4, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "createTime": { "type": "google.protobuf.Timestamp", "id": 5, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "updateTime": { "type": "google.protobuf.Timestamp", "id": 6, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "revisionCreateTime": { "type": "google.protobuf.Timestamp", "id": 7, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "labels": { "keyType": "string", "type": "string", "id": 8 }, "serviceAccount": { "type": "string", "id": 9 }, "sourceContents": { "type": "string", "id": 10 }, "cryptoKeyName": { "type": "string", "id": 11, "options": { "(google.api.field_behavior)": "OPTIONAL", "(google.api.resource_reference).type": "cloudkms.googleapis.com/CryptoKey" } }, "stateError": { "type": "StateError", "id": 12, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "callLogLevel": { "type": "CallLogLevel", "id": 13, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "userEnvVars": { "keyType": "string", "type": "string", "id": 14, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "executionHistoryLevel": { "type": "ExecutionHistoryLevel", "id": 15, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "allKmsKeys": { "rule": "repeated", "type": "string", "id": 16, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY", "(google.api.resource_reference).type": "cloudkms.googleapis.com/CryptoKey" } }, "allKmsKeysVersions": { "rule": "repeated", "type": "string", "id": 17, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY", "(google.api.resource_reference).type": "cloudkms.googleapis.com/CryptoKeyVersion" } }, "cryptoKeyVersion": { "type": "string", "id": 18, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY", "(google.api.resource_reference).type": "cloudkms.googleapis.com/CryptoKeyVersion" } }, "tags": { "keyType": "string", "type": "string", "id": 19, "options": { "(google.api.field_behavior)": "OPTIONAL" } } }, "nested": { "State": { "values": { "STATE_UNSPECIFIED": 0, "ACTIVE": 1, "UNAVAILABLE": 2 } }, "StateError": { "fields": { "details": { "type": "string", "id": 1 }, "type": { "type": "Type", "id": 2 } }, "nested": { "Type": { "values": { "TYPE_UNSPECIFIED": 0, "KMS_ERROR": 1 } } } }, "CallLogLevel": { "values": { "CALL_LOG_LEVEL_UNSPECIFIED": 0, "LOG_ALL_CALLS": 1, "LOG_ERRORS_ONLY": 2, "LOG_NONE": 3 } } } }, "ListWorkflowsRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "locations.googleapis.com/Location" } }, "pageSize": { "type": "int32", "id": 2 }, "pageToken": { "type": "string", "id": 3 }, "filter": { "type": "string", "id": 4 }, "orderBy": { "type": "string", "id": 5 } } }, "ListWorkflowsResponse": { "fields": { "workflows": {