google-cloud-workstations-v1beta 0.2.0 → 0.4.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/v1beta/version.rb +1 -1
- data/lib/google/cloud/workstations/v1beta/workstations/client.rb +11 -0
- data/lib/google/cloud/workstations/v1beta/workstations/operations.rb +7 -0
- data/lib/google/cloud/workstations/v1beta/workstations/rest/client.rb +31 -10
- data/lib/google/cloud/workstations/v1beta/workstations/rest/operations.rb +7 -0
- data/proto_docs/google/api/client.rb +8 -0
- data/proto_docs/google/cloud/workstations/v1beta/workstations.rb +4 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ee226a43eaf96dad8071150e346893dbb12d9ba2cb617e0c36b7212b31c31a2
|
4
|
+
data.tar.gz: 6a8878b435bba69d92c45181628c158199ea8b815919393f646f9a9a56c418c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1864cb33339432a2a8f9cf5780d27388827261ac55a530609f2019476ab145fe5a227342151a1f0dd7be7e888b5cd179013eeef5373b3189ca70766cb3751084
|
7
|
+
data.tar.gz: 737f2e8153b77b1664cb11ecfef00c8ae7e52d4b8ccdb2d0420b58249d6cb8401aa348e90c6e0e7b9766307508cee48212e679512b5d83e2f046facc22c7e768
|
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
|
88
|
+
This library is supported on Ruby 3.0+.
|
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
|
@@ -2180,10 +2180,14 @@ module Google
|
|
2180
2180
|
# be at most 24 hours in the future. If a value is not specified, the
|
2181
2181
|
# token's expiration time will be set to a default value of 1 hour in the
|
2182
2182
|
# future.
|
2183
|
+
#
|
2184
|
+
# Note: The following fields are mutually exclusive: `expire_time`, `ttl`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
2183
2185
|
# @param ttl [::Google::Protobuf::Duration, ::Hash]
|
2184
2186
|
# Desired lifetime duration of the access token. This value must
|
2185
2187
|
# be at most 24 hours. If a value is not specified, the token's lifetime
|
2186
2188
|
# will be set to a default value of 1 hour.
|
2189
|
+
#
|
2190
|
+
# Note: The following fields are mutually exclusive: `ttl`, `expire_time`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
2187
2191
|
# @param workstation [::String]
|
2188
2192
|
# Required. Name of the workstation for which the access token should be
|
2189
2193
|
# generated.
|
@@ -2296,6 +2300,13 @@ module Google
|
|
2296
2300
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
2297
2301
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
2298
2302
|
# * (`nil`) indicating no credentials
|
2303
|
+
#
|
2304
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
2305
|
+
# external source for authentication to Google Cloud, you must validate it before
|
2306
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
2307
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
2308
|
+
# For more information, refer to [Validate credential configurations from external
|
2309
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
2299
2310
|
# @return [::Object]
|
2300
2311
|
# @!attribute [rw] scope
|
2301
2312
|
# The OAuth scopes
|
@@ -640,6 +640,13 @@ module Google
|
|
640
640
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
641
641
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
642
642
|
# * (`nil`) indicating no credentials
|
643
|
+
#
|
644
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
645
|
+
# external source for authentication to Google Cloud, you must validate it before
|
646
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
647
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
648
|
+
# For more information, refer to [Validate credential configurations from external
|
649
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
643
650
|
# @return [::Object]
|
644
651
|
# @!attribute [rw] scope
|
645
652
|
# The OAuth scopes
|
@@ -394,10 +394,10 @@ module Google
|
|
394
394
|
# Optional. next_page_token value returned from a previous List request, if
|
395
395
|
# any.
|
396
396
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
397
|
-
# @yieldparam result [::Google::Cloud::Workstations::V1beta::
|
397
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Workstations::V1beta::WorkstationCluster>]
|
398
398
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
399
399
|
#
|
400
|
-
# @return [::Google::Cloud::Workstations::V1beta::
|
400
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Workstations::V1beta::WorkstationCluster>]
|
401
401
|
#
|
402
402
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
403
403
|
#
|
@@ -449,7 +449,9 @@ module Google
|
|
449
449
|
retry_policy: @config.retry_policy
|
450
450
|
|
451
451
|
@workstations_stub.list_workstation_clusters request, options do |result, operation|
|
452
|
+
result = ::Gapic::Rest::PagedEnumerable.new @workstations_stub, :list_workstation_clusters, "workstation_clusters", request, result, options
|
452
453
|
yield result, operation if block_given?
|
454
|
+
throw :response, result
|
453
455
|
end
|
454
456
|
rescue ::Gapic::Rest::Error => e
|
455
457
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -847,10 +849,10 @@ module Google
|
|
847
849
|
# Optional. next_page_token value returned from a previous List request, if
|
848
850
|
# any.
|
849
851
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
850
|
-
# @yieldparam result [::Google::Cloud::Workstations::V1beta::
|
852
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Workstations::V1beta::WorkstationConfig>]
|
851
853
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
852
854
|
#
|
853
|
-
# @return [::Google::Cloud::Workstations::V1beta::
|
855
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Workstations::V1beta::WorkstationConfig>]
|
854
856
|
#
|
855
857
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
856
858
|
#
|
@@ -902,7 +904,9 @@ module Google
|
|
902
904
|
retry_policy: @config.retry_policy
|
903
905
|
|
904
906
|
@workstations_stub.list_workstation_configs request, options do |result, operation|
|
907
|
+
result = ::Gapic::Rest::PagedEnumerable.new @workstations_stub, :list_workstation_configs, "workstation_configs", request, result, options
|
905
908
|
yield result, operation if block_given?
|
909
|
+
throw :response, result
|
906
910
|
end
|
907
911
|
rescue ::Gapic::Rest::Error => e
|
908
912
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -935,10 +939,10 @@ module Google
|
|
935
939
|
# Optional. next_page_token value returned from a previous List request, if
|
936
940
|
# any.
|
937
941
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
938
|
-
# @yieldparam result [::Google::Cloud::Workstations::V1beta::
|
942
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Workstations::V1beta::WorkstationConfig>]
|
939
943
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
940
944
|
#
|
941
|
-
# @return [::Google::Cloud::Workstations::V1beta::
|
945
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Workstations::V1beta::WorkstationConfig>]
|
942
946
|
#
|
943
947
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
944
948
|
#
|
@@ -990,7 +994,9 @@ module Google
|
|
990
994
|
retry_policy: @config.retry_policy
|
991
995
|
|
992
996
|
@workstations_stub.list_usable_workstation_configs request, options do |result, operation|
|
997
|
+
result = ::Gapic::Rest::PagedEnumerable.new @workstations_stub, :list_usable_workstation_configs, "workstation_configs", request, result, options
|
993
998
|
yield result, operation if block_given?
|
999
|
+
throw :response, result
|
994
1000
|
end
|
995
1001
|
rescue ::Gapic::Rest::Error => e
|
996
1002
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1388,10 +1394,10 @@ module Google
|
|
1388
1394
|
# Optional. next_page_token value returned from a previous List request, if
|
1389
1395
|
# any.
|
1390
1396
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1391
|
-
# @yieldparam result [::Google::Cloud::Workstations::V1beta::
|
1397
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Workstations::V1beta::Workstation>]
|
1392
1398
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1393
1399
|
#
|
1394
|
-
# @return [::Google::Cloud::Workstations::V1beta::
|
1400
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Workstations::V1beta::Workstation>]
|
1395
1401
|
#
|
1396
1402
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1397
1403
|
#
|
@@ -1443,7 +1449,9 @@ module Google
|
|
1443
1449
|
retry_policy: @config.retry_policy
|
1444
1450
|
|
1445
1451
|
@workstations_stub.list_workstations request, options do |result, operation|
|
1452
|
+
result = ::Gapic::Rest::PagedEnumerable.new @workstations_stub, :list_workstations, "workstations", request, result, options
|
1446
1453
|
yield result, operation if block_given?
|
1454
|
+
throw :response, result
|
1447
1455
|
end
|
1448
1456
|
rescue ::Gapic::Rest::Error => e
|
1449
1457
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1476,10 +1484,10 @@ module Google
|
|
1476
1484
|
# Optional. next_page_token value returned from a previous List request, if
|
1477
1485
|
# any.
|
1478
1486
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1479
|
-
# @yieldparam result [::Google::Cloud::Workstations::V1beta::
|
1487
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Workstations::V1beta::Workstation>]
|
1480
1488
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1481
1489
|
#
|
1482
|
-
# @return [::Google::Cloud::Workstations::V1beta::
|
1490
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Workstations::V1beta::Workstation>]
|
1483
1491
|
#
|
1484
1492
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1485
1493
|
#
|
@@ -1531,7 +1539,9 @@ module Google
|
|
1531
1539
|
retry_policy: @config.retry_policy
|
1532
1540
|
|
1533
1541
|
@workstations_stub.list_usable_workstations request, options do |result, operation|
|
1542
|
+
result = ::Gapic::Rest::PagedEnumerable.new @workstations_stub, :list_usable_workstations, "workstations", request, result, options
|
1534
1543
|
yield result, operation if block_given?
|
1544
|
+
throw :response, result
|
1535
1545
|
end
|
1536
1546
|
rescue ::Gapic::Rest::Error => e
|
1537
1547
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2031,10 +2041,14 @@ module Google
|
|
2031
2041
|
# be at most 24 hours in the future. If a value is not specified, the
|
2032
2042
|
# token's expiration time will be set to a default value of 1 hour in the
|
2033
2043
|
# future.
|
2044
|
+
#
|
2045
|
+
# Note: The following fields are mutually exclusive: `expire_time`, `ttl`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
2034
2046
|
# @param ttl [::Google::Protobuf::Duration, ::Hash]
|
2035
2047
|
# Desired lifetime duration of the access token. This value must
|
2036
2048
|
# be at most 24 hours. If a value is not specified, the token's lifetime
|
2037
2049
|
# will be set to a default value of 1 hour.
|
2050
|
+
#
|
2051
|
+
# Note: The following fields are mutually exclusive: `ttl`, `expire_time`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
2038
2052
|
# @param workstation [::String]
|
2039
2053
|
# Required. Name of the workstation for which the access token should be
|
2040
2054
|
# generated.
|
@@ -2138,6 +2152,13 @@ module Google
|
|
2138
2152
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
2139
2153
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
2140
2154
|
# * (`nil`) indicating no credentials
|
2155
|
+
#
|
2156
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
2157
|
+
# external source for authentication to Google Cloud, you must validate it before
|
2158
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
2159
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
2160
|
+
# For more information, refer to [Validate credential configurations from external
|
2161
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
2141
2162
|
# @return [::Object]
|
2142
2163
|
# @!attribute [rw] scope
|
2143
2164
|
# The OAuth scopes
|
@@ -502,6 +502,13 @@ module Google
|
|
502
502
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
503
503
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
504
504
|
# * (`nil`) indicating no credentials
|
505
|
+
#
|
506
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
507
|
+
# external source for authentication to Google Cloud, you must validate it before
|
508
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
509
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
510
|
+
# For more information, refer to [Validate credential configurations from external
|
511
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
505
512
|
# @return [::Object]
|
506
513
|
# @!attribute [rw] scope
|
507
514
|
# The OAuth scopes
|
@@ -409,6 +409,14 @@ module Google
|
|
409
409
|
# @return [::Array<::String>]
|
410
410
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
411
|
# on public client surfaces.
|
412
|
+
# @!attribute [rw] generate_omitted_as_internal
|
413
|
+
# @return [::Boolean]
|
414
|
+
# Setting this to true indicates to the client generators that methods
|
415
|
+
# that would be excluded from the generation should instead be generated
|
416
|
+
# in a way that indicates these methods should not be consumed by
|
417
|
+
# end users. How this is expressed is up to individual language
|
418
|
+
# implementations to decide. Some examples may be: added annotations,
|
419
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
420
|
class SelectiveGapicGeneration
|
413
421
|
include ::Google::Protobuf::MessageExts
|
414
422
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1199,11 +1199,15 @@ module Google
|
|
1199
1199
|
# be at most 24 hours in the future. If a value is not specified, the
|
1200
1200
|
# token's expiration time will be set to a default value of 1 hour in the
|
1201
1201
|
# future.
|
1202
|
+
#
|
1203
|
+
# Note: The following fields are mutually exclusive: `expire_time`, `ttl`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1202
1204
|
# @!attribute [rw] ttl
|
1203
1205
|
# @return [::Google::Protobuf::Duration]
|
1204
1206
|
# Desired lifetime duration of the access token. This value must
|
1205
1207
|
# be at most 24 hours. If a value is not specified, the token's lifetime
|
1206
1208
|
# will be set to a default value of 1 hour.
|
1209
|
+
#
|
1210
|
+
# Note: The following fields are mutually exclusive: `ttl`, `expire_time`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1207
1211
|
# @!attribute [rw] workstation
|
1208
1212
|
# @return [::String]
|
1209
1213
|
# Required. Name of the workstation for which the access token should be
|
@@ -40,6 +40,8 @@ module Google
|
|
40
40
|
# @!attribute [rw] error
|
41
41
|
# @return [::Google::Rpc::Status]
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
45
|
# @!attribute [rw] response
|
44
46
|
# @return [::Google::Protobuf::Any]
|
45
47
|
# The normal, successful response of the operation. If the original
|
@@ -50,6 +52,8 @@ module Google
|
|
50
52
|
# is the original method name. For example, if the original method name
|
51
53
|
# is `TakeSnapshot()`, the inferred response type is
|
52
54
|
# `TakeSnapshotResponse`.
|
55
|
+
#
|
56
|
+
# Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
53
57
|
class Operation
|
54
58
|
include ::Google::Protobuf::MessageExts
|
55
59
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-workstations-v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-07 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -131,7 +130,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
131
130
|
licenses:
|
132
131
|
- Apache-2.0
|
133
132
|
metadata: {}
|
134
|
-
post_install_message:
|
135
133
|
rdoc_options: []
|
136
134
|
require_paths:
|
137
135
|
- lib
|
@@ -139,15 +137,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
139
137
|
requirements:
|
140
138
|
- - ">="
|
141
139
|
- !ruby/object:Gem::Version
|
142
|
-
version: '
|
140
|
+
version: '3.0'
|
143
141
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
144
142
|
requirements:
|
145
143
|
- - ">="
|
146
144
|
- !ruby/object:Gem::Version
|
147
145
|
version: '0'
|
148
146
|
requirements: []
|
149
|
-
rubygems_version: 3.
|
150
|
-
signing_key:
|
147
|
+
rubygems_version: 3.6.3
|
151
148
|
specification_version: 4
|
152
149
|
summary: Allows administrators to create managed developer environments in the cloud.
|
153
150
|
test_files: []
|