google-cloud-metastore-v1beta 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: 2212f86910974ed330a8adab25a4d49837c285c7f23b067884229c79955b3c06
4
- data.tar.gz: 6a8234f33763dca8c99a6315c93e214eef00593d9d659ffeaf14442bd5b35739
3
+ metadata.gz: 8ae0682aa4e31a5bdecf16627228acb653dab71f2ed09d4ed269f7eac07e4353
4
+ data.tar.gz: 1cc546d8d4762f928ed084973edb7a1b1241d69042404480bb2a43310cb875e3
5
5
  SHA512:
6
- metadata.gz: d720c88e152d8bed946d1a179f26d5734b440f3006f1fc4191d767efdc01a3eaa4565863fc5a9e47008fedc678eb3568c480218ca69ae5f42e281ab9e779f75e
7
- data.tar.gz: aa2870156f33f5e4dd17c743b729535b6a5cd296d9b358f635a73be88c42d320b183e5cfbf90b9050dabeccc4f9fd6abf62cc6278d3472baf07d2a269838ec3f
6
+ metadata.gz: be448cf62f9546cb6b5d3b2c9315f178ae77e6e9e21596aa6d5bfdc6241fee82c2c8ce589d018d8aa393ebb5faae5f8f5aaf87cd790e2dc605f55ad2814e74eb
7
+ data.tar.gz: 4c4e2e015c59ba8b2feeb37da7fd87c1cb56b0b7cafba00dda0f1ead7b27a6ed0060ecf84db36bb4951ea2d1831514a9a662c39572f0cdb917ae34148105dc40
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Dataproc Metastore V1beta API
2
2
 
3
- API Client library for the Dataproc Metastore V1beta 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,231 @@
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/v1beta/rest"
28
+ # client = ::Google::Cloud::Metastore::V1beta::DataprocMetastore::Rest::Client.new
29
+ #
30
+ module V1beta
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: "/v1beta/{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: "/v1beta/{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: "/v1beta/{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: "/v1beta/{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: "/v1beta/{resource}:getIamPolicy",
88
+ matches: [
89
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/services/[^/]+/databases/[^/]+/?$}, false]
90
+ ],
91
+ body: nil
92
+ ),
93
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
94
+ uri_method: :get,
95
+ uri_template: "/v1beta/{resource}:getIamPolicy",
96
+ matches: [
97
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/services/[^/]+/databases/[^/]+/tables/[^/]+/?$}, false]
98
+ ],
99
+ body: nil
100
+ ),
101
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
102
+ uri_method: :get,
103
+ uri_template: "/v1beta/{resource}:getIamPolicy",
104
+ matches: [
105
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/federations/[^/]+/?$}, false]
106
+ ],
107
+ body: nil
108
+ )
109
+ ]
110
+ default_config.bindings_override["google.iam.v1.IAMPolicy.SetIamPolicy"] = [
111
+
112
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
113
+ uri_method: :post,
114
+ uri_template: "/v1beta/{resource}:setIamPolicy",
115
+ matches: [
116
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/services/[^/]+/?$}, false]
117
+ ],
118
+ body: "*"
119
+ ),
120
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
121
+ uri_method: :post,
122
+ uri_template: "/v1beta/{resource}:setIamPolicy",
123
+ matches: [
124
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/services/[^/]+/backups/[^/]+/?$}, false]
125
+ ],
126
+ body: "*"
127
+ ),
128
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
129
+ uri_method: :post,
130
+ uri_template: "/v1beta/{resource}:setIamPolicy",
131
+ matches: [
132
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/services/[^/]+/databases/[^/]+/?$}, false]
133
+ ],
134
+ body: "*"
135
+ ),
136
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
137
+ uri_method: :post,
138
+ uri_template: "/v1beta/{resource}:setIamPolicy",
139
+ matches: [
140
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/services/[^/]+/databases/[^/]+/tables/[^/]+/?$}, false]
141
+ ],
142
+ body: "*"
143
+ ),
144
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
145
+ uri_method: :post,
146
+ uri_template: "/v1beta/{resource}:setIamPolicy",
147
+ matches: [
148
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/federations/[^/]+/?$}, false]
149
+ ],
150
+ body: "*"
151
+ )
152
+ ]
153
+ default_config.bindings_override["google.iam.v1.IAMPolicy.TestIamPermissions"] = [
154
+
155
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
156
+ uri_method: :post,
157
+ uri_template: "/v1beta/{resource}:testIamPermissions",
158
+ matches: [
159
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/services/[^/]+/?$}, false]
160
+ ],
161
+ body: "*"
162
+ ),
163
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
164
+ uri_method: :post,
165
+ uri_template: "/v1beta/{resource}:testIamPermissions",
166
+ matches: [
167
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/services/[^/]+/backups/[^/]+/?$}, false]
168
+ ],
169
+ body: "*"
170
+ ),
171
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
172
+ uri_method: :post,
173
+ uri_template: "/v1beta/{resource}:testIamPermissions",
174
+ matches: [
175
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/services/[^/]+/databases/[^/]+/?$}, false]
176
+ ],
177
+ body: "*"
178
+ ),
179
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
180
+ uri_method: :post,
181
+ uri_template: "/v1beta/{resource}:testIamPermissions",
182
+ matches: [
183
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/services/[^/]+/databases/[^/]+/tables/[^/]+/?$}, false]
184
+ ],
185
+ body: "*"
186
+ ),
187
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
188
+ uri_method: :post,
189
+ uri_template: "/v1beta/{resource}:testIamPermissions",
190
+ matches: [
191
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/federations/[^/]+/?$}, false]
192
+ ],
193
+ body: "*"
194
+ )
195
+ ]
196
+ default_config
197
+ end
198
+ yield @configure if block_given?
199
+ @configure
200
+ end
201
+
202
+ ##
203
+ # @private
204
+ # Configuration class for the google.cloud.metastore.v1beta package.
205
+ #
206
+ # This class contains common configuration for all services
207
+ # of the google.cloud.metastore.v1beta package.
208
+ #
209
+ # This configuration is for internal use of the client library classes,
210
+ # and it is not intended that the end-users will read or change it.
211
+ #
212
+ class Configuration
213
+ extend ::Gapic::Config
214
+
215
+ # @private
216
+ # Overrides for http bindings for the RPC of the mixins for this package.
217
+ # Services in this package should use these when creating clients for the mixin services.
218
+ # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
219
+ config_attr :bindings_override, {}, ::Hash, nil
220
+
221
+ # @private
222
+ def initialize parent_config = nil
223
+ @parent_config = parent_config unless parent_config.nil?
224
+
225
+ yield self if block_given?
226
+ end
227
+ end
228
+ end
229
+ end
230
+ end
231
+ end