google-cloud-metastore-v1 1.1.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/metastore/v1/dataproc_metastore/client.rb +7 -0
- data/lib/google/cloud/metastore/v1/dataproc_metastore/operations.rb +7 -0
- data/lib/google/cloud/metastore/v1/dataproc_metastore/rest/client.rb +19 -6
- data/lib/google/cloud/metastore/v1/dataproc_metastore/rest/operations.rb +7 -0
- data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/client.rb +7 -0
- data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/operations.rb +7 -0
- data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/rest/client.rb +11 -2
- data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/rest/operations.rb +7 -0
- data/lib/google/cloud/metastore/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +8 -0
- data/proto_docs/google/cloud/metastore/v1/metastore.rb +4 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa6b14915977ce1741ea06b37f6d5537a2203b380d92245ef02beabb389785bf
|
4
|
+
data.tar.gz: a170eba081f51f7f72e09f51ad745a7cb4eef782f73981776397414eb623726f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0496fe89f11cb9cbc002bb7c68cbaeb68b7e2d930ab25ba77cc8a92229495f77c1229b7832bbec0637d1617d5aff948be16b01b3ba1b94de3c13db051c6db766'
|
7
|
+
data.tar.gz: 65054abea3ae4b07c8158d4c029d4d0c53a74ce4ce1bd6e53c3142f192f8ed1b54a4c04ca7dd569dd7a429519880bbd06e36c64bbddb49830c0460bd52d6b5cd
|
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
|
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
|
@@ -2281,6 +2281,13 @@ module Google
|
|
2281
2281
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
2282
2282
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
2283
2283
|
# * (`nil`) indicating no credentials
|
2284
|
+
#
|
2285
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
2286
|
+
# external source for authentication to Google Cloud, you must validate it before
|
2287
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
2288
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
2289
|
+
# For more information, refer to [Validate credential configurations from external
|
2290
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
2284
2291
|
# @return [::Object]
|
2285
2292
|
# @!attribute [rw] scope
|
2286
2293
|
# 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::V1::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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)
|
@@ -2142,6 +2148,13 @@ module Google
|
|
2142
2148
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
2143
2149
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
2144
2150
|
# * (`nil`) indicating no credentials
|
2151
|
+
#
|
2152
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
2153
|
+
# external source for authentication to Google Cloud, you must validate it before
|
2154
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
2155
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
2156
|
+
# For more information, refer to [Validate credential configurations from external
|
2157
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
2145
2158
|
# @return [::Object]
|
2146
2159
|
# @!attribute [rw] scope
|
2147
2160
|
# 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::V1::
|
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::
|
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)
|
@@ -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
|
@@ -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
|
@@ -649,10 +649,14 @@ module Google
|
|
649
649
|
# @return [::Google::Cloud::Metastore::V1::ScalingConfig::InstanceSize]
|
650
650
|
# An enum of readable instance sizes, with each instance size mapping to a
|
651
651
|
# float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
|
652
|
+
#
|
653
|
+
# 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.
|
652
654
|
# @!attribute [rw] scaling_factor
|
653
655
|
# @return [::Float]
|
654
656
|
# Scaling factor, increments of 0.1 for values less than 1.0, and
|
655
657
|
# increments of 1.0 for values greater than 1.0.
|
658
|
+
#
|
659
|
+
# 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.
|
656
660
|
class ScalingConfig
|
657
661
|
include ::Google::Protobuf::MessageExts
|
658
662
|
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-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
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.
|
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.
|
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: '
|
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.
|
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.
|