Skip to content

Commit

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

The following keys were added:
- schemas.ParameterMetadata.properties.customMetadata.additionalProperties.type
- schemas.ParameterMetadata.properties.customMetadata.description
- schemas.ParameterMetadata.properties.customMetadata.type
- schemas.Snapshot.properties.region.description
- schemas.Snapshot.properties.region.type
  • Loading branch information
yoshi-automation authored and bcoe committed May 3, 2021
1 parent 929da70 commit 0ed2b79
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
13 changes: 12 additions & 1 deletion discovery/dataflow-v1b3.json
Expand Up @@ -2225,7 +2225,7 @@
}
}
},
"revision": "20210408",
"revision": "20210420",
"rootUrl": "https://dataflow.googleapis.com/",
"schemas": {
"ApproximateProgress": {
Expand Down Expand Up @@ -4603,6 +4603,13 @@
"description": "Metadata for a specific parameter.",
"id": "ParameterMetadata",
"properties": {
"customMetadata": {
"additionalProperties": {
"type": "string"
},
"description": "Optional. Additional metadata for describing this parameter.",
"type": "object"
},
"helpText": {
"description": "Required. The help text to display for the parameter.",
"type": "string"
Expand Down Expand Up @@ -5405,6 +5412,10 @@
},
"type": "array"
},
"region": {
"description": "Cloud region where this snapshot lives in, e.g., \"us-central1\".",
"type": "string"
},
"sourceJobId": {
"description": "The job this snapshot was created from.",
"type": "string"
Expand Down
12 changes: 12 additions & 0 deletions src/apis/dataflow/v1b3.ts
Expand Up @@ -1769,6 +1769,10 @@ export namespace dataflow_v1b3 {
* Metadata for a specific parameter.
*/
export interface Schema$ParameterMetadata {
/**
* Optional. Additional metadata for describing this parameter.
*/
customMetadata?: {[key: string]: string} | null;
/**
* Required. The help text to display for the parameter.
*/
Expand Down Expand Up @@ -2362,6 +2366,10 @@ export namespace dataflow_v1b3 {
* PubSub snapshot metadata.
*/
pubsubMetadata?: Schema$PubsubSnapshotMetadata[];
/**
* Cloud region where this snapshot lives in, e.g., "us-central1".
*/
region?: string | null;
/**
* The job this snapshot was created from.
*/
Expand Down Expand Up @@ -4759,6 +4767,7 @@ export namespace dataflow_v1b3 {
* // "id": "my_id",
* // "projectId": "my_projectId",
* // "pubsubMetadata": [],
* // "region": "my_region",
* // "sourceJobId": "my_sourceJobId",
* // "state": "my_state",
* // "ttl": "my_ttl"
Expand Down Expand Up @@ -7338,6 +7347,7 @@ export namespace dataflow_v1b3 {
* // "id": "my_id",
* // "projectId": "my_projectId",
* // "pubsubMetadata": [],
* // "region": "my_region",
* // "sourceJobId": "my_sourceJobId",
* // "state": "my_state",
* // "ttl": "my_ttl"
Expand Down Expand Up @@ -9267,6 +9277,7 @@ export namespace dataflow_v1b3 {
* // "id": "my_id",
* // "projectId": "my_projectId",
* // "pubsubMetadata": [],
* // "region": "my_region",
* // "sourceJobId": "my_sourceJobId",
* // "state": "my_state",
* // "ttl": "my_ttl"
Expand Down Expand Up @@ -10323,6 +10334,7 @@ export namespace dataflow_v1b3 {
* // "id": "my_id",
* // "projectId": "my_projectId",
* // "pubsubMetadata": [],
* // "region": "my_region",
* // "sourceJobId": "my_sourceJobId",
* // "state": "my_state",
* // "ttl": "my_ttl"
Expand Down

0 comments on commit 0ed2b79

Please sign in to comment.