Skip to content

Commit c96abd2

Browse files
amanda-tarafajskeet
authored andcommitted
feat: Generate Google.Apis.CloudWorkstations.v1beta version 1.68.0.3653
1 parent c21365b commit c96abd2

File tree

3 files changed

+102
-13
lines changed

3 files changed

+102
-13
lines changed

DiscoveryJson/workstations.v1beta.json

Lines changed: 46 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,7 @@
11271127
}
11281128
}
11291129
},
1130-
"revision": "20241202",
1130+
"revision": "20250101",
11311131
"rootUrl": "https://workstations.googleapis.com/",
11321132
"schemas": {
11331133
"Accelerator": {
@@ -1217,7 +1217,7 @@
12171217
"type": "object"
12181218
},
12191219
"BoostConfig": {
1220-
"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.",
1220+
"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.",
12211221
"id": "BoostConfig",
12221222
"properties": {
12231223
"accelerators": {
@@ -1237,7 +1237,7 @@
12371237
"type": "boolean"
12381238
},
12391239
"id": {
1240-
"description": "Required. The id to be used for the boost configuration.",
1240+
"description": "Required. The ID to be used for the boost configuration.",
12411241
"type": "string"
12421242
},
12431243
"machineType": {
@@ -1460,6 +1460,28 @@
14601460
},
14611461
"type": "object"
14621462
},
1463+
"GceInstanceHost": {
1464+
"description": "The Compute Engine instance host.",
1465+
"id": "GceInstanceHost",
1466+
"properties": {
1467+
"id": {
1468+
"description": "Optional. Output only. The ID of the Compute Engine instance.",
1469+
"readOnly": true,
1470+
"type": "string"
1471+
},
1472+
"name": {
1473+
"description": "Optional. Output only. The name of the Compute Engine instance.",
1474+
"readOnly": true,
1475+
"type": "string"
1476+
},
1477+
"zone": {
1478+
"description": "Optional. Output only. The zone of the Compute Engine instance.",
1479+
"readOnly": true,
1480+
"type": "string"
1481+
}
1482+
},
1483+
"type": "object"
1484+
},
14631485
"GcePersistentDisk": {
14641486
"description": "An EphemeralDirectory is backed by a Compute Engine persistent disk.",
14651487
"id": "GcePersistentDisk",
@@ -1602,6 +1624,10 @@
16021624
"allowedUnauthenticatedCorsPreflightRequests": {
16031625
"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.",
16041626
"type": "boolean"
1627+
},
1628+
"disableLocalhostReplacement": {
1629+
"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.",
1630+
"type": "boolean"
16051631
}
16061632
},
16071633
"type": "object"
@@ -1829,7 +1855,7 @@
18291855
"type": "object"
18301856
},
18311857
"PersistentDirectory": {
1832-
"description": "A directory to persist across workstation sessions.",
1858+
"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.",
18331859
"id": "PersistentDirectory",
18341860
"properties": {
18351861
"gcePd": {
@@ -1935,6 +1961,17 @@
19351961
},
19361962
"type": "object"
19371963
},
1964+
"RuntimeHost": {
1965+
"description": "Runtime host for the workstation.",
1966+
"id": "RuntimeHost",
1967+
"properties": {
1968+
"gceInstanceHost": {
1969+
"$ref": "GceInstanceHost",
1970+
"description": "Specifies a Compute Engine instance as the host."
1971+
}
1972+
},
1973+
"type": "object"
1974+
},
19381975
"SetIamPolicyRequest": {
19391976
"description": "Request message for `SetIamPolicy` method.",
19401977
"id": "SetIamPolicyRequest",
@@ -2112,6 +2149,11 @@
21122149
"readOnly": true,
21132150
"type": "boolean"
21142151
},
2152+
"runtimeHost": {
2153+
"$ref": "RuntimeHost",
2154+
"description": "Optional. Output only. Runtime host for the workstation when in STATE_RUNNING.",
2155+
"readOnly": true
2156+
},
21152157
"satisfiesPzi": {
21162158
"description": "Output only. Reserved for future use.",
21172159
"readOnly": true,

Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.cs

Lines changed: 54 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 Google LLC
1+
// Copyright 2025 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -2668,10 +2668,11 @@ public class Binding : Google.Apis.Requests.IDirectResponseSchema
26682668
}
26692669

26702670
/// <summary>
2671-
/// A boost configuration is a set of resources that a workstation can use to increase its performance. If a boost
2672-
/// configuration is specified, when starting a workstation, users can choose to use a VM provisioned under the
2673-
/// boost config by passing the boost config id in the start request. If no boost config id is provided in the start
2674-
/// request, the system will choose a VM from the pool provisioned under the default config.
2671+
/// A boost configuration is a set of resources that a workstation can use to increase its performance. If you
2672+
/// specify a boost configuration, upon startup, workstation users can choose to use a VM provisioned under the
2673+
/// boost config by passing the boost config ID in the start request. If the workstation user does not provide a
2674+
/// boost config ID in the start request, the system will choose a VM from the pool provisioned under the default
2675+
/// config.
26752676
/// </summary>
26762677
public class BoostConfig : Google.Apis.Requests.IDirectResponseSchema
26772678
{
@@ -2707,7 +2708,7 @@ public class BoostConfig : Google.Apis.Requests.IDirectResponseSchema
27072708
[Newtonsoft.Json.JsonPropertyAttribute("enableNestedVirtualization")]
27082709
public virtual System.Nullable<bool> EnableNestedVirtualization { get; set; }
27092710

2710-
/// <summary>Required. The id to be used for the boost configuration.</summary>
2711+
/// <summary>Required. The ID to be used for the boost configuration.</summary>
27112712
[Newtonsoft.Json.JsonPropertyAttribute("id")]
27122713
public virtual string Id { get; set; }
27132714

@@ -3016,6 +3017,25 @@ public class GceInstance : Google.Apis.Requests.IDirectResponseSchema
30163017
public virtual string ETag { get; set; }
30173018
}
30183019

3020+
/// <summary>The Compute Engine instance host.</summary>
3021+
public class GceInstanceHost : Google.Apis.Requests.IDirectResponseSchema
3022+
{
3023+
/// <summary>Optional. Output only. The ID of the Compute Engine instance.</summary>
3024+
[Newtonsoft.Json.JsonPropertyAttribute("id")]
3025+
public virtual string Id { get; set; }
3026+
3027+
/// <summary>Optional. Output only. The name of the Compute Engine instance.</summary>
3028+
[Newtonsoft.Json.JsonPropertyAttribute("name")]
3029+
public virtual string Name { get; set; }
3030+
3031+
/// <summary>Optional. Output only. The zone of the Compute Engine instance.</summary>
3032+
[Newtonsoft.Json.JsonPropertyAttribute("zone")]
3033+
public virtual string Zone { get; set; }
3034+
3035+
/// <summary>The ETag of the item.</summary>
3036+
public virtual string ETag { get; set; }
3037+
}
3038+
30193039
/// <summary>An EphemeralDirectory is backed by a Compute Engine persistent disk.</summary>
30203040
public class GcePersistentDisk : Google.Apis.Requests.IDirectResponseSchema
30213041
{
@@ -3265,6 +3285,15 @@ public class HttpOptions : Google.Apis.Requests.IDirectResponseSchema
32653285
[Newtonsoft.Json.JsonPropertyAttribute("allowedUnauthenticatedCorsPreflightRequests")]
32663286
public virtual System.Nullable<bool> AllowedUnauthenticatedCorsPreflightRequests { get; set; }
32673287

3288+
/// <summary>
3289+
/// Optional. By default, the workstations service replaces references to localhost, 127.0.0.1, and 0.0.0.0 with
3290+
/// the workstation's hostname in http responses from the workstation so that applications under development run
3291+
/// properly on the workstation. This may intefere with some applications, and so this option allows that
3292+
/// behavior to be disabled.
3293+
/// </summary>
3294+
[Newtonsoft.Json.JsonPropertyAttribute("disableLocalhostReplacement")]
3295+
public virtual System.Nullable<bool> DisableLocalhostReplacement { get; set; }
3296+
32683297
/// <summary>The ETag of the item.</summary>
32693298
public virtual string ETag { get; set; }
32703299
}
@@ -3533,7 +3562,10 @@ public virtual System.DateTimeOffset? EndTimeDateTimeOffset
35333562
public virtual string ETag { get; set; }
35343563
}
35353564

3536-
/// <summary>A directory to persist across workstation sessions.</summary>
3565+
/// <summary>
3566+
/// A directory to persist across workstation sessions. Updates to this field will not update existing workstations
3567+
/// and will only take effect on new workstations.
3568+
/// </summary>
35373569
public class PersistentDirectory : Google.Apis.Requests.IDirectResponseSchema
35383570
{
35393571
/// <summary>A PersistentDirectory backed by a Compute Engine persistent disk.</summary>
@@ -3699,6 +3731,17 @@ public class ReadinessCheck : Google.Apis.Requests.IDirectResponseSchema
36993731
public virtual string ETag { get; set; }
37003732
}
37013733

3734+
/// <summary>Runtime host for the workstation.</summary>
3735+
public class RuntimeHost : Google.Apis.Requests.IDirectResponseSchema
3736+
{
3737+
/// <summary>Specifies a Compute Engine instance as the host.</summary>
3738+
[Newtonsoft.Json.JsonPropertyAttribute("gceInstanceHost")]
3739+
public virtual GceInstanceHost GceInstanceHost { get; set; }
3740+
3741+
/// <summary>The ETag of the item.</summary>
3742+
public virtual string ETag { get; set; }
3743+
}
3744+
37023745
/// <summary>Request message for `SetIamPolicy` method.</summary>
37033746
public class SetIamPolicyRequest : Google.Apis.Requests.IDirectResponseSchema
37043747
{
@@ -3951,6 +3994,10 @@ public virtual System.DateTimeOffset? DeleteTimeDateTimeOffset
39513994
[Newtonsoft.Json.JsonPropertyAttribute("reconciling")]
39523995
public virtual System.Nullable<bool> Reconciling { get; set; }
39533996

3997+
/// <summary>Optional. Output only. Runtime host for the workstation when in STATE_RUNNING.</summary>
3998+
[Newtonsoft.Json.JsonPropertyAttribute("runtimeHost")]
3999+
public virtual RuntimeHost RuntimeHost { get; set; }
4000+
39544001
/// <summary>Output only. Reserved for future use.</summary>
39554002
[Newtonsoft.Json.JsonPropertyAttribute("satisfiesPzi")]
39564003
public virtual System.Nullable<bool> SatisfiesPzi { get; set; }

Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<!-- nupkg information -->
44
<PropertyGroup>
55
<Title>Google.Apis.CloudWorkstations.v1beta Client Library</Title>
6-
<Version>1.68.0.3623</Version>
6+
<Version>1.68.0.3653</Version>
77
<Authors>Google LLC</Authors>
8-
<Copyright>Copyright 2024 Google LLC</Copyright>
8+
<Copyright>Copyright 2025 Google LLC</Copyright>
99
<PackageTags>Google</PackageTags>
1010
<PackageProjectUrl>https://github.com/google/google-api-dotnet-client</PackageProjectUrl>
1111
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>

0 commit comments

Comments
 (0)