google-apis-workstations_v1 0.32.0 → 0.34.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: 48a3db25d98e3c6a04f5cfd3f6a91e9832b30db9539cf1b94edb3cf4212f7a86
4
- data.tar.gz: 8b526c1197fb90e3c252e46560bd5b3cce5685610b501ab0d5d0f5072d9208dd
3
+ metadata.gz: 8bee9f89009a82ad6b16bd602b0e68a14687256d6457b5a0bbf5706ffb5ee89b
4
+ data.tar.gz: 91ad85382ca978ee0568454bd30d799aa9d0e7f64ef5b6f0177ba913db896d48
5
5
  SHA512:
6
- metadata.gz: fc38f6c2f0abf589407a2a8a1c6c34b499879ba04cd9543a0ef67343353d7640c782c4c7a61fe08a4035222b8ac5866774eb33ffa7a33e28d61e1e9ea21a167b
7
- data.tar.gz: 1c2780fa0603ac23a02888cb7bed1ba865a9ed06869eaaecfd57e9e2132396bf13a4f4eb4df7fda5a110294ee9678583262d855e495a9a2b5a66eee935635d7b
6
+ metadata.gz: 294d8d17c07e028be4bd87f0aa68670e0e55daaad36fc12a994f640c0ab84f4f07b94cc21213985e2e4403124a1842ee7468a5c45063034c747308824daa0925
7
+ data.tar.gz: 66fc9789b0d501e3b8ef6b3c334058d4730824c330d4ebe9a52a6d0da9c99a927ff524a646eabba4137e120a378c4155f75b855125f3dc13f59f83e5c7bb1b61
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-workstations_v1
2
2
 
3
+ ### v0.34.0 (2026-05-03)
4
+
5
+ * Regenerated from discovery document revision 20260413
6
+
7
+ ### v0.33.0 (2026-04-19)
8
+
9
+ * Regenerated from discovery document revision 20260401
10
+
3
11
  ### v0.32.0 (2026-02-08)
4
12
 
5
13
  * Regenerated from discovery document revision 20260126
@@ -868,6 +868,15 @@ module Google
868
868
  class GceRegionalPersistentDisk
869
869
  include Google::Apis::Core::Hashable
870
870
 
871
+ # Optional. Number of seconds to wait after initially creating or subsequently
872
+ # shutting down the workstation before converting its disk into a snapshot. This
873
+ # generally saves costs at the expense of greater startup time on next
874
+ # workstation start, as the service will need to create a disk from the archival
875
+ # snapshot. A value of `"0s"` indicates that the disk will never be archived.
876
+ # Corresponds to the JSON property `archiveTimeout`
877
+ # @return [String]
878
+ attr_accessor :archive_timeout
879
+
871
880
  # Optional. The [type of the persistent disk](https://cloud.google.com/compute/
872
881
  # docs/disks#disk-types) for the home directory. Defaults to `"pd-standard"`.
873
882
  # Corresponds to the JSON property `diskType`
@@ -908,6 +917,7 @@ module Google
908
917
 
909
918
  # Update properties of this object
910
919
  def update!(**args)
920
+ @archive_timeout = args[:archive_timeout] if args.key?(:archive_timeout)
911
921
  @disk_type = args[:disk_type] if args.key?(:disk_type)
912
922
  @fs_type = args[:fs_type] if args.key?(:fs_type)
913
923
  @reclaim_policy = args[:reclaim_policy] if args.key?(:reclaim_policy)
@@ -1762,7 +1772,7 @@ module Google
1762
1772
  # @return [String]
1763
1773
  attr_accessor :etag
1764
1774
 
1765
- # Optional. If set, validate the request and preview the review, but do not
1775
+ # Optional. If set, validate the request and preview the result, but do not
1766
1776
  # actually apply it.
1767
1777
  # Corresponds to the JSON property `validateOnly`
1768
1778
  # @return [Boolean]
@@ -1830,7 +1840,7 @@ module Google
1830
1840
  # @return [String]
1831
1841
  attr_accessor :etag
1832
1842
 
1833
- # Optional. If set, validate the request and preview the review, but do not
1843
+ # Optional. If set, validate the request and preview the result, but do not
1834
1844
  # actually apply it.
1835
1845
  # Corresponds to the JSON property `validateOnly`
1836
1846
  # @return [Boolean]
@@ -2135,6 +2145,27 @@ module Google
2135
2145
  # @return [String]
2136
2146
  attr_accessor :update_time
2137
2147
 
2148
+ # Optional. Specifies the redirect URL for unauthorized requests received by
2149
+ # workstation VMs in this cluster. Redirects to this endpoint will send a base64
2150
+ # encoded `state` query param containing the target workstation name and
2151
+ # original request hostname. The endpoint is responsible for retrieving a token
2152
+ # using `GenerateAccessToken` and redirecting back to the original hostname with
2153
+ # the token.
2154
+ # Corresponds to the JSON property `workstationAuthorizationUrl`
2155
+ # @return [String]
2156
+ attr_accessor :workstation_authorization_url
2157
+
2158
+ # Optional. Specifies the launch URL for workstations in this cluster. Requests
2159
+ # sent to unstarted workstations will be redirected to this URL. Requests
2160
+ # redirected to the launch endpoint will be sent with a `workstation` and `
2161
+ # project` query parameter containing the full workstation resource name and
2162
+ # project ID, respectively. The launch endpoint is responsible for starting the
2163
+ # workstation, polling it until it reaches `STATE_RUNNING`, and then issuing a
2164
+ # redirect to the workstation's host URL.
2165
+ # Corresponds to the JSON property `workstationLaunchUrl`
2166
+ # @return [String]
2167
+ attr_accessor :workstation_launch_url
2168
+
2138
2169
  def initialize(**args)
2139
2170
  update!(**args)
2140
2171
  end
@@ -2160,6 +2191,8 @@ module Google
2160
2191
  @tags = args[:tags] if args.key?(:tags)
2161
2192
  @uid = args[:uid] if args.key?(:uid)
2162
2193
  @update_time = args[:update_time] if args.key?(:update_time)
2194
+ @workstation_authorization_url = args[:workstation_authorization_url] if args.key?(:workstation_authorization_url)
2195
+ @workstation_launch_url = args[:workstation_launch_url] if args.key?(:workstation_launch_url)
2163
2196
  end
2164
2197
  end
2165
2198
 
@@ -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.32.0"
19
+ GEM_VERSION = "0.34.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 = "20260126"
25
+ REVISION = "20260413"
26
26
  end
27
27
  end
28
28
  end
@@ -483,6 +483,7 @@ module Google
483
483
  class GceRegionalPersistentDisk
484
484
  # @private
485
485
  class Representation < Google::Apis::Core::JsonRepresentation
486
+ property :archive_timeout, as: 'archiveTimeout'
486
487
  property :disk_type, as: 'diskType'
487
488
  property :fs_type, as: 'fsType'
488
489
  property :reclaim_policy, as: 'reclaimPolicy'
@@ -792,6 +793,8 @@ module Google
792
793
  hash :tags, as: 'tags'
793
794
  property :uid, as: 'uid'
794
795
  property :update_time, as: 'updateTime'
796
+ property :workstation_authorization_url, as: 'workstationAuthorizationUrl'
797
+ property :workstation_launch_url, as: 'workstationLaunchUrl'
795
798
  end
796
799
  end
797
800
 
@@ -82,10 +82,15 @@ module Google
82
82
  end
83
83
 
84
84
  # Lists information about the supported locations for this service. This method
85
- # can be called in two ways: * **List all public locations:** Use the path `GET /
86
- # v1/locations`. * **List project-visible locations:** Use the path `GET /v1/
87
- # projects/`project_id`/locations`. This may include public locations as well as
88
- # private or other locations specifically visible to the project.
85
+ # lists locations based on the resource scope provided in the [
86
+ # ListLocationsRequest.name] field: * **Global locations**: If `name` is empty,
87
+ # the method lists the public locations available to all projects. * **Project-
88
+ # specific locations**: If `name` follows the format `projects/`project``, the
89
+ # method lists locations visible to that specific project. This includes public,
90
+ # private, or other project-specific locations enabled for the project. For gRPC
91
+ # and client library implementations, the resource name is passed as the `name`
92
+ # field. For direct service calls, the resource name is incorporated into the
93
+ # request path based on the specific service implementation and version.
89
94
  # @param [String] name
90
95
  # The resource that owns the locations collection, if applicable.
91
96
  # @param [Array<String>, String] extra_location_types
@@ -290,7 +295,7 @@ module Google
290
295
  # Required. Parent resource name.
291
296
  # @param [Google::Apis::WorkstationsV1::WorkstationCluster] workstation_cluster_object
292
297
  # @param [Boolean] validate_only
293
- # Optional. If set, validate the request and preview the review, but do not
298
+ # Optional. If set, validate the request and preview the result, but do not
294
299
  # actually apply it.
295
300
  # @param [String] workstation_cluster_id
296
301
  # Required. ID to use for the workstation cluster.
@@ -336,7 +341,7 @@ module Google
336
341
  # workstation cluster are also deleted. Otherwise, the request only works if the
337
342
  # workstation cluster has no configurations or workstations.
338
343
  # @param [Boolean] validate_only
339
- # Optional. If set, validate the request and preview the review, but do not
344
+ # Optional. If set, validate the request and preview the result, but do not
340
345
  # apply it.
341
346
  # @param [String] fields
342
347
  # Selector specifying which fields to include in a partial response.
@@ -449,7 +454,7 @@ module Google
449
454
  # Required. Mask that specifies which fields in the workstation cluster should
450
455
  # be updated.
451
456
  # @param [Boolean] validate_only
452
- # Optional. If set, validate the request and preview the review, but do not
457
+ # Optional. If set, validate the request and preview the result, but do not
453
458
  # actually apply it.
454
459
  # @param [String] fields
455
460
  # Selector specifying which fields to include in a partial response.
@@ -488,7 +493,7 @@ module Google
488
493
  # Required. Parent resource name.
489
494
  # @param [Google::Apis::WorkstationsV1::WorkstationConfig] workstation_config_object
490
495
  # @param [Boolean] validate_only
491
- # Optional. If set, validate the request and preview the review, but do not
496
+ # Optional. If set, validate the request and preview the result, but do not
492
497
  # actually apply it.
493
498
  # @param [String] workstation_config_id
494
499
  # Required. ID to use for the workstation configuration.
@@ -534,7 +539,7 @@ module Google
534
539
  # deleted. Otherwise, the request works only if the workstation configuration
535
540
  # has no workstations.
536
541
  # @param [Boolean] validate_only
537
- # Optional. If set, validate the request and preview the review, but do not
542
+ # Optional. If set, validate the request and preview the result, but do not
538
543
  # actually apply it.
539
544
  # @param [String] fields
540
545
  # Selector specifying which fields to include in a partial response.
@@ -730,7 +735,7 @@ module Google
730
735
  # Required. Mask specifying which fields in the workstation configuration should
731
736
  # be updated.
732
737
  # @param [Boolean] validate_only
733
- # Optional. If set, validate the request and preview the review, but do not
738
+ # Optional. If set, validate the request and preview the result, but do not
734
739
  # actually apply it.
735
740
  # @param [String] fields
736
741
  # Selector specifying which fields to include in a partial response.
@@ -845,7 +850,7 @@ module Google
845
850
  # Required. Parent resource name.
846
851
  # @param [Google::Apis::WorkstationsV1::Workstation] workstation_object
847
852
  # @param [Boolean] validate_only
848
- # Optional. If set, validate the request and preview the review, but do not
853
+ # Optional. If set, validate the request and preview the result, but do not
849
854
  # actually apply it.
850
855
  # @param [String] workstation_id
851
856
  # Required. ID to use for the workstation.
@@ -887,7 +892,7 @@ module Google
887
892
  # Optional. If set, the request will be rejected if the latest version of the
888
893
  # workstation on the server does not have this ETag.
889
894
  # @param [Boolean] validate_only
890
- # Optional. If set, validate the request and preview the review, but do not
895
+ # Optional. If set, validate the request and preview the result, but do not
891
896
  # actually apply it.
892
897
  # @param [String] fields
893
898
  # Selector specifying which fields to include in a partial response.
@@ -1111,14 +1116,12 @@ module Google
1111
1116
  # Identifier. Full name of this workstation.
1112
1117
  # @param [Google::Apis::WorkstationsV1::Workstation] workstation_object
1113
1118
  # @param [Boolean] allow_missing
1114
- # Optional. If set and the workstation configuration is not found, a new
1115
- # workstation configuration is created. In this situation, update_mask is
1116
- # ignored.
1119
+ # Optional. If set and the workstation is not found, a new workstation is
1120
+ # created. In this situation, update_mask is ignored.
1117
1121
  # @param [String] update_mask
1118
- # Required. Mask specifying which fields in the workstation configuration should
1119
- # be updated.
1122
+ # Required. Mask specifying which fields in the workstation should be updated.
1120
1123
  # @param [Boolean] validate_only
1121
- # Optional. If set, validate the request and preview the review, but do not
1124
+ # Optional. If set, validate the request and preview the result, but do not
1122
1125
  # actually apply it.
1123
1126
  # @param [String] fields
1124
1127
  # 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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.0
4
+ version: 0.34.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.32.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1/v0.34.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: