UNPKG

@google-cloud/workflows

Version:
1,272 lines (1,271 loc) 87.6 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 } } } } } } } } } }, "api": { "options": { "go_package": "google.golang.org/genproto/googleapis/api/annotations;annotations", "java_multiple_files": true, "java_outer_classname": "ResourceProto", "java_package": "com.google.api", "objc_class_prefix": "GAPI", "cc_enable_arenas": true }, "nested": { "http": { "type": "HttpRule", "id": 72295728, "extend": "google.protobuf.MethodOptions" }, "Http": { "fields": { "rules": { "rule": "repeated", "type": "HttpRule", "id": 1 }, "fullyDecodeReservedExpansion": { "type": "bool", "id": 2 } } }, "HttpRule": { "oneofs": { "pattern": { "oneof": [ "get", "put", "post", "delete", "patch", "custom" ] } }, "fields": { "selector": { "type": "string", "id": 1 }, "get": { "type": "string", "id": 2 }, "put": { "type": "string", "id": 3 }, "post": { "type": "string", "id": 4 }, "delete": { "type": "string", "id": 5 }, "patch": { "type": "string", "id": 6 }, "custom": { "type": "CustomHttpPattern", "id": 8 }, "body": { "type": "string", "id": 7 }, "responseBody": { "type": "string", "id": 12 }, "additionalBindings": { "rule": "repeated", "type": "HttpRule", "id": 11 } } }, "CustomHttpPattern": { "fields": { "kind": { "type": "string", "id": 1 }, "path": { "type": "string", "id": 2 } } }, "methodSignature": { "rule": "repeated", "type": "string", "id": 1051, "extend": "google.protobuf.MethodOptions" }, "defaultHost": { "type": "string", "id": 1049, "extend": "google.protobuf.ServiceOptions" }, "oauthScopes": { "type": "string", "id": 1050, "extend": "google.protobuf.ServiceOptions" }, "apiVersion": { "type": "string", "id": 525000001, "extend": "google.protobuf.ServiceOptions" }, "CommonLanguageSettings": { "fields": { "referenceDocsUri": { "type": "string", "id": 1, "options": { "deprecated": true } }, "destinations": { "rule": "repeated", "type": "ClientLibraryDestination", "id": 2 } } }, "ClientLibrarySettings": { "fields": { "version": { "type": "string", "id": 1 }, "launchStage": { "type": "LaunchStage", "id": 2 }, "restNumericEnums": { "type": "bool", "id": 3 }, "javaSettings": { "type": "JavaSettings", "id": 21 }, "cppSettings": { "type": "CppSettings", "id": 22 }, "phpSettings": { "type": "PhpSettings", "id": 23 }, "pythonSettings": { "type": "PythonSettings", "id": 24 }, "nodeSettings": { "type": "NodeSettings", "id": 25 }, "dotnetSettings": { "type": "DotnetSettings", "id": 26 }, "rubySettings": { "type": "RubySettings", "id": 27 }, "goSettings": { "type": "GoSettings", "id": 28 } } }, "Publishing": { "fields": { "methodSettings": { "rule": "repeated", "type": "MethodSettings", "id": 2 }, "newIssueUri": { "type": "string", "id": 101 }, "documentationUri": { "type": "string", "id": 102 }, "apiShortName": { "type": "string", "id": 103 }, "githubLabel": { "type": "string", "id": 104 }, "codeownerGithubTeams": { "rule": "repeated", "type": "string", "id": 105 }, "docTagPrefix": { "type": "string", "id": 106 }, "organization": { "type": "ClientLibraryOrganization", "id": 107 }, "librarySettings": { "rule": "repeated", "type": "ClientLibrarySettings", "id": 109 }, "protoReferenceDocumentationUri": { "type": "string", "id": 110 }, "restReferenceDocumentationUri": { "type": "string", "id": 111 } } }, "JavaSettings": { "fields": { "libraryPackage": { "type": "string", "id": 1 }, "serviceClassNames": { "keyType": "string", "type": "string", "id": 2 }, "common": { "type": "CommonLanguageSettings", "id": 3 } } }, "CppSettings": { "fields": { "common": { "type": "CommonLanguageSettings", "id": 1 } } }, "PhpSettings": { "fields": { "common": { "type": "CommonLanguageSettings", "id": 1 } } }, "PythonSettings": { "fields": { "common": { "type": "CommonLanguageSettings", "id": 1 } } }, "NodeSettings": { "fields": { "common": { "type": "CommonLanguageSettings", "id": 1 } } }, "DotnetSettings": { "fields": { "common": { "type": "CommonLanguageSettings", "id": 1 }, "renamedServices": { "keyType": "string", "type": "string", "id": 2 }, "renamedResources": { "keyType": "string", "type": "string", "id": 3 }, "ignoredResources": { "rule": "repeated", "type": "string", "id": 4 }, "forcedNamespaceAliases": { "rule": "repeated", "type": "string", "id": 5 }, "handwrittenSignatures": { "rule": "repeated", "type": "string", "id": 6 } } }, "RubySettings": { "fields": { "common": { "type": "CommonLanguageSettings", "id": 1 } } }, "GoSettings": { "fields": { "common": { "type": "CommonLanguageSettings", "id": 1 } } }, "MethodSettings": { "fields": { "selector": { "type": "string", "id": 1 }, "longRunning": { "type": "LongRunning", "id": 2 }, "autoPopulatedFields": { "rule": "repeated", "type": "string", "id": 3 } }, "nested": { "LongRunning": { "fields": { "initialPollDelay": { "type": "google.protobuf.Duration", "id": 1 }, "pollDelayMultiplier": { "type": "float", "id": 2 }, "maxPollDelay": { "type": "google.protobuf.Duration", "id": 3 }, "totalPollTimeout": { "type": "google.protobuf.Duration", "id": 4 } } } } }, "ClientLibraryOrganization": { "values": { "CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED": 0, "CLOUD": 1, "ADS": 2, "PHOTOS": 3, "STREET_VIEW": 4, "SHOPPING": 5, "GEO": 6, "GENERATIVE_AI": 7 } }, "ClientLibraryDestination": { "values": { "CLIENT_LIBRARY_DESTINATION_UNSPECIFIED": 0, "GITHUB": 10, "PACKAGE_MANAGER": 20 } }, "LaunchStage": { "values": { "LAUNCH_STAGE_UNSPECIFIED": 0, "UNIMPLEMENTED": 6, "PRELAUNCH": 7, "EARLY_ACCESS": 1, "ALPHA": 2, "BETA": 3, "GA": 4, "DEPRECATED": 5 } }, "fieldBehavior": { "rule": "repeated", "type": "google.api.FieldBehavior", "id": 1052, "extend": "google.protobuf.FieldOptions", "options": { "packed": false } }, "FieldBehavior": { "values": { "FIELD_BEHAVIOR_UNSPECIFIED": 0, "OPTIONAL": 1, "REQUIRED": 2, "OUTPUT_ONLY": 3, "INPUT_ONLY": 4, "IMMUTABLE": 5, "UNORDERED_LIST": 6, "NON_EMPTY_DEFAULT": 7, "IDENTIFIER": 8 } }, "resourceReference": { "type": "google.api.ResourceReference", "id": 1055, "extend": "google.protobuf.FieldOptions" }, "resourceDefinition": { "rule": "repeated", "type": "google.api.ResourceDescriptor", "id": 1053, "extend": "google.protobuf.FileOptions" }, "resource": { "type": "google.api.ResourceDescriptor", "id": 1053, "extend": "google.protobuf.MessageOptions" }, "ResourceDescriptor": { "fields": { "type": { "type": "string", "id": 1 }, "pattern": { "rule": "repeated", "type": "string", "id": 2 }, "nameField": { "type": "string", "id": 3 }, "history": { "type": "History", "id": 4 }, "plural": { "type": "string", "id": 5 }, "singular": { "type": "string", "id": 6 }, "style": { "rule": "repeated", "type": "Style", "id": 10 } }, "nested": { "History": { "values": { "HISTORY_UNSPECIFIED": 0, "ORIGINALLY_SINGLE_PATTERN": 1, "FUTURE_MULTI_PATTERN": 2 } }, "Style": { "values": { "STYLE_UNSPECIFIED": 0, "DECLARATIVE_FRIENDLY": 1 } } } }, "ResourceReference": { "fields": { "type": { "type": "string", "id": 1 }, "childType": { "type": "string", "id": 2 } } } } }, "protobuf": { "options": { "go_package": "google.golang.org/protobuf/types/descriptorpb", "java_package": "com.google.protobuf", "java_outer_classname": "DescriptorProtos", "csharp_namespace": "Google.Protobuf.Reflection", "objc_class_prefix": "GPB", "cc_enable_arenas": true, "optimize_for": "SPEED" }, "nested": { "FileDescriptorSet": { "edition": "proto2", "fields": { "file": { "rule": "repeated", "type": "FileDescriptorProto", "id": 1 } } }, "Edition": { "edition": "proto2", "values": { "EDITION_UNKNOWN": 0, "EDITION_PROTO2": 998, "EDITION_PROTO3": 999, "EDITION_2023": 1000, "EDITION_2024": 1001, "EDITION_1_TEST_ONLY": 1, "EDITION_2_TEST_ONLY": 2, "EDITION_99997_TEST_ONLY": 99997, "EDITION_99998_TEST_ONLY": 99998, "EDITION_99999_TEST_ONLY": 99999, "EDITION_MAX": 2147483647 } }, "FileDescriptorProto": { "edition": "proto2", "fields": { "name": { "type": "string", "id": 1 }, "package": { "type": "string", "id": 2 }, "dependency": { "rule": "repeated", "type": "string", "id": 3 }, "publicDependency": { "rule": "repeated",