google-apis-workstations_v1beta 0.46.0 → 0.48.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: b71b4237f01b753ac8bddee3b7455f47a814f085adf389eb42a401bec473ade2
4
- data.tar.gz: dd5045d1bd382bced0af18805c96a1eafbdb0596613f4b9b2b4e8cd7878bc198
3
+ metadata.gz: e557523c571506210018c592223035cf5e7330ef8bfc307f502e16f5499d79cd
4
+ data.tar.gz: b016429092386ca83d6c3c7769c6a42be37d3d03ea651588e30440d5395b2d43
5
5
  SHA512:
6
- metadata.gz: 872430cd2c3daa7326dc31daa35c78037fdb77caf5214bb1bdbb622686381dbfa3ac7ca9a86ffd0fe5082b7e4ac2477e01d98a4f6453f5c0b4d939aed854cb30
7
- data.tar.gz: d18b15626cc67ccac36ae484a731b1d77409076cfbd6c67d226dc0c308dd775978b2e5c84cbb834d08194312270359b3f25cf04113cc24dc3738f82666683dc3
6
+ metadata.gz: a0abb55ac0aa930e4a335f3b7a0f90e33ed38a3644f04f841ac3f44744b83171ed683baecbd287ecfb6e483325e5cf62329ae548ef07880c1533d99967a3779b
7
+ data.tar.gz: 2d6792b13d97bf268ed4b4b827e50d7317540b1ac2f539eeeb6921d65decf416f1b2f2712af1ca217cfed11cb32eea9e63f89041a434096072df868cdb7a6750
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-workstations_v1beta
2
2
 
3
+ ### v0.48.0 (2026-04-19)
4
+
5
+ * Regenerated from discovery document revision 20260325
6
+
7
+ ### v0.47.0 (2026-01-25)
8
+
9
+ * Regenerated from discovery document revision 20260113
10
+
3
11
  ### v0.46.0 (2025-12-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20251202
@@ -738,8 +738,9 @@ module Google
738
738
  # service account must have [Permission to access the bucket and script file in
739
739
  # Cloud Storage](https://cloud.google.com/storage/docs/access-control/iam-
740
740
  # 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.
743
744
  # Corresponds to the JSON property `startupScriptUri`
744
745
  # @return [String]
745
746
  attr_accessor :startup_script_uri
@@ -881,6 +882,15 @@ module Google
881
882
  class GceRegionalPersistentDisk
882
883
  include Google::Apis::Core::Hashable
883
884
 
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
+
884
894
  # Optional. The [type of the persistent disk](https://cloud.google.com/compute/
885
895
  # docs/disks#disk-types) for the home directory. Defaults to `"pd-standard"`.
886
896
  # Corresponds to the JSON property `diskType`
@@ -921,6 +931,7 @@ module Google
921
931
 
922
932
  # Update properties of this object
923
933
  def update!(**args)
934
+ @archive_timeout = args[:archive_timeout] if args.key?(:archive_timeout)
924
935
  @disk_type = args[:disk_type] if args.key?(:disk_type)
925
936
  @fs_type = args[:fs_type] if args.key?(:fs_type)
926
937
  @reclaim_policy = args[:reclaim_policy] if args.key?(:reclaim_policy)
@@ -1775,7 +1786,7 @@ module Google
1775
1786
  # @return [String]
1776
1787
  attr_accessor :etag
1777
1788
 
1778
- # Optional. If set, validate the request and preview the review, but do not
1789
+ # Optional. If set, validate the request and preview the result, but do not
1779
1790
  # actually apply it.
1780
1791
  # Corresponds to the JSON property `validateOnly`
1781
1792
  # @return [Boolean]
@@ -1843,7 +1854,7 @@ module Google
1843
1854
  # @return [String]
1844
1855
  attr_accessor :etag
1845
1856
 
1846
- # Optional. If set, validate the request and preview the review, but do not
1857
+ # Optional. If set, validate the request and preview the result, but do not
1847
1858
  # actually apply it.
1848
1859
  # Corresponds to the JSON property `validateOnly`
1849
1860
  # @return [Boolean]
@@ -2224,6 +2235,27 @@ module Google
2224
2235
  # @return [String]
2225
2236
  attr_accessor :update_time
2226
2237
 
2238
+ # Optional. Specifies the redirect URL for unauthorized requests received by
2239
+ # workstation VMs in this cluster. Redirects to this endpoint will send a base64
2240
+ # encoded `state` query param containing the target workstation name and
2241
+ # original request hostname. The endpoint is responsible for retrieving a token
2242
+ # using `GenerateAccessToken` and redirecting back to the original hostname with
2243
+ # the token.
2244
+ # Corresponds to the JSON property `workstationAuthorizationUrl`
2245
+ # @return [String]
2246
+ attr_accessor :workstation_authorization_url
2247
+
2248
+ # Optional. Specifies the launch URL for workstations in this cluster. Requests
2249
+ # sent to unstarted workstations will be redirected to this URL. Requests
2250
+ # redirected to the launch endpoint will be sent with a `workstation` and `
2251
+ # project` query parameter containing the full workstation resource name and
2252
+ # project ID, respectively. The launch endpoint is responsible for starting the
2253
+ # workstation, polling it until it reaches `STATE_RUNNING`, and then issuing a
2254
+ # redirect to the workstation's host URL.
2255
+ # Corresponds to the JSON property `workstationLaunchUrl`
2256
+ # @return [String]
2257
+ attr_accessor :workstation_launch_url
2258
+
2227
2259
  def initialize(**args)
2228
2260
  update!(**args)
2229
2261
  end
@@ -2251,6 +2283,8 @@ module Google
2251
2283
  @tags = args[:tags] if args.key?(:tags)
2252
2284
  @uid = args[:uid] if args.key?(:uid)
2253
2285
  @update_time = args[:update_time] if args.key?(:update_time)
2286
+ @workstation_authorization_url = args[:workstation_authorization_url] if args.key?(:workstation_authorization_url)
2287
+ @workstation_launch_url = args[:workstation_launch_url] if args.key?(:workstation_launch_url)
2254
2288
  end
2255
2289
  end
2256
2290
 
@@ -2440,10 +2474,11 @@ module Google
2440
2474
  attr_accessor :replica_zones
2441
2475
 
2442
2476
  # Optional. Number of seconds that a workstation can run until it is
2443
- # automatically shut down. We recommend that workstations be shut down daily to
2444
- # reduce costs and so that security updates can be applied upon restart. The
2445
- # idle_timeout and running_timeout fields are independent of each other. Note
2446
- # that the running_timeout field shuts down VMs after the specified time,
2477
+ # automatically shut down. This field applies to workstations in both
2478
+ # STATE_RUNNING and STATE_SUSPENDED. We recommend that workstations be shut down
2479
+ # daily to reduce costs and so that security updates can be applied upon restart.
2480
+ # The idle_timeout and running_timeout fields are independent of each other.
2481
+ # Note that the running_timeout field shuts down VMs after the specified time,
2447
2482
  # regardless of whether or not the VMs are idle. Provide duration terminated by `
2448
2483
  # s` for seconds—for example, `"54000s"` (15 hours). Defaults to `"43200s"` (12
2449
2484
  # hours). A value of `"0s"` indicates that workstations using this configuration
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module WorkstationsV1beta
18
18
  # Version of the google-apis-workstations_v1beta gem
19
- GEM_VERSION = "0.46.0"
19
+ GEM_VERSION = "0.48.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251202"
25
+ REVISION = "20260325"
26
26
  end
27
27
  end
28
28
  end
@@ -493,6 +493,7 @@ module Google
493
493
  class GceRegionalPersistentDisk
494
494
  # @private
495
495
  class Representation < Google::Apis::Core::JsonRepresentation
496
+ property :archive_timeout, as: 'archiveTimeout'
496
497
  property :disk_type, as: 'diskType'
497
498
  property :fs_type, as: 'fsType'
498
499
  property :reclaim_policy, as: 'reclaimPolicy'
@@ -816,6 +817,8 @@ module Google
816
817
  hash :tags, as: 'tags'
817
818
  property :uid, as: 'uid'
818
819
  property :update_time, as: 'updateTime'
820
+ property :workstation_authorization_url, as: 'workstationAuthorizationUrl'
821
+ property :workstation_launch_url, as: 'workstationLaunchUrl'
819
822
  end
820
823
  end
821
824
 
@@ -209,7 +209,7 @@ module Google
209
209
  # Required. Parent resource name.
210
210
  # @param [Google::Apis::WorkstationsV1beta::WorkstationCluster] workstation_cluster_object
211
211
  # @param [Boolean] validate_only
212
- # Optional. If set, validate the request and preview the review, but do not
212
+ # Optional. If set, validate the request and preview the result, but do not
213
213
  # actually apply it.
214
214
  # @param [String] workstation_cluster_id
215
215
  # Required. ID to use for the workstation cluster.
@@ -255,7 +255,7 @@ module Google
255
255
  # workstation cluster are also deleted. Otherwise, the request only works if the
256
256
  # workstation cluster has no configurations or workstations.
257
257
  # @param [Boolean] validate_only
258
- # Optional. If set, validate the request and preview the review, but do not
258
+ # Optional. If set, validate the request and preview the result, but do not
259
259
  # apply it.
260
260
  # @param [String] fields
261
261
  # Selector specifying which fields to include in a partial response.
@@ -368,7 +368,7 @@ module Google
368
368
  # Required. Mask that specifies which fields in the workstation cluster should
369
369
  # be updated.
370
370
  # @param [Boolean] validate_only
371
- # Optional. If set, validate the request and preview the review, but do not
371
+ # Optional. If set, validate the request and preview the result, but do not
372
372
  # actually apply it.
373
373
  # @param [String] fields
374
374
  # Selector specifying which fields to include in a partial response.
@@ -407,7 +407,7 @@ module Google
407
407
  # Required. Parent resource name.
408
408
  # @param [Google::Apis::WorkstationsV1beta::WorkstationConfig] workstation_config_object
409
409
  # @param [Boolean] validate_only
410
- # Optional. If set, validate the request and preview the review, but do not
410
+ # Optional. If set, validate the request and preview the result, but do not
411
411
  # actually apply it.
412
412
  # @param [String] workstation_config_id
413
413
  # Required. ID to use for the workstation configuration.
@@ -453,7 +453,7 @@ module Google
453
453
  # deleted. Otherwise, the request works only if the workstation configuration
454
454
  # has no workstations.
455
455
  # @param [Boolean] validate_only
456
- # Optional. If set, validate the request and preview the review, but do not
456
+ # Optional. If set, validate the request and preview the result, but do not
457
457
  # actually apply it.
458
458
  # @param [String] fields
459
459
  # Selector specifying which fields to include in a partial response.
@@ -649,7 +649,7 @@ module Google
649
649
  # Required. Mask specifying which fields in the workstation configuration should
650
650
  # be updated.
651
651
  # @param [Boolean] validate_only
652
- # Optional. If set, validate the request and preview the review, but do not
652
+ # Optional. If set, validate the request and preview the result, but do not
653
653
  # actually apply it.
654
654
  # @param [String] fields
655
655
  # Selector specifying which fields to include in a partial response.
@@ -764,7 +764,7 @@ module Google
764
764
  # Required. Parent resource name.
765
765
  # @param [Google::Apis::WorkstationsV1beta::Workstation] workstation_object
766
766
  # @param [Boolean] validate_only
767
- # Optional. If set, validate the request and preview the review, but do not
767
+ # Optional. If set, validate the request and preview the result, but do not
768
768
  # actually apply it.
769
769
  # @param [String] workstation_id
770
770
  # Required. ID to use for the workstation.
@@ -806,7 +806,7 @@ module Google
806
806
  # Optional. If set, the request will be rejected if the latest version of the
807
807
  # workstation on the server does not have this ETag.
808
808
  # @param [Boolean] validate_only
809
- # Optional. If set, validate the request and preview the review, but do not
809
+ # Optional. If set, validate the request and preview the result, but do not
810
810
  # actually apply it.
811
811
  # @param [String] fields
812
812
  # Selector specifying which fields to include in a partial response.
@@ -1030,14 +1030,12 @@ module Google
1030
1030
  # Identifier. Full name of this workstation.
1031
1031
  # @param [Google::Apis::WorkstationsV1beta::Workstation] workstation_object
1032
1032
  # @param [Boolean] allow_missing
1033
- # Optional. If set and the workstation configuration is not found, a new
1034
- # workstation configuration is created. In this situation, update_mask is
1035
- # ignored.
1033
+ # Optional. If set and the workstation is not found, a new workstation is
1034
+ # created. In this situation, update_mask is ignored.
1036
1035
  # @param [String] update_mask
1037
- # Required. Mask specifying which fields in the workstation configuration should
1038
- # be updated.
1036
+ # Required. Mask specifying which fields in the workstation should be updated.
1039
1037
  # @param [Boolean] validate_only
1040
- # Optional. If set, validate the request and preview the review, but do not
1038
+ # Optional. If set, validate the request and preview the result, but do not
1041
1039
  # actually apply it.
1042
1040
  # @param [String] fields
1043
1041
  # Selector specifying which fields to include in a partial response.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-workstations_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.46.0
4
+ version: 0.48.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_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1beta/v0.46.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1beta/v0.48.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workstations_v1beta
62
62
  rdoc_options: []
63
63
  require_paths: