google-cloud-metastore-v1beta 0.14.0 → 0.16.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: 27900dc1a48e0ee575295d5190fe4e9d98a7b5bc46d7d050b09ed488d98d37e5
4
- data.tar.gz: f4111ccfb31c3d3b6b6a16cbbb10c20c9c0efe9b43c185021081c671723cf9c6
3
+ metadata.gz: a07a5a815298a8f5cb3abd217e6e81b8b55d5d8ee24dc7d086c7547295e9b783
4
+ data.tar.gz: 5ba04c80ce198e232c7df1b633e26e01ce9cc968ab7329b415061e7459ba6527
5
5
  SHA512:
6
- metadata.gz: bb6bdd1cd78a4fd3145152d62f6855fcd43cb1ffca6fed3db78799e51187d2ce2acca9be865336f52a24f17a2db9e6387b74d341065a3bae4bae9d1a6fa59f9a
7
- data.tar.gz: c69814a4b43d97f7de5398b4f5182a0ac44b528f254616a9c44791b08e065166c8434ef230d728382698c2f92a61963625fef51161f445589a13f3b88b9b1321
6
+ metadata.gz: '0634439d598ee6852a9de60c8ed759bf610777da838446ca3c40ca7e8e15e7191f6e2796289007cbb243df0d87b33da88aa21e9254c83d5fd216a75d7af961e8'
7
+ data.tar.gz: 9f6c84db6d506b085a0afdad34f370fd3d46fc21648c8f487d80e3b49359a4f1e85c8b77247be2a943585cd820395b366c832f1d6e4aa6634edbe8729d51dd34
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -2374,6 +2374,13 @@ module Google
2374
2374
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
2375
2375
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2376
2376
  # * (`nil`) indicating no credentials
2377
+ #
2378
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2379
+ # external source for authentication to Google Cloud, you must validate it before
2380
+ # providing it to a Google API client library. Providing an unvalidated credential
2381
+ # configuration to Google APIs can compromise the security of your systems and data.
2382
+ # For more information, refer to [Validate credential configurations from external
2383
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2377
2384
  # @return [::Object]
2378
2385
  # @!attribute [rw] scope
2379
2386
  # 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
@@ -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::V1beta::ListServicesResponse]
311
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Metastore::V1beta::Service>]
312
312
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
313
313
  #
314
- # @return [::Google::Cloud::Metastore::V1beta::ListServicesResponse]
314
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Metastore::V1beta::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::V1beta::ListMetadataImportsResponse]
825
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Metastore::V1beta::MetadataImport>]
824
826
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
825
827
  #
826
- # @return [::Google::Cloud::Metastore::V1beta::ListMetadataImportsResponse]
828
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Metastore::V1beta::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::V1beta::ListBackupsResponse]
1457
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Metastore::V1beta::Backup>]
1454
1458
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1455
1459
  #
1456
- # @return [::Google::Cloud::Metastore::V1beta::ListBackupsResponse]
1460
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Metastore::V1beta::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)
@@ -2228,6 +2234,13 @@ module Google
2228
2234
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
2229
2235
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
2230
2236
  # * (`nil`) indicating no credentials
2237
+ #
2238
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2239
+ # external source for authentication to Google Cloud, you must validate it before
2240
+ # providing it to a Google API client library. Providing an unvalidated credential
2241
+ # configuration to Google APIs can compromise the security of your systems and data.
2242
+ # For more information, refer to [Validate credential configurations from external
2243
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2231
2244
  # @return [::Object]
2232
2245
  # @!attribute [rw] scope
2233
2246
  # 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
@@ -833,6 +833,13 @@ module Google
833
833
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
834
834
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
835
835
  # * (`nil`) indicating no credentials
836
+ #
837
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
838
+ # external source for authentication to Google Cloud, you must validate it before
839
+ # providing it to a Google API client library. Providing an unvalidated credential
840
+ # configuration to Google APIs can compromise the security of your systems and data.
841
+ # For more information, refer to [Validate credential configurations from external
842
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
836
843
  # @return [::Object]
837
844
  # @!attribute [rw] scope
838
845
  # 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
@@ -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::V1beta::ListFederationsResponse]
282
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Metastore::V1beta::Federation>]
283
283
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
284
284
  #
285
- # @return [::Google::Cloud::Metastore::V1beta::ListFederationsResponse]
285
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Metastore::V1beta::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)
@@ -789,6 +791,13 @@ module Google
789
791
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
790
792
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
791
793
  # * (`nil`) indicating no credentials
794
+ #
795
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
796
+ # external source for authentication to Google Cloud, you must validate it before
797
+ # providing it to a Google API client library. Providing an unvalidated credential
798
+ # configuration to Google APIs can compromise the security of your systems and data.
799
+ # For more information, refer to [Validate credential configurations from external
800
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
792
801
  # @return [::Object]
793
802
  # @!attribute [rw] scope
794
803
  # 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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Metastore
23
23
  module V1beta
24
- VERSION = "0.14.0"
24
+ VERSION = "0.16.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
@@ -712,10 +712,14 @@ module Google
712
712
  # @return [::Google::Cloud::Metastore::V1beta::ScalingConfig::InstanceSize]
713
713
  # An enum of readable instance sizes, with each instance size mapping to a
714
714
  # float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
715
+ #
716
+ # Note: The following fields are mutually exclusive: `instance_size`, `scaling_factor`. If a field in that set is populated, all other fields in the set will automatically be cleared.
715
717
  # @!attribute [rw] scaling_factor
716
718
  # @return [::Float]
717
719
  # Scaling factor, increments of 0.1 for values less than 1.0, and
718
720
  # increments of 1.0 for values greater than 1.0.
721
+ #
722
+ # Note: The following fields are mutually exclusive: `scaling_factor`, `instance_size`. If a field in that set is populated, all other fields in the set will automatically be cleared.
719
723
  class ScalingConfig
720
724
  include ::Google::Protobuf::MessageExts
721
725
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -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-metastore-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
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.24.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.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -148,7 +147,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
148
147
  licenses:
149
148
  - Apache-2.0
150
149
  metadata: {}
151
- post_install_message:
152
150
  rdoc_options: []
153
151
  require_paths:
154
152
  - lib
@@ -156,15 +154,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
156
154
  requirements:
157
155
  - - ">="
158
156
  - !ruby/object:Gem::Version
159
- version: '2.7'
157
+ version: '3.0'
160
158
  required_rubygems_version: !ruby/object:Gem::Requirement
161
159
  requirements:
162
160
  - - ">="
163
161
  - !ruby/object:Gem::Version
164
162
  version: '0'
165
163
  requirements: []
166
- rubygems_version: 3.5.23
167
- signing_key:
164
+ rubygems_version: 3.6.3
168
165
  specification_version: 4
169
166
  summary: The Dataproc Metastore API is used to manage the lifecycle and configuration
170
167
  of metastore services.