google-cloud-metastore-v1 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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/v1/version"
24
+ require "google/cloud/metastore/v1/bindings_override"
25
+
26
+ require "google/cloud/metastore/v1/dataproc_metastore/credentials"
27
+ require "google/cloud/metastore/v1/dataproc_metastore/paths"
28
+ require "google/cloud/metastore/v1/dataproc_metastore/rest/operations"
29
+ require "google/cloud/metastore/v1/dataproc_metastore/rest/client"
30
+
31
+ module Google
32
+ module Cloud
33
+ module Metastore
34
+ module V1
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/v1/dataproc_metastore/rest"
57
+ # client = ::Google::Cloud::Metastore::V1::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/v1/dataproc_metastore/rest/helpers" if ::File.file? helper_path
@@ -26,6 +26,7 @@ require "google/cloud/metastore/v1/dataproc_metastore/credentials"
26
26
  require "google/cloud/metastore/v1/dataproc_metastore/paths"
27
27
  require "google/cloud/metastore/v1/dataproc_metastore/operations"
28
28
  require "google/cloud/metastore/v1/dataproc_metastore/client"
29
+ require "google/cloud/metastore/v1/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/v1/dataproc_metastore"
56
57
  # client = ::Google::Cloud::Metastore::V1::DataprocMetastore::Client.new
57
58
  #
59
+ # @example Load this service and instantiate a REST client
60
+ #
61
+ # require "google/cloud/metastore/v1/dataproc_metastore/rest"
62
+ # client = ::Google::Cloud::Metastore::V1::DataprocMetastore::Rest::Client.new
63
+ #
58
64
  module DataprocMetastore
59
65
  end
60
66
  end