diff --git a/api_names_out.yaml b/api_names_out.yaml index 3fda2f5a83d..14b579f4afa 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -434440,6 +434440,7 @@ "/workstations:v1/GceConfidentialInstanceConfig/enableConfidentialCompute": enable_confidential_compute "/workstations:v1/GceHyperdiskBalancedHighAvailability": gce_hyperdisk_balanced_high_availability "/workstations:v1/GceHyperdiskBalancedHighAvailability/archiveTimeout": archive_timeout +"/workstations:v1/GceHyperdiskBalancedHighAvailability/maxSizeGb": max_size_gb "/workstations:v1/GceHyperdiskBalancedHighAvailability/reclaimPolicy": reclaim_policy "/workstations:v1/GceHyperdiskBalancedHighAvailability/sizeGb": size_gb "/workstations:v1/GceHyperdiskBalancedHighAvailability/sourceSnapshot": source_snapshot @@ -434480,6 +434481,7 @@ "/workstations:v1/GceRegionalPersistentDisk/archiveTimeout": archive_timeout "/workstations:v1/GceRegionalPersistentDisk/diskType": disk_type "/workstations:v1/GceRegionalPersistentDisk/fsType": fs_type +"/workstations:v1/GceRegionalPersistentDisk/maxSizeGb": max_size_gb "/workstations:v1/GceRegionalPersistentDisk/reclaimPolicy": reclaim_policy "/workstations:v1/GceRegionalPersistentDisk/sizeGb": size_gb "/workstations:v1/GceRegionalPersistentDisk/sourceSnapshot": source_snapshot @@ -434622,6 +434624,8 @@ "/workstations:v1/Workstation/labels": labels "/workstations:v1/Workstation/labels/label": label "/workstations:v1/Workstation/name": name +"/workstations:v1/Workstation/persistentDirectories": persistent_directories +"/workstations:v1/Workstation/persistentDirectories/persistent_directory": persistent_directory "/workstations:v1/Workstation/reconciling": reconciling "/workstations:v1/Workstation/runtimeHost": runtime_host "/workstations:v1/Workstation/sourceWorkstation": source_workstation @@ -434690,6 +434694,9 @@ "/workstations:v1/WorkstationConfig/runningTimeout": running_timeout "/workstations:v1/WorkstationConfig/uid": uid "/workstations:v1/WorkstationConfig/updateTime": update_time +"/workstations:v1/WorkstationPersistentDirectory": workstation_persistent_directory +"/workstations:v1/WorkstationPersistentDirectory/mountPath": mount_path +"/workstations:v1/WorkstationPersistentDirectory/sizeGb": size_gb "/workstations:v1/fields": fields "/workstations:v1/key": key "/workstations:v1/quotaUser": quota_user diff --git a/generated/google-apis-workstations_v1/CHANGELOG.md b/generated/google-apis-workstations_v1/CHANGELOG.md index e7b0fda2b8b..097da046bbd 100644 --- a/generated/google-apis-workstations_v1/CHANGELOG.md +++ b/generated/google-apis-workstations_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-workstations_v1 +### v0.37.0 (2026-06-21) + +* Regenerated from discovery document revision 20260604 + ### v0.36.0 (2026-06-14) * Regenerated using generator version 0.19.0 diff --git a/generated/google-apis-workstations_v1/lib/google/apis/workstations_v1/classes.rb b/generated/google-apis-workstations_v1/lib/google/apis/workstations_v1/classes.rb index 7bdd4d75596..5e7e84818de 100644 --- a/generated/google-apis-workstations_v1/lib/google/apis/workstations_v1/classes.rb +++ b/generated/google-apis-workstations_v1/lib/google/apis/workstations_v1/classes.rb @@ -563,6 +563,12 @@ class GceHyperdiskBalancedHighAvailability # @return [String] attr_accessor :archive_timeout + # Optional. Maximum size in GB to which this persistent directory can be resized. + # Defaults to unlimited if not set. + # Corresponds to the JSON property `maxSizeGb` + # @return [Fixnum] + attr_accessor :max_size_gb + # Optional. Whether the persistent disk should be deleted when the workstation # is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`. # Corresponds to the JSON property `reclaimPolicy` @@ -590,6 +596,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @archive_timeout = args[:archive_timeout] if args.key?(:archive_timeout) + @max_size_gb = args[:max_size_gb] if args.key?(:max_size_gb) @reclaim_policy = args[:reclaim_policy] if args.key?(:reclaim_policy) @size_gb = args[:size_gb] if args.key?(:size_gb) @source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot) @@ -890,6 +897,12 @@ class GceRegionalPersistentDisk # @return [String] attr_accessor :fs_type + # Optional. Maximum size in GB to which this persistent directory can be resized. + # Defaults to unlimited if not set. + # Corresponds to the JSON property `maxSizeGb` + # @return [Fixnum] + attr_accessor :max_size_gb + # Optional. Whether the persistent disk should be deleted when the workstation # is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`. # Corresponds to the JSON property `reclaimPolicy` @@ -920,6 +933,7 @@ def update!(**args) @archive_timeout = args[:archive_timeout] if args.key?(:archive_timeout) @disk_type = args[:disk_type] if args.key?(:disk_type) @fs_type = args[:fs_type] if args.key?(:fs_type) + @max_size_gb = args[:max_size_gb] if args.key?(:max_size_gb) @reclaim_policy = args[:reclaim_policy] if args.key?(:reclaim_policy) @size_gb = args[:size_gb] if args.key?(:size_gb) @source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot) @@ -1962,6 +1976,11 @@ class Workstation # @return [String] attr_accessor :name + # Optional. Directories to persist across workstation sessions. + # Corresponds to the JSON property `persistentDirectories` + # @return [Array] + attr_accessor :persistent_directories + # Output only. Indicates whether this workstation is currently being updated to # match its intended state. # Corresponds to the JSON property `reconciling` @@ -2017,6 +2036,7 @@ def update!(**args) @kms_key = args[:kms_key] if args.key?(:kms_key) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) + @persistent_directories = args[:persistent_directories] if args.key?(:persistent_directories) @reconciling = args[:reconciling] if args.key?(:reconciling) @runtime_host = args[:runtime_host] if args.key?(:runtime_host) @source_workstation = args[:source_workstation] if args.key?(:source_workstation) @@ -2439,6 +2459,33 @@ def update!(**args) @update_time = args[:update_time] if args.key?(:update_time) end end + + # A directory to persist across workstation sessions. Updates to this field will + # only take effect on this workstation after it is restarted. + class WorkstationPersistentDirectory + include Google::Apis::Core::Hashable + + # Optional. The mount path of the persistent directory. + # Corresponds to the JSON property `mountPath` + # @return [String] + attr_accessor :mount_path + + # Optional. Size of the persistent directory in GB. If specified in an update + # request, this is the desired size of the directory. + # Corresponds to the JSON property `sizeGb` + # @return [Fixnum] + attr_accessor :size_gb + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @mount_path = args[:mount_path] if args.key?(:mount_path) + @size_gb = args[:size_gb] if args.key?(:size_gb) + end + end end end end diff --git a/generated/google-apis-workstations_v1/lib/google/apis/workstations_v1/gem_version.rb b/generated/google-apis-workstations_v1/lib/google/apis/workstations_v1/gem_version.rb index 3947c164b9e..cdb14aed36b 100644 --- a/generated/google-apis-workstations_v1/lib/google/apis/workstations_v1/gem_version.rb +++ b/generated/google-apis-workstations_v1/lib/google/apis/workstations_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module WorkstationsV1 # Version of the google-apis-workstations_v1 gem - GEM_VERSION = "0.36.0" + GEM_VERSION = "0.37.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.19.0" # Revision of the discovery document this client was generated from - REVISION = "20260427" + REVISION = "20260604" end end end diff --git a/generated/google-apis-workstations_v1/lib/google/apis/workstations_v1/representations.rb b/generated/google-apis-workstations_v1/lib/google/apis/workstations_v1/representations.rb index a2678b2b5e5..c92440c08e9 100644 --- a/generated/google-apis-workstations_v1/lib/google/apis/workstations_v1/representations.rb +++ b/generated/google-apis-workstations_v1/lib/google/apis/workstations_v1/representations.rb @@ -310,6 +310,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class WorkstationPersistentDirectory + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Accelerator # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -428,6 +434,7 @@ class GceHyperdiskBalancedHighAvailability # @private class Representation < Google::Apis::Core::JsonRepresentation property :archive_timeout, as: 'archiveTimeout' + property :max_size_gb, as: 'maxSizeGb' property :reclaim_policy, as: 'reclaimPolicy' property :size_gb, as: 'sizeGb' property :source_snapshot, as: 'sourceSnapshot' @@ -486,6 +493,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :archive_timeout, as: 'archiveTimeout' property :disk_type, as: 'diskType' property :fs_type, as: 'fsType' + property :max_size_gb, as: 'maxSizeGb' property :reclaim_policy, as: 'reclaimPolicy' property :size_gb, as: 'sizeGb' property :source_snapshot, as: 'sourceSnapshot' @@ -756,6 +764,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :kms_key, as: 'kmsKey' hash :labels, as: 'labels' property :name, as: 'name' + collection :persistent_directories, as: 'persistentDirectories', class: Google::Apis::WorkstationsV1::WorkstationPersistentDirectory, decorator: Google::Apis::WorkstationsV1::WorkstationPersistentDirectory::Representation + property :reconciling, as: 'reconciling' property :runtime_host, as: 'runtimeHost', class: Google::Apis::WorkstationsV1::RuntimeHost, decorator: Google::Apis::WorkstationsV1::RuntimeHost::Representation @@ -837,6 +847,14 @@ class Representation < Google::Apis::Core::JsonRepresentation property :update_time, as: 'updateTime' end end + + class WorkstationPersistentDirectory + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :mount_path, as: 'mountPath' + property :size_gb, as: 'sizeGb' + end + end end end end