Skip to content

Commit

Permalink
fix(workstations): update the API
Browse files Browse the repository at this point in the history
#### 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
  • Loading branch information
yoshi-automation authored and sofisl committed Oct 10, 2024
1 parent 3a83269 commit 332cca5
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions discovery/workstations-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,7 @@
}
}
},
"revision": "20240820",
"revision": "20240904",
"rootUrl": "https://workstations.googleapis.com/",
"schemas": {
"Accelerator": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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"
},
Expand Down
14 changes: 7 additions & 7 deletions discovery/workstations-v1beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,7 @@
}
}
},
"revision": "20240820",
"revision": "20240904",
"rootUrl": "https://workstations.googleapis.com/",
"schemas": {
"Accelerator": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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"
},
Expand Down Expand Up @@ -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"
}
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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"
},
Expand Down
4 changes: 2 additions & 2 deletions src/apis/workstations/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
/**
Expand Down Expand Up @@ -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;
/**
Expand Down
12 changes: 6 additions & 6 deletions src/apis/workstations/v1beta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
/**
Expand Down Expand Up @@ -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[];
/**
Expand Down Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;
/**
Expand Down Expand Up @@ -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;
/**
Expand Down

0 comments on commit 332cca5

Please sign in to comment.