Debian Codegraph @

docs/dyn/biglake_v1.projects.locations.catalogs.databases.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="biglake_v1.html">BigLake API</a> . <a href="biglake_v1.projects.html">projects</a> . <a href="biglake_v1.projects.locations.html">locations</a> . <a href="biglake_v1.projects.locations.catalogs.html">catalogs</a> . <a href="biglake_v1.projects.locations.catalogs.databases.html">databases</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="biglake_v1.projects.locations.catalogs.databases.tables.html">tables()</a></code>
79 </p>
80 <p class="firstline">Returns the tables Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84 <p class="firstline">Close httplib2 connections.</p>
85 <p class="toc_element">
86 <code><a href="#create">create(parent, body=None, databaseId=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Creates a new database.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
90 <p class="firstline">Deletes an existing database specified by the database ID.</p>
91 <p class="toc_element">
92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93 <p class="firstline">Gets the database specified by the resource name.</p>
94 <p class="toc_element">
95 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
96 <p class="firstline">List all databases in a specified catalog.</p>
97 <p class="toc_element">
98 <code><a href="#list_next">list_next()</a></code></p>
99 <p class="firstline">Retrieves the next page of results.</p>
100 <p class="toc_element">
101 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
102 <p class="firstline">Updates an existing database specified by the database ID.</p>
103 <h3>Method Details</h3>
104 <div class="method">
105 <code class="details" id="close">close()</code>
106 <pre>Close httplib2 connections.</pre>
107 </div>
108
109 <div class="method">
110 <code class="details" id="create">create(parent, body=None, databaseId=None, x__xgafv=None)</code>
111 <pre>Creates a new database.
112
113 Args:
114 parent: string, Required. The parent resource where this database will be created. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id} (required)
115 body: object, The request body.
116 The object takes the form of:
117
118 { # Database is the container of tables.
119 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the database.
120 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The deletion time of the database. Only set after the database is deleted.
121 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The time when this database is considered expired. Only set after the database is deleted.
122 &quot;hiveOptions&quot;: { # Options of a Hive database. # Options of a Hive database.
123 &quot;locationUri&quot;: &quot;A String&quot;, # Cloud Storage folder URI where the database data is stored, starting with &quot;gs://&quot;.
124 &quot;parameters&quot;: { # Stores user supplied Hive database parameters.
125 &quot;a_key&quot;: &quot;A String&quot;,
126 },
127 },
128 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
129 &quot;type&quot;: &quot;A String&quot;, # The database type.
130 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last modification time of the database.
131 }
132
133 databaseId: string, Required. The ID to use for the database, which will become the final component of the database&#x27;s resource name.
134 x__xgafv: string, V1 error format.
135 Allowed values
136 1 - v1 error format
137 2 - v2 error format
138
139 Returns:
140 An object of the form:
141
142 { # Database is the container of tables.
143 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the database.
144 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The deletion time of the database. Only set after the database is deleted.
145 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The time when this database is considered expired. Only set after the database is deleted.
146 &quot;hiveOptions&quot;: { # Options of a Hive database. # Options of a Hive database.
147 &quot;locationUri&quot;: &quot;A String&quot;, # Cloud Storage folder URI where the database data is stored, starting with &quot;gs://&quot;.
148 &quot;parameters&quot;: { # Stores user supplied Hive database parameters.
149 &quot;a_key&quot;: &quot;A String&quot;,
150 },
151 },
152 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
153 &quot;type&quot;: &quot;A String&quot;, # The database type.
154 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last modification time of the database.
155 }</pre>
156 </div>
157
158 <div class="method">
159 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
160 <pre>Deletes an existing database specified by the database ID.
161
162 Args:
163 name: string, Required. The name of the database to delete. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} (required)
164 x__xgafv: string, V1 error format.
165 Allowed values
166 1 - v1 error format
167 2 - v2 error format
168
169 Returns:
170 An object of the form:
171
172 { # Database is the container of tables.
173 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the database.
174 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The deletion time of the database. Only set after the database is deleted.
175 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The time when this database is considered expired. Only set after the database is deleted.
176 &quot;hiveOptions&quot;: { # Options of a Hive database. # Options of a Hive database.
177 &quot;locationUri&quot;: &quot;A String&quot;, # Cloud Storage folder URI where the database data is stored, starting with &quot;gs://&quot;.
178 &quot;parameters&quot;: { # Stores user supplied Hive database parameters.
179 &quot;a_key&quot;: &quot;A String&quot;,
180 },
181 },
182 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
183 &quot;type&quot;: &quot;A String&quot;, # The database type.
184 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last modification time of the database.
185 }</pre>
186 </div>
187
188 <div class="method">
189 <code class="details" id="get">get(name, x__xgafv=None)</code>
190 <pre>Gets the database specified by the resource name.
191
192 Args:
193 name: string, Required. The name of the database to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} (required)
194 x__xgafv: string, V1 error format.
195 Allowed values
196 1 - v1 error format
197 2 - v2 error format
198
199 Returns:
200 An object of the form:
201
202 { # Database is the container of tables.
203 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the database.
204 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The deletion time of the database. Only set after the database is deleted.
205 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The time when this database is considered expired. Only set after the database is deleted.
206 &quot;hiveOptions&quot;: { # Options of a Hive database. # Options of a Hive database.
207 &quot;locationUri&quot;: &quot;A String&quot;, # Cloud Storage folder URI where the database data is stored, starting with &quot;gs://&quot;.
208 &quot;parameters&quot;: { # Stores user supplied Hive database parameters.
209 &quot;a_key&quot;: &quot;A String&quot;,
210 },
211 },
212 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
213 &quot;type&quot;: &quot;A String&quot;, # The database type.
214 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last modification time of the database.
215 }</pre>
216 </div>
217
218 <div class="method">
219 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
220 <pre>List all databases in a specified catalog.
221
222 Args:
223 parent: string, Required. The parent, which owns this collection of databases. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id} (required)
224 pageSize: integer, The maximum number of databases to return. The service may return fewer than this value. If unspecified, at most 50 databases will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
225 pageToken: string, A page token, received from a previous `ListDatabases` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDatabases` must match the call that provided the page token.
226 x__xgafv: string, V1 error format.
227 Allowed values
228 1 - v1 error format
229 2 - v2 error format
230
231 Returns:
232 An object of the form:
233
234 { # Response message for the ListDatabases method.
235 &quot;databases&quot;: [ # The databases from the specified catalog.
236 { # Database is the container of tables.
237 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the database.
238 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The deletion time of the database. Only set after the database is deleted.
239 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The time when this database is considered expired. Only set after the database is deleted.
240 &quot;hiveOptions&quot;: { # Options of a Hive database. # Options of a Hive database.
241 &quot;locationUri&quot;: &quot;A String&quot;, # Cloud Storage folder URI where the database data is stored, starting with &quot;gs://&quot;.
242 &quot;parameters&quot;: { # Stores user supplied Hive database parameters.
243 &quot;a_key&quot;: &quot;A String&quot;,
244 },
245 },
246 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
247 &quot;type&quot;: &quot;A String&quot;, # The database type.
248 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last modification time of the database.
249 },
250 ],
251 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
252 }</pre>
253 </div>
254
255 <div class="method">
256 <code class="details" id="list_next">list_next()</code>
257 <pre>Retrieves the next page of results.
258
259 Args:
260 previous_request: The request for the previous page. (required)
261 previous_response: The response from the request for the previous page. (required)
262
263 Returns:
264 A request object that you can call &#x27;execute()&#x27; on to request the next
265 page. Returns None if there are no more items in the collection.
266 </pre>
267 </div>
268
269 <div class="method">
270 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
271 <pre>Updates an existing database specified by the database ID.
272
273 Args:
274 name: string, Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} (required)
275 body: object, The request body.
276 The object takes the form of:
277
278 { # Database is the container of tables.
279 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the database.
280 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The deletion time of the database. Only set after the database is deleted.
281 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The time when this database is considered expired. Only set after the database is deleted.
282 &quot;hiveOptions&quot;: { # Options of a Hive database. # Options of a Hive database.
283 &quot;locationUri&quot;: &quot;A String&quot;, # Cloud Storage folder URI where the database data is stored, starting with &quot;gs://&quot;.
284 &quot;parameters&quot;: { # Stores user supplied Hive database parameters.
285 &quot;a_key&quot;: &quot;A String&quot;,
286 },
287 },
288 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
289 &quot;type&quot;: &quot;A String&quot;, # The database type.
290 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last modification time of the database.
291 }
292
293 updateMask: string, The list of fields to update. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.
294 x__xgafv: string, V1 error format.
295 Allowed values
296 1 - v1 error format
297 2 - v2 error format
298
299 Returns:
300 An object of the form:
301
302 { # Database is the container of tables.
303 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time of the database.
304 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The deletion time of the database. Only set after the database is deleted.
305 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The time when this database is considered expired. Only set after the database is deleted.
306 &quot;hiveOptions&quot;: { # Options of a Hive database. # Options of a Hive database.
307 &quot;locationUri&quot;: &quot;A String&quot;, # Cloud Storage folder URI where the database data is stored, starting with &quot;gs://&quot;.
308 &quot;parameters&quot;: { # Stores user supplied Hive database parameters.
309 &quot;a_key&quot;: &quot;A String&quot;,
310 },
311 },
312 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
313 &quot;type&quot;: &quot;A String&quot;, # The database type.
314 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last modification time of the database.
315 }</pre>
316 </div>
317
318 </body></html>