google-cloud-metastore-v1 1.2.0 → 2.0.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: 6a6ce3b19e7a1a8eb0f36fe5384d9ee51d74cbe30ed4888e899eeff04463ef94
4
- data.tar.gz: e87635f94dc4f307bc4a2ef6e63ff1f5572b06e214e990cc9933adff49f3a43d
3
+ metadata.gz: 400de31fd8c85c1e464d44d7ae5da370fe91364e2e32be04a791d3dec10693d7
4
+ data.tar.gz: 13d94e4c68ff11c035ea8749099cc2dc7e0eaa4cf986ffea93d789323aac38e1
5
5
  SHA512:
6
- metadata.gz: 862a5bed972af273a331f0afff978c8cac0569f1c7fba5f18ca20dd562d770bb8794dd0cbe906d2274558fe42816b503912ffcea3b9cc1393a73befd22f7db9e
7
- data.tar.gz: a88121c62bb2120adcccd999aa59a7413313019433579d559b34bd82653f6cde105cd4a8f96ceedba4fb325cb24ee74d8130bc9de6d0cd8d5ca5940864516f18
6
+ metadata.gz: 0ee00471de405c4543792085910e50abbb83021ddcf7f1def3b3bc320c572a427aca5396121c98934b95857bcb2c8d27d74369bf7e5adcf2c05718001ab64113
7
+ data.tar.gz: 8289379a828c3f75e5dabb0eafeee37fb811f0754148b4993c6c8b15debe90b5cc5a5f109e36864da50d7b638d8678db2dc74d63634ae65fd76cd499b5035d6d
@@ -2342,8 +2342,8 @@ module Google
2342
2342
 
2343
2343
  config_attr :endpoint, nil, ::String, nil
2344
2344
  config_attr :credentials, nil do |value|
2345
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2346
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
2345
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
2346
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
2347
2347
  allowed.any? { |klass| klass === value }
2348
2348
  end
2349
2349
  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
@@ -308,10 +308,10 @@ module Google
308
308
  # Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
309
309
  # If not specified, the results will be sorted in the default order.
310
310
  # @yield [result, operation] Access the result along with the TransportOperation object
311
- # @yieldparam result [::Google::Cloud::Metastore::V1::ListServicesResponse]
311
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Metastore::V1::Service>]
312
312
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
313
313
  #
314
- # @return [::Google::Cloud::Metastore::V1::ListServicesResponse]
314
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Metastore::V1::Service>]
315
315
  #
316
316
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
317
317
  #
@@ -363,7 +363,9 @@ module Google
363
363
  retry_policy: @config.retry_policy
364
364
 
365
365
  @dataproc_metastore_stub.list_services request, options do |result, operation|
366
+ result = ::Gapic::Rest::PagedEnumerable.new @dataproc_metastore_stub, :list_services, "services", request, result, options
366
367
  yield result, operation if block_given?
368
+ throw :response, result
367
369
  end
368
370
  rescue ::Gapic::Rest::Error => e
369
371
  raise ::Google::Cloud::Error.from_error(e)
@@ -820,10 +822,10 @@ module Google
820
822
  # Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
821
823
  # If not specified, the results will be sorted in the default order.
822
824
  # @yield [result, operation] Access the result along with the TransportOperation object
823
- # @yieldparam result [::Google::Cloud::Metastore::V1::ListMetadataImportsResponse]
825
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Metastore::V1::MetadataImport>]
824
826
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
825
827
  #
826
- # @return [::Google::Cloud::Metastore::V1::ListMetadataImportsResponse]
828
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Metastore::V1::MetadataImport>]
827
829
  #
828
830
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
829
831
  #
@@ -875,7 +877,9 @@ module Google
875
877
  retry_policy: @config.retry_policy
876
878
 
877
879
  @dataproc_metastore_stub.list_metadata_imports request, options do |result, operation|
880
+ result = ::Gapic::Rest::PagedEnumerable.new @dataproc_metastore_stub, :list_metadata_imports, "metadata_imports", request, result, options
878
881
  yield result, operation if block_given?
882
+ throw :response, result
879
883
  end
880
884
  rescue ::Gapic::Rest::Error => e
881
885
  raise ::Google::Cloud::Error.from_error(e)
@@ -1450,10 +1454,10 @@ module Google
1450
1454
  # Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
1451
1455
  # If not specified, the results will be sorted in the default order.
1452
1456
  # @yield [result, operation] Access the result along with the TransportOperation object
1453
- # @yieldparam result [::Google::Cloud::Metastore::V1::ListBackupsResponse]
1457
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Metastore::V1::Backup>]
1454
1458
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1455
1459
  #
1456
- # @return [::Google::Cloud::Metastore::V1::ListBackupsResponse]
1460
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Metastore::V1::Backup>]
1457
1461
  #
1458
1462
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1459
1463
  #
@@ -1505,7 +1509,9 @@ module Google
1505
1509
  retry_policy: @config.retry_policy
1506
1510
 
1507
1511
  @dataproc_metastore_stub.list_backups request, options do |result, operation|
1512
+ result = ::Gapic::Rest::PagedEnumerable.new @dataproc_metastore_stub, :list_backups, "backups", request, result, options
1508
1513
  yield result, operation if block_given?
1514
+ throw :response, result
1509
1515
  end
1510
1516
  rescue ::Gapic::Rest::Error => e
1511
1517
  raise ::Google::Cloud::Error.from_error(e)
@@ -2196,7 +2202,7 @@ module Google
2196
2202
 
2197
2203
  config_attr :endpoint, nil, ::String, nil
2198
2204
  config_attr :credentials, nil do |value|
2199
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2205
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
2200
2206
  allowed.any? { |klass| klass === value }
2201
2207
  end
2202
2208
  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
@@ -894,8 +894,8 @@ module Google
894
894
 
895
895
  config_attr :endpoint, nil, ::String, nil
896
896
  config_attr :credentials, nil do |value|
897
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
898
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
897
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
898
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
899
899
  allowed.any? { |klass| klass === value }
900
900
  end
901
901
  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
@@ -279,10 +279,10 @@ module Google
279
279
  # Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
280
280
  # If not specified, the results will be sorted in the default order.
281
281
  # @yield [result, operation] Access the result along with the TransportOperation object
282
- # @yieldparam result [::Google::Cloud::Metastore::V1::ListFederationsResponse]
282
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Metastore::V1::Federation>]
283
283
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
284
284
  #
285
- # @return [::Google::Cloud::Metastore::V1::ListFederationsResponse]
285
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Metastore::V1::Federation>]
286
286
  #
287
287
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
288
288
  #
@@ -334,7 +334,9 @@ module Google
334
334
  retry_policy: @config.retry_policy
335
335
 
336
336
  @dataproc_metastore_federation_stub.list_federations request, options do |result, operation|
337
+ result = ::Gapic::Rest::PagedEnumerable.new @dataproc_metastore_federation_stub, :list_federations, "federations", request, result, options
337
338
  yield result, operation if block_given?
339
+ throw :response, result
338
340
  end
339
341
  rescue ::Gapic::Rest::Error => e
340
342
  raise ::Google::Cloud::Error.from_error(e)
@@ -843,7 +845,7 @@ module Google
843
845
 
844
846
  config_attr :endpoint, nil, ::String, nil
845
847
  config_attr :credentials, nil do |value|
846
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
848
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
847
849
  allowed.any? { |klass| klass === value }
848
850
  end
849
851
  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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Metastore
23
23
  module V1
24
- VERSION = "1.2.0"
24
+ VERSION = "2.0.1"
25
25
  end
26
26
  end
27
27
  end
@@ -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-metastore-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 2.0.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
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
161
  - !ruby/object:Gem::Version
162
162
  version: '0'
163
163
  requirements: []
164
- rubygems_version: 3.6.2
164
+ rubygems_version: 3.6.8
165
165
  specification_version: 4
166
166
  summary: The Dataproc Metastore API is used to manage the lifecycle and configuration
167
167
  of metastore services.