Skip to content

Commit

Permalink
feat(container): update the API
Browse files Browse the repository at this point in the history
#### container:v1beta1
The following keys were added:
- schemas.EphemeralStorageConfig.description
- schemas.EphemeralStorageConfig.id
- schemas.EphemeralStorageConfig.properties.localSsdCount.description
- schemas.EphemeralStorageConfig.properties.localSsdCount.format
- schemas.EphemeralStorageConfig.properties.localSsdCount.type
- schemas.EphemeralStorageConfig.type
- schemas.NodeConfig.properties.ephemeralStorageConfig.$ref
- schemas.NodeConfig.properties.ephemeralStorageConfig.description
  • Loading branch information
yoshi-automation authored and sofisl committed Nov 11, 2020
1 parent 6130577 commit f6ef239
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
18 changes: 17 additions & 1 deletion discovery/container-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2484,7 +2484,7 @@
}
}
},
"revision": "20201007",
"revision": "20201029",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -3385,6 +3385,18 @@
"properties": {},
"type": "object"
},
"EphemeralStorageConfig": {
"description": "EphemeralStorageConfig contains configuration for the ephemeral storage filesystem.",
"id": "EphemeralStorageConfig",
"properties": {
"localSsdCount": {
"description": "Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means to disable using local SSDs as ephemeral storage.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GcePersistentDiskCsiDriverConfig": {
"description": "Configuration for the Compute Engine PD CSI driver. This option can only be enabled at cluster creation time.",
"id": "GcePersistentDiskCsiDriverConfig",
Expand Down Expand Up @@ -4041,6 +4053,10 @@
"description": "Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If unspecified, the default disk type is 'pd-standard'",
"type": "string"
},
"ephemeralStorageConfig": {
"$ref": "EphemeralStorageConfig",
"description": "Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk."
},
"imageType": {
"description": "The image type to use for this node. Note that for a given image type, the latest version of it will be used.",
"type": "string"
Expand Down
13 changes: 13 additions & 0 deletions src/apis/container/v1beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,15 @@ export namespace container_v1beta1 {
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} The JSON representation for `Empty` is empty JSON object `{\}`.
*/
export interface Schema$Empty {}
/**
* EphemeralStorageConfig contains configuration for the ephemeral storage filesystem.
*/
export interface Schema$EphemeralStorageConfig {
/**
* Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means to disable using local SSDs as ephemeral storage.
*/
localSsdCount?: number | null;
}
/**
* Configuration for the Compute Engine PD CSI driver. This option can only be enabled at cluster creation time.
*/
Expand Down Expand Up @@ -1367,6 +1376,10 @@ export namespace container_v1beta1 {
* Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If unspecified, the default disk type is 'pd-standard'
*/
diskType?: string | null;
/**
* Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk.
*/
ephemeralStorageConfig?: Schema$EphemeralStorageConfig;
/**
* The image type to use for this node. Note that for a given image type, the latest version of it will be used.
*/
Expand Down

0 comments on commit f6ef239

Please sign in to comment.