Skip to content

Commit 36df9b7

Browse files
Merge pull request #1647 from gooddata/snapshot-master-d0a608be-to-rel/dev
[bot] Merge master/d0a608be into rel/dev
2 parents 4483840 + d0a608b commit 36df9b7

216 files changed

Lines changed: 21335 additions & 7767 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎gooddata-api-client/.openapi-generator/FILES‎

Lines changed: 86 additions & 56 deletions
Large diffs are not rendered by default.

‎gooddata-api-client/README.md‎

Lines changed: 95 additions & 53 deletions
Large diffs are not rendered by default.

‎gooddata-api-client/docs/AILakeApi.md‎

Lines changed: 171 additions & 39 deletions
Large diffs are not rendered by default.

‎gooddata-api-client/docs/AILakeDatabasesApi.md‎

Lines changed: 51 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Method | HTTP request | Description
99
[**get_ai_lake_database_instance**](AILakeDatabasesApi.md#get_ai_lake_database_instance) | **GET** /api/v1/ailake/database/instances/{instanceId} | (BETA) Get the specified AILake Database instance
1010
[**list_ai_lake_database_data_sources**](AILakeDatabasesApi.md#list_ai_lake_database_data_sources) | **GET** /api/v1/ailake/database/instances/{instanceId}/dataSources | (BETA) List data sources of an AILake Database instance
1111
[**list_ai_lake_database_instances**](AILakeDatabasesApi.md#list_ai_lake_database_instances) | **GET** /api/v1/ailake/database/instances | (BETA) List AI Lake Database instances
12-
[**list_ai_lake_object_storages**](AILakeDatabasesApi.md#list_ai_lake_object_storages) | **GET** /api/v1/ailake/object-storages | (BETA) List registered AI Lake ObjectStorages
12+
[**list_ai_lake_object_storages**](AILakeDatabasesApi.md#list_ai_lake_object_storages) | **GET** /api/v1/ailake/objectStorages | (BETA) List registered AI Lake ObjectStorages
1313
[**provision_ai_lake_database_instance**](AILakeDatabasesApi.md#provision_ai_lake_database_instance) | **POST** /api/v1/ailake/database/instances | (BETA) Create a new AILake Database instance
1414
[**remove_ai_lake_database_data_source**](AILakeDatabasesApi.md#remove_ai_lake_database_data_source) | **DELETE** /api/v1/ailake/database/instances/{instanceId}/dataSources/{dataSourceId} | (BETA) Remove a data source from an AILake Database instance
1515
[**update_ai_lake_database_data_source**](AILakeDatabasesApi.md#update_ai_lake_database_data_source) | **PATCH** /api/v1/ailake/database/instances/{instanceId}/dataSource | (BETA) Update the data source of an AILake Database instance
@@ -166,7 +166,7 @@ No authorization required
166166
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
167167

168168
# **get_ai_lake_database_instance**
169-
> DatabaseInstance get_ai_lake_database_instance(instance_id)
169+
> JsonApiDocumentDatabaseInstance get_ai_lake_database_instance(instance_id)
170170
171171
(BETA) Get the specified AILake Database instance
172172

@@ -179,7 +179,7 @@ No authorization required
179179
import time
180180
import gooddata_api_client
181181
from gooddata_api_client.api import ai_lake_databases_api
182-
from gooddata_api_client.model.database_instance import DatabaseInstance
182+
from gooddata_api_client.model.json_api_document_database_instance import JsonApiDocumentDatabaseInstance
183183
from pprint import pprint
184184
# Defining the host is optional and defaults to http://localhost
185185
# See configuration.py for a list of all supported configuration parameters.
@@ -212,7 +212,7 @@ Name | Type | Description | Notes
212212

213213
### Return type
214214

215-
[**DatabaseInstance**](DatabaseInstance.md)
215+
[**JsonApiDocumentDatabaseInstance**](JsonApiDocumentDatabaseInstance.md)
216216

217217
### Authorization
218218

@@ -233,11 +233,11 @@ No authorization required
233233
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
234234

235235
# **list_ai_lake_database_data_sources**
236-
> ListDatabaseDataSourcesResponse list_ai_lake_database_data_sources(instance_id)
236+
> JsonApiListDocumentDataSourceInfo list_ai_lake_database_data_sources(instance_id)
237237
238238
(BETA) List data sources of an AILake Database instance
239239

240-
(BETA) Returns all data source associations for the specified AI Lake database instance.
240+
(BETA) Returns data source associations for the specified AI Lake database instance.
241241

242242
### Example
243243

@@ -246,7 +246,7 @@ No authorization required
246246
import time
247247
import gooddata_api_client
248248
from gooddata_api_client.api import ai_lake_databases_api
249-
from gooddata_api_client.model.list_database_data_sources_response import ListDatabaseDataSourcesResponse
249+
from gooddata_api_client.model.json_api_list_document_data_source_info import JsonApiListDocumentDataSourceInfo
250250
from pprint import pprint
251251
# Defining the host is optional and defaults to http://localhost
252252
# See configuration.py for a list of all supported configuration parameters.
@@ -260,6 +260,11 @@ with gooddata_api_client.ApiClient() as api_client:
260260
# Create an instance of the API class
261261
api_instance = ai_lake_databases_api.AILakeDatabasesApi(api_client)
262262
instance_id = "instanceId_example" # str | Database instance identifier. Accepts the database name (preferred) or UUID.
263+
page = "0" # str | Zero-based page number. (optional) if omitted the server will use the default value of "0"
264+
size = "50" # str | Number of items per page. (optional) if omitted the server will use the default value of "50"
265+
meta_include = [
266+
"metaInclude_example",
267+
] # [str] | (optional)
263268

264269
# example passing only required values which don't have defaults set
265270
try:
@@ -268,6 +273,15 @@ with gooddata_api_client.ApiClient() as api_client:
268273
pprint(api_response)
269274
except gooddata_api_client.ApiException as e:
270275
print("Exception when calling AILakeDatabasesApi->list_ai_lake_database_data_sources: %s\n" % e)
276+
277+
# example passing only required values which don't have defaults set
278+
# and optional values
279+
try:
280+
# (BETA) List data sources of an AILake Database instance
281+
api_response = api_instance.list_ai_lake_database_data_sources(instance_id, page=page, size=size, meta_include=meta_include)
282+
pprint(api_response)
283+
except gooddata_api_client.ApiException as e:
284+
print("Exception when calling AILakeDatabasesApi->list_ai_lake_database_data_sources: %s\n" % e)
271285
```
272286

273287

@@ -276,10 +290,13 @@ with gooddata_api_client.ApiClient() as api_client:
276290
Name | Type | Description | Notes
277291
------------- | ------------- | ------------- | -------------
278292
**instance_id** | **str**| Database instance identifier. Accepts the database name (preferred) or UUID. |
293+
**page** | **str**| Zero-based page number. | [optional] if omitted the server will use the default value of "0"
294+
**size** | **str**| Number of items per page. | [optional] if omitted the server will use the default value of "50"
295+
**meta_include** | **[str]**| | [optional]
279296

280297
### Return type
281298

282-
[**ListDatabaseDataSourcesResponse**](ListDatabaseDataSourcesResponse.md)
299+
[**JsonApiListDocumentDataSourceInfo**](JsonApiListDocumentDataSourceInfo.md)
283300

284301
### Authorization
285302

@@ -300,11 +317,11 @@ No authorization required
300317
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
301318

302319
# **list_ai_lake_database_instances**
303-
> ListDatabaseInstancesResponse list_ai_lake_database_instances()
320+
> JsonApiListDocumentDatabaseInstance list_ai_lake_database_instances()
304321
305322
(BETA) List AI Lake Database instances
306323

307-
(BETA) Lists database instances in the organization's AI Lake. Supports paging via size and offset query parameters. Use metaInclude=page to get total count.
324+
(BETA) Lists database instances in the organization's AI Lake.
308325

309326
### Example
310327

@@ -313,7 +330,7 @@ No authorization required
313330
import time
314331
import gooddata_api_client
315332
from gooddata_api_client.api import ai_lake_databases_api
316-
from gooddata_api_client.model.list_database_instances_response import ListDatabaseInstancesResponse
333+
from gooddata_api_client.model.json_api_list_document_database_instance import JsonApiListDocumentDatabaseInstance
317334
from pprint import pprint
318335
# Defining the host is optional and defaults to http://localhost
319336
# See configuration.py for a list of all supported configuration parameters.
@@ -326,8 +343,8 @@ configuration = gooddata_api_client.Configuration(
326343
with gooddata_api_client.ApiClient() as api_client:
327344
# Create an instance of the API class
328345
api_instance = ai_lake_databases_api.AILakeDatabasesApi(api_client)
329-
size = 50 # int | (optional) if omitted the server will use the default value of 50
330-
offset = 0 # int | (optional) if omitted the server will use the default value of 0
346+
page = "0" # str | Zero-based page number. (optional) if omitted the server will use the default value of "0"
347+
size = "50" # str | Number of items per page. (optional) if omitted the server will use the default value of "50"
331348
meta_include = [
332349
"metaInclude_example",
333350
] # [str] | (optional)
@@ -336,7 +353,7 @@ with gooddata_api_client.ApiClient() as api_client:
336353
# and optional values
337354
try:
338355
# (BETA) List AI Lake Database instances
339-
api_response = api_instance.list_ai_lake_database_instances(size=size, offset=offset, meta_include=meta_include)
356+
api_response = api_instance.list_ai_lake_database_instances(page=page, size=size, meta_include=meta_include)
340357
pprint(api_response)
341358
except gooddata_api_client.ApiException as e:
342359
print("Exception when calling AILakeDatabasesApi->list_ai_lake_database_instances: %s\n" % e)
@@ -347,13 +364,13 @@ with gooddata_api_client.ApiClient() as api_client:
347364

348365
Name | Type | Description | Notes
349366
------------- | ------------- | ------------- | -------------
350-
**size** | **int**| | [optional] if omitted the server will use the default value of 50
351-
**offset** | **int**| | [optional] if omitted the server will use the default value of 0
367+
**page** | **str**| Zero-based page number. | [optional] if omitted the server will use the default value of "0"
368+
**size** | **str**| Number of items per page. | [optional] if omitted the server will use the default value of "50"
352369
**meta_include** | **[str]**| | [optional]
353370

354371
### Return type
355372

356-
[**ListDatabaseInstancesResponse**](ListDatabaseInstancesResponse.md)
373+
[**JsonApiListDocumentDatabaseInstance**](JsonApiListDocumentDatabaseInstance.md)
357374

358375
### Authorization
359376

@@ -374,7 +391,7 @@ No authorization required
374391
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
375392

376393
# **list_ai_lake_object_storages**
377-
> ListObjectStoragesResponse list_ai_lake_object_storages()
394+
> JsonApiListDocumentObjectStorageInfo list_ai_lake_object_storages()
378395
379396
(BETA) List registered AI Lake ObjectStorages
380397

@@ -387,7 +404,7 @@ No authorization required
387404
import time
388405
import gooddata_api_client
389406
from gooddata_api_client.api import ai_lake_databases_api
390-
from gooddata_api_client.model.list_object_storages_response import ListObjectStoragesResponse
407+
from gooddata_api_client.model.json_api_list_document_object_storage_info import JsonApiListDocumentObjectStorageInfo
391408
from pprint import pprint
392409
# Defining the host is optional and defaults to http://localhost
393410
# See configuration.py for a list of all supported configuration parameters.
@@ -400,23 +417,34 @@ configuration = gooddata_api_client.Configuration(
400417
with gooddata_api_client.ApiClient() as api_client:
401418
# Create an instance of the API class
402419
api_instance = ai_lake_databases_api.AILakeDatabasesApi(api_client)
420+
page = "0" # str | Zero-based page number. (optional) if omitted the server will use the default value of "0"
421+
size = "50" # str | Number of items per page. (optional) if omitted the server will use the default value of "50"
422+
meta_include = [
423+
"metaInclude_example",
424+
] # [str] | (optional)
403425

404-
# example, this endpoint has no required or optional parameters
426+
# example passing only required values which don't have defaults set
427+
# and optional values
405428
try:
406429
# (BETA) List registered AI Lake ObjectStorages
407-
api_response = api_instance.list_ai_lake_object_storages()
430+
api_response = api_instance.list_ai_lake_object_storages(page=page, size=size, meta_include=meta_include)
408431
pprint(api_response)
409432
except gooddata_api_client.ApiException as e:
410433
print("Exception when calling AILakeDatabasesApi->list_ai_lake_object_storages: %s\n" % e)
411434
```
412435

413436

414437
### Parameters
415-
This endpoint does not need any parameter.
438+
439+
Name | Type | Description | Notes
440+
------------- | ------------- | ------------- | -------------
441+
**page** | **str**| Zero-based page number. | [optional] if omitted the server will use the default value of "0"
442+
**size** | **str**| Number of items per page. | [optional] if omitted the server will use the default value of "50"
443+
**meta_include** | **[str]**| | [optional]
416444

417445
### Return type
418446

419-
[**ListObjectStoragesResponse**](ListObjectStoragesResponse.md)
447+
[**JsonApiListDocumentObjectStorageInfo**](JsonApiListDocumentObjectStorageInfo.md)
420448

421449
### Authorization
422450

0 commit comments

Comments
 (0)