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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85836b778dea961c5cb2b20a13a370554372f38feba88d4e6b08bde71adf79d5
4
- data.tar.gz: 7f465484eb4ea2e236aab84facd351524f5328dfd9a7bf287b6f371e192fd614
3
+ metadata.gz: f58159812c9e69d5495a8eda489e12f4726583cf4c75c576f0e44eeb936c24b9
4
+ data.tar.gz: df707002883d9c591dc49bd8b783af6722a8963b6cb49a65625b9c74c3b2e580
5
5
  SHA512:
6
- metadata.gz: ddc6476dd33a665cdc561547684ebcc725140293237ae0c340c30eeaf2ace9e5b872d0ef35ef70b96209e6eb91b7f3c4171885329dc1eada59917260408af995
7
- data.tar.gz: 719e9068b6fb668790a5a2302d2b742946af18bed9ea9a6d75ea25d2ad5672c223bf6211702b9b905454a1ad9d882497eaec58dd7df927c7265e168f1a6893e1
6
+ metadata.gz: 0fea01f858e303f10d1d00cf404ed49a5eacb1d6a77250be75aa2467af03cb84ced4bf8b16bbcf9c5818b8c433b39be3344f84978f6728dba9c32118d1ff8306
7
+ data.tar.gz: 567f597073c4764db28f1837b3b34444ed5e10af06c537c8cd6f42b85c663386d03878c49e8a5101cc6301b8a5dac921a2b139c24cfefab48e215731a381494a
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Dataproc Metastore V1 API
2
2
 
3
- API Client library for the Dataproc Metastore V1 API
3
+ The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.
4
4
 
5
5
  Dataproc Metastore is a fully managed, highly available within a region, autohealing serverless Apache Hive metastore (HMS) on Google Cloud for data analytics products. It supports HMS and serves as a critical component for managing the metadata of relational entities and provides interoperability between data processing applications in the open source data ecosystem.
6
6
 
@@ -0,0 +1,175 @@
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/config"
20
+
21
+ module Google
22
+ module Cloud
23
+ module Metastore
24
+ ##
25
+ # @example Loading just the REST part of this package, including all its services, and instantiating a REST client
26
+ #
27
+ # require "google/cloud/metastore/v1/rest"
28
+ # client = ::Google::Cloud::Metastore::V1::DataprocMetastore::Rest::Client.new
29
+ #
30
+ module V1
31
+ ##
32
+ # @private
33
+ # Initialize the mixin bindings configuration
34
+ #
35
+ def self.configure
36
+ @configure ||= begin
37
+ namespace = ["Google", "Cloud", "Metastore"]
38
+ parent_config = while namespace.any?
39
+ parent_name = namespace.join "::"
40
+ parent_const = const_get parent_name
41
+ break parent_const.configure if parent_const.respond_to? :configure
42
+ namespace.pop
43
+ end
44
+
45
+ default_config = Configuration.new parent_config
46
+ default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [
47
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
48
+ uri_method: :get,
49
+ uri_template: "/v1/{name}",
50
+ matches: [
51
+ ["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
52
+ ],
53
+ body: nil
54
+ )
55
+ ]
56
+ default_config.bindings_override["google.cloud.location.Locations.ListLocations"] = [
57
+
58
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
59
+ uri_method: :get,
60
+ uri_template: "/v1/{name}/locations",
61
+ matches: [
62
+ ["name", %r{^projects/[^/]+/?$}, false]
63
+ ],
64
+ body: nil
65
+ )
66
+ ]
67
+ default_config.bindings_override["google.iam.v1.IAMPolicy.GetIamPolicy"] = [
68
+
69
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
70
+ uri_method: :get,
71
+ uri_template: "/v1/{resource}:getIamPolicy",
72
+ matches: [
73
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/services/[^/]+/?$}, false]
74
+ ],
75
+ body: nil
76
+ ),
77
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
78
+ uri_method: :get,
79
+ uri_template: "/v1/{resource}:getIamPolicy",
80
+ matches: [
81
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/services/[^/]+/backups/[^/]+/?$}, false]
82
+ ],
83
+ body: nil
84
+ ),
85
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
86
+ uri_method: :get,
87
+ uri_template: "/v1/{resource}:getIamPolicy",
88
+ matches: [
89
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/federations/[^/]+/?$}, false]
90
+ ],
91
+ body: nil
92
+ )
93
+ ]
94
+ default_config.bindings_override["google.iam.v1.IAMPolicy.SetIamPolicy"] = [
95
+
96
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
97
+ uri_method: :post,
98
+ uri_template: "/v1/{resource}:setIamPolicy",
99
+ matches: [
100
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/services/[^/]+/?$}, false]
101
+ ],
102
+ body: "*"
103
+ ),
104
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
105
+ uri_method: :post,
106
+ uri_template: "/v1/{resource}:setIamPolicy",
107
+ matches: [
108
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/services/[^/]+/backups/[^/]+/?$}, false]
109
+ ],
110
+ body: "*"
111
+ ),
112
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
113
+ uri_method: :post,
114
+ uri_template: "/v1/{resource}:setIamPolicy",
115
+ matches: [
116
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/federations/[^/]+/?$}, false]
117
+ ],
118
+ body: "*"
119
+ )
120
+ ]
121
+ default_config.bindings_override["google.iam.v1.IAMPolicy.TestIamPermissions"] = [
122
+
123
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
124
+ uri_method: :post,
125
+ uri_template: "/v1/{resource}:testIamPermissions",
126
+ matches: [
127
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/services/[^/]+/?$}, false]
128
+ ],
129
+ body: "*"
130
+ ),
131
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
132
+ uri_method: :post,
133
+ uri_template: "/v1/{resource}:testIamPermissions",
134
+ matches: [
135
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/federations/[^/]+/?$}, false]
136
+ ],
137
+ body: "*"
138
+ )
139
+ ]
140
+ default_config
141
+ end
142
+ yield @configure if block_given?
143
+ @configure
144
+ end
145
+
146
+ ##
147
+ # @private
148
+ # Configuration class for the google.cloud.metastore.v1 package.
149
+ #
150
+ # This class contains common configuration for all services
151
+ # of the google.cloud.metastore.v1 package.
152
+ #
153
+ # This configuration is for internal use of the client library classes,
154
+ # and it is not intended that the end-users will read or change it.
155
+ #
156
+ class Configuration
157
+ extend ::Gapic::Config
158
+
159
+ # @private
160
+ # Overrides for http bindings for the RPC of the mixins for this package.
161
+ # Services in this package should use these when creating clients for the mixin services.
162
+ # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
163
+ config_attr :bindings_override, {}, ::Hash, nil
164
+
165
+ # @private
166
+ def initialize parent_config = nil
167
+ @parent_config = parent_config unless parent_config.nil?
168
+
169
+ yield self if block_given?
170
+ end
171
+ end
172
+ end
173
+ end
174
+ end
175
+ end