Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-workstations_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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`
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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<Google::Apis::WorkstationsV1::WorkstationPersistentDirectory>]
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`
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Loading