Skip to content

Commit bc89900

Browse files
committed
feat: Generate Google.Apis.CloudWorkstations.v1beta version 1.72.0.3947
1 parent 10e383a commit bc89900

File tree

3 files changed

+101
-2
lines changed

3 files changed

+101
-2
lines changed

DiscoveryJson/workstations.v1beta.json

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@
11471147
}
11481148
}
11491149
},
1150-
"revision": "20250929",
1150+
"revision": "20251022",
11511151
"rootUrl": "https://workstations.googleapis.com/",
11521152
"schemas": {
11531153
"Accelerator": {
@@ -1409,6 +1409,41 @@
14091409
},
14101410
"type": "object"
14111411
},
1412+
"GceHyperdiskBalancedHighAvailability": {
1413+
"description": "A Persistent Directory backed by a Compute Engine Hyperdisk Balanced High Availability Disk. This is a high-availability block storage solution that offers a balance between performance and cost for most general-purpose workloads.",
1414+
"id": "GceHyperdiskBalancedHighAvailability",
1415+
"properties": {
1416+
"archiveTimeout": {
1417+
"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.",
1418+
"format": "google-duration",
1419+
"type": "string"
1420+
},
1421+
"reclaimPolicy": {
1422+
"description": "Optional. Whether the persistent disk should be deleted when the workstation is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`.",
1423+
"enum": [
1424+
"RECLAIM_POLICY_UNSPECIFIED",
1425+
"DELETE",
1426+
"RETAIN"
1427+
],
1428+
"enumDescriptions": [
1429+
"Do not use.",
1430+
"Delete the persistent disk when deleting the workstation.",
1431+
"Keep the persistent disk when deleting the workstation. An administrator must manually delete the disk."
1432+
],
1433+
"type": "string"
1434+
},
1435+
"sizeGb": {
1436+
"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`.",
1437+
"format": "int32",
1438+
"type": "integer"
1439+
},
1440+
"sourceSnapshot": {
1441+
"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.",
1442+
"type": "string"
1443+
}
1444+
},
1445+
"type": "object"
1446+
},
14121447
"GceInstance": {
14131448
"description": "A runtime using a Compute Engine instance.",
14141449
"id": "GceInstance",
@@ -1482,6 +1517,10 @@
14821517
"$ref": "GceShieldedInstanceConfig",
14831518
"description": "Optional. A set of Compute Engine Shielded instance options."
14841519
},
1520+
"startupScriptUri": {
1521+
"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.",
1522+
"type": "string"
1523+
},
14851524
"tags": {
14861525
"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).",
14871526
"items": {
@@ -1904,6 +1943,10 @@
19041943
"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.",
19051944
"id": "PersistentDirectory",
19061945
"properties": {
1946+
"gceHd": {
1947+
"$ref": "GceHyperdiskBalancedHighAvailability",
1948+
"description": "A PersistentDirectory backed by a Compute Engine hyperdisk high availability disk."
1949+
},
19071950
"gcePd": {
19081951
"$ref": "GceRegionalPersistentDisk",
19091952
"description": "A PersistentDirectory backed by a Compute Engine persistent disk."

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

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2980,6 +2980,48 @@ public class GceConfidentialInstanceConfig : Google.Apis.Requests.IDirectRespons
29802980
public virtual string ETag { get; set; }
29812981
}
29822982

2983+
/// <summary>
2984+
/// A Persistent Directory backed by a Compute Engine Hyperdisk Balanced High Availability Disk. This is a
2985+
/// high-availability block storage solution that offers a balance between performance and cost for most
2986+
/// general-purpose workloads.
2987+
/// </summary>
2988+
public class GceHyperdiskBalancedHighAvailability : Google.Apis.Requests.IDirectResponseSchema
2989+
{
2990+
/// <summary>
2991+
/// Optional. Number of seconds to wait after initially creating or subsequently shutting down the workstation
2992+
/// before converting its disk into a snapshot. This generally saves costs at the expense of greater startup
2993+
/// time on next workstation start, as the service will need to create a disk from the archival snapshot. A
2994+
/// value of `"0s"` indicates that the disk will never be archived.
2995+
/// </summary>
2996+
[Newtonsoft.Json.JsonPropertyAttribute("archiveTimeout")]
2997+
public virtual object ArchiveTimeout { get; set; }
2998+
2999+
/// <summary>
3000+
/// Optional. Whether the persistent disk should be deleted when the workstation is deleted. Valid values are
3001+
/// `DELETE` and `RETAIN`. Defaults to `DELETE`.
3002+
/// </summary>
3003+
[Newtonsoft.Json.JsonPropertyAttribute("reclaimPolicy")]
3004+
public virtual string ReclaimPolicy { get; set; }
3005+
3006+
/// <summary>
3007+
/// Optional. The GB capacity of a persistent home directory for each workstation created with this
3008+
/// configuration. Must be empty if source_snapshot is set. Valid values are `10`, `50`, `100`, `200`, `500`, or
3009+
/// `1000`. Defaults to `200`.
3010+
/// </summary>
3011+
[Newtonsoft.Json.JsonPropertyAttribute("sizeGb")]
3012+
public virtual System.Nullable<int> SizeGb { get; set; }
3013+
3014+
/// <summary>
3015+
/// Optional. Name of the snapshot to use as the source for the disk. If set, size_gb must be empty. Must be
3016+
/// formatted as ext4 file system with no partitions.
3017+
/// </summary>
3018+
[Newtonsoft.Json.JsonPropertyAttribute("sourceSnapshot")]
3019+
public virtual string SourceSnapshot { get; set; }
3020+
3021+
/// <summary>The ETag of the item.</summary>
3022+
public virtual string ETag { get; set; }
3023+
}
3024+
29833025
/// <summary>A runtime using a Compute Engine instance.</summary>
29843026
public class GceInstance : Google.Apis.Requests.IDirectResponseSchema
29853027
{
@@ -3099,6 +3141,16 @@ public class GceInstance : Google.Apis.Requests.IDirectResponseSchema
30993141
[Newtonsoft.Json.JsonPropertyAttribute("shieldedInstanceConfig")]
31003142
public virtual GceShieldedInstanceConfig ShieldedInstanceConfig { get; set; }
31013143

3144+
/// <summary>
3145+
/// Optional. Link to the startup script stored in Cloud Storage. This script will be run on the host
3146+
/// workstation VM when the VM is created. The uri must be of the form gs://{bucket-name}/{object-name}. If
3147+
/// specifying a startup script, the service account must have [Permission to access the bucket and script file
3148+
/// in Cloud Storage](https://cloud.google.com/storage/docs/access-control/iam-permissions). Otherwise, the
3149+
/// script must be publicly accessible.
3150+
/// </summary>
3151+
[Newtonsoft.Json.JsonPropertyAttribute("startupScriptUri")]
3152+
public virtual string StartupScriptUri { get; set; }
3153+
31023154
/// <summary>
31033155
/// Optional. Network tags to add to the Compute Engine VMs backing the workstations. This option applies
31043156
/// [network tags](https://cloud.google.com/vpc/docs/add-remove-network-tags) to VMs created with this
@@ -3687,6 +3739,10 @@ public virtual System.DateTimeOffset? EndTimeDateTimeOffset
36873739
/// </summary>
36883740
public class PersistentDirectory : Google.Apis.Requests.IDirectResponseSchema
36893741
{
3742+
/// <summary>A PersistentDirectory backed by a Compute Engine hyperdisk high availability disk.</summary>
3743+
[Newtonsoft.Json.JsonPropertyAttribute("gceHd")]
3744+
public virtual GceHyperdiskBalancedHighAvailability GceHd { get; set; }
3745+
36903746
/// <summary>A PersistentDirectory backed by a Compute Engine persistent disk.</summary>
36913747
[Newtonsoft.Json.JsonPropertyAttribute("gcePd")]
36923748
public virtual GceRegionalPersistentDisk GcePd { get; set; }

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!-- nupkg information -->
44
<PropertyGroup>
55
<Title>Google.Apis.CloudWorkstations.v1beta Client Library</Title>
6-
<Version>1.72.0.3924</Version>
6+
<Version>1.72.0.3947</Version>
77
<Authors>Google LLC</Authors>
88
<Copyright>Copyright 2025 Google LLC</Copyright>
99
<PackageTags>Google</PackageTags>

0 commit comments

Comments
 (0)