Skip to content

Commit

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

The following keys were added:
- schemas.DomainConfig.description
- schemas.DomainConfig.id
- schemas.DomainConfig.properties.domain.description
- schemas.DomainConfig.properties.domain.type
- schemas.DomainConfig.type
- schemas.WorkstationCluster.properties.domainConfig.$ref
- schemas.WorkstationCluster.properties.domainConfig.description

The following keys were changed:
- resources.projects.resources.locations.resources.workstationClusters.methods.patch.parameters.name.description
- resources.projects.resources.locations.resources.workstationClusters.resources.workstationConfigs.methods.patch.parameters.name.description
- resources.projects.resources.locations.resources.workstationClusters.resources.workstationConfigs.resources.workstations.methods.patch.parameters.name.description
- schemas.GcePersistentDisk.properties.sourceSnapshot.description
- schemas.Workstation.properties.name.description
- schemas.WorkstationCluster.properties.name.description
- schemas.WorkstationConfig.properties.name.description

#### workstations:v1

The following keys were changed:
- resources.projects.resources.locations.resources.workstationClusters.methods.patch.parameters.name.description
- resources.projects.resources.locations.resources.workstationClusters.resources.workstationConfigs.methods.patch.parameters.name.description
- resources.projects.resources.locations.resources.workstationClusters.resources.workstationConfigs.resources.workstations.methods.patch.parameters.name.description
- schemas.Workstation.properties.name.description
- schemas.WorkstationCluster.properties.name.description
- schemas.WorkstationConfig.properties.name.description
  • Loading branch information
yoshi-automation authored and sofisl committed Oct 19, 2023
1 parent 33d0bdf commit fbbbf52
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 28 deletions.
14 changes: 7 additions & 7 deletions discovery/workstations-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@
"type": "boolean"
},
"name": {
"description": "Full name of this workstation cluster.",
"description": "Identifier. Full name of this workstation cluster.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+$",
"required": true,
Expand Down Expand Up @@ -710,7 +710,7 @@
"type": "boolean"
},
"name": {
"description": "Full name of this workstation configuration.",
"description": "Identifier. Full name of this workstation configuration.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+/workstationConfigs/[^/]+$",
"required": true,
Expand Down Expand Up @@ -1043,7 +1043,7 @@
"type": "boolean"
},
"name": {
"description": "Full name of this workstation.",
"description": "Identifier. Full name of this workstation.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+/workstationConfigs/[^/]+/workstations/[^/]+$",
"required": true,
Expand Down Expand Up @@ -1195,7 +1195,7 @@
}
}
},
"revision": "20230904",
"revision": "20231001",
"rootUrl": "https://workstations.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -2041,7 +2041,7 @@
"type": "object"
},
"name": {
"description": "Full name of this workstation.",
"description": "Identifier. Full name of this workstation.",
"type": "string"
},
"reconciling": {
Expand Down Expand Up @@ -2145,7 +2145,7 @@
"type": "object"
},
"name": {
"description": "Full name of this workstation cluster.",
"description": "Identifier. Full name of this workstation cluster.",
"type": "string"
},
"network": {
Expand Down Expand Up @@ -2248,7 +2248,7 @@
"type": "object"
},
"name": {
"description": "Full name of this workstation configuration.",
"description": "Identifier. Full name of this workstation configuration.",
"type": "string"
},
"persistentDirectories": {
Expand Down
31 changes: 23 additions & 8 deletions discovery/workstations-v1beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@
"type": "boolean"
},
"name": {
"description": "Full name of this workstation cluster.",
"description": "Identifier. Full name of this workstation cluster.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+$",
"required": true,
Expand Down Expand Up @@ -642,7 +642,7 @@
"type": "boolean"
},
"name": {
"description": "Full name of this workstation configuration.",
"description": "Identifier. Full name of this workstation configuration.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+/workstationConfigs/[^/]+$",
"required": true,
Expand Down Expand Up @@ -975,7 +975,7 @@
"type": "boolean"
},
"name": {
"description": "Full name of this workstation.",
"description": "Identifier. Full name of this workstation.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+/workstationConfigs/[^/]+/workstations/[^/]+$",
"required": true,
Expand Down Expand Up @@ -1127,7 +1127,7 @@
}
}
},
"revision": "20230904",
"revision": "20231011",
"rootUrl": "https://workstations.googleapis.com/",
"schemas": {
"Accelerator": {
Expand Down Expand Up @@ -1278,6 +1278,17 @@
},
"type": "object"
},
"DomainConfig": {
"description": "Configuration options for a custom domain.",
"id": "DomainConfig",
"properties": {
"domain": {
"description": "Immutable. Domain used by Workstations for HTTP ingress.",
"type": "string"
}
},
"type": "object"
},
"EphemeralDirectory": {
"description": "An ephemeral directory which won't persist across workstation sessions. It is freshly created on every workstation start operation.",
"id": "EphemeralDirectory",
Expand Down Expand Up @@ -1412,7 +1423,7 @@
"type": "string"
},
"sourceSnapshot": {
"description": "Optional. Name of the snapshot to use as the source for the disk. Must be empty if source_image is set. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted. This field is mutable.",
"description": "Optional. Name of the snapshot to use as the source for the disk. Must be empty if source_image is set. Must be empty if read_only is false. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted. This field is mutable.",
"type": "string"
}
},
Expand Down Expand Up @@ -1989,7 +2000,7 @@
"type": "object"
},
"name": {
"description": "Full name of this workstation.",
"description": "Identifier. Full name of this workstation.",
"type": "string"
},
"reconciling": {
Expand Down Expand Up @@ -2081,6 +2092,10 @@
"description": "Optional. Human-readable name for this workstation cluster.",
"type": "string"
},
"domainConfig": {
"$ref": "DomainConfig",
"description": "Optional. Configuration options for a custom domain."
},
"etag": {
"description": "Optional. Checksum computed by the server. May be sent on update and delete requests to make sure that the client has an up-to-date value before proceeding.",
"type": "string"
Expand All @@ -2093,7 +2108,7 @@
"type": "object"
},
"name": {
"description": "Full name of this workstation cluster.",
"description": "Identifier. Full name of this workstation cluster.",
"type": "string"
},
"network": {
Expand Down Expand Up @@ -2207,7 +2222,7 @@
"type": "object"
},
"name": {
"description": "Full name of this workstation configuration.",
"description": "Identifier. Full name of this workstation configuration.",
"type": "string"
},
"persistentDirectories": {
Expand Down
12 changes: 6 additions & 6 deletions src/apis/workstations/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ export namespace workstations_v1 {
*/
labels?: {[key: string]: string} | null;
/**
* Full name of this workstation.
* Identifier. Full name of this workstation.
*/
name?: string | null;
/**
Expand Down Expand Up @@ -807,7 +807,7 @@ export namespace workstations_v1 {
*/
labels?: {[key: string]: string} | null;
/**
* Full name of this workstation cluster.
* Identifier. Full name of this workstation cluster.
*/
name?: string | null;
/**
Expand Down Expand Up @@ -888,7 +888,7 @@ export namespace workstations_v1 {
*/
labels?: {[key: string]: string} | null;
/**
* Full name of this workstation configuration.
* Identifier. Full name of this workstation configuration.
*/
name?: string | null;
/**
Expand Down Expand Up @@ -2073,7 +2073,7 @@ export namespace workstations_v1 {
*/
allowMissing?: boolean;
/**
* Full name of this workstation cluster.
* Identifier. Full name of this workstation cluster.
*/
name?: string;
/**
Expand Down Expand Up @@ -3007,7 +3007,7 @@ export namespace workstations_v1 {
*/
allowMissing?: boolean;
/**
* Full name of this workstation configuration.
* Identifier. Full name of this workstation configuration.
*/
name?: string;
/**
Expand Down Expand Up @@ -4227,7 +4227,7 @@ export namespace workstations_v1 {
*/
allowMissing?: boolean;
/**
* Full name of this workstation.
* Identifier. Full name of this workstation.
*/
name?: string;
/**
Expand Down
27 changes: 20 additions & 7 deletions src/apis/workstations/v1beta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,15 @@ export namespace workstations_v1beta {
*/
kmsKeyServiceAccount?: string | null;
}
/**
* Configuration options for a custom domain.
*/
export interface Schema$DomainConfig {
/**
* Immutable. Domain used by Workstations for HTTP ingress.
*/
domain?: string | null;
}
/**
* An ephemeral directory which won't persist across workstation sessions. It is freshly created on every workstation start operation.
*/
Expand Down Expand Up @@ -339,7 +348,7 @@ export namespace workstations_v1beta {
*/
sourceImage?: string | null;
/**
* Optional. Name of the snapshot to use as the source for the disk. Must be empty if source_image is set. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted. This field is mutable.
* Optional. Name of the snapshot to use as the source for the disk. Must be empty if source_image is set. Must be empty if read_only is false. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted. This field is mutable.
*/
sourceSnapshot?: string | null;
}
Expand Down Expand Up @@ -759,7 +768,7 @@ export namespace workstations_v1beta {
*/
labels?: {[key: string]: string} | null;
/**
* Full name of this workstation.
* Identifier. Full name of this workstation.
*/
name?: string | null;
/**
Expand Down Expand Up @@ -815,6 +824,10 @@ export namespace workstations_v1beta {
* Optional. Human-readable name for this workstation cluster.
*/
displayName?: string | null;
/**
* Optional. Configuration options for a custom domain.
*/
domainConfig?: Schema$DomainConfig;
/**
* Optional. Checksum computed by the server. May be sent on update and delete requests to make sure that the client has an up-to-date value before proceeding.
*/
Expand All @@ -824,7 +837,7 @@ export namespace workstations_v1beta {
*/
labels?: {[key: string]: string} | null;
/**
* Full name of this workstation cluster.
* Identifier. Full name of this workstation cluster.
*/
name?: string | null;
/**
Expand Down Expand Up @@ -913,7 +926,7 @@ export namespace workstations_v1beta {
*/
labels?: {[key: string]: string} | null;
/**
* Full name of this workstation configuration.
* Identifier. Full name of this workstation configuration.
*/
name?: string | null;
/**
Expand Down Expand Up @@ -1898,7 +1911,7 @@ export namespace workstations_v1beta {
*/
allowMissing?: boolean;
/**
* Full name of this workstation cluster.
* Identifier. Full name of this workstation cluster.
*/
name?: string;
/**
Expand Down Expand Up @@ -2832,7 +2845,7 @@ export namespace workstations_v1beta {
*/
allowMissing?: boolean;
/**
* Full name of this workstation configuration.
* Identifier. Full name of this workstation configuration.
*/
name?: string;
/**
Expand Down Expand Up @@ -4056,7 +4069,7 @@ export namespace workstations_v1beta {
*/
allowMissing?: boolean;
/**
* Full name of this workstation.
* Identifier. Full name of this workstation.
*/
name?: string;
/**
Expand Down

0 comments on commit fbbbf52

Please sign in to comment.