From 332cca5067767705cf75bef717315e1417a78ca4 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Wed, 9 Oct 2024 01:36:08 +0000 Subject: [PATCH] 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 --- discovery/workstations-v1.json | 6 +++--- discovery/workstations-v1beta.json | 14 +++++++------- src/apis/workstations/v1.ts | 4 ++-- src/apis/workstations/v1beta.ts | 12 ++++++------ 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/discovery/workstations-v1.json b/discovery/workstations-v1.json index f0a532d9f2..2b245913b6 100644 --- a/discovery/workstations-v1.json +++ b/discovery/workstations-v1.json @@ -1195,7 +1195,7 @@ } } }, - "revision": "20240820", + "revision": "20240904", "rootUrl": "https://workstations.googleapis.com/", "schemas": { "Accelerator": { @@ -2356,7 +2356,7 @@ "type": "string" }, "enableAuditAgent": { - "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\"", + "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\"", "type": "boolean" }, "encryptionKey": { @@ -2395,7 +2395,7 @@ "type": "object" }, "maxUsableWorkstations": { - "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.", + "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.", "format": "int32", "type": "integer" }, diff --git a/discovery/workstations-v1beta.json b/discovery/workstations-v1beta.json index 04deeaf7bf..da19146f3e 100644 --- a/discovery/workstations-v1beta.json +++ b/discovery/workstations-v1beta.json @@ -1127,7 +1127,7 @@ } } }, - "revision": "20240820", + "revision": "20240904", "rootUrl": "https://workstations.googleapis.com/", "schemas": { "Accelerator": { @@ -1237,7 +1237,7 @@ "type": "boolean" }, "id": { - "description": "Optional. Required. The id to be used for the boost config.", + "description": "Optional. Required. The id to be used for the boost configuration.", "type": "string" }, "machineType": { @@ -2052,7 +2052,7 @@ "type": "object" }, "boostConfigs": { - "description": "Output only. List of available boost configuration ids that this workstation can be boosted up to", + "description": "Output only. List of available boost configuration IDs that this workstation can be boosted up to.", "items": { "$ref": "WorkstationBoostConfig" }, @@ -2166,11 +2166,11 @@ "type": "object" }, "WorkstationBoostConfig": { - "description": "Boost config for this workstation. This object is populated from the parent workstation config.", + "description": "Boost configuration for this workstation. This object is populated from the parent workstation configuration.", "id": "WorkstationBoostConfig", "properties": { "id": { - "description": "Output only. Boost config id.", + "description": "Output only. Boost configuration ID.", "readOnly": true, "type": "string" } @@ -2338,7 +2338,7 @@ "type": "string" }, "enableAuditAgent": { - "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\"", + "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\"", "type": "boolean" }, "encryptionKey": { @@ -2381,7 +2381,7 @@ "type": "object" }, "maxUsableWorkstations": { - "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.", + "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.", "format": "int32", "type": "integer" }, diff --git a/src/apis/workstations/v1.ts b/src/apis/workstations/v1.ts index 28bd9e1d02..a5096cb444 100644 --- a/src/apis/workstations/v1.ts +++ b/src/apis/workstations/v1.ts @@ -973,7 +973,7 @@ export namespace workstations_v1 { */ displayName?: string | null; /** - * 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" + * 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" */ enableAuditAgent?: boolean | null; /** @@ -1005,7 +1005,7 @@ export namespace workstations_v1 { */ labels?: {[key: string]: string} | null; /** - * 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. + * 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. */ maxUsableWorkstations?: number | null; /** diff --git a/src/apis/workstations/v1beta.ts b/src/apis/workstations/v1beta.ts index 378a8dd794..94d1ed4dde 100644 --- a/src/apis/workstations/v1beta.ts +++ b/src/apis/workstations/v1beta.ts @@ -197,7 +197,7 @@ export namespace workstations_v1beta { */ enableNestedVirtualization?: boolean | null; /** - * Optional. Required. The id to be used for the boost config. + * Optional. Required. The id to be used for the boost configuration. */ id?: string | null; /** @@ -811,7 +811,7 @@ export namespace workstations_v1beta { */ annotations?: {[key: string]: string} | null; /** - * Output only. List of available boost configuration ids that this workstation can be boosted up to + * Output only. List of available boost configuration IDs that this workstation can be boosted up to. */ boostConfigs?: Schema$WorkstationBoostConfig[]; /** @@ -884,11 +884,11 @@ export namespace workstations_v1beta { updateTime?: string | null; } /** - * Boost config for this workstation. This object is populated from the parent workstation config. + * Boost configuration for this workstation. This object is populated from the parent workstation configuration. */ export interface Schema$WorkstationBoostConfig { /** - * Output only. Boost config id. + * Output only. Boost configuration ID. */ id?: string | null; } @@ -1014,7 +1014,7 @@ export namespace workstations_v1beta { */ displayName?: string | null; /** - * 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" + * 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" */ enableAuditAgent?: boolean | null; /** @@ -1050,7 +1050,7 @@ export namespace workstations_v1beta { */ labels?: {[key: string]: string} | null; /** - * 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. + * 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. */ maxUsableWorkstations?: number | null; /**