Skip to content

Commit 332cca5

Browse files
yoshi-automationsofisl
authored andcommitted
fix(workstations): update the API
#### workstations:v1beta The following keys were changed: - schemas.BoostConfig.properties.id.description - schemas.Workstation.properties.boostConfigs.description - schemas.WorkstationBoostConfig.description - schemas.WorkstationBoostConfig.properties.id.description - schemas.WorkstationConfig.properties.enableAuditAgent.description - schemas.WorkstationConfig.properties.maxUsableWorkstations.description #### workstations:v1 The following keys were changed: - schemas.WorkstationConfig.properties.enableAuditAgent.description - schemas.WorkstationConfig.properties.maxUsableWorkstations.description
1 parent 3a83269 commit 332cca5

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

discovery/workstations-v1.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,7 @@
11951195
}
11961196
}
11971197
},
1198-
"revision": "20240820",
1198+
"revision": "20240904",
11991199
"rootUrl": "https://workstations.googleapis.com/",
12001200
"schemas": {
12011201
"Accelerator": {
@@ -2356,7 +2356,7 @@
23562356
"type": "string"
23572357
},
23582358
"enableAuditAgent": {
2359-
"description": "Optional. Whether to enable Linux `auditd` logging on the workstation. When enabled, a service_account must also be specified that has `roles/logging.logWriter` and `roles/monitoring.metricWriter` on the project. Operating system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging) and [Container output logging](http://cloud/workstations/docs/container-output-logging#overview). Operating system audit logs are available in the [Cloud Logging](https://cloud.google.com/logging/docs) console by querying: resource.type=\"gce_instance\" log_name:\"/logs/linux-auditd\"",
2359+
"description": "Optional. Whether to enable Linux `auditd` logging on the workstation. When enabled, a service_account must also be specified that has `roles/logging.logWriter` and `roles/monitoring.metricWriter` on the project. Operating system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging) and [Container output logging](https://cloud.google.com/workstations/docs/container-output-logging#overview). Operating system audit logs are available in the [Cloud Logging](https://cloud.google.com/logging/docs) console by querying: resource.type=\"gce_instance\" log_name:\"/logs/linux-auditd\"",
23602360
"type": "boolean"
23612361
},
23622362
"encryptionKey": {
@@ -2395,7 +2395,7 @@
23952395
"type": "object"
23962396
},
23972397
"maxUsableWorkstations": {
2398-
"description": "Optional. Maximum number of workstations under this config a user can have `workstations.workstation.use` permission on. Only enforced on CreateWorkstation API calls on the user issuing the API request. Can be overridden by: - granting a user workstations.workstationConfigs.exemptMaxUsableWorkstationLimit permission, or - having a user with that permission create a workstation and granting another user `workstations.workstation.use` permission on that workstation. If not specified defaults to 0 which indicates unlimited.",
2398+
"description": "Optional. Maximum number of workstations under this configuration a user can have `workstations.workstation.use` permission on. Only enforced on CreateWorkstation API calls on the user issuing the API request. Can be overridden by: - granting a user workstations.workstationConfigs.exemptMaxUsableWorkstationLimit permission, or - having a user with that permission create a workstation and granting another user `workstations.workstation.use` permission on that workstation. If not specified, defaults to `0`, which indicates unlimited.",
23992399
"format": "int32",
24002400
"type": "integer"
24012401
},

discovery/workstations-v1beta.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,7 @@
11271127
}
11281128
}
11291129
},
1130-
"revision": "20240820",
1130+
"revision": "20240904",
11311131
"rootUrl": "https://workstations.googleapis.com/",
11321132
"schemas": {
11331133
"Accelerator": {
@@ -1237,7 +1237,7 @@
12371237
"type": "boolean"
12381238
},
12391239
"id": {
1240-
"description": "Optional. Required. The id to be used for the boost config.",
1240+
"description": "Optional. Required. The id to be used for the boost configuration.",
12411241
"type": "string"
12421242
},
12431243
"machineType": {
@@ -2052,7 +2052,7 @@
20522052
"type": "object"
20532053
},
20542054
"boostConfigs": {
2055-
"description": "Output only. List of available boost configuration ids that this workstation can be boosted up to",
2055+
"description": "Output only. List of available boost configuration IDs that this workstation can be boosted up to.",
20562056
"items": {
20572057
"$ref": "WorkstationBoostConfig"
20582058
},
@@ -2166,11 +2166,11 @@
21662166
"type": "object"
21672167
},
21682168
"WorkstationBoostConfig": {
2169-
"description": "Boost config for this workstation. This object is populated from the parent workstation config.",
2169+
"description": "Boost configuration for this workstation. This object is populated from the parent workstation configuration.",
21702170
"id": "WorkstationBoostConfig",
21712171
"properties": {
21722172
"id": {
2173-
"description": "Output only. Boost config id.",
2173+
"description": "Output only. Boost configuration ID.",
21742174
"readOnly": true,
21752175
"type": "string"
21762176
}
@@ -2338,7 +2338,7 @@
23382338
"type": "string"
23392339
},
23402340
"enableAuditAgent": {
2341-
"description": "Optional. Whether to enable Linux `auditd` logging on the workstation. When enabled, a service_account must also be specified that has `roles/logging.logWriter` and `roles/monitoring.metricWriter` on the project. Operating system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging) and [Container output logging](http://cloud/workstations/docs/container-output-logging#overview). Operating system audit logs are available in the [Cloud Logging](https://cloud.google.com/logging/docs) console by querying: resource.type=\"gce_instance\" log_name:\"/logs/linux-auditd\"",
2341+
"description": "Optional. Whether to enable Linux `auditd` logging on the workstation. When enabled, a service_account must also be specified that has `roles/logging.logWriter` and `roles/monitoring.metricWriter` on the project. Operating system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging) and [Container output logging](https://cloud.google.com/workstations/docs/container-output-logging#overview). Operating system audit logs are available in the [Cloud Logging](https://cloud.google.com/logging/docs) console by querying: resource.type=\"gce_instance\" log_name:\"/logs/linux-auditd\"",
23422342
"type": "boolean"
23432343
},
23442344
"encryptionKey": {
@@ -2381,7 +2381,7 @@
23812381
"type": "object"
23822382
},
23832383
"maxUsableWorkstations": {
2384-
"description": "Optional. Maximum number of workstations under this config a user can have `workstations.workstation.use` permission on. Only enforced on CreateWorkstation API calls on the user issuing the API request. Can be overridden by: - granting a user workstations.workstationConfigs.exemptMaxUsableWorkstationLimit permission, or - having a user with that permission create a workstation and granting another user `workstations.workstation.use` permission on that workstation. If not specified defaults to 0 which indicates unlimited.",
2384+
"description": "Optional. Maximum number of workstations under this configuration a user can have `workstations.workstation.use` permission on. Only enforced on CreateWorkstation API calls on the user issuing the API request. Can be overridden by: - granting a user workstations.workstationConfigs.exemptMaxUsableWorkstationLimit permission, or - having a user with that permission create a workstation and granting another user `workstations.workstation.use` permission on that workstation. If not specified, defaults to `0`, which indicates unlimited.",
23852385
"format": "int32",
23862386
"type": "integer"
23872387
},

src/apis/workstations/v1.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ export namespace workstations_v1 {
973973
*/
974974
displayName?: string | null;
975975
/**
976-
* Optional. Whether to enable Linux `auditd` logging on the workstation. When enabled, a service_account must also be specified that has `roles/logging.logWriter` and `roles/monitoring.metricWriter` on the project. Operating system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging) and [Container output logging](http://cloud/workstations/docs/container-output-logging#overview). Operating system audit logs are available in the [Cloud Logging](https://cloud.google.com/logging/docs) console by querying: resource.type="gce_instance" log_name:"/logs/linux-auditd"
976+
* Optional. Whether to enable Linux `auditd` logging on the workstation. When enabled, a service_account must also be specified that has `roles/logging.logWriter` and `roles/monitoring.metricWriter` on the project. Operating system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging) and [Container output logging](https://cloud.google.com/workstations/docs/container-output-logging#overview). Operating system audit logs are available in the [Cloud Logging](https://cloud.google.com/logging/docs) console by querying: resource.type="gce_instance" log_name:"/logs/linux-auditd"
977977
*/
978978
enableAuditAgent?: boolean | null;
979979
/**
@@ -1005,7 +1005,7 @@ export namespace workstations_v1 {
10051005
*/
10061006
labels?: {[key: string]: string} | null;
10071007
/**
1008-
* Optional. Maximum number of workstations under this config a user can have `workstations.workstation.use` permission on. Only enforced on CreateWorkstation API calls on the user issuing the API request. Can be overridden by: - granting a user workstations.workstationConfigs.exemptMaxUsableWorkstationLimit permission, or - having a user with that permission create a workstation and granting another user `workstations.workstation.use` permission on that workstation. If not specified defaults to 0 which indicates unlimited.
1008+
* Optional. Maximum number of workstations under this configuration a user can have `workstations.workstation.use` permission on. Only enforced on CreateWorkstation API calls on the user issuing the API request. Can be overridden by: - granting a user workstations.workstationConfigs.exemptMaxUsableWorkstationLimit permission, or - having a user with that permission create a workstation and granting another user `workstations.workstation.use` permission on that workstation. If not specified, defaults to `0`, which indicates unlimited.
10091009
*/
10101010
maxUsableWorkstations?: number | null;
10111011
/**

src/apis/workstations/v1beta.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export namespace workstations_v1beta {
197197
*/
198198
enableNestedVirtualization?: boolean | null;
199199
/**
200-
* Optional. Required. The id to be used for the boost config.
200+
* Optional. Required. The id to be used for the boost configuration.
201201
*/
202202
id?: string | null;
203203
/**
@@ -811,7 +811,7 @@ export namespace workstations_v1beta {
811811
*/
812812
annotations?: {[key: string]: string} | null;
813813
/**
814-
* Output only. List of available boost configuration ids that this workstation can be boosted up to
814+
* Output only. List of available boost configuration IDs that this workstation can be boosted up to.
815815
*/
816816
boostConfigs?: Schema$WorkstationBoostConfig[];
817817
/**
@@ -884,11 +884,11 @@ export namespace workstations_v1beta {
884884
updateTime?: string | null;
885885
}
886886
/**
887-
* Boost config for this workstation. This object is populated from the parent workstation config.
887+
* Boost configuration for this workstation. This object is populated from the parent workstation configuration.
888888
*/
889889
export interface Schema$WorkstationBoostConfig {
890890
/**
891-
* Output only. Boost config id.
891+
* Output only. Boost configuration ID.
892892
*/
893893
id?: string | null;
894894
}
@@ -1014,7 +1014,7 @@ export namespace workstations_v1beta {
10141014
*/
10151015
displayName?: string | null;
10161016
/**
1017-
* Optional. Whether to enable Linux `auditd` logging on the workstation. When enabled, a service_account must also be specified that has `roles/logging.logWriter` and `roles/monitoring.metricWriter` on the project. Operating system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging) and [Container output logging](http://cloud/workstations/docs/container-output-logging#overview). Operating system audit logs are available in the [Cloud Logging](https://cloud.google.com/logging/docs) console by querying: resource.type="gce_instance" log_name:"/logs/linux-auditd"
1017+
* Optional. Whether to enable Linux `auditd` logging on the workstation. When enabled, a service_account must also be specified that has `roles/logging.logWriter` and `roles/monitoring.metricWriter` on the project. Operating system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging) and [Container output logging](https://cloud.google.com/workstations/docs/container-output-logging#overview). Operating system audit logs are available in the [Cloud Logging](https://cloud.google.com/logging/docs) console by querying: resource.type="gce_instance" log_name:"/logs/linux-auditd"
10181018
*/
10191019
enableAuditAgent?: boolean | null;
10201020
/**
@@ -1050,7 +1050,7 @@ export namespace workstations_v1beta {
10501050
*/
10511051
labels?: {[key: string]: string} | null;
10521052
/**
1053-
* Optional. Maximum number of workstations under this config a user can have `workstations.workstation.use` permission on. Only enforced on CreateWorkstation API calls on the user issuing the API request. Can be overridden by: - granting a user workstations.workstationConfigs.exemptMaxUsableWorkstationLimit permission, or - having a user with that permission create a workstation and granting another user `workstations.workstation.use` permission on that workstation. If not specified defaults to 0 which indicates unlimited.
1053+
* Optional. Maximum number of workstations under this configuration a user can have `workstations.workstation.use` permission on. Only enforced on CreateWorkstation API calls on the user issuing the API request. Can be overridden by: - granting a user workstations.workstationConfigs.exemptMaxUsableWorkstationLimit permission, or - having a user with that permission create a workstation and granting another user `workstations.workstation.use` permission on that workstation. If not specified, defaults to `0`, which indicates unlimited.
10541054
*/
10551055
maxUsableWorkstations?: number | null;
10561056
/**

0 commit comments

Comments
 (0)