google-apis-workstations_v1 0.36.0 → 0.38.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: e776a7703422b4773e414776672c1ca372a19b36d7fe2f7dbea9765ba7fd5d97
4
+ data.tar.gz: 7ba6302221bf973369b46ad6727b154d1b34f32f5c9218ba0a47344eb182ea0f
5
5
  SHA512:
6
- metadata.gz: e3a18081bd6763e77ac656af2d6a90d14ac6ec3c5155ed77e0d8da7c3469eb56f52ee961ee1956d989b94e89392be2c607d22cee4234c0a9473babc3601a5224
7
- data.tar.gz: 635548064bde20a2c21270c75168b1e6516e95b3ddcf18d5ce40e9bfd3980451defa656173aa84d894585b4a4b428533ba2dfa2b5a4a204ee46c6fae4e3b34e6
6
+ metadata.gz: 74860796d879d745eca3405b691cf435e16491cc605f7ba13d5cef37b8c87767e94f92c552a4d842f0459bde91a579106a8cac50162ba4e4bed829938dc2a6b5
7
+ data.tar.gz: 1d93d8d5569d9f308163bc14f2d546d4753d525cb0480aa02ccadf5c771be147b7797abf8f46bb4e996a3d8acbd51da392b297fd1bfa04e7eac4610f8c739525
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-workstations_v1
2
2
 
3
+ ### v0.38.0 (2026-08-16)
4
+
5
+ * Regenerated from discovery document revision 20260807
6
+
7
+ ### v0.37.0 (2026-06-21)
8
+
9
+ * Regenerated from discovery document revision 20260604
10
+
3
11
  ### v0.36.0 (2026-06-14)
4
12
 
5
13
  * Regenerated using generator version 0.19.0
@@ -563,6 +563,14 @@ 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 `0`, which indicates no maximum limit is enforced by this
568
+ # configuration. Resizing is still subject to the quotas and limits of the
569
+ # underlying disk type.
570
+ # Corresponds to the JSON property `maxSizeGb`
571
+ # @return [Fixnum]
572
+ attr_accessor :max_size_gb
573
+
566
574
  # Optional. Whether the persistent disk should be deleted when the workstation
567
575
  # is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`.
568
576
  # Corresponds to the JSON property `reclaimPolicy`
@@ -590,6 +598,7 @@ module Google
590
598
  # Update properties of this object
591
599
  def update!(**args)
592
600
  @archive_timeout = args[:archive_timeout] if args.key?(:archive_timeout)
601
+ @max_size_gb = args[:max_size_gb] if args.key?(:max_size_gb)
593
602
  @reclaim_policy = args[:reclaim_policy] if args.key?(:reclaim_policy)
594
603
  @size_gb = args[:size_gb] if args.key?(:size_gb)
595
604
  @source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
@@ -890,6 +899,14 @@ module Google
890
899
  # @return [String]
891
900
  attr_accessor :fs_type
892
901
 
902
+ # Optional. Maximum size in GB to which this persistent directory can be resized.
903
+ # Defaults to `0`, which indicates no maximum limit is enforced by this
904
+ # configuration. Resizing is still subject to the quotas and limits of the
905
+ # underlying disk type.
906
+ # Corresponds to the JSON property `maxSizeGb`
907
+ # @return [Fixnum]
908
+ attr_accessor :max_size_gb
909
+
893
910
  # Optional. Whether the persistent disk should be deleted when the workstation
894
911
  # is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`.
895
912
  # Corresponds to the JSON property `reclaimPolicy`
@@ -920,6 +937,7 @@ module Google
920
937
  @archive_timeout = args[:archive_timeout] if args.key?(:archive_timeout)
921
938
  @disk_type = args[:disk_type] if args.key?(:disk_type)
922
939
  @fs_type = args[:fs_type] if args.key?(:fs_type)
940
+ @max_size_gb = args[:max_size_gb] if args.key?(:max_size_gb)
923
941
  @reclaim_policy = args[:reclaim_policy] if args.key?(:reclaim_policy)
924
942
  @size_gb = args[:size_gb] if args.key?(:size_gb)
925
943
  @source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
@@ -1962,6 +1980,11 @@ module Google
1962
1980
  # @return [String]
1963
1981
  attr_accessor :name
1964
1982
 
1983
+ # Optional. Directories to persist across workstation sessions.
1984
+ # Corresponds to the JSON property `persistentDirectories`
1985
+ # @return [Array<Google::Apis::WorkstationsV1::WorkstationPersistentDirectory>]
1986
+ attr_accessor :persistent_directories
1987
+
1965
1988
  # Output only. Indicates whether this workstation is currently being updated to
1966
1989
  # match its intended state.
1967
1990
  # Corresponds to the JSON property `reconciling`
@@ -2017,6 +2040,7 @@ module Google
2017
2040
  @kms_key = args[:kms_key] if args.key?(:kms_key)
2018
2041
  @labels = args[:labels] if args.key?(:labels)
2019
2042
  @name = args[:name] if args.key?(:name)
2043
+ @persistent_directories = args[:persistent_directories] if args.key?(:persistent_directories)
2020
2044
  @reconciling = args[:reconciling] if args.key?(:reconciling)
2021
2045
  @runtime_host = args[:runtime_host] if args.key?(:runtime_host)
2022
2046
  @source_workstation = args[:source_workstation] if args.key?(:source_workstation)
@@ -2376,19 +2400,19 @@ module Google
2376
2400
  # @return [Array<String>]
2377
2401
  attr_accessor :replica_zones
2378
2402
 
2379
- # Optional. Number of seconds that a workstation can run until it is
2380
- # automatically shut down. We recommend that workstations be shut down daily to
2381
- # reduce costs and so that security updates can be applied upon restart. The
2382
- # idle_timeout and running_timeout fields are independent of each other. Note
2383
- # that the running_timeout field shuts down VMs after the specified time,
2384
- # regardless of whether or not the VMs are idle. Provide duration terminated by `
2385
- # s` for seconds—for example, `"54000s"` (15 hours). Defaults to `"43200s"` (12
2386
- # hours). A value of `"0s"` indicates that workstations using this configuration
2387
- # should never time out. If encryption_key is set, it must be greater than `"0s"`
2388
- # and less than `"86400s"` (24 hours). Warning: A value of `"0s"` indicates
2389
- # that Cloud Workstations VMs created with this configuration have no maximum
2390
- # running time. This is strongly discouraged because you incur costs and will
2391
- # not pick up security updates.
2403
+ # Optional. Number of seconds to wait before automatically stopping a
2404
+ # workstation. We recommend that workstations be stopped daily so that security
2405
+ # updates can be applied upon restart. The idle_timeout and running_timeout
2406
+ # fields are independent of each other. Note that the running_timeout field
2407
+ # stops workstations after the specified time, regardless of whether or not the
2408
+ # workstations are idle. Provide duration terminated by `s` for seconds—for
2409
+ # example, `"54000s"` (15 hours). Defaults to `"43200s"` (12 hours). A value of `
2410
+ # "0s"` indicates that workstations using this configuration should never time
2411
+ # out. If encryption_key is set, it must be greater than `"0s"` and less than `"
2412
+ # 86400s"` (24 hours). Warning: A value of `"0s"` indicates that Cloud
2413
+ # Workstations VMs created with this configuration have no maximum running time.
2414
+ # This is strongly discouraged because you incur costs and will not pick up
2415
+ # security updates.
2392
2416
  # Corresponds to the JSON property `runningTimeout`
2393
2417
  # @return [String]
2394
2418
  attr_accessor :running_timeout
@@ -2439,6 +2463,33 @@ module Google
2439
2463
  @update_time = args[:update_time] if args.key?(:update_time)
2440
2464
  end
2441
2465
  end
2466
+
2467
+ # A directory to persist across workstation sessions. Updates to this field will
2468
+ # only take effect on this workstation after it is restarted.
2469
+ class WorkstationPersistentDirectory
2470
+ include Google::Apis::Core::Hashable
2471
+
2472
+ # Optional. The mount path of the persistent directory.
2473
+ # Corresponds to the JSON property `mountPath`
2474
+ # @return [String]
2475
+ attr_accessor :mount_path
2476
+
2477
+ # Optional. Size of the persistent directory in GB. If specified in an update
2478
+ # request, this is the desired size of the directory.
2479
+ # Corresponds to the JSON property `sizeGb`
2480
+ # @return [Fixnum]
2481
+ attr_accessor :size_gb
2482
+
2483
+ def initialize(**args)
2484
+ update!(**args)
2485
+ end
2486
+
2487
+ # Update properties of this object
2488
+ def update!(**args)
2489
+ @mount_path = args[:mount_path] if args.key?(:mount_path)
2490
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
2491
+ end
2492
+ end
2442
2493
  end
2443
2494
  end
2444
2495
  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.38.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 = "20260807"
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.38.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.38.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: