Skip to content

Commit

Permalink
feat(workflows): start generating apiv1 (#6008)
Browse files Browse the repository at this point in the history
closes: #5962
  • Loading branch information
quartzmo committed May 6, 2022
1 parent 1084ab1 commit 41540c4
Show file tree
Hide file tree
Showing 9 changed files with 1,055 additions and 4 deletions.
9 changes: 9 additions & 0 deletions internal/.repo-metadata-full.json
Expand Up @@ -1682,6 +1682,15 @@
"release_level": "ga",
"library_type": ""
},
"cloud.google.com/go/workflows/apiv1": {
"distribution_name": "cloud.google.com/go/workflows/apiv1",
"description": "Workflows API",
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/workflows/latest/apiv1",
"release_level": "beta",
"library_type": ""
},
"cloud.google.com/go/workflows/apiv1beta": {
"distribution_name": "cloud.google.com/go/workflows/apiv1beta",
"description": "Workflows API",
Expand Down
9 changes: 9 additions & 0 deletions internal/gapicgen/generator/config.go
Expand Up @@ -1445,6 +1445,15 @@ var MicrogenGapicConfigs = []*MicrogenConfig{
// GA after 2022/06/05
ReleaseLevel: "beta",
},
{
InputDirectoryPath: "google/cloud/workflows/v1",
Pkg: "workflows",
ImportPath: "cloud.google.com/go/workflows/apiv1",
GRPCServiceConfigPath: "workflows_grpc_service_config.json",
ApiServiceConfigPath: "workflows_v1.yaml",
// GA after 2022/06/05
ReleaseLevel: "beta",
},

// Non-Cloud APIs
{
Expand Down
168 changes: 168 additions & 0 deletions workflows/apiv1/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 43 additions & 0 deletions workflows/apiv1/gapic_metadata.json
@@ -0,0 +1,43 @@
{
"schema": "1.0",
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods.",
"language": "go",
"protoPackage": "google.cloud.workflows.v1",
"libraryPackage": "cloud.google.com/go/workflows/apiv1",
"services": {
"Workflows": {
"clients": {
"grpc": {
"libraryClient": "Client",
"rpcs": {
"CreateWorkflow": {
"methods": [
"CreateWorkflow"
]
},
"DeleteWorkflow": {
"methods": [
"DeleteWorkflow"
]
},
"GetWorkflow": {
"methods": [
"GetWorkflow"
]
},
"ListWorkflows": {
"methods": [
"ListWorkflows"
]
},
"UpdateWorkflow": {
"methods": [
"UpdateWorkflow"
]
}
}
}
}
}
}
}
23 changes: 23 additions & 0 deletions workflows/apiv1/version.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 41540c4

Please sign in to comment.