google-cloud-metastore-v1 1.2.0 → 2.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a6ce3b19e7a1a8eb0f36fe5384d9ee51d74cbe30ed4888e899eeff04463ef94
4
- data.tar.gz: e87635f94dc4f307bc4a2ef6e63ff1f5572b06e214e990cc9933adff49f3a43d
3
+ metadata.gz: fa6b14915977ce1741ea06b37f6d5537a2203b380d92245ef02beabb389785bf
4
+ data.tar.gz: a170eba081f51f7f72e09f51ad745a7cb4eef782f73981776397414eb623726f
5
5
  SHA512:
6
- metadata.gz: 862a5bed972af273a331f0afff978c8cac0569f1c7fba5f18ca20dd562d770bb8794dd0cbe906d2274558fe42816b503912ffcea3b9cc1393a73befd22f7db9e
7
- data.tar.gz: a88121c62bb2120adcccd999aa59a7413313019433579d559b34bd82653f6cde105cd4a8f96ceedba4fb325cb24ee74d8130bc9de6d0cd8d5ca5940864516f18
6
+ metadata.gz: '0496fe89f11cb9cbc002bb7c68cbaeb68b7e2d930ab25ba77cc8a92229495f77c1229b7832bbec0637d1617d5aff948be16b01b3ba1b94de3c13db051c6db766'
7
+ data.tar.gz: 65054abea3ae4b07c8158d4c029d4d0c53a74ce4ce1bd6e53c3142f192f8ed1b54a4c04ca7dd569dd7a429519880bbd06e36c64bbddb49830c0460bd52d6b5cd
@@ -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)
@@ -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)
@@ -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.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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
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.0
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: 2025-02-07 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.3
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.