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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 25b540f44095d64e87b80e20f640b09bbc4ad8060d1571d8e2775f2ce8f34e21
4
- data.tar.gz: 2bac88c08fe2e5a95bef21ff5a4b577b8d8c99e5709901824828b609de615a40
3
+ metadata.gz: a859f02594dee80184d733ce24685f14a770a8b834897cad2c5c728badbf1af4
4
+ data.tar.gz: 14f0889548910157f6e47aaf89aa1ebdd77fecfa8b521fc941ae944976d0698e
5
5
  SHA512:
6
- metadata.gz: b03d6bbfe6f3fd99c9af4b7ed604ad1f6f35cad53c60ed07805c9aa43c803c04476412baf6189d5964b16a01421740bfe0c9d031d5a2b0a07fefb751acd525a8
7
- data.tar.gz: 034c123e06e5355995d3c6636d437207dc218061365ce38b0762827612a82eaeffc09607a45d86d65db59c7c53434d5282a76b8a9f518abf0c01f460f2c84644
6
+ metadata.gz: e15b99a42e54f6df0289377384361ece03e919128527189e04de542713cbfd1be88a0e0c3381b01cb774d58a4e4d7ba8479d4d8c39faf07137a83f4aeaa92171
7
+ data.tar.gz: 74c3df7342ac61b852dfe914d01198b24168079ab955472c132147facb47ccc01d6bf9c23ad74b6fb5d09fda181d5950f5da85e4e3518f981c5e839fd613c75b
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Workstations
23
23
  module V1beta
24
- VERSION = "0.3.0"
24
+ VERSION = "0.4.1"
25
25
  end
26
26
  end
27
27
  end
@@ -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::ListWorkstationClustersResponse]
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::ListWorkstationClustersResponse]
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::ListWorkstationConfigsResponse]
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::ListWorkstationConfigsResponse]
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::ListUsableWorkstationConfigsResponse]
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::ListUsableWorkstationConfigsResponse]
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::ListWorkstationsResponse]
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::ListWorkstationsResponse]
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::ListUsableWorkstationsResponse]
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::ListUsableWorkstationsResponse]
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.3.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: 2025-01-29 00:00:00.000000000 Z
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.2
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: []