source: vendor/google/apiclient-services/src/BigLakeService.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 9.5 KB
Line 
1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://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, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service;
19
20use Google\Client;
21
22/**
23 * Service definition for BigLakeService (v1).
24 *
25 * <p>
26 * The BigLake API provides access to BigLake Metastore, a serverless, fully
27 * managed, and highly available metastore for open-source data that can be used
28 * for querying Apache Iceberg tables in BigQuery.</p>
29 *
30 * <p>
31 * For more information about this service, see the API
32 * <a href="https://cloud.google.com/bigquery/" target="_blank">Documentation</a>
33 * </p>
34 *
35 * @author Google, Inc.
36 */
37class BigLakeService extends \Google\Service
38{
39 /** View and manage your data in Google BigQuery and see the email address for your Google Account. */
40 const BIGQUERY =
41 "https://www.googleapis.com/auth/bigquery";
42 /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
43 const CLOUD_PLATFORM =
44 "https://www.googleapis.com/auth/cloud-platform";
45
46 public $projects_locations_catalogs;
47 public $projects_locations_catalogs_databases;
48 public $projects_locations_catalogs_databases_tables;
49 public $rootUrlTemplate;
50
51 /**
52 * Constructs the internal representation of the BigLakeService service.
53 *
54 * @param Client|array $clientOrConfig The client used to deliver requests, or a
55 * config array to pass to a new Client instance.
56 * @param string $rootUrl The root URL used for requests to the service.
57 */
58 public function __construct($clientOrConfig = [], $rootUrl = null)
59 {
60 parent::__construct($clientOrConfig);
61 $this->rootUrl = $rootUrl ?: 'https://biglake.googleapis.com/';
62 $this->rootUrlTemplate = $rootUrl ?: 'https://biglake.UNIVERSE_DOMAIN/';
63 $this->servicePath = '';
64 $this->batchPath = 'batch';
65 $this->version = 'v1';
66 $this->serviceName = 'biglake';
67
68 $this->projects_locations_catalogs = new BigLakeService\Resource\ProjectsLocationsCatalogs(
69 $this,
70 $this->serviceName,
71 'catalogs',
72 [
73 'methods' => [
74 'create' => [
75 'path' => 'v1/{+parent}/catalogs',
76 'httpMethod' => 'POST',
77 'parameters' => [
78 'parent' => [
79 'location' => 'path',
80 'type' => 'string',
81 'required' => true,
82 ],
83 'catalogId' => [
84 'location' => 'query',
85 'type' => 'string',
86 ],
87 ],
88 ],'delete' => [
89 'path' => 'v1/{+name}',
90 'httpMethod' => 'DELETE',
91 'parameters' => [
92 'name' => [
93 'location' => 'path',
94 'type' => 'string',
95 'required' => true,
96 ],
97 ],
98 ],'get' => [
99 'path' => 'v1/{+name}',
100 'httpMethod' => 'GET',
101 'parameters' => [
102 'name' => [
103 'location' => 'path',
104 'type' => 'string',
105 'required' => true,
106 ],
107 ],
108 ],'list' => [
109 'path' => 'v1/{+parent}/catalogs',
110 'httpMethod' => 'GET',
111 'parameters' => [
112 'parent' => [
113 'location' => 'path',
114 'type' => 'string',
115 'required' => true,
116 ],
117 'pageSize' => [
118 'location' => 'query',
119 'type' => 'integer',
120 ],
121 'pageToken' => [
122 'location' => 'query',
123 'type' => 'string',
124 ],
125 ],
126 ],
127 ]
128 ]
129 );
130 $this->projects_locations_catalogs_databases = new BigLakeService\Resource\ProjectsLocationsCatalogsDatabases(
131 $this,
132 $this->serviceName,
133 'databases',
134 [
135 'methods' => [
136 'create' => [
137 'path' => 'v1/{+parent}/databases',
138 'httpMethod' => 'POST',
139 'parameters' => [
140 'parent' => [
141 'location' => 'path',
142 'type' => 'string',
143 'required' => true,
144 ],
145 'databaseId' => [
146 'location' => 'query',
147 'type' => 'string',
148 ],
149 ],
150 ],'delete' => [
151 'path' => 'v1/{+name}',
152 'httpMethod' => 'DELETE',
153 'parameters' => [
154 'name' => [
155 'location' => 'path',
156 'type' => 'string',
157 'required' => true,
158 ],
159 ],
160 ],'get' => [
161 'path' => 'v1/{+name}',
162 'httpMethod' => 'GET',
163 'parameters' => [
164 'name' => [
165 'location' => 'path',
166 'type' => 'string',
167 'required' => true,
168 ],
169 ],
170 ],'list' => [
171 'path' => 'v1/{+parent}/databases',
172 'httpMethod' => 'GET',
173 'parameters' => [
174 'parent' => [
175 'location' => 'path',
176 'type' => 'string',
177 'required' => true,
178 ],
179 'pageSize' => [
180 'location' => 'query',
181 'type' => 'integer',
182 ],
183 'pageToken' => [
184 'location' => 'query',
185 'type' => 'string',
186 ],
187 ],
188 ],'patch' => [
189 'path' => 'v1/{+name}',
190 'httpMethod' => 'PATCH',
191 'parameters' => [
192 'name' => [
193 'location' => 'path',
194 'type' => 'string',
195 'required' => true,
196 ],
197 'updateMask' => [
198 'location' => 'query',
199 'type' => 'string',
200 ],
201 ],
202 ],
203 ]
204 ]
205 );
206 $this->projects_locations_catalogs_databases_tables = new BigLakeService\Resource\ProjectsLocationsCatalogsDatabasesTables(
207 $this,
208 $this->serviceName,
209 'tables',
210 [
211 'methods' => [
212 'create' => [
213 'path' => 'v1/{+parent}/tables',
214 'httpMethod' => 'POST',
215 'parameters' => [
216 'parent' => [
217 'location' => 'path',
218 'type' => 'string',
219 'required' => true,
220 ],
221 'tableId' => [
222 'location' => 'query',
223 'type' => 'string',
224 ],
225 ],
226 ],'delete' => [
227 'path' => 'v1/{+name}',
228 'httpMethod' => 'DELETE',
229 'parameters' => [
230 'name' => [
231 'location' => 'path',
232 'type' => 'string',
233 'required' => true,
234 ],
235 ],
236 ],'get' => [
237 'path' => 'v1/{+name}',
238 'httpMethod' => 'GET',
239 'parameters' => [
240 'name' => [
241 'location' => 'path',
242 'type' => 'string',
243 'required' => true,
244 ],
245 ],
246 ],'list' => [
247 'path' => 'v1/{+parent}/tables',
248 'httpMethod' => 'GET',
249 'parameters' => [
250 'parent' => [
251 'location' => 'path',
252 'type' => 'string',
253 'required' => true,
254 ],
255 'pageSize' => [
256 'location' => 'query',
257 'type' => 'integer',
258 ],
259 'pageToken' => [
260 'location' => 'query',
261 'type' => 'string',
262 ],
263 'view' => [
264 'location' => 'query',
265 'type' => 'string',
266 ],
267 ],
268 ],'patch' => [
269 'path' => 'v1/{+name}',
270 'httpMethod' => 'PATCH',
271 'parameters' => [
272 'name' => [
273 'location' => 'path',
274 'type' => 'string',
275 'required' => true,
276 ],
277 'updateMask' => [
278 'location' => 'query',
279 'type' => 'string',
280 ],
281 ],
282 ],'rename' => [
283 'path' => 'v1/{+name}:rename',
284 'httpMethod' => 'POST',
285 'parameters' => [
286 'name' => [
287 'location' => 'path',
288 'type' => 'string',
289 'required' => true,
290 ],
291 ],
292 ],
293 ]
294 ]
295 );
296 }
297}
298
299// Adding a class alias for backwards compatibility with the previous class name.
300class_alias(BigLakeService::class, 'Google_Service_BigLakeService');
Note: See TracBrowser for help on using the repository browser.