Skip to content

Commit

Permalink
feat(dataflow)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.
#### dataflow:v1b3
The following keys were deleted:
- schemas.LaunchFlexTemplateParameter.properties.transformNameMappings.additionalProperties.type
- schemas.LaunchFlexTemplateParameter.properties.transformNameMappings.description
- schemas.LaunchFlexTemplateParameter.properties.transformNameMappings.type
- schemas.LaunchFlexTemplateParameter.properties.update.description
- schemas.LaunchFlexTemplateParameter.properties.update.type

The following keys were changed:
- schemas.LaunchFlexTemplateParameter.properties.jobName.description
  • Loading branch information
yoshi-automation authored and bcoe committed Nov 17, 2020
1 parent f387900 commit 6309919
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 22 deletions.
15 changes: 2 additions & 13 deletions discovery/dataflow-v1b3.json
Original file line number Diff line number Diff line change
Expand Up @@ -2443,7 +2443,7 @@
}
}
},
"revision": "20201106",
"revision": "20201023",
"rootUrl": "https://dataflow.googleapis.com/",
"schemas": {
"ApproximateProgress": {
Expand Down Expand Up @@ -4246,7 +4246,7 @@
"description": "The runtime environment for the FlexTemplate job"
},
"jobName": {
"description": "Required. The job name to use for the created job. For update job request, job name should be same as the existing running job.",
"description": "Required. The job name to use for the created job.",
"type": "string"
},
"launchOptions": {
Expand All @@ -4262,17 +4262,6 @@
},
"description": "The parameters for FlexTemplate. Ex. {\"num_workers\":\"5\"}",
"type": "object"
},
"transformNameMappings": {
"additionalProperties": {
"type": "string"
},
"description": "Users need to set transform_name_mappings Ex:{\"oldTransformName\":\"newTransformName\",...}'",
"type": "object"
},
"update": {
"description": "Set this to true if you are sending a request to update a running streaming job. When set, the job name should be the same as the running job.",
"type": "boolean"
}
},
"type": "object"
Expand Down
10 changes: 1 addition & 9 deletions src/apis/dataflow/v1b3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1385,7 +1385,7 @@ export namespace dataflow_v1b3 {
*/
environment?: Schema$FlexTemplateRuntimeEnvironment;
/**
* Required. The job name to use for the created job. For update job request, job name should be same as the existing running job.
* Required. The job name to use for the created job.
*/
jobName?: string | null;
/**
Expand All @@ -1396,14 +1396,6 @@ export namespace dataflow_v1b3 {
* The parameters for FlexTemplate. Ex. {"num_workers":"5"\}
*/
parameters?: {[key: string]: string} | null;
/**
* Users need to set transform_name_mappings Ex:{"oldTransformName":"newTransformName",...\}'
*/
transformNameMappings?: {[key: string]: string} | null;
/**
* Set this to true if you are sending a request to update a running streaming job. When set, the job name should be the same as the running job.
*/
update?: boolean | null;
}
/**
* A request to launch a Cloud Dataflow job from a FlexTemplate.
Expand Down

0 comments on commit 6309919

Please sign in to comment.