Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(workflows): start generating apiv1 #6008

Merged
merged 1 commit into from May 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.