Skip to content

Commit

Permalink
feat(workflows): update the API
Browse files Browse the repository at this point in the history
#### workflows:v1

The following keys were added:
- resources.projects.resources.locations.resources.workflows.methods.get.parameters.revisionId.description
- resources.projects.resources.locations.resources.workflows.methods.get.parameters.revisionId.location
- resources.projects.resources.locations.resources.workflows.methods.get.parameters.revisionId.type
  • Loading branch information
yoshi-automation authored and sofisl committed Feb 9, 2023
1 parent 444f5cf commit 1ed85b8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
7 changes: 6 additions & 1 deletion discovery/workflows-v1.json
Expand Up @@ -347,6 +347,11 @@
"pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+$",
"required": true,
"type": "string"
},
"revisionId": {
"description": "Optional. Optional. The revision of the workflow to retrieve. If the revision_id is empty, the latest revision is retrieved. The format is \"000001-a4d\", where the first 6 characters define the zero-padded decimal revision number. They are followed by a hyphen and 3 hexadecimal characters. (go/wf_adr_clh_1)",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
Expand Down Expand Up @@ -444,7 +449,7 @@
}
}
},
"revision": "20221208",
"revision": "20230125",
"rootUrl": "https://workflows.googleapis.com/",
"schemas": {
"Empty": {
Expand Down
6 changes: 6 additions & 0 deletions src/apis/workflows/v1.ts
Expand Up @@ -1382,6 +1382,8 @@ export namespace workflows_v1 {
* const res = await workflows.projects.locations.workflows.get({
* // Required. Name of the workflow for which information should be retrieved. Format: projects/{project\}/locations/{location\}/workflows/{workflow\}
* name: 'projects/my-project/locations/my-location/workflows/my-workflow',
* // Optional. Optional. The revision of the workflow to retrieve. If the revision_id is empty, the latest revision is retrieved. The format is "000001-a4d", where the first 6 characters define the zero-padded decimal revision number. They are followed by a hyphen and 3 hexadecimal characters. (go/wf_adr_clh_1)
* revisionId: 'placeholder-value',
* });
* console.log(res.data);
*
Expand Down Expand Up @@ -1811,6 +1813,10 @@ export namespace workflows_v1 {
* Required. Name of the workflow for which information should be retrieved. Format: projects/{project\}/locations/{location\}/workflows/{workflow\}
*/
name?: string;
/**
* Optional. Optional. The revision of the workflow to retrieve. If the revision_id is empty, the latest revision is retrieved. The format is "000001-a4d", where the first 6 characters define the zero-padded decimal revision number. They are followed by a hyphen and 3 hexadecimal characters. (go/wf_adr_clh_1)
*/
revisionId?: string;
}
export interface Params$Resource$Projects$Locations$Workflows$List
extends StandardParameters {
Expand Down

0 comments on commit 1ed85b8

Please sign in to comment.