Skip to content

Commit 53db313

Browse files
amanda-tarafajskeet
authored andcommitted
feat: Generate Google.Apis.CloudWorkstations.v1 version 1.73.0.3988
1 parent a25b227 commit 53db313

File tree

3 files changed

+111
-11
lines changed

3 files changed

+111
-11
lines changed

DiscoveryJson/workstations.v1.json

Lines changed: 46 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@
296296
"type": "string"
297297
},
298298
"returnPartialSuccess": {
299-
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
299+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
300300
"location": "query",
301301
"type": "boolean"
302302
}
@@ -1221,7 +1221,7 @@
12211221
}
12221222
}
12231223
},
1224-
"revision": "20251022",
1224+
"revision": "20251202",
12251225
"rootUrl": "https://workstations.googleapis.com/",
12261226
"schemas": {
12271227
"Accelerator": {
@@ -1479,6 +1479,41 @@
14791479
},
14801480
"type": "object"
14811481
},
1482+
"GceHyperdiskBalancedHighAvailability": {
1483+
"description": "A Persistent Directory backed by a Compute Engine [Hyperdisk Balanced High Availability Disk](https://cloud.google.com/compute/docs/disks/hd-types/hyperdisk-balanced-ha). This is a high-availability block storage solution that offers a balance between performance and cost for most general-purpose workloads.",
1484+
"id": "GceHyperdiskBalancedHighAvailability",
1485+
"properties": {
1486+
"archiveTimeout": {
1487+
"description": "Optional. Number of seconds to wait after initially creating or subsequently shutting down the workstation before converting its disk into a snapshot. This generally saves costs at the expense of greater startup time on next workstation start, as the service will need to create a disk from the archival snapshot. A value of `\"0s\"` indicates that the disk will never be archived.",
1488+
"format": "google-duration",
1489+
"type": "string"
1490+
},
1491+
"reclaimPolicy": {
1492+
"description": "Optional. Whether the persistent disk should be deleted when the workstation is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`.",
1493+
"enum": [
1494+
"RECLAIM_POLICY_UNSPECIFIED",
1495+
"DELETE",
1496+
"RETAIN"
1497+
],
1498+
"enumDescriptions": [
1499+
"Do not use.",
1500+
"Delete the persistent disk when deleting the workstation.",
1501+
"Keep the persistent disk when deleting the workstation. An administrator must manually delete the disk."
1502+
],
1503+
"type": "string"
1504+
},
1505+
"sizeGb": {
1506+
"description": "Optional. The GB capacity of a persistent home directory for each workstation created with this configuration. Must be empty if source_snapshot is set. Valid values are `10`, `50`, `100`, `200`, `500`, or `1000`. Defaults to `200`.",
1507+
"format": "int32",
1508+
"type": "integer"
1509+
},
1510+
"sourceSnapshot": {
1511+
"description": "Optional. Name of the snapshot to use as the source for the disk. If set, size_gb must be empty. Must be formatted as ext4 file system with no partitions.",
1512+
"type": "string"
1513+
}
1514+
},
1515+
"type": "object"
1516+
},
14821517
"GceInstance": {
14831518
"description": "A runtime using a Compute Engine instance.",
14841519
"id": "GceInstance",
@@ -1548,6 +1583,10 @@
15481583
"$ref": "GceShieldedInstanceConfig",
15491584
"description": "Optional. A set of Compute Engine Shielded instance options."
15501585
},
1586+
"startupScriptUri": {
1587+
"description": "Optional. Link to the startup script stored in Cloud Storage. This script will be run on the host workstation VM when the VM is created. The URI must be of the form gs://{bucket-name}/{object-name}. If specifying a startup script, the service account must have [Permission to access the bucket and script file in Cloud Storage](https://cloud.google.com/storage/docs/access-control/iam-permissions). Otherwise, the script must be publicly accessible. Note that the service regularly updates the OS version used, and it is the responsibility of the user to ensure the script stays compatible with the OS version.",
1588+
"type": "string"
1589+
},
15511590
"tags": {
15521591
"description": "Optional. Network tags to add to the Compute Engine VMs backing the workstations. This option applies [network tags](https://cloud.google.com/vpc/docs/add-remove-network-tags) to VMs created with this configuration. These network tags enable the creation of [firewall rules](https://cloud.google.com/workstations/docs/configure-firewall-rules).",
15531592
"items": {
@@ -1756,7 +1795,7 @@
17561795
"type": "array"
17571796
},
17581797
"unreachable": {
1759-
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.",
1798+
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.",
17601799
"items": {
17611800
"type": "string"
17621801
},
@@ -2007,6 +2046,10 @@
20072046
"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.",
20082047
"id": "PersistentDirectory",
20092048
"properties": {
2049+
"gceHd": {
2050+
"$ref": "GceHyperdiskBalancedHighAvailability",
2051+
"description": "A PersistentDirectory backed by a Compute Engine hyperdisk high availability disk."
2052+
},
20102053
"gcePd": {
20112054
"$ref": "GceRegionalPersistentDisk",
20122055
"description": "A PersistentDirectory backed by a Compute Engine persistent disk."

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

Lines changed: 62 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -525,9 +525,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b
525525

526526
/// <summary>
527527
/// When set to `true`, operations that are reachable are returned as normal, and those that are
528-
/// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be
529-
/// `true` when reading across collections e.g. when `parent` is set to
530-
/// `"projects/example/locations/-"`. This field is not by default supported and will result in an
528+
/// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be
529+
/// `true` when reading across collections. For example, when `parent` is set to
530+
/// `"projects/example/locations/-"`. This field is not supported by default and will result in an
531531
/// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product
532532
/// specific documentation.
533533
/// </summary>
@@ -3115,6 +3115,48 @@ public class GceConfidentialInstanceConfig : Google.Apis.Requests.IDirectRespons
31153115
public virtual string ETag { get; set; }
31163116
}
31173117

3118+
/// <summary>
3119+
/// A Persistent Directory backed by a Compute Engine [Hyperdisk Balanced High Availability
3120+
/// Disk](https://cloud.google.com/compute/docs/disks/hd-types/hyperdisk-balanced-ha). This is a high-availability
3121+
/// block storage solution that offers a balance between performance and cost for most general-purpose workloads.
3122+
/// </summary>
3123+
public class GceHyperdiskBalancedHighAvailability : Google.Apis.Requests.IDirectResponseSchema
3124+
{
3125+
/// <summary>
3126+
/// Optional. Number of seconds to wait after initially creating or subsequently shutting down the workstation
3127+
/// before converting its disk into a snapshot. This generally saves costs at the expense of greater startup
3128+
/// time on next workstation start, as the service will need to create a disk from the archival snapshot. A
3129+
/// value of `"0s"` indicates that the disk will never be archived.
3130+
/// </summary>
3131+
[Newtonsoft.Json.JsonPropertyAttribute("archiveTimeout")]
3132+
public virtual object ArchiveTimeout { get; set; }
3133+
3134+
/// <summary>
3135+
/// Optional. Whether the persistent disk should be deleted when the workstation is deleted. Valid values are
3136+
/// `DELETE` and `RETAIN`. Defaults to `DELETE`.
3137+
/// </summary>
3138+
[Newtonsoft.Json.JsonPropertyAttribute("reclaimPolicy")]
3139+
public virtual string ReclaimPolicy { get; set; }
3140+
3141+
/// <summary>
3142+
/// Optional. The GB capacity of a persistent home directory for each workstation created with this
3143+
/// configuration. Must be empty if source_snapshot is set. Valid values are `10`, `50`, `100`, `200`, `500`, or
3144+
/// `1000`. Defaults to `200`.
3145+
/// </summary>
3146+
[Newtonsoft.Json.JsonPropertyAttribute("sizeGb")]
3147+
public virtual System.Nullable<int> SizeGb { get; set; }
3148+
3149+
/// <summary>
3150+
/// Optional. Name of the snapshot to use as the source for the disk. If set, size_gb must be empty. Must be
3151+
/// formatted as ext4 file system with no partitions.
3152+
/// </summary>
3153+
[Newtonsoft.Json.JsonPropertyAttribute("sourceSnapshot")]
3154+
public virtual string SourceSnapshot { get; set; }
3155+
3156+
/// <summary>The ETag of the item.</summary>
3157+
public virtual string ETag { get; set; }
3158+
}
3159+
31183160
/// <summary>A runtime using a Compute Engine instance.</summary>
31193161
public class GceInstance : Google.Apis.Requests.IDirectResponseSchema
31203162
{
@@ -3220,6 +3262,17 @@ public class GceInstance : Google.Apis.Requests.IDirectResponseSchema
32203262
[Newtonsoft.Json.JsonPropertyAttribute("shieldedInstanceConfig")]
32213263
public virtual GceShieldedInstanceConfig ShieldedInstanceConfig { get; set; }
32223264

3265+
/// <summary>
3266+
/// Optional. Link to the startup script stored in Cloud Storage. This script will be run on the host
3267+
/// workstation VM when the VM is created. The URI must be of the form gs://{bucket-name}/{object-name}. If
3268+
/// specifying a startup script, the service account must have [Permission to access the bucket and script file
3269+
/// in Cloud Storage](https://cloud.google.com/storage/docs/access-control/iam-permissions). Otherwise, the
3270+
/// script must be publicly accessible. Note that the service regularly updates the OS version used, and it is
3271+
/// the responsibility of the user to ensure the script stays compatible with the OS version.
3272+
/// </summary>
3273+
[Newtonsoft.Json.JsonPropertyAttribute("startupScriptUri")]
3274+
public virtual string StartupScriptUri { get; set; }
3275+
32233276
/// <summary>
32243277
/// Optional. Network tags to add to the Compute Engine VMs backing the workstations. This option applies
32253278
/// [network tags](https://cloud.google.com/vpc/docs/add-remove-network-tags) to VMs created with this
@@ -3532,8 +3585,8 @@ public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema
35323585

35333586
/// <summary>
35343587
/// Unordered list. Unreachable resources. Populated when the request sets
3535-
/// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all
3536-
/// resources across all supported locations.
3588+
/// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to
3589+
/// list all resources across all supported locations.
35373590
/// </summary>
35383591
[Newtonsoft.Json.JsonPropertyAttribute("unreachable")]
35393592
public virtual System.Collections.Generic.IList<string> Unreachable { get; set; }
@@ -3829,6 +3882,10 @@ public virtual System.DateTimeOffset? EndTimeDateTimeOffset
38293882
/// </summary>
38303883
public class PersistentDirectory : Google.Apis.Requests.IDirectResponseSchema
38313884
{
3885+
/// <summary>A PersistentDirectory backed by a Compute Engine hyperdisk high availability disk.</summary>
3886+
[Newtonsoft.Json.JsonPropertyAttribute("gceHd")]
3887+
public virtual GceHyperdiskBalancedHighAvailability GceHd { get; set; }
3888+
38323889
/// <summary>A PersistentDirectory backed by a Compute Engine persistent disk.</summary>
38333890
[Newtonsoft.Json.JsonPropertyAttribute("gcePd")]
38343891
public virtual GceRegionalPersistentDisk GcePd { get; set; }

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!-- nupkg information -->
44
<PropertyGroup>
55
<Title>Google.Apis.CloudWorkstations.v1 Client Library</Title>
6-
<Version>1.72.0.3947</Version>
6+
<Version>1.73.0.3988</Version>
77
<Authors>Google LLC</Authors>
88
<Copyright>Copyright 2025 Google LLC</Copyright>
99
<PackageTags>Google</PackageTags>
@@ -60,8 +60,8 @@
6060
<!-- common dependencies -->
6161
<ItemGroup>
6262
<PackageReference Include="ConfigureAwaitChecker.Analyzer" Version="5.0.0" PrivateAssets="All" />
63-
<PackageReference Include="Google.Apis" Version="1.72.0" />
64-
<PackageReference Include="Google.Apis.Auth" Version="1.72.0" />
63+
<PackageReference Include="Google.Apis" Version="1.73.0" />
64+
<PackageReference Include="Google.Apis.Auth" Version="1.73.0" />
6565
</ItemGroup>
6666

6767
</Project>

0 commit comments

Comments
 (0)