google-apis-workstations_v1 0.36.0 → 0.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a823b77a2971c6a9316be1f8399ed4d5bb8ae46e41c20bb4a7636e615c0643d
4
- data.tar.gz: 73dc610fcf8c05676f0d60e75ee8edde5b55d8ceaa0483134f36a14115acfc31
3
+ metadata.gz: a51a193d16ca18e3887bea1a6efa7e8351802247139624db74915f76145da6c3
4
+ data.tar.gz: 2fb308a152998c6404dcd62ea9dc50904ea42494c3e643d5d0484fa8d4e773c8
5
5
  SHA512:
6
- metadata.gz: e3a18081bd6763e77ac656af2d6a90d14ac6ec3c5155ed77e0d8da7c3469eb56f52ee961ee1956d989b94e89392be2c607d22cee4234c0a9473babc3601a5224
7
- data.tar.gz: 635548064bde20a2c21270c75168b1e6516e95b3ddcf18d5ce40e9bfd3980451defa656173aa84d894585b4a4b428533ba2dfa2b5a4a204ee46c6fae4e3b34e6
6
+ metadata.gz: b64ebb53b8188b282969373d4bb643cea89de0b4c3a67b76dfb537659e3e6bb7bcfdb85cca8bc0d54f9a3655e4200eac0c3048edbdbfd4be74119d8e7982b11a
7
+ data.tar.gz: 8ce2fb7a0b1e60436af71f97ababde63c8c4c2b57401f94939d937dbd4e6f8f11764e60f8fb4530eccccba25c8cb63367edd4717e822873a713e0958a7937458
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-workstations_v1
2
2
 
3
+ ### v0.37.0 (2026-06-21)
4
+
5
+ * Regenerated from discovery document revision 20260604
6
+
3
7
  ### v0.36.0 (2026-06-14)
4
8
 
5
9
  * Regenerated using generator version 0.19.0
@@ -563,6 +563,12 @@ module Google
563
563
  # @return [String]
564
564
  attr_accessor :archive_timeout
565
565
 
566
+ # Optional. Maximum size in GB to which this persistent directory can be resized.
567
+ # Defaults to unlimited if not set.
568
+ # Corresponds to the JSON property `maxSizeGb`
569
+ # @return [Fixnum]
570
+ attr_accessor :max_size_gb
571
+
566
572
  # Optional. Whether the persistent disk should be deleted when the workstation
567
573
  # is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`.
568
574
  # Corresponds to the JSON property `reclaimPolicy`
@@ -590,6 +596,7 @@ module Google
590
596
  # Update properties of this object
591
597
  def update!(**args)
592
598
  @archive_timeout = args[:archive_timeout] if args.key?(:archive_timeout)
599
+ @max_size_gb = args[:max_size_gb] if args.key?(:max_size_gb)
593
600
  @reclaim_policy = args[:reclaim_policy] if args.key?(:reclaim_policy)
594
601
  @size_gb = args[:size_gb] if args.key?(:size_gb)
595
602
  @source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
@@ -890,6 +897,12 @@ module Google
890
897
  # @return [String]
891
898
  attr_accessor :fs_type
892
899
 
900
+ # Optional. Maximum size in GB to which this persistent directory can be resized.
901
+ # Defaults to unlimited if not set.
902
+ # Corresponds to the JSON property `maxSizeGb`
903
+ # @return [Fixnum]
904
+ attr_accessor :max_size_gb
905
+
893
906
  # Optional. Whether the persistent disk should be deleted when the workstation
894
907
  # is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`.
895
908
  # Corresponds to the JSON property `reclaimPolicy`
@@ -920,6 +933,7 @@ module Google
920
933
  @archive_timeout = args[:archive_timeout] if args.key?(:archive_timeout)
921
934
  @disk_type = args[:disk_type] if args.key?(:disk_type)
922
935
  @fs_type = args[:fs_type] if args.key?(:fs_type)
936
+ @max_size_gb = args[:max_size_gb] if args.key?(:max_size_gb)
923
937
  @reclaim_policy = args[:reclaim_policy] if args.key?(:reclaim_policy)
924
938
  @size_gb = args[:size_gb] if args.key?(:size_gb)
925
939
  @source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
@@ -1962,6 +1976,11 @@ module Google
1962
1976
  # @return [String]
1963
1977
  attr_accessor :name
1964
1978
 
1979
+ # Optional. Directories to persist across workstation sessions.
1980
+ # Corresponds to the JSON property `persistentDirectories`
1981
+ # @return [Array<Google::Apis::WorkstationsV1::WorkstationPersistentDirectory>]
1982
+ attr_accessor :persistent_directories
1983
+
1965
1984
  # Output only. Indicates whether this workstation is currently being updated to
1966
1985
  # match its intended state.
1967
1986
  # Corresponds to the JSON property `reconciling`
@@ -2017,6 +2036,7 @@ module Google
2017
2036
  @kms_key = args[:kms_key] if args.key?(:kms_key)
2018
2037
  @labels = args[:labels] if args.key?(:labels)
2019
2038
  @name = args[:name] if args.key?(:name)
2039
+ @persistent_directories = args[:persistent_directories] if args.key?(:persistent_directories)
2020
2040
  @reconciling = args[:reconciling] if args.key?(:reconciling)
2021
2041
  @runtime_host = args[:runtime_host] if args.key?(:runtime_host)
2022
2042
  @source_workstation = args[:source_workstation] if args.key?(:source_workstation)
@@ -2439,6 +2459,33 @@ module Google
2439
2459
  @update_time = args[:update_time] if args.key?(:update_time)
2440
2460
  end
2441
2461
  end
2462
+
2463
+ # A directory to persist across workstation sessions. Updates to this field will
2464
+ # only take effect on this workstation after it is restarted.
2465
+ class WorkstationPersistentDirectory
2466
+ include Google::Apis::Core::Hashable
2467
+
2468
+ # Optional. The mount path of the persistent directory.
2469
+ # Corresponds to the JSON property `mountPath`
2470
+ # @return [String]
2471
+ attr_accessor :mount_path
2472
+
2473
+ # Optional. Size of the persistent directory in GB. If specified in an update
2474
+ # request, this is the desired size of the directory.
2475
+ # Corresponds to the JSON property `sizeGb`
2476
+ # @return [Fixnum]
2477
+ attr_accessor :size_gb
2478
+
2479
+ def initialize(**args)
2480
+ update!(**args)
2481
+ end
2482
+
2483
+ # Update properties of this object
2484
+ def update!(**args)
2485
+ @mount_path = args[:mount_path] if args.key?(:mount_path)
2486
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
2487
+ end
2488
+ end
2442
2489
  end
2443
2490
  end
2444
2491
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module WorkstationsV1
18
18
  # Version of the google-apis-workstations_v1 gem
19
- GEM_VERSION = "0.36.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260427"
25
+ REVISION = "20260604"
26
26
  end
27
27
  end
28
28
  end
@@ -310,6 +310,12 @@ module Google
310
310
  include Google::Apis::Core::JsonObjectSupport
311
311
  end
312
312
 
313
+ class WorkstationPersistentDirectory
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
313
319
  class Accelerator
314
320
  # @private
315
321
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -428,6 +434,7 @@ module Google
428
434
  # @private
429
435
  class Representation < Google::Apis::Core::JsonRepresentation
430
436
  property :archive_timeout, as: 'archiveTimeout'
437
+ property :max_size_gb, as: 'maxSizeGb'
431
438
  property :reclaim_policy, as: 'reclaimPolicy'
432
439
  property :size_gb, as: 'sizeGb'
433
440
  property :source_snapshot, as: 'sourceSnapshot'
@@ -486,6 +493,7 @@ module Google
486
493
  property :archive_timeout, as: 'archiveTimeout'
487
494
  property :disk_type, as: 'diskType'
488
495
  property :fs_type, as: 'fsType'
496
+ property :max_size_gb, as: 'maxSizeGb'
489
497
  property :reclaim_policy, as: 'reclaimPolicy'
490
498
  property :size_gb, as: 'sizeGb'
491
499
  property :source_snapshot, as: 'sourceSnapshot'
@@ -756,6 +764,8 @@ module Google
756
764
  property :kms_key, as: 'kmsKey'
757
765
  hash :labels, as: 'labels'
758
766
  property :name, as: 'name'
767
+ collection :persistent_directories, as: 'persistentDirectories', class: Google::Apis::WorkstationsV1::WorkstationPersistentDirectory, decorator: Google::Apis::WorkstationsV1::WorkstationPersistentDirectory::Representation
768
+
759
769
  property :reconciling, as: 'reconciling'
760
770
  property :runtime_host, as: 'runtimeHost', class: Google::Apis::WorkstationsV1::RuntimeHost, decorator: Google::Apis::WorkstationsV1::RuntimeHost::Representation
761
771
 
@@ -837,6 +847,14 @@ module Google
837
847
  property :update_time, as: 'updateTime'
838
848
  end
839
849
  end
850
+
851
+ class WorkstationPersistentDirectory
852
+ # @private
853
+ class Representation < Google::Apis::Core::JsonRepresentation
854
+ property :mount_path, as: 'mountPath'
855
+ property :size_gb, as: 'sizeGb'
856
+ end
857
+ end
840
858
  end
841
859
  end
842
860
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-workstations_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
4
+ version: 0.37.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workstations_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1/v0.36.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1/v0.37.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workstations_v1
62
62
  rdoc_options: []
63
63
  require_paths: