Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions gooddata-api-client/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ docs/AttributeResultHeader.md
docs/AttributesApi.md
docs/AutomationAlert.md
docs/AutomationAlertCondition.md
docs/AutomationDashboardTabularExport.md
docs/AutomationExternalRecipient.md
docs/AutomationImageExport.md
docs/AutomationMetadata.md
Expand Down Expand Up @@ -121,6 +122,7 @@ docs/DashboardPermissions.md
docs/DashboardPermissionsAssignment.md
docs/DashboardSlidesTemplate.md
docs/DashboardTabularExportRequest.md
docs/DashboardTabularExportRequestV2.md
docs/DashboardsApi.md
docs/DataColumnLocator.md
docs/DataColumnLocators.md
Expand Down Expand Up @@ -370,6 +372,7 @@ docs/JsonApiAttributeToOneLinkage.md
docs/JsonApiAutomationIn.md
docs/JsonApiAutomationInAttributes.md
docs/JsonApiAutomationInAttributesAlert.md
docs/JsonApiAutomationInAttributesDashboardTabularExportsInner.md
docs/JsonApiAutomationInAttributesExternalRecipientsInner.md
docs/JsonApiAutomationInAttributesImageExportsInner.md
docs/JsonApiAutomationInAttributesMetadata.md
Expand Down Expand Up @@ -571,7 +574,6 @@ docs/JsonApiIdentityProviderOutDocument.md
docs/JsonApiIdentityProviderOutList.md
docs/JsonApiIdentityProviderOutWithLinks.md
docs/JsonApiIdentityProviderPatch.md
docs/JsonApiIdentityProviderPatchAttributes.md
docs/JsonApiIdentityProviderPatchDocument.md
docs/JsonApiIdentityProviderToOneLinkage.md
docs/JsonApiJwkIn.md
Expand Down Expand Up @@ -842,6 +844,7 @@ docs/NotificationsMetaTotal.md
docs/ObjectLinks.md
docs/ObjectLinksContainer.md
docs/OptionsApi.md
docs/OrganizationApi.md
docs/OrganizationControllerApi.md
docs/OrganizationDeclarativeAPIsApi.md
docs/OrganizationEntityAPIsApi.md
Expand Down Expand Up @@ -933,6 +936,7 @@ docs/SqlColumn.md
docs/SqlQuery.md
docs/SqlQueryAllOf.md
docs/Suggestion.md
docs/SwitchIdentityProviderRequest.md
docs/Table.md
docs/TableAllOf.md
docs/TableOverride.md
Expand Down Expand Up @@ -1045,6 +1049,7 @@ gooddata_api_client/api/metadata_sync_api.py
gooddata_api_client/api/metrics_api.py
gooddata_api_client/api/notification_channels_api.py
gooddata_api_client/api/options_api.py
gooddata_api_client/api/organization_api.py
gooddata_api_client/api/organization_controller_api.py
gooddata_api_client/api/organization_declarative_apis_api.py
gooddata_api_client/api/organization_entity_apis_api.py
Expand Down Expand Up @@ -1139,6 +1144,7 @@ gooddata_api_client/model/attribute_positive_filter_all_of.py
gooddata_api_client/model/attribute_result_header.py
gooddata_api_client/model/automation_alert.py
gooddata_api_client/model/automation_alert_condition.py
gooddata_api_client/model/automation_dashboard_tabular_export.py
gooddata_api_client/model/automation_external_recipient.py
gooddata_api_client/model/automation_image_export.py
gooddata_api_client/model/automation_metadata.py
Expand Down Expand Up @@ -1189,6 +1195,7 @@ gooddata_api_client/model/dashboard_permissions.py
gooddata_api_client/model/dashboard_permissions_assignment.py
gooddata_api_client/model/dashboard_slides_template.py
gooddata_api_client/model/dashboard_tabular_export_request.py
gooddata_api_client/model/dashboard_tabular_export_request_v2.py
gooddata_api_client/model/data_column_locator.py
gooddata_api_client/model/data_column_locators.py
gooddata_api_client/model/data_source_parameter.py
Expand Down Expand Up @@ -1421,6 +1428,7 @@ gooddata_api_client/model/json_api_attribute_to_one_linkage.py
gooddata_api_client/model/json_api_automation_in.py
gooddata_api_client/model/json_api_automation_in_attributes.py
gooddata_api_client/model/json_api_automation_in_attributes_alert.py
gooddata_api_client/model/json_api_automation_in_attributes_dashboard_tabular_exports_inner.py
gooddata_api_client/model/json_api_automation_in_attributes_external_recipients_inner.py
gooddata_api_client/model/json_api_automation_in_attributes_image_exports_inner.py
gooddata_api_client/model/json_api_automation_in_attributes_metadata.py
Expand Down Expand Up @@ -1622,7 +1630,6 @@ gooddata_api_client/model/json_api_identity_provider_out_document.py
gooddata_api_client/model/json_api_identity_provider_out_list.py
gooddata_api_client/model/json_api_identity_provider_out_with_links.py
gooddata_api_client/model/json_api_identity_provider_patch.py
gooddata_api_client/model/json_api_identity_provider_patch_attributes.py
gooddata_api_client/model/json_api_identity_provider_patch_document.py
gooddata_api_client/model/json_api_identity_provider_to_one_linkage.py
gooddata_api_client/model/json_api_jwk_in.py
Expand Down Expand Up @@ -1964,6 +1971,7 @@ gooddata_api_client/model/sql_column.py
gooddata_api_client/model/sql_query.py
gooddata_api_client/model/sql_query_all_of.py
gooddata_api_client/model/suggestion.py
gooddata_api_client/model/switch_identity_provider_request.py
gooddata_api_client/model/table.py
gooddata_api_client/model/table_all_of.py
gooddata_api_client/model/table_override.py
Expand Down
9 changes: 8 additions & 1 deletion gooddata-api-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,9 @@ Class | Method | HTTP request | Description
*MetricsApi* | [**update_entity_metrics**](docs/MetricsApi.md#update_entity_metrics) | **PUT** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Put a Metric
*NotificationChannelsApi* | [**create_entity_notification_channels**](docs/NotificationChannelsApi.md#create_entity_notification_channels) | **POST** /api/v1/entities/notificationChannels | Post Notification Channel entities
*NotificationChannelsApi* | [**delete_entity_notification_channels**](docs/NotificationChannelsApi.md#delete_entity_notification_channels) | **DELETE** /api/v1/entities/notificationChannels/{id} | Delete Notification Channel entity
*NotificationChannelsApi* | [**get_all_entities_notification_channel_identifiers**](docs/NotificationChannelsApi.md#get_all_entities_notification_channel_identifiers) | **GET** /api/v1/entities/notificationChannelIdentifiers |
*NotificationChannelsApi* | [**get_all_entities_notification_channels**](docs/NotificationChannelsApi.md#get_all_entities_notification_channels) | **GET** /api/v1/entities/notificationChannels | Get all Notification Channel entities
*NotificationChannelsApi* | [**get_entity_notification_channel_identifiers**](docs/NotificationChannelsApi.md#get_entity_notification_channel_identifiers) | **GET** /api/v1/entities/notificationChannelIdentifiers/{id} |
*NotificationChannelsApi* | [**get_entity_notification_channels**](docs/NotificationChannelsApi.md#get_entity_notification_channels) | **GET** /api/v1/entities/notificationChannels/{id} | Get Notification Channel entity
*NotificationChannelsApi* | [**get_export_templates_layout**](docs/NotificationChannelsApi.md#get_export_templates_layout) | **GET** /api/v1/layout/exportTemplates | Get all export templates layout
*NotificationChannelsApi* | [**get_notification_channels_layout**](docs/NotificationChannelsApi.md#get_notification_channels_layout) | **GET** /api/v1/layout/notificationChannels | Get all notification channels layout
Expand All @@ -260,6 +262,7 @@ Class | Method | HTTP request | Description
*NotificationChannelsApi* | [**test_notification_channel**](docs/NotificationChannelsApi.md#test_notification_channel) | **POST** /api/v1/actions/notificationChannels/test | Test notification channel.
*NotificationChannelsApi* | [**update_entity_notification_channels**](docs/NotificationChannelsApi.md#update_entity_notification_channels) | **PUT** /api/v1/entities/notificationChannels/{id} | Put Notification Channel entity
*OptionsApi* | [**get_all_options**](docs/OptionsApi.md#get_all_options) | **GET** /api/v1/options | Links for all configuration options
*OrganizationApi* | [**switch_active_identity_provider**](docs/OrganizationApi.md#switch_active_identity_provider) | **POST** /api/v1/actions/organization/switchActiveIdentityProvider | Switch Active Identity Provider
*OrganizationDeclarativeAPIsApi* | [**get_organization_layout**](docs/OrganizationDeclarativeAPIsApi.md#get_organization_layout) | **GET** /api/v1/layout/organization | Get organization layout
*OrganizationDeclarativeAPIsApi* | [**set_organization_layout**](docs/OrganizationDeclarativeAPIsApi.md#set_organization_layout) | **PUT** /api/v1/layout/organization | Set organization layout
*OrganizationEntityAPIsApi* | [**create_entity_organization_settings**](docs/OrganizationEntityAPIsApi.md#create_entity_organization_settings) | **POST** /api/v1/entities/organizationSettings | Post Organization Setting entities
Expand Down Expand Up @@ -469,6 +472,7 @@ Class | Method | HTTP request | Description
*ActionsApi* | [**scan_data_source**](docs/ActionsApi.md#scan_data_source) | **POST** /api/v1/actions/dataSources/{dataSourceId}/scan | Scan a database to get a physical data model (PDM)
*ActionsApi* | [**scan_sql**](docs/ActionsApi.md#scan_sql) | **POST** /api/v1/actions/dataSources/{dataSourceId}/scanSql | Collect metadata about SQL query
*ActionsApi* | [**set_translations**](docs/ActionsApi.md#set_translations) | **POST** /api/v1/actions/workspaces/{workspaceId}/translations/set | Set translations for entities.
*ActionsApi* | [**switch_active_identity_provider**](docs/ActionsApi.md#switch_active_identity_provider) | **POST** /api/v1/actions/organization/switchActiveIdentityProvider | Switch Active Identity Provider
*ActionsApi* | [**test_data_source**](docs/ActionsApi.md#test_data_source) | **POST** /api/v1/actions/dataSources/{dataSourceId}/test | Test data source connection by data source id
*ActionsApi* | [**test_data_source_definition**](docs/ActionsApi.md#test_data_source_definition) | **POST** /api/v1/actions/dataSource/test | Test connection by data source definition
*ActionsApi* | [**test_existing_notification_channel**](docs/ActionsApi.md#test_existing_notification_channel) | **POST** /api/v1/actions/notificationChannels/{notificationChannelId}/test | Test existing notification channel.
Expand Down Expand Up @@ -973,6 +977,7 @@ Class | Method | HTTP request | Description
- [AttributeResultHeader](docs/AttributeResultHeader.md)
- [AutomationAlert](docs/AutomationAlert.md)
- [AutomationAlertCondition](docs/AutomationAlertCondition.md)
- [AutomationDashboardTabularExport](docs/AutomationDashboardTabularExport.md)
- [AutomationExternalRecipient](docs/AutomationExternalRecipient.md)
- [AutomationImageExport](docs/AutomationImageExport.md)
- [AutomationMetadata](docs/AutomationMetadata.md)
Expand Down Expand Up @@ -1023,6 +1028,7 @@ Class | Method | HTTP request | Description
- [DashboardPermissionsAssignment](docs/DashboardPermissionsAssignment.md)
- [DashboardSlidesTemplate](docs/DashboardSlidesTemplate.md)
- [DashboardTabularExportRequest](docs/DashboardTabularExportRequest.md)
- [DashboardTabularExportRequestV2](docs/DashboardTabularExportRequestV2.md)
- [DataColumnLocator](docs/DataColumnLocator.md)
- [DataColumnLocators](docs/DataColumnLocators.md)
- [DataSourceParameter](docs/DataSourceParameter.md)
Expand Down Expand Up @@ -1255,6 +1261,7 @@ Class | Method | HTTP request | Description
- [JsonApiAutomationIn](docs/JsonApiAutomationIn.md)
- [JsonApiAutomationInAttributes](docs/JsonApiAutomationInAttributes.md)
- [JsonApiAutomationInAttributesAlert](docs/JsonApiAutomationInAttributesAlert.md)
- [JsonApiAutomationInAttributesDashboardTabularExportsInner](docs/JsonApiAutomationInAttributesDashboardTabularExportsInner.md)
- [JsonApiAutomationInAttributesExternalRecipientsInner](docs/JsonApiAutomationInAttributesExternalRecipientsInner.md)
- [JsonApiAutomationInAttributesImageExportsInner](docs/JsonApiAutomationInAttributesImageExportsInner.md)
- [JsonApiAutomationInAttributesMetadata](docs/JsonApiAutomationInAttributesMetadata.md)
Expand Down Expand Up @@ -1456,7 +1463,6 @@ Class | Method | HTTP request | Description
- [JsonApiIdentityProviderOutList](docs/JsonApiIdentityProviderOutList.md)
- [JsonApiIdentityProviderOutWithLinks](docs/JsonApiIdentityProviderOutWithLinks.md)
- [JsonApiIdentityProviderPatch](docs/JsonApiIdentityProviderPatch.md)
- [JsonApiIdentityProviderPatchAttributes](docs/JsonApiIdentityProviderPatchAttributes.md)
- [JsonApiIdentityProviderPatchDocument](docs/JsonApiIdentityProviderPatchDocument.md)
- [JsonApiIdentityProviderToOneLinkage](docs/JsonApiIdentityProviderToOneLinkage.md)
- [JsonApiJwkIn](docs/JsonApiJwkIn.md)
Expand Down Expand Up @@ -1798,6 +1804,7 @@ Class | Method | HTTP request | Description
- [SqlQuery](docs/SqlQuery.md)
- [SqlQueryAllOf](docs/SqlQueryAllOf.md)
- [Suggestion](docs/Suggestion.md)
- [SwitchIdentityProviderRequest](docs/SwitchIdentityProviderRequest.md)
- [Table](docs/Table.md)
- [TableAllOf](docs/TableAllOf.md)
- [TableOverride](docs/TableOverride.md)
Expand Down
98 changes: 98 additions & 0 deletions gooddata-api-client/docs/ActionsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ Method | HTTP request | Description
[**scan_data_source**](ActionsApi.md#scan_data_source) | **POST** /api/v1/actions/dataSources/{dataSourceId}/scan | Scan a database to get a physical data model (PDM)
[**scan_sql**](ActionsApi.md#scan_sql) | **POST** /api/v1/actions/dataSources/{dataSourceId}/scanSql | Collect metadata about SQL query
[**set_translations**](ActionsApi.md#set_translations) | **POST** /api/v1/actions/workspaces/{workspaceId}/translations/set | Set translations for entities.
[**switch_active_identity_provider**](ActionsApi.md#switch_active_identity_provider) | **POST** /api/v1/actions/organization/switchActiveIdentityProvider | Switch Active Identity Provider
[**test_data_source**](ActionsApi.md#test_data_source) | **POST** /api/v1/actions/dataSources/{dataSourceId}/test | Test data source connection by data source id
[**test_data_source_definition**](ActionsApi.md#test_data_source_definition) | **POST** /api/v1/actions/dataSource/test | Test connection by data source definition
[**test_existing_notification_channel**](ActionsApi.md#test_existing_notification_channel) | **POST** /api/v1/actions/notificationChannels/{notificationChannelId}/test | Test existing notification channel.
Expand Down Expand Up @@ -5625,6 +5626,74 @@ No authorization required

[[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)

# **switch_active_identity_provider**
> switch_active_identity_provider(switch_identity_provider_request)

Switch Active Identity Provider

Switch the active identity provider for the organization. Requires MANAGE permission on the organization.

### Example


```python
import time
import gooddata_api_client
from gooddata_api_client.api import actions_api
from gooddata_api_client.model.switch_identity_provider_request import SwitchIdentityProviderRequest
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = gooddata_api_client.Configuration(
host = "http://localhost"
)


# Enter a context with an instance of the API client
with gooddata_api_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = actions_api.ActionsApi(api_client)
switch_identity_provider_request = SwitchIdentityProviderRequest(
idp_id="my-idp-123",
) # SwitchIdentityProviderRequest |

# example passing only required values which don't have defaults set
try:
# Switch Active Identity Provider
api_instance.switch_active_identity_provider(switch_identity_provider_request)
except gooddata_api_client.ApiException as e:
print("Exception when calling ActionsApi->switch_active_identity_provider: %s\n" % e)
```


### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**switch_identity_provider_request** | [**SwitchIdentityProviderRequest**](SwitchIdentityProviderRequest.md)| |

### Return type

void (empty response body)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: Not defined


### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**204** | No Content | - |

[[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)

# **test_data_source**
> TestResponse test_data_source(data_source_id, test_request)

Expand Down Expand Up @@ -5827,6 +5896,11 @@ with gooddata_api_client.ApiClient() as api_client:
notification_channel_id = "notificationChannelId_example" # str |
test_destination_request = TestDestinationRequest(
destination=DeclarativeNotificationChannelDestination(None),
external_recipients=[
AutomationExternalRecipient(
email="email_example",
),
],
) # TestDestinationRequest | (optional)

# example passing only required values which don't have defaults set
Expand Down Expand Up @@ -5907,6 +5981,11 @@ with gooddata_api_client.ApiClient() as api_client:
api_instance = actions_api.ActionsApi(api_client)
test_destination_request = TestDestinationRequest(
destination=DeclarativeNotificationChannelDestination(None),
external_recipients=[
AutomationExternalRecipient(
email="email_example",
),
],
) # TestDestinationRequest |

# example passing only required values which don't have defaults set
Expand Down Expand Up @@ -6014,6 +6093,25 @@ with gooddata_api_client.ApiClient() as api_client:
id="dashboard123",
type="analyticalDashboard",
),
dashboard_tabular_exports=[
AutomationDashboardTabularExport(
request_payload=DashboardTabularExportRequestV2(
dashboard_filters_override=[
DashboardFilter(),
],
dashboard_id="761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0",
file_name="result",
format="XLSX",
settings=DashboardExportSettings(
export_info=True,
merge_headers=True,
),
widget_ids=[
"widget_ids_example",
],
),
),
],
description="description_example",
details={
"key": "key_example",
Expand Down
1 change: 1 addition & 0 deletions gooddata-api-client/docs/AdHocAutomation.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**alert** | [**AutomationAlert**](AutomationAlert.md) | | [optional]
**analytical_dashboard** | [**DeclarativeAnalyticalDashboardIdentifier**](DeclarativeAnalyticalDashboardIdentifier.md) | | [optional]
**dashboard_tabular_exports** | [**[AutomationDashboardTabularExport]**](AutomationDashboardTabularExport.md) | | [optional]
**description** | **str** | | [optional]
**details** | **{str: (str,)}** | Additional details to be included in the automated message. | [optional]
**external_recipients** | [**[AutomationExternalRecipient]**](AutomationExternalRecipient.md) | External recipients of the automation action results. | [optional]
Expand Down
12 changes: 12 additions & 0 deletions gooddata-api-client/docs/AutomationDashboardTabularExport.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# AutomationDashboardTabularExport


## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**request_payload** | [**DashboardTabularExportRequestV2**](DashboardTabularExportRequestV2.md) | |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


Loading
Loading