google-cloud-workstations-v1 1.4.1 → 1.6.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/README.md +1 -1
- data/lib/google/cloud/workstations/v1/version.rb +1 -1
- data/lib/google/cloud/workstations/v1/workstations/client.rb +49 -24
- data/lib/google/cloud/workstations/v1/workstations/operations.rb +2 -0
- data/lib/google/cloud/workstations/v1/workstations/rest/client.rb +49 -24
- data/lib/google/cloud/workstations/v1/workstations/rest/operations.rb +2 -0
- data/lib/google/cloud/workstations/v1/workstations_pb.rb +14 -1
- data/lib/google/cloud/workstations/v1/workstations_services_pb.rb +2 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/cloud/workstations/v1/workstations.rb +553 -52
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 88eab885540fa88e5493cbf7755ef0fffef8ff73e9fcce7cbd8f4cb5caedfed3
|
|
4
|
+
data.tar.gz: f47f5a67da9b500e6d52815e00ee00c6e98b34140387cea8c0a8a92719daff98
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 128f47ed4f07440de12a58f7d1b4a73c22e61eb2638b604452b9e16c929e626c1ef188108b400f0a641e3e71e12a1d125df076cb9d4b7ddf5d0e8a23450392d6
|
|
7
|
+
data.tar.gz: eed013db27494a364e073fd80569b6f2680146ffaac595d1f6958dfe5ed5f27cead34c37b37e6a0280d37343415a6924ff862071762f1e4cc1346c3a82e1d98f
|
data/README.md
CHANGED
|
@@ -85,7 +85,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
|
85
85
|
|
|
86
86
|
## Supported Ruby Versions
|
|
87
87
|
|
|
88
|
-
This library is supported on Ruby 3.
|
|
88
|
+
This library is supported on Ruby 3.2+.
|
|
89
89
|
|
|
90
90
|
Google provides official support for Ruby versions that are actively supported
|
|
91
91
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
|
@@ -394,7 +394,7 @@ module Google
|
|
|
394
394
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
395
395
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
396
396
|
#
|
|
397
|
-
# @overload list_workstation_clusters(parent: nil, page_size: nil, page_token: nil)
|
|
397
|
+
# @overload list_workstation_clusters(parent: nil, page_size: nil, page_token: nil, filter: nil)
|
|
398
398
|
# Pass arguments to `list_workstation_clusters` via keyword arguments. Note that at
|
|
399
399
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
400
400
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -406,6 +406,9 @@ module Google
|
|
|
406
406
|
# @param page_token [::String]
|
|
407
407
|
# Optional. next_page_token value returned from a previous List request, if
|
|
408
408
|
# any.
|
|
409
|
+
# @param filter [::String]
|
|
410
|
+
# Optional. Filter the WorkstationClusters to be listed. Possible filters are
|
|
411
|
+
# described in https://google.aip.dev/160.
|
|
409
412
|
#
|
|
410
413
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
411
414
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Workstations::V1::WorkstationCluster>]
|
|
@@ -502,7 +505,7 @@ module Google
|
|
|
502
505
|
# @param workstation_cluster [::Google::Cloud::Workstations::V1::WorkstationCluster, ::Hash]
|
|
503
506
|
# Required. Workstation cluster to create.
|
|
504
507
|
# @param validate_only [::Boolean]
|
|
505
|
-
# Optional. If set, validate the request and preview the
|
|
508
|
+
# Optional. If set, validate the request and preview the result, but do not
|
|
506
509
|
# actually apply it.
|
|
507
510
|
#
|
|
508
511
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
@@ -602,7 +605,7 @@ module Google
|
|
|
602
605
|
# Required. Mask that specifies which fields in the workstation cluster
|
|
603
606
|
# should be updated.
|
|
604
607
|
# @param validate_only [::Boolean]
|
|
605
|
-
# Optional. If set, validate the request and preview the
|
|
608
|
+
# Optional. If set, validate the request and preview the result, but do not
|
|
606
609
|
# actually apply it.
|
|
607
610
|
# @param allow_missing [::Boolean]
|
|
608
611
|
# Optional. If set, and the workstation cluster is not found, a new
|
|
@@ -703,7 +706,7 @@ module Google
|
|
|
703
706
|
# @param name [::String]
|
|
704
707
|
# Required. Name of the workstation cluster to delete.
|
|
705
708
|
# @param validate_only [::Boolean]
|
|
706
|
-
# Optional. If set, validate the request and preview the
|
|
709
|
+
# Optional. If set, validate the request and preview the result, but do not
|
|
707
710
|
# apply it.
|
|
708
711
|
# @param etag [::String]
|
|
709
712
|
# Optional. If set, the request will be rejected if the latest version of the
|
|
@@ -884,7 +887,7 @@ module Google
|
|
|
884
887
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
885
888
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
886
889
|
#
|
|
887
|
-
# @overload list_workstation_configs(parent: nil, page_size: nil, page_token: nil)
|
|
890
|
+
# @overload list_workstation_configs(parent: nil, page_size: nil, page_token: nil, filter: nil)
|
|
888
891
|
# Pass arguments to `list_workstation_configs` via keyword arguments. Note that at
|
|
889
892
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
890
893
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -896,6 +899,9 @@ module Google
|
|
|
896
899
|
# @param page_token [::String]
|
|
897
900
|
# Optional. next_page_token value returned from a previous List request, if
|
|
898
901
|
# any.
|
|
902
|
+
# @param filter [::String]
|
|
903
|
+
# Optional. Filter the WorkstationConfigs to be listed. Possible filters are
|
|
904
|
+
# described in https://google.aip.dev/160.
|
|
899
905
|
#
|
|
900
906
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
901
907
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Workstations::V1::WorkstationConfig>]
|
|
@@ -1087,9 +1093,9 @@ module Google
|
|
|
1087
1093
|
# @param workstation_config_id [::String]
|
|
1088
1094
|
# Required. ID to use for the workstation configuration.
|
|
1089
1095
|
# @param workstation_config [::Google::Cloud::Workstations::V1::WorkstationConfig, ::Hash]
|
|
1090
|
-
# Required.
|
|
1096
|
+
# Required. Workstation configuration to create.
|
|
1091
1097
|
# @param validate_only [::Boolean]
|
|
1092
|
-
# Optional. If set, validate the request and preview the
|
|
1098
|
+
# Optional. If set, validate the request and preview the result, but do not
|
|
1093
1099
|
# actually apply it.
|
|
1094
1100
|
#
|
|
1095
1101
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
@@ -1184,12 +1190,12 @@ module Google
|
|
|
1184
1190
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
1185
1191
|
#
|
|
1186
1192
|
# @param workstation_config [::Google::Cloud::Workstations::V1::WorkstationConfig, ::Hash]
|
|
1187
|
-
# Required.
|
|
1193
|
+
# Required. Workstation configuration to update.
|
|
1188
1194
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
|
1189
1195
|
# Required. Mask specifying which fields in the workstation configuration
|
|
1190
1196
|
# should be updated.
|
|
1191
1197
|
# @param validate_only [::Boolean]
|
|
1192
|
-
# Optional. If set, validate the request and preview the
|
|
1198
|
+
# Optional. If set, validate the request and preview the result, but do not
|
|
1193
1199
|
# actually apply it.
|
|
1194
1200
|
# @param allow_missing [::Boolean]
|
|
1195
1201
|
# Optional. If set and the workstation configuration is not found, a new
|
|
@@ -1290,7 +1296,7 @@ module Google
|
|
|
1290
1296
|
# @param name [::String]
|
|
1291
1297
|
# Required. Name of the workstation configuration to delete.
|
|
1292
1298
|
# @param validate_only [::Boolean]
|
|
1293
|
-
# Optional. If set, validate the request and preview the
|
|
1299
|
+
# Optional. If set, validate the request and preview the result, but do not
|
|
1294
1300
|
# actually apply it.
|
|
1295
1301
|
# @param etag [::String]
|
|
1296
1302
|
# Optional. If set, the request is rejected if the latest version of the
|
|
@@ -1471,7 +1477,7 @@ module Google
|
|
|
1471
1477
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1472
1478
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
1473
1479
|
#
|
|
1474
|
-
# @overload list_workstations(parent: nil, page_size: nil, page_token: nil)
|
|
1480
|
+
# @overload list_workstations(parent: nil, page_size: nil, page_token: nil, filter: nil)
|
|
1475
1481
|
# Pass arguments to `list_workstations` via keyword arguments. Note that at
|
|
1476
1482
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1477
1483
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1483,6 +1489,9 @@ module Google
|
|
|
1483
1489
|
# @param page_token [::String]
|
|
1484
1490
|
# Optional. next_page_token value returned from a previous List request, if
|
|
1485
1491
|
# any.
|
|
1492
|
+
# @param filter [::String]
|
|
1493
|
+
# Optional. Filter the Workstations to be listed. Possible filters are
|
|
1494
|
+
# described in https://google.aip.dev/160.
|
|
1486
1495
|
#
|
|
1487
1496
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1488
1497
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Workstations::V1::Workstation>]
|
|
@@ -1674,9 +1683,13 @@ module Google
|
|
|
1674
1683
|
# @param workstation_id [::String]
|
|
1675
1684
|
# Required. ID to use for the workstation.
|
|
1676
1685
|
# @param workstation [::Google::Cloud::Workstations::V1::Workstation, ::Hash]
|
|
1677
|
-
# Required. Workstation to create.
|
|
1686
|
+
# Required. Workstation to create. If source_workstation is specified, the
|
|
1687
|
+
# user must have `workstations.workstations.use` permission on the source
|
|
1688
|
+
# workstation, and the Cloud Workstations Service Agent for the project where
|
|
1689
|
+
# you are creating the new workstation must have compute.disks.createSnapshot
|
|
1690
|
+
# and compute.snapshots.useReadOnly on the source project.
|
|
1678
1691
|
# @param validate_only [::Boolean]
|
|
1679
|
-
# Optional. If set, validate the request and preview the
|
|
1692
|
+
# Optional. If set, validate the request and preview the result, but do not
|
|
1680
1693
|
# actually apply it.
|
|
1681
1694
|
#
|
|
1682
1695
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
@@ -1773,15 +1786,14 @@ module Google
|
|
|
1773
1786
|
# @param workstation [::Google::Cloud::Workstations::V1::Workstation, ::Hash]
|
|
1774
1787
|
# Required. Workstation to update.
|
|
1775
1788
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
|
1776
|
-
# Required. Mask specifying which fields in the workstation
|
|
1777
|
-
#
|
|
1789
|
+
# Required. Mask specifying which fields in the workstation should be
|
|
1790
|
+
# updated.
|
|
1778
1791
|
# @param validate_only [::Boolean]
|
|
1779
|
-
# Optional. If set, validate the request and preview the
|
|
1792
|
+
# Optional. If set, validate the request and preview the result, but do not
|
|
1780
1793
|
# actually apply it.
|
|
1781
1794
|
# @param allow_missing [::Boolean]
|
|
1782
|
-
# Optional. If set and the workstation
|
|
1783
|
-
#
|
|
1784
|
-
# is ignored.
|
|
1795
|
+
# Optional. If set and the workstation is not found, a new workstation is
|
|
1796
|
+
# created. In this situation, update_mask is ignored.
|
|
1785
1797
|
#
|
|
1786
1798
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1787
1799
|
# @yieldparam response [::Gapic::Operation]
|
|
@@ -1877,7 +1889,7 @@ module Google
|
|
|
1877
1889
|
# @param name [::String]
|
|
1878
1890
|
# Required. Name of the workstation to delete.
|
|
1879
1891
|
# @param validate_only [::Boolean]
|
|
1880
|
-
# Optional. If set, validate the request and preview the
|
|
1892
|
+
# Optional. If set, validate the request and preview the result, but do not
|
|
1881
1893
|
# actually apply it.
|
|
1882
1894
|
# @param etag [::String]
|
|
1883
1895
|
# Optional. If set, the request will be rejected if the latest version of the
|
|
@@ -1969,7 +1981,7 @@ module Google
|
|
|
1969
1981
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1970
1982
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
1971
1983
|
#
|
|
1972
|
-
# @overload start_workstation(name: nil, validate_only: nil, etag: nil)
|
|
1984
|
+
# @overload start_workstation(name: nil, validate_only: nil, etag: nil, boost_config: nil)
|
|
1973
1985
|
# Pass arguments to `start_workstation` via keyword arguments. Note that at
|
|
1974
1986
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1975
1987
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1977,11 +1989,14 @@ module Google
|
|
|
1977
1989
|
# @param name [::String]
|
|
1978
1990
|
# Required. Name of the workstation to start.
|
|
1979
1991
|
# @param validate_only [::Boolean]
|
|
1980
|
-
# Optional. If set, validate the request and preview the
|
|
1992
|
+
# Optional. If set, validate the request and preview the result, but do not
|
|
1981
1993
|
# actually apply it.
|
|
1982
1994
|
# @param etag [::String]
|
|
1983
1995
|
# Optional. If set, the request will be rejected if the latest version of the
|
|
1984
1996
|
# workstation on the server does not have this ETag.
|
|
1997
|
+
# @param boost_config [::String]
|
|
1998
|
+
# Optional. If set, the workstation starts using the boost configuration with
|
|
1999
|
+
# the specified ID.
|
|
1985
2000
|
#
|
|
1986
2001
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1987
2002
|
# @yieldparam response [::Gapic::Operation]
|
|
@@ -2077,7 +2092,7 @@ module Google
|
|
|
2077
2092
|
# @param name [::String]
|
|
2078
2093
|
# Required. Name of the workstation to stop.
|
|
2079
2094
|
# @param validate_only [::Boolean]
|
|
2080
|
-
# Optional. If set, validate the request and preview the
|
|
2095
|
+
# Optional. If set, validate the request and preview the result, but do not
|
|
2081
2096
|
# actually apply it.
|
|
2082
2097
|
# @param etag [::String]
|
|
2083
2098
|
# Optional. If set, the request will be rejected if the latest version of the
|
|
@@ -2159,6 +2174,8 @@ module Google
|
|
|
2159
2174
|
##
|
|
2160
2175
|
# Returns a short-lived credential that can be used to send authenticated and
|
|
2161
2176
|
# authorized traffic to a workstation.
|
|
2177
|
+
# Once generated this token cannot be revoked and is good for the lifetime
|
|
2178
|
+
# of the token.
|
|
2162
2179
|
#
|
|
2163
2180
|
# @overload generate_access_token(request, options = nil)
|
|
2164
2181
|
# Pass arguments to `generate_access_token` via a request object, either of type
|
|
@@ -2170,7 +2187,7 @@ module Google
|
|
|
2170
2187
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2171
2188
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2172
2189
|
#
|
|
2173
|
-
# @overload generate_access_token(expire_time: nil, ttl: nil, workstation: nil)
|
|
2190
|
+
# @overload generate_access_token(expire_time: nil, ttl: nil, workstation: nil, port: nil)
|
|
2174
2191
|
# Pass arguments to `generate_access_token` via keyword arguments. Note that at
|
|
2175
2192
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2176
2193
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2191,6 +2208,12 @@ module Google
|
|
|
2191
2208
|
# @param workstation [::String]
|
|
2192
2209
|
# Required. Name of the workstation for which the access token should be
|
|
2193
2210
|
# generated.
|
|
2211
|
+
# @param port [::Integer]
|
|
2212
|
+
# Optional. Port for which the access token should be generated. If
|
|
2213
|
+
# specified, the generated access token grants access only to the
|
|
2214
|
+
# specified port of the workstation. If specified, values must be within the
|
|
2215
|
+
# range [1 - 65535]. If not specified, the generated access token grants
|
|
2216
|
+
# access to all ports of the workstation.
|
|
2194
2217
|
#
|
|
2195
2218
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2196
2219
|
# @yieldparam response [::Google::Cloud::Workstations::V1::GenerateAccessTokenResponse]
|
|
@@ -2352,6 +2375,7 @@ module Google
|
|
|
2352
2375
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
2353
2376
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
2354
2377
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
2378
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
2355
2379
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
2356
2380
|
# trigger a retry.
|
|
2357
2381
|
# @return [::Hash]
|
|
@@ -2435,6 +2459,7 @@ module Google
|
|
|
2435
2459
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
2436
2460
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
2437
2461
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
2462
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
2438
2463
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
2439
2464
|
# trigger a retry.
|
|
2440
2465
|
#
|
|
@@ -703,6 +703,7 @@ module Google
|
|
|
703
703
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
704
704
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
705
705
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
706
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
706
707
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
707
708
|
# trigger a retry.
|
|
708
709
|
# @return [::Hash]
|
|
@@ -786,6 +787,7 @@ module Google
|
|
|
786
787
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
787
788
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
788
789
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
790
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
789
791
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
790
792
|
# trigger a retry.
|
|
791
793
|
#
|
|
@@ -381,7 +381,7 @@ module Google
|
|
|
381
381
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
382
382
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
383
383
|
#
|
|
384
|
-
# @overload list_workstation_clusters(parent: nil, page_size: nil, page_token: nil)
|
|
384
|
+
# @overload list_workstation_clusters(parent: nil, page_size: nil, page_token: nil, filter: nil)
|
|
385
385
|
# Pass arguments to `list_workstation_clusters` via keyword arguments. Note that at
|
|
386
386
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
387
387
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -393,6 +393,9 @@ module Google
|
|
|
393
393
|
# @param page_token [::String]
|
|
394
394
|
# Optional. next_page_token value returned from a previous List request, if
|
|
395
395
|
# any.
|
|
396
|
+
# @param filter [::String]
|
|
397
|
+
# Optional. Filter the WorkstationClusters to be listed. Possible filters are
|
|
398
|
+
# described in https://google.aip.dev/160.
|
|
396
399
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
397
400
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Workstations::V1::WorkstationCluster>]
|
|
398
401
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -482,7 +485,7 @@ module Google
|
|
|
482
485
|
# @param workstation_cluster [::Google::Cloud::Workstations::V1::WorkstationCluster, ::Hash]
|
|
483
486
|
# Required. Workstation cluster to create.
|
|
484
487
|
# @param validate_only [::Boolean]
|
|
485
|
-
# Optional. If set, validate the request and preview the
|
|
488
|
+
# Optional. If set, validate the request and preview the result, but do not
|
|
486
489
|
# actually apply it.
|
|
487
490
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
488
491
|
# @yieldparam result [::Gapic::Operation]
|
|
@@ -575,7 +578,7 @@ module Google
|
|
|
575
578
|
# Required. Mask that specifies which fields in the workstation cluster
|
|
576
579
|
# should be updated.
|
|
577
580
|
# @param validate_only [::Boolean]
|
|
578
|
-
# Optional. If set, validate the request and preview the
|
|
581
|
+
# Optional. If set, validate the request and preview the result, but do not
|
|
579
582
|
# actually apply it.
|
|
580
583
|
# @param allow_missing [::Boolean]
|
|
581
584
|
# Optional. If set, and the workstation cluster is not found, a new
|
|
@@ -669,7 +672,7 @@ module Google
|
|
|
669
672
|
# @param name [::String]
|
|
670
673
|
# Required. Name of the workstation cluster to delete.
|
|
671
674
|
# @param validate_only [::Boolean]
|
|
672
|
-
# Optional. If set, validate the request and preview the
|
|
675
|
+
# Optional. If set, validate the request and preview the result, but do not
|
|
673
676
|
# apply it.
|
|
674
677
|
# @param etag [::String]
|
|
675
678
|
# Optional. If set, the request will be rejected if the latest version of the
|
|
@@ -836,7 +839,7 @@ module Google
|
|
|
836
839
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
837
840
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
838
841
|
#
|
|
839
|
-
# @overload list_workstation_configs(parent: nil, page_size: nil, page_token: nil)
|
|
842
|
+
# @overload list_workstation_configs(parent: nil, page_size: nil, page_token: nil, filter: nil)
|
|
840
843
|
# Pass arguments to `list_workstation_configs` via keyword arguments. Note that at
|
|
841
844
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
842
845
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -848,6 +851,9 @@ module Google
|
|
|
848
851
|
# @param page_token [::String]
|
|
849
852
|
# Optional. next_page_token value returned from a previous List request, if
|
|
850
853
|
# any.
|
|
854
|
+
# @param filter [::String]
|
|
855
|
+
# Optional. Filter the WorkstationConfigs to be listed. Possible filters are
|
|
856
|
+
# described in https://google.aip.dev/160.
|
|
851
857
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
852
858
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Workstations::V1::WorkstationConfig>]
|
|
853
859
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1025,9 +1031,9 @@ module Google
|
|
|
1025
1031
|
# @param workstation_config_id [::String]
|
|
1026
1032
|
# Required. ID to use for the workstation configuration.
|
|
1027
1033
|
# @param workstation_config [::Google::Cloud::Workstations::V1::WorkstationConfig, ::Hash]
|
|
1028
|
-
# Required.
|
|
1034
|
+
# Required. Workstation configuration to create.
|
|
1029
1035
|
# @param validate_only [::Boolean]
|
|
1030
|
-
# Optional. If set, validate the request and preview the
|
|
1036
|
+
# Optional. If set, validate the request and preview the result, but do not
|
|
1031
1037
|
# actually apply it.
|
|
1032
1038
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1033
1039
|
# @yieldparam result [::Gapic::Operation]
|
|
@@ -1115,12 +1121,12 @@ module Google
|
|
|
1115
1121
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
1116
1122
|
#
|
|
1117
1123
|
# @param workstation_config [::Google::Cloud::Workstations::V1::WorkstationConfig, ::Hash]
|
|
1118
|
-
# Required.
|
|
1124
|
+
# Required. Workstation configuration to update.
|
|
1119
1125
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
|
1120
1126
|
# Required. Mask specifying which fields in the workstation configuration
|
|
1121
1127
|
# should be updated.
|
|
1122
1128
|
# @param validate_only [::Boolean]
|
|
1123
|
-
# Optional. If set, validate the request and preview the
|
|
1129
|
+
# Optional. If set, validate the request and preview the result, but do not
|
|
1124
1130
|
# actually apply it.
|
|
1125
1131
|
# @param allow_missing [::Boolean]
|
|
1126
1132
|
# Optional. If set and the workstation configuration is not found, a new
|
|
@@ -1214,7 +1220,7 @@ module Google
|
|
|
1214
1220
|
# @param name [::String]
|
|
1215
1221
|
# Required. Name of the workstation configuration to delete.
|
|
1216
1222
|
# @param validate_only [::Boolean]
|
|
1217
|
-
# Optional. If set, validate the request and preview the
|
|
1223
|
+
# Optional. If set, validate the request and preview the result, but do not
|
|
1218
1224
|
# actually apply it.
|
|
1219
1225
|
# @param etag [::String]
|
|
1220
1226
|
# Optional. If set, the request is rejected if the latest version of the
|
|
@@ -1381,7 +1387,7 @@ module Google
|
|
|
1381
1387
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1382
1388
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1383
1389
|
#
|
|
1384
|
-
# @overload list_workstations(parent: nil, page_size: nil, page_token: nil)
|
|
1390
|
+
# @overload list_workstations(parent: nil, page_size: nil, page_token: nil, filter: nil)
|
|
1385
1391
|
# Pass arguments to `list_workstations` via keyword arguments. Note that at
|
|
1386
1392
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1387
1393
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1393,6 +1399,9 @@ module Google
|
|
|
1393
1399
|
# @param page_token [::String]
|
|
1394
1400
|
# Optional. next_page_token value returned from a previous List request, if
|
|
1395
1401
|
# any.
|
|
1402
|
+
# @param filter [::String]
|
|
1403
|
+
# Optional. Filter the Workstations to be listed. Possible filters are
|
|
1404
|
+
# described in https://google.aip.dev/160.
|
|
1396
1405
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1397
1406
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Workstations::V1::Workstation>]
|
|
1398
1407
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1570,9 +1579,13 @@ module Google
|
|
|
1570
1579
|
# @param workstation_id [::String]
|
|
1571
1580
|
# Required. ID to use for the workstation.
|
|
1572
1581
|
# @param workstation [::Google::Cloud::Workstations::V1::Workstation, ::Hash]
|
|
1573
|
-
# Required. Workstation to create.
|
|
1582
|
+
# Required. Workstation to create. If source_workstation is specified, the
|
|
1583
|
+
# user must have `workstations.workstations.use` permission on the source
|
|
1584
|
+
# workstation, and the Cloud Workstations Service Agent for the project where
|
|
1585
|
+
# you are creating the new workstation must have compute.disks.createSnapshot
|
|
1586
|
+
# and compute.snapshots.useReadOnly on the source project.
|
|
1574
1587
|
# @param validate_only [::Boolean]
|
|
1575
|
-
# Optional. If set, validate the request and preview the
|
|
1588
|
+
# Optional. If set, validate the request and preview the result, but do not
|
|
1576
1589
|
# actually apply it.
|
|
1577
1590
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1578
1591
|
# @yieldparam result [::Gapic::Operation]
|
|
@@ -1662,15 +1675,14 @@ module Google
|
|
|
1662
1675
|
# @param workstation [::Google::Cloud::Workstations::V1::Workstation, ::Hash]
|
|
1663
1676
|
# Required. Workstation to update.
|
|
1664
1677
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
|
1665
|
-
# Required. Mask specifying which fields in the workstation
|
|
1666
|
-
#
|
|
1678
|
+
# Required. Mask specifying which fields in the workstation should be
|
|
1679
|
+
# updated.
|
|
1667
1680
|
# @param validate_only [::Boolean]
|
|
1668
|
-
# Optional. If set, validate the request and preview the
|
|
1681
|
+
# Optional. If set, validate the request and preview the result, but do not
|
|
1669
1682
|
# actually apply it.
|
|
1670
1683
|
# @param allow_missing [::Boolean]
|
|
1671
|
-
# Optional. If set and the workstation
|
|
1672
|
-
#
|
|
1673
|
-
# is ignored.
|
|
1684
|
+
# Optional. If set and the workstation is not found, a new workstation is
|
|
1685
|
+
# created. In this situation, update_mask is ignored.
|
|
1674
1686
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1675
1687
|
# @yieldparam result [::Gapic::Operation]
|
|
1676
1688
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1759,7 +1771,7 @@ module Google
|
|
|
1759
1771
|
# @param name [::String]
|
|
1760
1772
|
# Required. Name of the workstation to delete.
|
|
1761
1773
|
# @param validate_only [::Boolean]
|
|
1762
|
-
# Optional. If set, validate the request and preview the
|
|
1774
|
+
# Optional. If set, validate the request and preview the result, but do not
|
|
1763
1775
|
# actually apply it.
|
|
1764
1776
|
# @param etag [::String]
|
|
1765
1777
|
# Optional. If set, the request will be rejected if the latest version of the
|
|
@@ -1844,7 +1856,7 @@ module Google
|
|
|
1844
1856
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1845
1857
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
1846
1858
|
#
|
|
1847
|
-
# @overload start_workstation(name: nil, validate_only: nil, etag: nil)
|
|
1859
|
+
# @overload start_workstation(name: nil, validate_only: nil, etag: nil, boost_config: nil)
|
|
1848
1860
|
# Pass arguments to `start_workstation` via keyword arguments. Note that at
|
|
1849
1861
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1850
1862
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1852,11 +1864,14 @@ module Google
|
|
|
1852
1864
|
# @param name [::String]
|
|
1853
1865
|
# Required. Name of the workstation to start.
|
|
1854
1866
|
# @param validate_only [::Boolean]
|
|
1855
|
-
# Optional. If set, validate the request and preview the
|
|
1867
|
+
# Optional. If set, validate the request and preview the result, but do not
|
|
1856
1868
|
# actually apply it.
|
|
1857
1869
|
# @param etag [::String]
|
|
1858
1870
|
# Optional. If set, the request will be rejected if the latest version of the
|
|
1859
1871
|
# workstation on the server does not have this ETag.
|
|
1872
|
+
# @param boost_config [::String]
|
|
1873
|
+
# Optional. If set, the workstation starts using the boost configuration with
|
|
1874
|
+
# the specified ID.
|
|
1860
1875
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
1861
1876
|
# @yieldparam result [::Gapic::Operation]
|
|
1862
1877
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -1945,7 +1960,7 @@ module Google
|
|
|
1945
1960
|
# @param name [::String]
|
|
1946
1961
|
# Required. Name of the workstation to stop.
|
|
1947
1962
|
# @param validate_only [::Boolean]
|
|
1948
|
-
# Optional. If set, validate the request and preview the
|
|
1963
|
+
# Optional. If set, validate the request and preview the result, but do not
|
|
1949
1964
|
# actually apply it.
|
|
1950
1965
|
# @param etag [::String]
|
|
1951
1966
|
# Optional. If set, the request will be rejected if the latest version of the
|
|
@@ -2020,6 +2035,8 @@ module Google
|
|
|
2020
2035
|
##
|
|
2021
2036
|
# Returns a short-lived credential that can be used to send authenticated and
|
|
2022
2037
|
# authorized traffic to a workstation.
|
|
2038
|
+
# Once generated this token cannot be revoked and is good for the lifetime
|
|
2039
|
+
# of the token.
|
|
2023
2040
|
#
|
|
2024
2041
|
# @overload generate_access_token(request, options = nil)
|
|
2025
2042
|
# Pass arguments to `generate_access_token` via a request object, either of type
|
|
@@ -2031,7 +2048,7 @@ module Google
|
|
|
2031
2048
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2032
2049
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2033
2050
|
#
|
|
2034
|
-
# @overload generate_access_token(expire_time: nil, ttl: nil, workstation: nil)
|
|
2051
|
+
# @overload generate_access_token(expire_time: nil, ttl: nil, workstation: nil, port: nil)
|
|
2035
2052
|
# Pass arguments to `generate_access_token` via keyword arguments. Note that at
|
|
2036
2053
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2037
2054
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -2052,6 +2069,12 @@ module Google
|
|
|
2052
2069
|
# @param workstation [::String]
|
|
2053
2070
|
# Required. Name of the workstation for which the access token should be
|
|
2054
2071
|
# generated.
|
|
2072
|
+
# @param port [::Integer]
|
|
2073
|
+
# Optional. Port for which the access token should be generated. If
|
|
2074
|
+
# specified, the generated access token grants access only to the
|
|
2075
|
+
# specified port of the workstation. If specified, values must be within the
|
|
2076
|
+
# range [1 - 65535]. If not specified, the generated access token grants
|
|
2077
|
+
# access to all ports of the workstation.
|
|
2055
2078
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2056
2079
|
# @yieldparam result [::Google::Cloud::Workstations::V1::GenerateAccessTokenResponse]
|
|
2057
2080
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -2180,6 +2203,7 @@ module Google
|
|
|
2180
2203
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
2181
2204
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
2182
2205
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
2206
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
2183
2207
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
2184
2208
|
# trigger a retry.
|
|
2185
2209
|
# @return [::Hash]
|
|
@@ -2259,6 +2283,7 @@ module Google
|
|
|
2259
2283
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
2260
2284
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
2261
2285
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
2286
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
2262
2287
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
2263
2288
|
# trigger a retry.
|
|
2264
2289
|
#
|
|
@@ -541,6 +541,7 @@ module Google
|
|
|
541
541
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
542
542
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
543
543
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
544
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
544
545
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
545
546
|
# trigger a retry.
|
|
546
547
|
# @return [::Hash]
|
|
@@ -613,6 +614,7 @@ module Google
|
|
|
613
614
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
614
615
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
615
616
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
617
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
616
618
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
617
619
|
# trigger a retry.
|
|
618
620
|
#
|