Skip to content

Commit c21365b

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

File tree

3 files changed

+110
-13
lines changed

3 files changed

+110
-13
lines changed

DiscoveryJson/workstations.v1.json

Lines changed: 50 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,7 @@
11951195
}
11961196
}
11971197
},
1198-
"revision": "20241202",
1198+
"revision": "20250101",
11991199
"rootUrl": "https://workstations.googleapis.com/",
12001200
"schemas": {
12011201
"Accelerator": {
@@ -1285,7 +1285,7 @@
12851285
"type": "object"
12861286
},
12871287
"BoostConfig": {
1288-
"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.",
1288+
"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.",
12891289
"id": "BoostConfig",
12901290
"properties": {
12911291
"accelerators": {
@@ -1305,7 +1305,7 @@
13051305
"type": "boolean"
13061306
},
13071307
"id": {
1308-
"description": "Required. The id to be used for the boost configuration.",
1308+
"description": "Required. The ID to be used for the boost configuration.",
13091309
"type": "string"
13101310
},
13111311
"machineType": {
@@ -1528,6 +1528,28 @@
15281528
},
15291529
"type": "object"
15301530
},
1531+
"GceInstanceHost": {
1532+
"description": "The Compute Engine instance host.",
1533+
"id": "GceInstanceHost",
1534+
"properties": {
1535+
"id": {
1536+
"description": "Optional. Output only. The ID of the Compute Engine instance.",
1537+
"readOnly": true,
1538+
"type": "string"
1539+
},
1540+
"name": {
1541+
"description": "Optional. Output only. The name of the Compute Engine instance.",
1542+
"readOnly": true,
1543+
"type": "string"
1544+
},
1545+
"zone": {
1546+
"description": "Optional. Output only. The zone of the Compute Engine instance.",
1547+
"readOnly": true,
1548+
"type": "string"
1549+
}
1550+
},
1551+
"type": "object"
1552+
},
15311553
"GcePersistentDisk": {
15321554
"description": "An EphemeralDirectory is backed by a Compute Engine persistent disk.",
15331555
"id": "GcePersistentDisk",
@@ -1938,7 +1960,7 @@
19381960
"type": "object"
19391961
},
19401962
"PersistentDirectory": {
1941-
"description": "A directory to persist across workstation sessions.",
1963+
"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.",
19421964
"id": "PersistentDirectory",
19431965
"properties": {
19441966
"gcePd": {
@@ -2044,6 +2066,17 @@
20442066
},
20452067
"type": "object"
20462068
},
2069+
"RuntimeHost": {
2070+
"description": "Runtime host for the workstation.",
2071+
"id": "RuntimeHost",
2072+
"properties": {
2073+
"gceInstanceHost": {
2074+
"$ref": "GceInstanceHost",
2075+
"description": "Specifies a Compute Engine instance as the host."
2076+
}
2077+
},
2078+
"type": "object"
2079+
},
20472080
"SetIamPolicyRequest": {
20482081
"description": "Request message for `SetIamPolicy` method.",
20492082
"id": "SetIamPolicyRequest",
@@ -2064,6 +2097,10 @@
20642097
"description": "Request message for StartWorkstation.",
20652098
"id": "StartWorkstationRequest",
20662099
"properties": {
2100+
"boostConfig": {
2101+
"description": "Optional. If set, the workstation starts using the boost configuration with the specified ID.",
2102+
"type": "string"
2103+
},
20672104
"etag": {
20682105
"description": "Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag.",
20692106
"type": "string"
@@ -2209,6 +2246,15 @@
22092246
"readOnly": true,
22102247
"type": "boolean"
22112248
},
2249+
"runtimeHost": {
2250+
"$ref": "RuntimeHost",
2251+
"description": "Optional. Output only. Runtime host for the workstation when in STATE_RUNNING.",
2252+
"readOnly": true
2253+
},
2254+
"sourceWorkstation": {
2255+
"description": "Optional. The source workstation from which this workstation's persistent directories were cloned on creation.",
2256+
"type": "string"
2257+
},
22122258
"startTime": {
22132259
"description": "Output only. Time when this workstation was most recently successfully started, regardless of the workstation's initial state.",
22142260
"format": "google-datetime",

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

Lines changed: 58 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.
@@ -2802,10 +2802,11 @@ public class Binding : Google.Apis.Requests.IDirectResponseSchema
28022802
}
28032803

28042804
/// <summary>
2805-
/// A boost configuration is a set of resources that a workstation can use to increase its performance. If a boost
2806-
/// configuration is specified, when starting a workstation, users can choose to use a VM provisioned under the
2807-
/// boost config by passing the boost config id in the start request. If no boost config id is provided in the start
2808-
/// request, the system will choose a VM from the pool provisioned under the default config.
2805+
/// A boost configuration is a set of resources that a workstation can use to increase its performance. If you
2806+
/// specify a boost configuration, upon startup, workstation users can choose to use a VM provisioned under the
2807+
/// boost config by passing the boost config ID in the start request. If the workstation user does not provide a
2808+
/// boost config ID in the start request, the system will choose a VM from the pool provisioned under the default
2809+
/// config.
28092810
/// </summary>
28102811
public class BoostConfig : Google.Apis.Requests.IDirectResponseSchema
28112812
{
@@ -2841,7 +2842,7 @@ public class BoostConfig : Google.Apis.Requests.IDirectResponseSchema
28412842
[Newtonsoft.Json.JsonPropertyAttribute("enableNestedVirtualization")]
28422843
public virtual System.Nullable<bool> EnableNestedVirtualization { get; set; }
28432844

2844-
/// <summary>Required. The id to be used for the boost configuration.</summary>
2845+
/// <summary>Required. The ID to be used for the boost configuration.</summary>
28452846
[Newtonsoft.Json.JsonPropertyAttribute("id")]
28462847
public virtual string Id { get; set; }
28472848

@@ -3150,6 +3151,25 @@ public class GceInstance : Google.Apis.Requests.IDirectResponseSchema
31503151
public virtual string ETag { get; set; }
31513152
}
31523153

3154+
/// <summary>The Compute Engine instance host.</summary>
3155+
public class GceInstanceHost : Google.Apis.Requests.IDirectResponseSchema
3156+
{
3157+
/// <summary>Optional. Output only. The ID of the Compute Engine instance.</summary>
3158+
[Newtonsoft.Json.JsonPropertyAttribute("id")]
3159+
public virtual string Id { get; set; }
3160+
3161+
/// <summary>Optional. Output only. The name of the Compute Engine instance.</summary>
3162+
[Newtonsoft.Json.JsonPropertyAttribute("name")]
3163+
public virtual string Name { get; set; }
3164+
3165+
/// <summary>Optional. Output only. The zone of the Compute Engine instance.</summary>
3166+
[Newtonsoft.Json.JsonPropertyAttribute("zone")]
3167+
public virtual string Zone { get; set; }
3168+
3169+
/// <summary>The ETag of the item.</summary>
3170+
public virtual string ETag { get; set; }
3171+
}
3172+
31533173
/// <summary>An EphemeralDirectory is backed by a Compute Engine persistent disk.</summary>
31543174
public class GcePersistentDisk : Google.Apis.Requests.IDirectResponseSchema
31553175
{
@@ -3697,7 +3717,10 @@ public virtual System.DateTimeOffset? EndTimeDateTimeOffset
36973717
public virtual string ETag { get; set; }
36983718
}
36993719

3700-
/// <summary>A directory to persist across workstation sessions.</summary>
3720+
/// <summary>
3721+
/// A directory to persist across workstation sessions. Updates to this field will not update existing workstations
3722+
/// and will only take effect on new workstations.
3723+
/// </summary>
37013724
public class PersistentDirectory : Google.Apis.Requests.IDirectResponseSchema
37023725
{
37033726
/// <summary>A PersistentDirectory backed by a Compute Engine persistent disk.</summary>
@@ -3863,6 +3886,17 @@ public class ReadinessCheck : Google.Apis.Requests.IDirectResponseSchema
38633886
public virtual string ETag { get; set; }
38643887
}
38653888

3889+
/// <summary>Runtime host for the workstation.</summary>
3890+
public class RuntimeHost : Google.Apis.Requests.IDirectResponseSchema
3891+
{
3892+
/// <summary>Specifies a Compute Engine instance as the host.</summary>
3893+
[Newtonsoft.Json.JsonPropertyAttribute("gceInstanceHost")]
3894+
public virtual GceInstanceHost GceInstanceHost { get; set; }
3895+
3896+
/// <summary>The ETag of the item.</summary>
3897+
public virtual string ETag { get; set; }
3898+
}
3899+
38663900
/// <summary>Request message for `SetIamPolicy` method.</summary>
38673901
public class SetIamPolicyRequest : Google.Apis.Requests.IDirectResponseSchema
38683902
{
@@ -3888,6 +3922,12 @@ public class SetIamPolicyRequest : Google.Apis.Requests.IDirectResponseSchema
38883922
/// <summary>Request message for StartWorkstation.</summary>
38893923
public class StartWorkstationRequest : Google.Apis.Requests.IDirectResponseSchema
38903924
{
3925+
/// <summary>
3926+
/// Optional. If set, the workstation starts using the boost configuration with the specified ID.
3927+
/// </summary>
3928+
[Newtonsoft.Json.JsonPropertyAttribute("boostConfig")]
3929+
public virtual string BoostConfig { get; set; }
3930+
38913931
/// <summary>
38923932
/// Optional. If set, the request will be rejected if the latest version of the workstation on the server does
38933933
/// not have this ETag.
@@ -4103,6 +4143,17 @@ public virtual System.DateTimeOffset? DeleteTimeDateTimeOffset
41034143
[Newtonsoft.Json.JsonPropertyAttribute("reconciling")]
41044144
public virtual System.Nullable<bool> Reconciling { get; set; }
41054145

4146+
/// <summary>Optional. Output only. Runtime host for the workstation when in STATE_RUNNING.</summary>
4147+
[Newtonsoft.Json.JsonPropertyAttribute("runtimeHost")]
4148+
public virtual RuntimeHost RuntimeHost { get; set; }
4149+
4150+
/// <summary>
4151+
/// Optional. The source workstation from which this workstation's persistent directories were cloned on
4152+
/// creation.
4153+
/// </summary>
4154+
[Newtonsoft.Json.JsonPropertyAttribute("sourceWorkstation")]
4155+
public virtual string SourceWorkstation { get; set; }
4156+
41064157
private string _startTimeRaw;
41074158

41084159
private object _startTime;

Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.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.v1 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)