google-apis-workstations_v1beta 0.50.0 → 0.52.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 +4 -4
- data/CHANGELOG.md +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/workstations_v1beta/classes.rb +64 -40
- data/lib/google/apis/workstations_v1beta/gem_version.rb +3 -3
- data/lib/google/apis/workstations_v1beta/representations.rb +18 -16
- data/lib/google/apis/workstations_v1beta/service.rb +33 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a1110972e973b621f652cd0ca4a2d097749c4697e47cb13a757e2b0c03c47274
|
|
4
|
+
data.tar.gz: db57ef78b8dddf896c1864182eacde5814abdccdefd71814570ed0cc476248c0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4af457a470347f061f27907a86ae0664a1d77b77100e7198f45165ba0b90715658b3396706641bb1273be7d720b426434d0dfc01a77294da5096ef4cf375c8fa
|
|
7
|
+
data.tar.gz: d1d98c57fb781d7a4caa129d0fa634de9c9bff918e605d6bc0c8524c33b51bb2bd57adacfd09b8c80361a69a287bcd59672310f72e18de5fe3ed7c4a69913aa3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Release history for google-apis-workstations_v1beta
|
|
2
2
|
|
|
3
|
+
### v0.52.0 (2026-07-12)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260705
|
|
6
|
+
|
|
7
|
+
### v0.51.0 (2026-06-21)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260604
|
|
10
|
+
* Regenerated using generator version 0.19.0
|
|
11
|
+
|
|
3
12
|
### v0.50.0 (2026-05-17)
|
|
4
13
|
|
|
5
14
|
* Regenerated from discovery document revision 20260506
|
data/OVERVIEW.md
CHANGED
|
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/workstations) may provide g
|
|
|
83
83
|
|
|
84
84
|
## Supported Ruby versions
|
|
85
85
|
|
|
86
|
-
This library is supported on Ruby 3.
|
|
86
|
+
This library is supported on Ruby 3.2+.
|
|
87
87
|
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
|
89
89
|
|
|
@@ -570,6 +570,12 @@ module Google
|
|
|
570
570
|
# @return [String]
|
|
571
571
|
attr_accessor :archive_timeout
|
|
572
572
|
|
|
573
|
+
# Optional. Maximum size in GB to which this persistent directory can be resized.
|
|
574
|
+
# Defaults to unlimited if not set.
|
|
575
|
+
# Corresponds to the JSON property `maxSizeGb`
|
|
576
|
+
# @return [Fixnum]
|
|
577
|
+
attr_accessor :max_size_gb
|
|
578
|
+
|
|
573
579
|
# Optional. Whether the persistent disk should be deleted when the workstation
|
|
574
580
|
# is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`.
|
|
575
581
|
# Corresponds to the JSON property `reclaimPolicy`
|
|
@@ -597,6 +603,7 @@ module Google
|
|
|
597
603
|
# Update properties of this object
|
|
598
604
|
def update!(**args)
|
|
599
605
|
@archive_timeout = args[:archive_timeout] if args.key?(:archive_timeout)
|
|
606
|
+
@max_size_gb = args[:max_size_gb] if args.key?(:max_size_gb)
|
|
600
607
|
@reclaim_policy = args[:reclaim_policy] if args.key?(:reclaim_policy)
|
|
601
608
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
|
602
609
|
@source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
|
|
@@ -904,6 +911,12 @@ module Google
|
|
|
904
911
|
# @return [String]
|
|
905
912
|
attr_accessor :fs_type
|
|
906
913
|
|
|
914
|
+
# Optional. Maximum size in GB to which this persistent directory can be resized.
|
|
915
|
+
# Defaults to unlimited if not set.
|
|
916
|
+
# Corresponds to the JSON property `maxSizeGb`
|
|
917
|
+
# @return [Fixnum]
|
|
918
|
+
attr_accessor :max_size_gb
|
|
919
|
+
|
|
907
920
|
# Optional. Whether the persistent disk should be deleted when the workstation
|
|
908
921
|
# is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`.
|
|
909
922
|
# Corresponds to the JSON property `reclaimPolicy`
|
|
@@ -934,6 +947,7 @@ module Google
|
|
|
934
947
|
@archive_timeout = args[:archive_timeout] if args.key?(:archive_timeout)
|
|
935
948
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
|
936
949
|
@fs_type = args[:fs_type] if args.key?(:fs_type)
|
|
950
|
+
@max_size_gb = args[:max_size_gb] if args.key?(:max_size_gb)
|
|
937
951
|
@reclaim_policy = args[:reclaim_policy] if args.key?(:reclaim_policy)
|
|
938
952
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
|
939
953
|
@source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
|
|
@@ -1306,29 +1320,36 @@ module Google
|
|
|
1306
1320
|
end
|
|
1307
1321
|
end
|
|
1308
1322
|
|
|
1309
|
-
# OAuth token.
|
|
1323
|
+
# Represents an OAuth 2.0 access token and its associated metadata.
|
|
1310
1324
|
class OAuthToken
|
|
1311
1325
|
include Google::Apis::Core::Hashable
|
|
1312
1326
|
|
|
1313
|
-
# Required. The OAuth token.
|
|
1327
|
+
# Required. The OAuth 2.0 access token value.
|
|
1314
1328
|
# Corresponds to the JSON property `accessToken`
|
|
1315
1329
|
# @return [String]
|
|
1316
1330
|
attr_accessor :access_token
|
|
1317
1331
|
|
|
1318
|
-
# Optional. The email address
|
|
1332
|
+
# Optional. The email address associated with the OAuth 2.0 access token.
|
|
1319
1333
|
# Corresponds to the JSON property `email`
|
|
1320
1334
|
# @return [String]
|
|
1321
1335
|
attr_accessor :email
|
|
1322
1336
|
|
|
1323
1337
|
# Optional. The time the OAuth access token will expire. This should be the time
|
|
1324
1338
|
# the access token was generated plus the expires_in offset returned from the
|
|
1325
|
-
# Access Token Response.
|
|
1339
|
+
# Access Token Response. Only one of `expire_time` or `expires_in` should be
|
|
1340
|
+
# specified.
|
|
1326
1341
|
# Corresponds to the JSON property `expireTime`
|
|
1327
1342
|
# @return [String]
|
|
1328
1343
|
attr_accessor :expire_time
|
|
1329
1344
|
|
|
1330
|
-
# Optional. The
|
|
1331
|
-
#
|
|
1345
|
+
# Optional. The lifetime duration of the access token. Only one of `expire_time`
|
|
1346
|
+
# or `expires_in` should be specified.
|
|
1347
|
+
# Corresponds to the JSON property `expiresIn`
|
|
1348
|
+
# @return [String]
|
|
1349
|
+
attr_accessor :expires_in
|
|
1350
|
+
|
|
1351
|
+
# Optional. The scopes associated with the OAuth 2.0 access token. See https://
|
|
1352
|
+
# developers.google.com/identity/protocols/oauth2/scopes for more information.
|
|
1332
1353
|
# Corresponds to the JSON property `scopes`
|
|
1333
1354
|
# @return [String]
|
|
1334
1355
|
attr_accessor :scopes
|
|
@@ -1342,6 +1363,7 @@ module Google
|
|
|
1342
1363
|
@access_token = args[:access_token] if args.key?(:access_token)
|
|
1343
1364
|
@email = args[:email] if args.key?(:email)
|
|
1344
1365
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
|
1366
|
+
@expires_in = args[:expires_in] if args.key?(:expires_in)
|
|
1345
1367
|
@scopes = args[:scopes] if args.key?(:scopes)
|
|
1346
1368
|
end
|
|
1347
1369
|
end
|
|
@@ -1682,7 +1704,7 @@ module Google
|
|
|
1682
1704
|
class PushCredentialsRequest
|
|
1683
1705
|
include Google::Apis::Core::Hashable
|
|
1684
1706
|
|
|
1685
|
-
# OAuth token.
|
|
1707
|
+
# Represents an OAuth 2.0 access token and its associated metadata.
|
|
1686
1708
|
# Corresponds to the JSON property `applicationDefaultCredentials`
|
|
1687
1709
|
# @return [Google::Apis::WorkstationsV1beta::OAuthToken]
|
|
1688
1710
|
attr_accessor :application_default_credentials
|
|
@@ -1931,6 +1953,34 @@ module Google
|
|
|
1931
1953
|
end
|
|
1932
1954
|
end
|
|
1933
1955
|
|
|
1956
|
+
# Request message for SuspendWorkstation.
|
|
1957
|
+
class SuspendWorkstationRequest
|
|
1958
|
+
include Google::Apis::Core::Hashable
|
|
1959
|
+
|
|
1960
|
+
# Optional. If set, the request will be rejected if the latest version of the
|
|
1961
|
+
# workstation on the server does not have this ETag.
|
|
1962
|
+
# Corresponds to the JSON property `etag`
|
|
1963
|
+
# @return [String]
|
|
1964
|
+
attr_accessor :etag
|
|
1965
|
+
|
|
1966
|
+
# Optional. If set, validate the request and preview the result, but do not
|
|
1967
|
+
# actually apply it.
|
|
1968
|
+
# Corresponds to the JSON property `validateOnly`
|
|
1969
|
+
# @return [Boolean]
|
|
1970
|
+
attr_accessor :validate_only
|
|
1971
|
+
alias_method :validate_only?, :validate_only
|
|
1972
|
+
|
|
1973
|
+
def initialize(**args)
|
|
1974
|
+
update!(**args)
|
|
1975
|
+
end
|
|
1976
|
+
|
|
1977
|
+
# Update properties of this object
|
|
1978
|
+
def update!(**args)
|
|
1979
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
1980
|
+
@validate_only = args[:validate_only] if args.key?(:validate_only)
|
|
1981
|
+
end
|
|
1982
|
+
end
|
|
1983
|
+
|
|
1934
1984
|
# Request message for `TestIamPermissions` method.
|
|
1935
1985
|
class TestIamPermissionsRequest
|
|
1936
1986
|
include Google::Apis::Core::Hashable
|
|
@@ -2487,6 +2537,12 @@ module Google
|
|
|
2487
2537
|
# @return [Google::Apis::WorkstationsV1beta::HttpOptions]
|
|
2488
2538
|
attr_accessor :http_options
|
|
2489
2539
|
|
|
2540
|
+
# Optional. The action to take when the workstation has been idle for the
|
|
2541
|
+
# duration specified in idle_timeout. Defaults to STOP.
|
|
2542
|
+
# Corresponds to the JSON property `idleAction`
|
|
2543
|
+
# @return [String]
|
|
2544
|
+
attr_accessor :idle_action
|
|
2545
|
+
|
|
2490
2546
|
# Optional. Number of seconds to wait before automatically stopping a
|
|
2491
2547
|
# workstation after it last received user traffic. A value of `"0s"` indicates
|
|
2492
2548
|
# that Cloud Workstations VMs created with this configuration should never time
|
|
@@ -2613,6 +2669,7 @@ module Google
|
|
|
2613
2669
|
@grant_workstation_admin_role_on_create = args[:grant_workstation_admin_role_on_create] if args.key?(:grant_workstation_admin_role_on_create)
|
|
2614
2670
|
@host = args[:host] if args.key?(:host)
|
|
2615
2671
|
@http_options = args[:http_options] if args.key?(:http_options)
|
|
2672
|
+
@idle_action = args[:idle_action] if args.key?(:idle_action)
|
|
2616
2673
|
@idle_timeout = args[:idle_timeout] if args.key?(:idle_timeout)
|
|
2617
2674
|
@labels = args[:labels] if args.key?(:labels)
|
|
2618
2675
|
@max_usable_workstations = args[:max_usable_workstations] if args.key?(:max_usable_workstations)
|
|
@@ -2629,43 +2686,11 @@ module Google
|
|
|
2629
2686
|
end
|
|
2630
2687
|
end
|
|
2631
2688
|
|
|
2632
|
-
# A Persistent Directory backed by a Compute Engine regional persistent disk
|
|
2633
|
-
# within the workstation.
|
|
2634
|
-
class WorkstationGceRegionalPersistentDisk
|
|
2635
|
-
include Google::Apis::Core::Hashable
|
|
2636
|
-
|
|
2637
|
-
# The name of the persistent directory.
|
|
2638
|
-
# Corresponds to the JSON property `name`
|
|
2639
|
-
# @return [String]
|
|
2640
|
-
attr_accessor :name
|
|
2641
|
-
|
|
2642
|
-
# Required. The desired size of the persistent directory in GB.
|
|
2643
|
-
# Corresponds to the JSON property `sizeGb`
|
|
2644
|
-
# @return [Fixnum]
|
|
2645
|
-
attr_accessor :size_gb
|
|
2646
|
-
|
|
2647
|
-
def initialize(**args)
|
|
2648
|
-
update!(**args)
|
|
2649
|
-
end
|
|
2650
|
-
|
|
2651
|
-
# Update properties of this object
|
|
2652
|
-
def update!(**args)
|
|
2653
|
-
@name = args[:name] if args.key?(:name)
|
|
2654
|
-
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
|
2655
|
-
end
|
|
2656
|
-
end
|
|
2657
|
-
|
|
2658
2689
|
# A directory to persist across workstation sessions. Updates to this field will
|
|
2659
2690
|
# only take effect on this workstation after it is restarted.
|
|
2660
2691
|
class WorkstationPersistentDirectory
|
|
2661
2692
|
include Google::Apis::Core::Hashable
|
|
2662
2693
|
|
|
2663
|
-
# A Persistent Directory backed by a Compute Engine regional persistent disk
|
|
2664
|
-
# within the workstation.
|
|
2665
|
-
# Corresponds to the JSON property `gcePd`
|
|
2666
|
-
# @return [Google::Apis::WorkstationsV1beta::WorkstationGceRegionalPersistentDisk]
|
|
2667
|
-
attr_accessor :gce_pd
|
|
2668
|
-
|
|
2669
2694
|
# Optional. The mount path of the persistent directory.
|
|
2670
2695
|
# Corresponds to the JSON property `mountPath`
|
|
2671
2696
|
# @return [String]
|
|
@@ -2683,7 +2708,6 @@ module Google
|
|
|
2683
2708
|
|
|
2684
2709
|
# Update properties of this object
|
|
2685
2710
|
def update!(**args)
|
|
2686
|
-
@gce_pd = args[:gce_pd] if args.key?(:gce_pd)
|
|
2687
2711
|
@mount_path = args[:mount_path] if args.key?(:mount_path)
|
|
2688
2712
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
|
2689
2713
|
end
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.52.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260705"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -292,6 +292,12 @@ module Google
|
|
|
292
292
|
include Google::Apis::Core::JsonObjectSupport
|
|
293
293
|
end
|
|
294
294
|
|
|
295
|
+
class SuspendWorkstationRequest
|
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
297
|
+
|
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
299
|
+
end
|
|
300
|
+
|
|
295
301
|
class TestIamPermissionsRequest
|
|
296
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
297
303
|
|
|
@@ -328,12 +334,6 @@ module Google
|
|
|
328
334
|
include Google::Apis::Core::JsonObjectSupport
|
|
329
335
|
end
|
|
330
336
|
|
|
331
|
-
class WorkstationGceRegionalPersistentDisk
|
|
332
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
333
|
-
|
|
334
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
335
|
-
end
|
|
336
|
-
|
|
337
337
|
class WorkstationPersistentDirectory
|
|
338
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
339
339
|
|
|
@@ -460,6 +460,7 @@ module Google
|
|
|
460
460
|
# @private
|
|
461
461
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
462
462
|
property :archive_timeout, as: 'archiveTimeout'
|
|
463
|
+
property :max_size_gb, as: 'maxSizeGb'
|
|
463
464
|
property :reclaim_policy, as: 'reclaimPolicy'
|
|
464
465
|
property :size_gb, as: 'sizeGb'
|
|
465
466
|
property :source_snapshot, as: 'sourceSnapshot'
|
|
@@ -520,6 +521,7 @@ module Google
|
|
|
520
521
|
property :archive_timeout, as: 'archiveTimeout'
|
|
521
522
|
property :disk_type, as: 'diskType'
|
|
522
523
|
property :fs_type, as: 'fsType'
|
|
524
|
+
property :max_size_gb, as: 'maxSizeGb'
|
|
523
525
|
property :reclaim_policy, as: 'reclaimPolicy'
|
|
524
526
|
property :size_gb, as: 'sizeGb'
|
|
525
527
|
property :source_snapshot, as: 'sourceSnapshot'
|
|
@@ -640,6 +642,7 @@ module Google
|
|
|
640
642
|
property :access_token, as: 'accessToken'
|
|
641
643
|
property :email, as: 'email'
|
|
642
644
|
property :expire_time, as: 'expireTime'
|
|
645
|
+
property :expires_in, as: 'expiresIn'
|
|
643
646
|
property :scopes, as: 'scopes'
|
|
644
647
|
end
|
|
645
648
|
end
|
|
@@ -778,6 +781,14 @@ module Google
|
|
|
778
781
|
end
|
|
779
782
|
end
|
|
780
783
|
|
|
784
|
+
class SuspendWorkstationRequest
|
|
785
|
+
# @private
|
|
786
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
787
|
+
property :etag, as: 'etag'
|
|
788
|
+
property :validate_only, as: 'validateOnly'
|
|
789
|
+
end
|
|
790
|
+
end
|
|
791
|
+
|
|
781
792
|
class TestIamPermissionsRequest
|
|
782
793
|
# @private
|
|
783
794
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -893,6 +904,7 @@ module Google
|
|
|
893
904
|
|
|
894
905
|
property :http_options, as: 'httpOptions', class: Google::Apis::WorkstationsV1beta::HttpOptions, decorator: Google::Apis::WorkstationsV1beta::HttpOptions::Representation
|
|
895
906
|
|
|
907
|
+
property :idle_action, as: 'idleAction'
|
|
896
908
|
property :idle_timeout, as: 'idleTimeout'
|
|
897
909
|
hash :labels, as: 'labels'
|
|
898
910
|
property :max_usable_workstations, as: 'maxUsableWorkstations'
|
|
@@ -911,19 +923,9 @@ module Google
|
|
|
911
923
|
end
|
|
912
924
|
end
|
|
913
925
|
|
|
914
|
-
class WorkstationGceRegionalPersistentDisk
|
|
915
|
-
# @private
|
|
916
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
917
|
-
property :name, as: 'name'
|
|
918
|
-
property :size_gb, as: 'sizeGb'
|
|
919
|
-
end
|
|
920
|
-
end
|
|
921
|
-
|
|
922
926
|
class WorkstationPersistentDirectory
|
|
923
927
|
# @private
|
|
924
928
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
925
|
-
property :gce_pd, as: 'gcePd', class: Google::Apis::WorkstationsV1beta::WorkstationGceRegionalPersistentDisk, decorator: Google::Apis::WorkstationsV1beta::WorkstationGceRegionalPersistentDisk::Representation
|
|
926
|
-
|
|
927
929
|
property :mount_path, as: 'mountPath'
|
|
928
930
|
property :size_gb, as: 'sizeGb'
|
|
929
931
|
end
|
|
@@ -1207,6 +1207,39 @@ module Google
|
|
|
1207
1207
|
execute_or_queue_command(command, &block)
|
|
1208
1208
|
end
|
|
1209
1209
|
|
|
1210
|
+
# Suspends a workstation to reduce costs.
|
|
1211
|
+
# @param [String] name
|
|
1212
|
+
# Required. Name of the workstation to suspend.
|
|
1213
|
+
# @param [Google::Apis::WorkstationsV1beta::SuspendWorkstationRequest] suspend_workstation_request_object
|
|
1214
|
+
# @param [String] fields
|
|
1215
|
+
# Selector specifying which fields to include in a partial response.
|
|
1216
|
+
# @param [String] quota_user
|
|
1217
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1218
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1219
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1220
|
+
# Request-specific options
|
|
1221
|
+
#
|
|
1222
|
+
# @yield [result, err] Result & error if block supplied
|
|
1223
|
+
# @yieldparam result [Google::Apis::WorkstationsV1beta::Operation] parsed result object
|
|
1224
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1225
|
+
#
|
|
1226
|
+
# @return [Google::Apis::WorkstationsV1beta::Operation]
|
|
1227
|
+
#
|
|
1228
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1229
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1230
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1231
|
+
def suspend_workstation(name, suspend_workstation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1232
|
+
command = make_simple_command(:post, 'v1beta/{+name}:suspend', options)
|
|
1233
|
+
command.request_representation = Google::Apis::WorkstationsV1beta::SuspendWorkstationRequest::Representation
|
|
1234
|
+
command.request_object = suspend_workstation_request_object
|
|
1235
|
+
command.response_representation = Google::Apis::WorkstationsV1beta::Operation::Representation
|
|
1236
|
+
command.response_class = Google::Apis::WorkstationsV1beta::Operation
|
|
1237
|
+
command.params['name'] = name unless name.nil?
|
|
1238
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1239
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1240
|
+
execute_or_queue_command(command, &block)
|
|
1241
|
+
end
|
|
1242
|
+
|
|
1210
1243
|
# Returns permissions that a caller has on the specified resource. If the
|
|
1211
1244
|
# resource does not exist, this will return an empty set of permissions, not a `
|
|
1212
1245
|
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
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.
|
|
4
|
+
version: 0.52.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1beta/v0.52.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:
|
|
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
66
66
|
requirements:
|
|
67
67
|
- - ">="
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: '3.
|
|
69
|
+
version: '3.2'
|
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
72
|
- - ">="
|