Skip to content

Commit 549dc4b

Browse files
feat: Automated regeneration of workstations v1beta client (#25435)
Auto-created at 2026-01-25 09:23:41 +0000 using the toys pull request generator.
1 parent b5473b0 commit 549dc4b

File tree

5 files changed

+21
-4
lines changed

5 files changed

+21
-4
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403843,6 +403843,7 @@
403843403843
"/workstations:v1beta/GcePersistentDisk/sourceImage": source_image
403844403844
"/workstations:v1beta/GcePersistentDisk/sourceSnapshot": source_snapshot
403845403845
"/workstations:v1beta/GceRegionalPersistentDisk": gce_regional_persistent_disk
403846+
"/workstations:v1beta/GceRegionalPersistentDisk/archiveTimeout": archive_timeout
403846403847
"/workstations:v1beta/GceRegionalPersistentDisk/diskType": disk_type
403847403848
"/workstations:v1beta/GceRegionalPersistentDisk/fsType": fs_type
403848403849
"/workstations:v1beta/GceRegionalPersistentDisk/reclaimPolicy": reclaim_policy

generated/google-apis-workstations_v1beta/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-workstations_v1beta
22

3+
### v0.47.0 (2026-01-25)
4+
5+
* Regenerated from discovery document revision 20260113
6+
37
### v0.46.0 (2025-12-14)
48

59
* Regenerated from discovery document revision 20251202

generated/google-apis-workstations_v1beta/lib/google/apis/workstations_v1beta/classes.rb

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -738,8 +738,9 @@ class GceInstance
738738
# service account must have [Permission to access the bucket and script file in
739739
# Cloud Storage](https://cloud.google.com/storage/docs/access-control/iam-
740740
# permissions). Otherwise, the script must be publicly accessible. Note that the
741-
# service regularly updates the OS version used, and it is the responsibility of
742-
# the user to ensure the script stays compatible with the OS version.
741+
# service regularly updates the OS version of the host VM, and it is the
742+
# responsibility of the user to ensure the script stays compatible with the OS
743+
# version.
743744
# Corresponds to the JSON property `startupScriptUri`
744745
# @return [String]
745746
attr_accessor :startup_script_uri
@@ -881,6 +882,15 @@ def update!(**args)
881882
class GceRegionalPersistentDisk
882883
include Google::Apis::Core::Hashable
883884

885+
# Optional. Number of seconds to wait after initially creating or subsequently
886+
# shutting down the workstation before converting its disk into a snapshot. This
887+
# generally saves costs at the expense of greater startup time on next
888+
# workstation start, as the service will need to create a disk from the archival
889+
# snapshot. A value of `"0s"` indicates that the disk will never be archived.
890+
# Corresponds to the JSON property `archiveTimeout`
891+
# @return [String]
892+
attr_accessor :archive_timeout
893+
884894
# Optional. The [type of the persistent disk](https://cloud.google.com/compute/
885895
# docs/disks#disk-types) for the home directory. Defaults to `"pd-standard"`.
886896
# Corresponds to the JSON property `diskType`
@@ -921,6 +931,7 @@ def initialize(**args)
921931

922932
# Update properties of this object
923933
def update!(**args)
934+
@archive_timeout = args[:archive_timeout] if args.key?(:archive_timeout)
924935
@disk_type = args[:disk_type] if args.key?(:disk_type)
925936
@fs_type = args[:fs_type] if args.key?(:fs_type)
926937
@reclaim_policy = args[:reclaim_policy] if args.key?(:reclaim_policy)

generated/google-apis-workstations_v1beta/lib/google/apis/workstations_v1beta/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module WorkstationsV1beta
1818
# Version of the google-apis-workstations_v1beta gem
19-
GEM_VERSION = "0.46.0"
19+
GEM_VERSION = "0.47.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20251202"
25+
REVISION = "20260113"
2626
end
2727
end
2828
end

generated/google-apis-workstations_v1beta/lib/google/apis/workstations_v1beta/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
493493
class GceRegionalPersistentDisk
494494
# @private
495495
class Representation < Google::Apis::Core::JsonRepresentation
496+
property :archive_timeout, as: 'archiveTimeout'
496497
property :disk_type, as: 'diskType'
497498
property :fs_type, as: 'fsType'
498499
property :reclaim_policy, as: 'reclaimPolicy'

0 commit comments

Comments
 (0)