diff --git a/DiscoveryJson/workstations.v1beta.json b/DiscoveryJson/workstations.v1beta.json index 4578e3726d..0546a99a60 100644 --- a/DiscoveryJson/workstations.v1beta.json +++ b/DiscoveryJson/workstations.v1beta.json @@ -1127,7 +1127,7 @@ } } }, - "revision": "20241202", + "revision": "20250101", "rootUrl": "https://workstations.googleapis.com/", "schemas": { "Accelerator": { @@ -1217,7 +1217,7 @@ "type": "object" }, "BoostConfig": { - "description": "A boost configuration is a set of resources that a workstation can use to increase its performance. If a boost configuration is specified, when starting a workstation, users can choose to use a VM provisioned under the boost config by passing the boost config id in the start request. If no boost config id is provided in the start request, the system will choose a VM from the pool provisioned under the default config.", + "description": "A boost configuration is a set of resources that a workstation can use to increase its performance. If you specify a boost configuration, upon startup, workstation users can choose to use a VM provisioned under the boost config by passing the boost config ID in the start request. If the workstation user does not provide a boost config ID in the start request, the system will choose a VM from the pool provisioned under the default config.", "id": "BoostConfig", "properties": { "accelerators": { @@ -1237,7 +1237,7 @@ "type": "boolean" }, "id": { - "description": "Required. The id to be used for the boost configuration.", + "description": "Required. The ID to be used for the boost configuration.", "type": "string" }, "machineType": { @@ -1460,6 +1460,28 @@ }, "type": "object" }, + "GceInstanceHost": { + "description": "The Compute Engine instance host.", + "id": "GceInstanceHost", + "properties": { + "id": { + "description": "Optional. Output only. The ID of the Compute Engine instance.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Optional. Output only. The name of the Compute Engine instance.", + "readOnly": true, + "type": "string" + }, + "zone": { + "description": "Optional. Output only. The zone of the Compute Engine instance.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GcePersistentDisk": { "description": "An EphemeralDirectory is backed by a Compute Engine persistent disk.", "id": "GcePersistentDisk", @@ -1602,6 +1624,10 @@ "allowedUnauthenticatedCorsPreflightRequests": { "description": "Optional. By default, the workstations service makes sure that all requests to the workstation are authenticated. CORS preflight requests do not include cookies or custom headers, and so are considered unauthenticated and blocked by the workstations service. Enabling this option allows these unauthenticated CORS preflight requests through to the workstation, where it becomes the responsibility of the destination server in the workstation to validate the request.", "type": "boolean" + }, + "disableLocalhostReplacement": { + "description": "Optional. By default, the workstations service replaces references to localhost, 127.0.0.1, and 0.0.0.0 with the workstation's hostname in http responses from the workstation so that applications under development run properly on the workstation. This may intefere with some applications, and so this option allows that behavior to be disabled.", + "type": "boolean" } }, "type": "object" @@ -1829,7 +1855,7 @@ "type": "object" }, "PersistentDirectory": { - "description": "A directory to persist across workstation sessions.", + "description": "A directory to persist across workstation sessions. Updates to this field will not update existing workstations and will only take effect on new workstations.", "id": "PersistentDirectory", "properties": { "gcePd": { @@ -1935,6 +1961,17 @@ }, "type": "object" }, + "RuntimeHost": { + "description": "Runtime host for the workstation.", + "id": "RuntimeHost", + "properties": { + "gceInstanceHost": { + "$ref": "GceInstanceHost", + "description": "Specifies a Compute Engine instance as the host." + } + }, + "type": "object" + }, "SetIamPolicyRequest": { "description": "Request message for `SetIamPolicy` method.", "id": "SetIamPolicyRequest", @@ -2112,6 +2149,11 @@ "readOnly": true, "type": "boolean" }, + "runtimeHost": { + "$ref": "RuntimeHost", + "description": "Optional. Output only. Runtime host for the workstation when in STATE_RUNNING.", + "readOnly": true + }, "satisfiesPzi": { "description": "Output only. Reserved for future use.", "readOnly": true, diff --git a/Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.cs b/Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.cs index 6daf2ff507..c621086b63 100644 --- a/Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.cs +++ b/Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.cs @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -2668,10 +2668,11 @@ public class Binding : Google.Apis.Requests.IDirectResponseSchema } /// - /// A boost configuration is a set of resources that a workstation can use to increase its performance. If a boost - /// configuration is specified, when starting a workstation, users can choose to use a VM provisioned under the - /// boost config by passing the boost config id in the start request. If no boost config id is provided in the start - /// request, the system will choose a VM from the pool provisioned under the default config. + /// A boost configuration is a set of resources that a workstation can use to increase its performance. If you + /// specify a boost configuration, upon startup, workstation users can choose to use a VM provisioned under the + /// boost config by passing the boost config ID in the start request. If the workstation user does not provide a + /// boost config ID in the start request, the system will choose a VM from the pool provisioned under the default + /// config. /// public class BoostConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -2707,7 +2708,7 @@ public class BoostConfig : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("enableNestedVirtualization")] public virtual System.Nullable EnableNestedVirtualization { get; set; } - /// Required. The id to be used for the boost configuration. + /// Required. The ID to be used for the boost configuration. [Newtonsoft.Json.JsonPropertyAttribute("id")] public virtual string Id { get; set; } @@ -3016,6 +3017,25 @@ public class GceInstance : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// The Compute Engine instance host. + public class GceInstanceHost : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Output only. The ID of the Compute Engine instance. + [Newtonsoft.Json.JsonPropertyAttribute("id")] + public virtual string Id { get; set; } + + /// Optional. Output only. The name of the Compute Engine instance. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Optional. Output only. The zone of the Compute Engine instance. + [Newtonsoft.Json.JsonPropertyAttribute("zone")] + public virtual string Zone { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// An EphemeralDirectory is backed by a Compute Engine persistent disk. public class GcePersistentDisk : Google.Apis.Requests.IDirectResponseSchema { @@ -3265,6 +3285,15 @@ public class HttpOptions : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("allowedUnauthenticatedCorsPreflightRequests")] public virtual System.Nullable AllowedUnauthenticatedCorsPreflightRequests { get; set; } + /// + /// Optional. By default, the workstations service replaces references to localhost, 127.0.0.1, and 0.0.0.0 with + /// the workstation's hostname in http responses from the workstation so that applications under development run + /// properly on the workstation. This may intefere with some applications, and so this option allows that + /// behavior to be disabled. + /// + [Newtonsoft.Json.JsonPropertyAttribute("disableLocalhostReplacement")] + public virtual System.Nullable DisableLocalhostReplacement { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -3533,7 +3562,10 @@ public virtual System.DateTimeOffset? EndTimeDateTimeOffset public virtual string ETag { get; set; } } - /// A directory to persist across workstation sessions. + /// + /// A directory to persist across workstation sessions. Updates to this field will not update existing workstations + /// and will only take effect on new workstations. + /// public class PersistentDirectory : Google.Apis.Requests.IDirectResponseSchema { /// A PersistentDirectory backed by a Compute Engine persistent disk. @@ -3699,6 +3731,17 @@ public class ReadinessCheck : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Runtime host for the workstation. + public class RuntimeHost : Google.Apis.Requests.IDirectResponseSchema + { + /// Specifies a Compute Engine instance as the host. + [Newtonsoft.Json.JsonPropertyAttribute("gceInstanceHost")] + public virtual GceInstanceHost GceInstanceHost { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Request message for `SetIamPolicy` method. public class SetIamPolicyRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -3951,6 +3994,10 @@ public virtual System.DateTimeOffset? DeleteTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("reconciling")] public virtual System.Nullable Reconciling { get; set; } + /// Optional. Output only. Runtime host for the workstation when in STATE_RUNNING. + [Newtonsoft.Json.JsonPropertyAttribute("runtimeHost")] + public virtual RuntimeHost RuntimeHost { get; set; } + /// Output only. Reserved for future use. [Newtonsoft.Json.JsonPropertyAttribute("satisfiesPzi")] public virtual System.Nullable SatisfiesPzi { get; set; } diff --git a/Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.csproj b/Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.csproj index c2f19603b7..36b55135e3 100644 --- a/Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.csproj +++ b/Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.csproj @@ -3,9 +3,9 @@ Google.Apis.CloudWorkstations.v1beta Client Library - 1.68.0.3623 + 1.68.0.3653 Google LLC - Copyright 2024 Google LLC + Copyright 2025 Google LLC Google https://github.com/google/google-api-dotnet-client Apache-2.0