google-cloud-workstations-v1beta 0.3.0 → 0.4.1
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/lib/google/cloud/workstations/v1beta/version.rb +1 -1
- data/lib/google/cloud/workstations/v1beta/workstations/client.rb +2 -2
- data/lib/google/cloud/workstations/v1beta/workstations/operations.rb +2 -2
- data/lib/google/cloud/workstations/v1beta/workstations/rest/client.rb +21 -11
- data/lib/google/cloud/workstations/v1beta/workstations/rest/operations.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -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: a859f02594dee80184d733ce24685f14a770a8b834897cad2c5c728badbf1af4
|
4
|
+
data.tar.gz: 14f0889548910157f6e47aaf89aa1ebdd77fecfa8b521fc941ae944976d0698e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e15b99a42e54f6df0289377384361ece03e919128527189e04de542713cbfd1be88a0e0c3381b01cb774d58a4e4d7ba8479d4d8c39faf07137a83f4aeaa92171
|
7
|
+
data.tar.gz: 74c3df7342ac61b852dfe914d01198b24168079ab955472c132147facb47ccc01d6bf9c23ad74b6fb5d09fda181d5950f5da85e4e3518f981c5e839fd613c75b
|
@@ -2361,8 +2361,8 @@ module Google
|
|
2361
2361
|
|
2362
2362
|
config_attr :endpoint, nil, ::String, nil
|
2363
2363
|
config_attr :credentials, nil do |value|
|
2364
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
2365
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
2364
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
2365
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
2366
2366
|
allowed.any? { |klass| klass === value }
|
2367
2367
|
end
|
2368
2368
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -701,8 +701,8 @@ module Google
|
|
701
701
|
|
702
702
|
config_attr :endpoint, nil, ::String, nil
|
703
703
|
config_attr :credentials, nil do |value|
|
704
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
705
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
704
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
705
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
706
706
|
allowed.any? { |klass| klass === value }
|
707
707
|
end
|
708
708
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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)
|
@@ -2196,7 +2206,7 @@ module Google
|
|
2196
2206
|
|
2197
2207
|
config_attr :endpoint, nil, ::String, nil
|
2198
2208
|
config_attr :credentials, nil do |value|
|
2199
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
2209
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
2200
2210
|
allowed.any? { |klass| klass === value }
|
2201
2211
|
end
|
2202
2212
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -556,7 +556,7 @@ module Google
|
|
556
556
|
|
557
557
|
config_attr :endpoint, nil, ::String, nil
|
558
558
|
config_attr :credentials, nil do |value|
|
559
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
559
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
560
560
|
allowed.any? { |klass| klass === value }
|
561
561
|
end
|
562
562
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -221,6 +221,12 @@ module Google
|
|
221
221
|
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
222
|
# enabled by default 1 month after launching the feature in preview
|
223
223
|
# packages.
|
224
|
+
# @!attribute [rw] unversioned_package_disabled
|
225
|
+
# @return [::Boolean]
|
226
|
+
# Disables generation of an unversioned Python package for this client
|
227
|
+
# library. This means that the module names will need to be versioned in
|
228
|
+
# import statements. For example `import google.cloud.library_v2` instead
|
229
|
+
# of `import google.cloud.library`.
|
224
230
|
class ExperimentalFeatures
|
225
231
|
include ::Google::Protobuf::MessageExts
|
226
232
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -409,6 +415,14 @@ module Google
|
|
409
415
|
# @return [::Array<::String>]
|
410
416
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
417
|
# on public client surfaces.
|
418
|
+
# @!attribute [rw] generate_omitted_as_internal
|
419
|
+
# @return [::Boolean]
|
420
|
+
# Setting this to true indicates to the client generators that methods
|
421
|
+
# that would be excluded from the generation should instead be generated
|
422
|
+
# in a way that indicates these methods should not be consumed by
|
423
|
+
# end users. How this is expressed is up to individual language
|
424
|
+
# implementations to decide. Some examples may be: added annotations,
|
425
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
426
|
class SelectiveGapicGeneration
|
413
427
|
include ::Google::Protobuf::MessageExts
|
414
428
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,13 +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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: gapic-common
|
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
|
-
rubygems_version: 3.6.
|
147
|
+
rubygems_version: 3.6.8
|
148
148
|
specification_version: 4
|
149
149
|
summary: Allows administrators to create managed developer environments in the cloud.
|
150
150
|
test_files: []
|