Skip to content

Commit 317dc92

Browse files
committed
feat: Generate Google.Apis.CloudWorkstations.v1beta version 1.73.0.4120
1 parent a2c5a49 commit 317dc92

3 files changed

Lines changed: 232 additions & 19 deletions

File tree

DiscoveryJson/workstations.v1beta.json

Lines changed: 71 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,6 +1024,34 @@
10241024
"https://www.googleapis.com/auth/cloud-platform"
10251025
]
10261026
},
1027+
"pushCredentials": {
1028+
"description": "Pushes credentials to a running workstation on behalf of a user. Once complete, supported credential types (application_default_credentials) are made available to processes running in the user container.",
1029+
"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs/{workstationConfigsId}/workstations/{workstationsId}:pushCredentials",
1030+
"httpMethod": "POST",
1031+
"id": "workstations.projects.locations.workstationClusters.workstationConfigs.workstations.pushCredentials",
1032+
"parameterOrder": [
1033+
"workstation"
1034+
],
1035+
"parameters": {
1036+
"workstation": {
1037+
"description": "Required. Name of the workstation for which the credentials should be pushed.",
1038+
"location": "path",
1039+
"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+/workstationConfigs/[^/]+/workstations/[^/]+$",
1040+
"required": true,
1041+
"type": "string"
1042+
}
1043+
},
1044+
"path": "v1beta/{+workstation}:pushCredentials",
1045+
"request": {
1046+
"$ref": "PushCredentialsRequest"
1047+
},
1048+
"response": {
1049+
"$ref": "Operation"
1050+
},
1051+
"scopes": [
1052+
"https://www.googleapis.com/auth/cloud-platform"
1053+
]
1054+
},
10271055
"setIamPolicy": {
10281056
"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
10291057
"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs/{workstationConfigsId}/workstations/{workstationsId}:setIamPolicy",
@@ -1147,7 +1175,7 @@
11471175
}
11481176
}
11491177
},
1150-
"revision": "20260325",
1178+
"revision": "20260413",
11511179
"rootUrl": "https://workstations.googleapis.com/",
11521180
"schemas": {
11531181
"Accelerator": {
@@ -1872,6 +1900,30 @@
18721900
},
18731901
"type": "object"
18741902
},
1903+
"OAuthToken": {
1904+
"description": "OAuth token.",
1905+
"id": "OAuthToken",
1906+
"properties": {
1907+
"accessToken": {
1908+
"description": "Required. The OAuth token.",
1909+
"type": "string"
1910+
},
1911+
"email": {
1912+
"description": "Optional. The email address encapsulated in the OAuth token.",
1913+
"type": "string"
1914+
},
1915+
"expireTime": {
1916+
"description": "Optional. The time the OAuth access token will expire. This should be the time the access token was generated plus the expires_in offset returned from the Access Token Response.",
1917+
"format": "google-datetime",
1918+
"type": "string"
1919+
},
1920+
"scopes": {
1921+
"description": "Optional. The scopes encapsulated in the OAuth token. See https://developers.google.com/identity/protocols/oauth2/scopes for more information.",
1922+
"type": "string"
1923+
}
1924+
},
1925+
"type": "object"
1926+
},
18751927
"Operation": {
18761928
"description": "This resource represents a long-running operation that is the result of a network API call.",
18771929
"id": "Operation",
@@ -2046,6 +2098,17 @@
20462098
},
20472099
"type": "object"
20482100
},
2101+
"PushCredentialsRequest": {
2102+
"description": "Request message for PushCredentials.",
2103+
"id": "PushCredentialsRequest",
2104+
"properties": {
2105+
"applicationDefaultCredentials": {
2106+
"$ref": "OAuthToken",
2107+
"description": "Optional. Credentials used by Cloud Client Libraries, Google API Client Libraries, and other tooling within the user conainer: https://cloud.google.com/docs/authentication/application-default-credentials"
2108+
}
2109+
},
2110+
"type": "object"
2111+
},
20492112
"ReadinessCheck": {
20502113
"description": "A readiness check to be performed on a workstation.",
20512114
"id": "ReadinessCheck",
@@ -2329,18 +2392,14 @@
23292392
"STATE_STARTING",
23302393
"STATE_RUNNING",
23312394
"STATE_STOPPING",
2332-
"STATE_STOPPED",
2333-
"STATE_SUSPENDING",
2334-
"STATE_SUSPENDED"
2395+
"STATE_STOPPED"
23352396
],
23362397
"enumDescriptions": [
23372398
"Do not use.",
23382399
"The workstation is not yet ready to accept requests from users but will be soon.",
23392400
"The workstation is ready to accept requests from users.",
23402401
"The workstation is being stopped.",
2341-
"The workstation is stopped and will not be able to receive requests until it is started.",
2342-
"The workstation is being suspended.",
2343-
"The workstation is suspended."
2402+
"The workstation is stopped and will not be able to receive requests until it is started."
23442403
],
23452404
"readOnly": true,
23462405
"type": "string"
@@ -2559,6 +2618,10 @@
25592618
"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\"",
25602619
"type": "boolean"
25612620
},
2621+
"enablePushingCredentials": {
2622+
"description": "Optional. Enables pushing user provided credentials to Workstations by calling workstations.pushCredentials. If application_default_credentials are supplied to pushCredentials, the provided token is returned when tools and applications running in the user container make a request for Default Application Credentials. Please note that any credentials supplied are made available to all users with access to the workstation.",
2623+
"type": "boolean"
2624+
},
25622625
"encryptionKey": {
25632626
"$ref": "CustomerEncryptionKey",
25642627
"description": "Immutable. Encrypts resources of this workstation configuration using a customer-managed encryption key (CMEK). If specified, the boot disk of the Compute Engine instance and the persistent disk are encrypted using this encryption key. If this field is not set, the disks are encrypted using a generated key. Customer-managed encryption keys do not protect disk metadata. If the customer-managed encryption key is rotated, when the workstation instance is stopped, the system attempts to recreate the persistent disk with the new version of the key. Be sure to keep older versions of the key until the persistent disk is recreated. Otherwise, data on the persistent disk might be lost. If the encryption key is revoked, the workstation session automatically stops within 7 hours. Immutable after the workstation configuration is created."
@@ -2634,7 +2697,7 @@
26342697
"type": "array"
26352698
},
26362699
"runningTimeout": {
2637-
"description": "Optional. Number of seconds that a workstation can run until it is automatically shut down. This field applies to workstations in both STATE_RUNNING and STATE_SUSPENDED. We recommend that workstations be shut down daily to reduce costs and so that security updates can be applied upon restart. The idle_timeout and running_timeout fields are independent of each other. Note that the running_timeout field shuts down VMs after the specified time, regardless of whether or not the VMs are idle. Provide duration terminated by `s` for seconds\u2014for example, `\"54000s\"` (15 hours). Defaults to `\"43200s\"` (12 hours). A value of `\"0s\"` indicates that workstations using this configuration should never time out. If encryption_key is set, it must be greater than `\"0s\"` and less than `\"86400s\"` (24 hours). Warning: A value of `\"0s\"` indicates that Cloud Workstations VMs created with this configuration have no maximum running time. This is strongly discouraged because you incur costs and will not pick up security updates.",
2700+
"description": "Optional. Number of seconds that a workstation can run until it is automatically shut down. We recommend that workstations be shut down daily to reduce costs and so that security updates can be applied upon restart. The idle_timeout and running_timeout fields are independent of each other. Note that the running_timeout field shuts down VMs after the specified time, regardless of whether or not the VMs are idle. Provide duration terminated by `s` for seconds\u2014for example, `\"54000s\"` (15 hours). Defaults to `\"43200s\"` (12 hours). A value of `\"0s\"` indicates that workstations using this configuration should never time out. If encryption_key is set, it must be greater than `\"0s\"` and less than `\"86400s\"` (24 hours). Warning: A value of `\"0s\"` indicates that Cloud Workstations VMs created with this configuration have no maximum running time. This is strongly discouraged because you incur costs and will not pick up security updates.",
26382701
"format": "google-duration",
26392702
"type": "string"
26402703
},

0 commit comments

Comments
 (0)