google-cloud-metastore-v1beta 0.5.0 → 0.7.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 +2 -2
- data/lib/google/cloud/metastore/v1beta/bindings_override.rb +231 -0
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore/client.rb +2 -2
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore/operations.rb +2 -2
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore/rest/client.rb +2008 -0
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore/rest/operations.rb +793 -0
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore/rest/service_stub.rb +1180 -0
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore/rest.rb +70 -0
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore.rb +6 -0
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/client.rb +2 -2
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/operations.rb +2 -2
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/rest/client.rb +775 -0
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/rest/operations.rb +793 -0
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/rest/service_stub.rb +345 -0
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/rest.rb +66 -0
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation.rb +6 -0
- data/lib/google/cloud/metastore/v1beta/metastore_federation_pb.rb +3 -0
- data/lib/google/cloud/metastore/v1beta/metastore_pb.rb +19 -0
- data/lib/google/cloud/metastore/v1beta/rest.rb +39 -0
- data/lib/google/cloud/metastore/v1beta/version.rb +1 -1
- data/lib/google/cloud/metastore/v1beta.rb +5 -0
- data/proto_docs/google/api/client.rb +57 -3
- data/proto_docs/google/cloud/metastore/v1beta/metastore.rb +42 -0
- data/proto_docs/google/cloud/metastore/v1beta/metastore_federation.rb +5 -4
- data/proto_docs/google/type/expr.rb +75 -0
- metadata +17 -5
@@ -0,0 +1,70 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "gapic/rest"
|
20
|
+
require "gapic/config"
|
21
|
+
require "gapic/config/method"
|
22
|
+
|
23
|
+
require "google/cloud/metastore/v1beta/version"
|
24
|
+
require "google/cloud/metastore/v1beta/bindings_override"
|
25
|
+
|
26
|
+
require "google/cloud/metastore/v1beta/dataproc_metastore/credentials"
|
27
|
+
require "google/cloud/metastore/v1beta/dataproc_metastore/paths"
|
28
|
+
require "google/cloud/metastore/v1beta/dataproc_metastore/rest/operations"
|
29
|
+
require "google/cloud/metastore/v1beta/dataproc_metastore/rest/client"
|
30
|
+
|
31
|
+
module Google
|
32
|
+
module Cloud
|
33
|
+
module Metastore
|
34
|
+
module V1beta
|
35
|
+
##
|
36
|
+
# Configures and manages metastore services.
|
37
|
+
# Metastore services are fully managed, highly available, autoscaled,
|
38
|
+
# autohealing, OSS-native deployments of technical metadata management
|
39
|
+
# software. Each metastore service exposes a network endpoint through which
|
40
|
+
# metadata queries are served. Metadata queries can originate from a variety
|
41
|
+
# of sources, including Apache Hive, Apache Presto, and Apache Spark.
|
42
|
+
#
|
43
|
+
# The Dataproc Metastore API defines the following resource model:
|
44
|
+
#
|
45
|
+
# * The service works with a collection of Google Cloud projects, named:
|
46
|
+
# `/projects/*`
|
47
|
+
# * Each project has a collection of available locations, named: `/locations/*`
|
48
|
+
# (a location must refer to a Google Cloud `region`)
|
49
|
+
# * Each location has a collection of services, named: `/services/*`
|
50
|
+
# * Dataproc Metastore services are resources with names of the form:
|
51
|
+
#
|
52
|
+
# `/projects/{project_number}/locations/{location_id}/services/{service_id}`.
|
53
|
+
#
|
54
|
+
# To load this service and instantiate a REST client:
|
55
|
+
#
|
56
|
+
# require "google/cloud/metastore/v1beta/dataproc_metastore/rest"
|
57
|
+
# client = ::Google::Cloud::Metastore::V1beta::DataprocMetastore::Rest::Client.new
|
58
|
+
#
|
59
|
+
module DataprocMetastore
|
60
|
+
# Client for the REST transport
|
61
|
+
module Rest
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
70
|
+
require "google/cloud/metastore/v1beta/dataproc_metastore/rest/helpers" if ::File.file? helper_path
|
@@ -26,6 +26,7 @@ require "google/cloud/metastore/v1beta/dataproc_metastore/credentials"
|
|
26
26
|
require "google/cloud/metastore/v1beta/dataproc_metastore/paths"
|
27
27
|
require "google/cloud/metastore/v1beta/dataproc_metastore/operations"
|
28
28
|
require "google/cloud/metastore/v1beta/dataproc_metastore/client"
|
29
|
+
require "google/cloud/metastore/v1beta/dataproc_metastore/rest"
|
29
30
|
|
30
31
|
module Google
|
31
32
|
module Cloud
|
@@ -55,6 +56,11 @@ module Google
|
|
55
56
|
# require "google/cloud/metastore/v1beta/dataproc_metastore"
|
56
57
|
# client = ::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client.new
|
57
58
|
#
|
59
|
+
# @example Load this service and instantiate a REST client
|
60
|
+
#
|
61
|
+
# require "google/cloud/metastore/v1beta/dataproc_metastore/rest"
|
62
|
+
# client = ::Google::Cloud::Metastore::V1beta::DataprocMetastore::Rest::Client.new
|
63
|
+
#
|
58
64
|
module DataprocMetastore
|
59
65
|
end
|
60
66
|
end
|
@@ -779,9 +779,9 @@ module Google
|
|
779
779
|
# * (`String`) The path to a service account key file in JSON format
|
780
780
|
# * (`Hash`) A service account key as a Hash
|
781
781
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
782
|
-
# (see the [googleauth docs](https://
|
782
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
783
783
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
784
|
-
# (see the [signet docs](https://
|
784
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
785
785
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
786
786
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
787
787
|
# * (`nil`) indicating no credentials
|
@@ -620,9 +620,9 @@ module Google
|
|
620
620
|
# * (`String`) The path to a service account key file in JSON format
|
621
621
|
# * (`Hash`) A service account key as a Hash
|
622
622
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
623
|
-
# (see the [googleauth docs](https://
|
623
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
624
624
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
625
|
-
# (see the [signet docs](https://
|
625
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
626
626
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
627
627
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
628
628
|
# * (`nil`) indicating no credentials
|