Skip to content

Commit

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

The following keys were added:
- schemas.BatchOperationMetadata.description
- schemas.BatchOperationMetadata.id
- schemas.BatchOperationMetadata.properties.batch.description
- schemas.BatchOperationMetadata.properties.batch.type
- schemas.BatchOperationMetadata.properties.batchUuid.description
- schemas.BatchOperationMetadata.properties.batchUuid.type
- schemas.BatchOperationMetadata.properties.createTime.description
- schemas.BatchOperationMetadata.properties.createTime.format
- schemas.BatchOperationMetadata.properties.createTime.type
- schemas.BatchOperationMetadata.properties.description.description
- schemas.BatchOperationMetadata.properties.description.type
- schemas.BatchOperationMetadata.properties.doneTime.description
- schemas.BatchOperationMetadata.properties.doneTime.format
- schemas.BatchOperationMetadata.properties.doneTime.type
- schemas.BatchOperationMetadata.properties.labels.additionalProperties.type
- schemas.BatchOperationMetadata.properties.labels.description
- schemas.BatchOperationMetadata.properties.labels.type
- schemas.BatchOperationMetadata.properties.operationType.description
- schemas.BatchOperationMetadata.properties.operationType.enum
- schemas.BatchOperationMetadata.properties.operationType.enumDescriptions
- schemas.BatchOperationMetadata.properties.operationType.type
- schemas.BatchOperationMetadata.properties.warnings.description
- schemas.BatchOperationMetadata.properties.warnings.items.type
- schemas.BatchOperationMetadata.properties.warnings.type
- schemas.BatchOperationMetadata.type
  • Loading branch information
yoshi-automation authored and bcoe committed May 3, 2021
1 parent b0734c6 commit ada2b8d
Show file tree
Hide file tree
Showing 2 changed files with 93 additions and 1 deletion.
57 changes: 56 additions & 1 deletion discovery/dataproc-v1.json
Expand Up @@ -2260,7 +2260,7 @@
}
}
},
"revision": "20210406",
"revision": "20210421",
"rootUrl": "https://dataproc.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -2365,6 +2365,61 @@
},
"type": "object"
},
"BatchOperationMetadata": {
"description": "Metadata describing the Batch operation.",
"id": "BatchOperationMetadata",
"properties": {
"batch": {
"description": "Name of the batch for the operation.",
"type": "string"
},
"batchUuid": {
"description": "Batch UUID for the operation.",
"type": "string"
},
"createTime": {
"description": "The time when the operation was created.",
"format": "google-datetime",
"type": "string"
},
"description": {
"description": "Short description of the operation.",
"type": "string"
},
"doneTime": {
"description": "The time when the operation was finished.",
"format": "google-datetime",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels associated with the operation.",
"type": "object"
},
"operationType": {
"description": "The operation type.",
"enum": [
"BATCH_OPERATION_TYPE_UNSPECIFIED",
"BATCH"
],
"enumDescriptions": [
"Batch operation type is unknown.",
"Batch operation type."
],
"type": "string"
},
"warnings": {
"description": "Warnings encountered during operation execution.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Binding": {
"description": "Associates members with a role.",
"id": "Binding",
Expand Down
37 changes: 37 additions & 0 deletions src/apis/dataproc/v1.ts
Expand Up @@ -207,6 +207,43 @@ export namespace dataproc_v1 {
*/
scaleUpMinWorkerFraction?: number | null;
}
/**
* Metadata describing the Batch operation.
*/
export interface Schema$BatchOperationMetadata {
/**
* Name of the batch for the operation.
*/
batch?: string | null;
/**
* Batch UUID for the operation.
*/
batchUuid?: string | null;
/**
* The time when the operation was created.
*/
createTime?: string | null;
/**
* Short description of the operation.
*/
description?: string | null;
/**
* The time when the operation was finished.
*/
doneTime?: string | null;
/**
* Labels associated with the operation.
*/
labels?: {[key: string]: string} | null;
/**
* The operation type.
*/
operationType?: string | null;
/**
* Warnings encountered during operation execution.
*/
warnings?: string[] | null;
}
/**
* Associates members with a role.
*/
Expand Down

0 comments on commit ada2b8d

Please sign in to comment.