Skip to content

Commit

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

The following keys were added:
- schemas.BigQueryDestination.description
- schemas.BigQueryDestination.id
- schemas.BigQueryDestination.properties.createNewResultsTable.description
- schemas.BigQueryDestination.properties.createNewResultsTable.type
- schemas.BigQueryDestination.properties.destinationDataset.description
- schemas.BigQueryDestination.properties.destinationDataset.type
- schemas.BigQueryDestination.type
- schemas.Evaluation.properties.bigQueryDestination.$ref
- schemas.Evaluation.properties.bigQueryDestination.description
  • Loading branch information
yoshi-automation authored and bcoe committed Feb 2, 2024
1 parent 57e6cd8 commit a399523
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
21 changes: 20 additions & 1 deletion discovery/workloadmanager-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -707,9 +707,24 @@
}
}
},
"revision": "20231211",
"revision": "20240103",
"rootUrl": "https://workloadmanager.googleapis.com/",
"schemas": {
"BigQueryDestination": {
"description": "Message describing big query destination",
"id": "BigQueryDestination",
"properties": {
"createNewResultsTable": {
"description": "Optional. determine if results will be saved in a new table",
"type": "boolean"
},
"destinationDataset": {
"description": "Optional. destination dataset to save evaluation results",
"type": "string"
}
},
"type": "object"
},
"CancelOperationRequest": {
"description": "The request message for Operations.CancelOperation.",
"id": "CancelOperationRequest",
Expand All @@ -726,6 +741,10 @@
"description": "LINT.IfChange Message describing Evaluation object",
"id": "Evaluation",
"properties": {
"bigQueryDestination": {
"$ref": "BigQueryDestination",
"description": "Optional. BigQuery destination"
},
"createTime": {
"description": "Output only. [Output only] Create time stamp",
"format": "google-datetime",
Expand Down
17 changes: 17 additions & 0 deletions src/apis/workloadmanager/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,19 @@ export namespace workloadmanager_v1 {
}
}

/**
* Message describing big query destination
*/
export interface Schema$BigQueryDestination {
/**
* Optional. determine if results will be saved in a new table
*/
createNewResultsTable?: boolean | null;
/**
* Optional. destination dataset to save evaluation results
*/
destinationDataset?: string | null;
}
/**
* The request message for Operations.CancelOperation.
*/
Expand All @@ -136,6 +149,10 @@ export namespace workloadmanager_v1 {
* LINT.IfChange Message describing Evaluation object
*/
export interface Schema$Evaluation {
/**
* Optional. BigQuery destination
*/
bigQueryDestination?: Schema$BigQueryDestination;
/**
* Output only. [Output only] Create time stamp
*/
Expand Down

0 comments on commit a399523

Please sign in to comment.