From c6cdda3cdb1101b43181abacc99346f703e94cb0 Mon Sep 17 00:00:00 2001 From: dmitriinikitingd Date: Tue, 2 Jun 2026 09:05:15 +0200 Subject: [PATCH 1/2] chore(api-client): regenerate against staging --- gooddata-api-client/.openapi-generator/FILES | 142 +- gooddata-api-client/README.md | 148 +- gooddata-api-client/docs/AILakeApi.md | 210 +- .../docs/AILakeDatabasesApi.md | 74 +- .../docs/AILakePipeTablesApi.md | 118 +- .../docs/AILakeServicesOperationsApi.md | 18 +- gooddata-api-client/docs/ActionsApi.md | 696 +++- ...nditionAllOf.md => AnthropicApiKeyAuth.md} | 7 +- .../docs/AnthropicApiKeyAuthAllOf.md | 13 + .../docs/AnthropicProviderAuth.md | 14 + .../docs/AnthropicProviderConfig.md | 15 + .../docs/AutomationControllerApi.md | 48 + gooddata-api-client/docs/AutomationsApi.md | 80 + gooddata-api-client/docs/ChatResult.md | 1 - .../DashboardCompoundComparisonCondition.md | 3 +- ...rdCompoundComparisonConditionComparison.md | 14 + .../docs/DashboardCompoundConditionItem.md | 6 +- .../docs/DashboardCompoundRangeCondition.md | 4 +- ...> DashboardCompoundRangeConditionRange.md} | 8 +- gooddata-api-client/docs/DashboardFilter.md | 2 +- .../docs/DashboardMeasureValueFilter.md | 2 +- ...ValueFilterDashboardMeasureValueFilter.md} | 3 +- .../docs/DashboardParameterValue.md | 15 + .../docs/DashboardTabularExportRequest.md | 2 + .../docs/DashboardTabularExportRequestV2.md | 2 + gooddata-api-client/docs/DeclarativeAgent.md | 2 +- .../docs/DeclarativeIpAllowlistPolicy.md | 2 +- gooddata-api-client/docs/EntitiesApi.md | 1407 +++++--- .../docs/ExecutionResultLimitBreak.md | 15 + .../docs/ExecutionResultMetadata.md | 1 + gooddata-api-client/docs/FailedOperation.md | 2 +- .../docs/GetAiLakeOperation200Response.md | 2 +- .../docs/IpAllowlistPolicyControllerApi.md | 456 +++ ...onAllOf.md => IpAllowlistPolicyTargets.md} | 6 +- .../docs/JsonApiDocumentDatabaseInstance.md | 14 + .../docs/JsonApiDocumentPipeTable.md | 14 + ...ntOut.md => JsonApiIpAllowlistPolicyIn.md} | 9 +- .../JsonApiIpAllowlistPolicyInAttributes.md | 12 + ... => JsonApiIpAllowlistPolicyInDocument.md} | 4 +- ...sonApiIpAllowlistPolicyInRelationships.md} | 8 +- ...atch.md => JsonApiIpAllowlistPolicyOut.md} | 9 +- ...=> JsonApiIpAllowlistPolicyOutDocument.md} | 7 +- .../JsonApiIpAllowlistPolicyOutIncludes.md | 16 + ....md => JsonApiIpAllowlistPolicyOutList.md} | 5 +- .../JsonApiIpAllowlistPolicyOutWithLinks.md | 16 + .../docs/JsonApiItemDataSourceInfo.md | 15 + .../docs/JsonApiItemDatabaseInstance.md | 15 + .../docs/JsonApiItemObjectStorageInfo.md | 15 + .../docs/JsonApiItemPipeTable.md | 15 + .../docs/JsonApiItemPipeTableSummary.md | 15 + .../docs/JsonApiItemServiceInfo.md | 15 + .../docs/JsonApiListDocumentDataSourceInfo.md | 15 + .../JsonApiListDocumentDatabaseInstance.md | 15 + .../JsonApiListDocumentObjectStorageInfo.md | 15 + .../JsonApiListDocumentPipeTableSummary.md | 15 + .../docs/JsonApiListDocumentServiceInfo.md | 15 + ...lvedLlmEndpoint.md => JsonApiListLinks.md} | 6 +- ...lvedLlmEndpoints.md => JsonApiListMeta.md} | 5 +- .../docs/JsonApiLlmEndpointInAttributes.md | 17 - .../docs/JsonApiLlmEndpointOutAttributes.md | 16 - .../docs/JsonApiLlmEndpointPatchAttributes.md | 17 - ...piLlmProviderInAttributesProviderConfig.md | 8 +- gooddata-api-client/docs/JsonApiPageInfo.md | 16 + .../JsonApiParameterInAttributesDefinition.md | 4 +- .../docs/JsonApiUserInAttributes.md | 1 + gooddata-api-client/docs/LLMEndpointsApi.md | 260 +- gooddata-api-client/docs/LLMProvidersApi.md | 6 +- gooddata-api-client/docs/LayoutApi.md | 48 + .../docs/LdmObjectPermissions.md | 14 + ...t.md => LdmObjectPermissionsAssignment.md} | 5 +- .../docs/LdmObjectPermissionsForAssignee.md | 14 + ...> LdmObjectPermissionsForAssigneeAllOf.md} | 2 +- .../LdmObjectPermissionsForAssigneeRule.md | 14 + .../docs/ListDatabaseDataSourcesResponse.md | 13 - .../docs/ListDatabaseInstancesResponse.md | 14 - ...tLlmProviderModelsRequestProviderConfig.md | 2 +- .../docs/ListObjectStoragesResponse.md | 13 - .../docs/ListPipeTablesResponse.md | 13 - .../docs/ListServicesResponse.md | 14 - .../docs/LlmEndpointControllerApi.md | 506 --- gooddata-api-client/docs/LlmProviderConfig.md | 2 +- .../docs/LlmProviderControllerApi.md | 6 +- .../ManageAttributePermissionsRequestInner.md | 14 + .../docs/NotificationChannelDestination.md | 2 +- gooddata-api-client/docs/Operation.md | 2 +- .../docs/OrganizationDeclarativeAPIsApi.md | 16 + .../docs/OrganizationEntityAPIsApi.md | 596 ++++ .../docs/ParameterControllerApi.md | 12 +- .../docs/ParameterDefinition.md | 4 +- gooddata-api-client/docs/ParametersApi.md | 12 +- gooddata-api-client/docs/PendingOperation.md | 2 +- gooddata-api-client/docs/PermissionsApi.md | 417 +++ .../docs/RefreshPartitionRequest.md | 13 + .../docs/ResolvedLlmEndpointAllOf.md | 13 - .../docs/RichTextWidgetDescriptor.md | 1 + gooddata-api-client/docs/SmartFunctionsApi.md | 99 +- .../docs/SucceededOperation.md | 2 +- gooddata-api-client/docs/TabularExportApi.md | 16 + .../docs/ToolCallEventResult.md | 15 - gooddata-api-client/docs/UserControllerApi.md | 3 + .../docs/UserManagementUsersItem.md | 1 + .../docs/UsersEntityAPIsApi.md | 3 + .../docs/ValidateLLMEndpointByIdRequest.md | 16 - .../docs/ValidateLLMEndpointRequest.md | 16 - .../docs/ValidateLLMEndpointResponse.md | 13 - .../docs/WorkspacesDeclarativeAPIsApi.md | 16 + .../gooddata_api_client/api/actions_api.py | 1488 +++++++- .../gooddata_api_client/api/ai_lake_api.py | 353 +- .../api/ai_lake_databases_api.py | 116 +- .../api/ai_lake_pipe_tables_api.py | 205 +- .../api/ai_lake_services_operations_api.py | 32 +- .../gooddata_api_client/api/entities_api.py | 2074 +++++++---- ... => ip_allowlist_policy_controller_api.py} | 348 +- .../api/llm_endpoints_api.py | 268 +- .../api/organization_entity_apis_api.py | 1317 ++++++- .../api/permissions_api.py | 1185 ++++++- .../api/smart_functions_api.py | 70 +- .../gooddata_api_client/apis/__init__.py | 2 +- .../model/anthropic_api_key_auth.py | 332 ++ ...of.py => anthropic_api_key_auth_all_of.py} | 34 +- ...endpoint.py => anthropic_provider_auth.py} | 37 +- ..._patch.py => anthropic_provider_config.py} | 52 +- .../model/api_entitlement.py | 1 + .../gooddata_api_client/model/chat_result.py | 6 - ...dashboard_compound_comparison_condition.py | 100 +- ...mpound_comparison_condition_comparison.py} | 30 +- .../dashboard_compound_condition_item.py | 32 +- .../dashboard_compound_range_condition.py | 100 +- ...shboard_compound_range_condition_range.py} | 48 +- .../model/dashboard_filter.py | 12 +- .../model/dashboard_measure_value_filter.py | 20 +- ..._filter_dashboard_measure_value_filter.py} | 10 +- .../model/dashboard_parameter_value.py | 282 ++ .../model/dashboard_tabular_export_request.py | 10 + .../dashboard_tabular_export_request_v2.py | 10 + .../model/declarative_agent.py | 7 +- .../model/declarative_data_source.py | 1 + .../model/declarative_ip_allowlist_policy.py | 4 +- .../model/declarative_setting.py | 2 +- .../model/entitlements_request.py | 1 + .../model/execution_result_limit_break.py | 280 ++ .../model/execution_result_metadata.py | 6 + .../model/failed_operation.py | 5 +- .../get_ai_lake_operation200_response.py | 5 +- ...ment.py => ip_allowlist_policy_targets.py} | 26 +- ...i_data_source_identifier_out_attributes.py | 1 + .../json_api_data_source_in_attributes.py | 1 + .../json_api_data_source_out_attributes.py | 1 + .../json_api_data_source_patch_attributes.py | 1 + .../json_api_document_database_instance.py | 284 ++ ...ent.py => json_api_document_pipe_table.py} | 32 +- ....py => json_api_ip_allowlist_policy_in.py} | 32 +- ..._api_ip_allowlist_policy_in_attributes.py} | 28 +- ...on_api_ip_allowlist_policy_in_document.py} | 16 +- ...pi_ip_allowlist_policy_in_relationships.py | 276 ++ ...py => json_api_ip_allowlist_policy_out.py} | 32 +- ...on_api_ip_allowlist_policy_out_document.py | 290 ++ ...on_api_ip_allowlist_policy_out_includes.py | 353 ++ ... json_api_ip_allowlist_policy_out_list.py} | 24 +- ...api_ip_allowlist_policy_out_with_links.py} | 38 +- .../model/json_api_item_data_source_info.py | 288 ++ ....py => json_api_item_database_instance.py} | 38 +- .../json_api_item_object_storage_info.py | 288 ++ .../model/json_api_item_pipe_table.py | 288 ++ ...py => json_api_item_pipe_table_summary.py} | 34 +- ...ponse.py => json_api_item_service_info.py} | 38 +- ...json_api_list_document_data_source_info.py | 290 ++ ...son_api_list_document_database_instance.py | 290 ++ ...n_api_list_document_object_storage_info.py | 290 ++ ...on_api_list_document_pipe_table_summary.py | 290 ++ .../json_api_list_document_service_info.py | 290 ++ ...point_all_of.py => json_api_list_links.py} | 28 +- ...llm_endpoints.py => json_api_list_meta.py} | 26 +- .../json_api_llm_endpoint_in_attributes.py | 311 -- .../json_api_llm_endpoint_out_attributes.py | 302 -- ..._provider_in_attributes_provider_config.py | 35 +- ..._api_organization_setting_in_attributes.py | 2 +- .../model/json_api_page_info.py | 284 ++ ..._api_parameter_in_attributes_definition.py | 19 +- .../model/json_api_user_in_attributes.py | 4 + .../model/ldm_object_permissions.py | 292 ++ .../ldm_object_permissions_assignment.py | 275 ++ ...=> ldm_object_permissions_for_assignee.py} | 135 +- ...object_permissions_for_assignee_all_of.py} | 6 +- ...dm_object_permissions_for_assignee_rule.py | 334 ++ ...provider_models_request_provider_config.py | 11 +- .../model/llm_provider_config.py | 11 +- ...age_attribute_permissions_request_inner.py | 340 ++ .../model/notification_channel_destination.py | 11 +- .../gooddata_api_client/model/operation.py | 5 +- .../model/parameter_definition.py | 19 +- .../model/pending_operation.py | 5 +- .../model/permissions_for_assignee.py | 6 +- .../model/platform_usage.py | 1 + .../model/platform_usage_request.py | 1 + ...sponse.py => refresh_partition_request.py} | 28 +- .../model/resolved_llms_data.py | 3 - .../model/resolved_setting.py | 2 +- .../model/rich_text_widget_descriptor.py | 4 + .../model/succeeded_operation.py | 5 +- .../model/test_definition_request.py | 1 + .../model/tool_call_event_result.py | 282 -- .../model/user_management_users_item.py | 10 +- .../validate_llm_endpoint_by_id_request.py | 280 -- .../model/validate_llm_endpoint_request.py | 288 -- .../gooddata_api_client/models/__init__.py | 69 +- schemas/gooddata-afm-client.json | 1058 ++++-- schemas/gooddata-api-client.json | 3138 +++++++++++------ schemas/gooddata-automation-client.json | 97 +- schemas/gooddata-export-client.json | 89 +- schemas/gooddata-metadata-client.json | 2066 +++++++---- schemas/gooddata-scan-client.json | 3 +- 212 files changed, 21020 insertions(+), 7767 deletions(-) rename gooddata-api-client/docs/{DashboardCompoundRangeConditionAllOf.md => AnthropicApiKeyAuth.md} (74%) create mode 100644 gooddata-api-client/docs/AnthropicApiKeyAuthAllOf.md create mode 100644 gooddata-api-client/docs/AnthropicProviderAuth.md create mode 100644 gooddata-api-client/docs/AnthropicProviderConfig.md create mode 100644 gooddata-api-client/docs/DashboardCompoundComparisonConditionComparison.md rename gooddata-api-client/docs/{JsonApiLlmEndpointOutDocument.md => DashboardCompoundRangeConditionRange.md} (71%) rename gooddata-api-client/docs/{DashboardMeasureValueFilterMeasureValueFilter.md => DashboardMeasureValueFilterDashboardMeasureValueFilter.md} (83%) create mode 100644 gooddata-api-client/docs/DashboardParameterValue.md create mode 100644 gooddata-api-client/docs/ExecutionResultLimitBreak.md create mode 100644 gooddata-api-client/docs/IpAllowlistPolicyControllerApi.md rename gooddata-api-client/docs/{DashboardCompoundComparisonConditionAllOf.md => IpAllowlistPolicyTargets.md} (75%) create mode 100644 gooddata-api-client/docs/JsonApiDocumentDatabaseInstance.md create mode 100644 gooddata-api-client/docs/JsonApiDocumentPipeTable.md rename gooddata-api-client/docs/{JsonApiLlmEndpointOut.md => JsonApiIpAllowlistPolicyIn.md} (56%) create mode 100644 gooddata-api-client/docs/JsonApiIpAllowlistPolicyInAttributes.md rename gooddata-api-client/docs/{JsonApiLlmEndpointInDocument.md => JsonApiIpAllowlistPolicyInDocument.md} (79%) rename gooddata-api-client/docs/{JsonApiLlmEndpointIn.md => JsonApiIpAllowlistPolicyInRelationships.md} (60%) rename gooddata-api-client/docs/{JsonApiLlmEndpointPatch.md => JsonApiIpAllowlistPolicyOut.md} (56%) rename gooddata-api-client/docs/{JsonApiLlmEndpointOutWithLinks.md => JsonApiIpAllowlistPolicyOutDocument.md} (66%) create mode 100644 gooddata-api-client/docs/JsonApiIpAllowlistPolicyOutIncludes.md rename gooddata-api-client/docs/{JsonApiLlmEndpointOutList.md => JsonApiIpAllowlistPolicyOutList.md} (70%) create mode 100644 gooddata-api-client/docs/JsonApiIpAllowlistPolicyOutWithLinks.md create mode 100644 gooddata-api-client/docs/JsonApiItemDataSourceInfo.md create mode 100644 gooddata-api-client/docs/JsonApiItemDatabaseInstance.md create mode 100644 gooddata-api-client/docs/JsonApiItemObjectStorageInfo.md create mode 100644 gooddata-api-client/docs/JsonApiItemPipeTable.md create mode 100644 gooddata-api-client/docs/JsonApiItemPipeTableSummary.md create mode 100644 gooddata-api-client/docs/JsonApiItemServiceInfo.md create mode 100644 gooddata-api-client/docs/JsonApiListDocumentDataSourceInfo.md create mode 100644 gooddata-api-client/docs/JsonApiListDocumentDatabaseInstance.md create mode 100644 gooddata-api-client/docs/JsonApiListDocumentObjectStorageInfo.md create mode 100644 gooddata-api-client/docs/JsonApiListDocumentPipeTableSummary.md create mode 100644 gooddata-api-client/docs/JsonApiListDocumentServiceInfo.md rename gooddata-api-client/docs/{ResolvedLlmEndpoint.md => JsonApiListLinks.md} (81%) rename gooddata-api-client/docs/{ResolvedLlmEndpoints.md => JsonApiListMeta.md} (79%) delete mode 100644 gooddata-api-client/docs/JsonApiLlmEndpointInAttributes.md delete mode 100644 gooddata-api-client/docs/JsonApiLlmEndpointOutAttributes.md delete mode 100644 gooddata-api-client/docs/JsonApiLlmEndpointPatchAttributes.md create mode 100644 gooddata-api-client/docs/JsonApiPageInfo.md create mode 100644 gooddata-api-client/docs/LdmObjectPermissions.md rename gooddata-api-client/docs/{JsonApiLlmEndpointPatchDocument.md => LdmObjectPermissionsAssignment.md} (74%) create mode 100644 gooddata-api-client/docs/LdmObjectPermissionsForAssignee.md rename gooddata-api-client/docs/{PermissionsForAssigneeAllOf.md => LdmObjectPermissionsForAssigneeAllOf.md} (93%) create mode 100644 gooddata-api-client/docs/LdmObjectPermissionsForAssigneeRule.md delete mode 100644 gooddata-api-client/docs/ListDatabaseDataSourcesResponse.md delete mode 100644 gooddata-api-client/docs/ListDatabaseInstancesResponse.md delete mode 100644 gooddata-api-client/docs/ListObjectStoragesResponse.md delete mode 100644 gooddata-api-client/docs/ListPipeTablesResponse.md delete mode 100644 gooddata-api-client/docs/ListServicesResponse.md delete mode 100644 gooddata-api-client/docs/LlmEndpointControllerApi.md create mode 100644 gooddata-api-client/docs/ManageAttributePermissionsRequestInner.md create mode 100644 gooddata-api-client/docs/RefreshPartitionRequest.md delete mode 100644 gooddata-api-client/docs/ResolvedLlmEndpointAllOf.md delete mode 100644 gooddata-api-client/docs/ToolCallEventResult.md delete mode 100644 gooddata-api-client/docs/ValidateLLMEndpointByIdRequest.md delete mode 100644 gooddata-api-client/docs/ValidateLLMEndpointRequest.md delete mode 100644 gooddata-api-client/docs/ValidateLLMEndpointResponse.md rename gooddata-api-client/gooddata_api_client/api/{llm_endpoint_controller_api.py => ip_allowlist_policy_controller_api.py} (70%) create mode 100644 gooddata-api-client/gooddata_api_client/model/anthropic_api_key_auth.py rename gooddata-api-client/gooddata_api_client/model/{dashboard_compound_range_condition_all_of.py => anthropic_api_key_auth_all_of.py} (92%) rename gooddata-api-client/gooddata_api_client/model/{resolved_llm_endpoint.py => anthropic_provider_auth.py} (92%) rename gooddata-api-client/gooddata_api_client/model/{json_api_llm_endpoint_patch.py => anthropic_provider_config.py} (86%) rename gooddata-api-client/gooddata_api_client/model/{dashboard_compound_comparison_condition_all_of.py => dashboard_compound_comparison_condition_comparison.py} (92%) rename gooddata-api-client/gooddata_api_client/model/{validate_llm_endpoint_response.py => dashboard_compound_range_condition_range.py} (89%) rename gooddata-api-client/gooddata_api_client/model/{dashboard_measure_value_filter_measure_value_filter.py => dashboard_measure_value_filter_dashboard_measure_value_filter.py} (95%) create mode 100644 gooddata-api-client/gooddata_api_client/model/dashboard_parameter_value.py create mode 100644 gooddata-api-client/gooddata_api_client/model/execution_result_limit_break.py rename gooddata-api-client/gooddata_api_client/model/{json_api_llm_endpoint_patch_document.py => ip_allowlist_policy_targets.py} (93%) create mode 100644 gooddata-api-client/gooddata_api_client/model/json_api_document_database_instance.py rename gooddata-api-client/gooddata_api_client/model/{json_api_llm_endpoint_out_document.py => json_api_document_pipe_table.py} (92%) rename gooddata-api-client/gooddata_api_client/model/{json_api_llm_endpoint_in.py => json_api_ip_allowlist_policy_in.py} (88%) rename gooddata-api-client/gooddata_api_client/model/{list_database_data_sources_response.py => json_api_ip_allowlist_policy_in_attributes.py} (92%) rename gooddata-api-client/gooddata_api_client/model/{json_api_llm_endpoint_in_document.py => json_api_ip_allowlist_policy_in_document.py} (95%) create mode 100644 gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_in_relationships.py rename gooddata-api-client/gooddata_api_client/model/{json_api_llm_endpoint_out.py => json_api_ip_allowlist_policy_out.py} (88%) create mode 100644 gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_out_document.py create mode 100644 gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_out_includes.py rename gooddata-api-client/gooddata_api_client/model/{json_api_llm_endpoint_out_list.py => json_api_ip_allowlist_policy_out_list.py} (91%) rename gooddata-api-client/gooddata_api_client/model/{json_api_llm_endpoint_out_with_links.py => json_api_ip_allowlist_policy_out_with_links.py} (88%) create mode 100644 gooddata-api-client/gooddata_api_client/model/json_api_item_data_source_info.py rename gooddata-api-client/gooddata_api_client/model/{list_database_instances_response.py => json_api_item_database_instance.py} (91%) create mode 100644 gooddata-api-client/gooddata_api_client/model/json_api_item_object_storage_info.py create mode 100644 gooddata-api-client/gooddata_api_client/model/json_api_item_pipe_table.py rename gooddata-api-client/gooddata_api_client/model/{list_pipe_tables_response.py => json_api_item_pipe_table_summary.py} (91%) rename gooddata-api-client/gooddata_api_client/model/{list_services_response.py => json_api_item_service_info.py} (91%) create mode 100644 gooddata-api-client/gooddata_api_client/model/json_api_list_document_data_source_info.py create mode 100644 gooddata-api-client/gooddata_api_client/model/json_api_list_document_database_instance.py create mode 100644 gooddata-api-client/gooddata_api_client/model/json_api_list_document_object_storage_info.py create mode 100644 gooddata-api-client/gooddata_api_client/model/json_api_list_document_pipe_table_summary.py create mode 100644 gooddata-api-client/gooddata_api_client/model/json_api_list_document_service_info.py rename gooddata-api-client/gooddata_api_client/model/{resolved_llm_endpoint_all_of.py => json_api_list_links.py} (94%) rename gooddata-api-client/gooddata_api_client/model/{resolved_llm_endpoints.py => json_api_list_meta.py} (94%) delete mode 100644 gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_in_attributes.py delete mode 100644 gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_attributes.py create mode 100644 gooddata-api-client/gooddata_api_client/model/json_api_page_info.py create mode 100644 gooddata-api-client/gooddata_api_client/model/ldm_object_permissions.py create mode 100644 gooddata-api-client/gooddata_api_client/model/ldm_object_permissions_assignment.py rename gooddata-api-client/gooddata_api_client/model/{json_api_llm_endpoint_patch_attributes.py => ldm_object_permissions_for_assignee.py} (74%) rename gooddata-api-client/gooddata_api_client/model/{permissions_for_assignee_all_of.py => ldm_object_permissions_for_assignee_all_of.py} (98%) create mode 100644 gooddata-api-client/gooddata_api_client/model/ldm_object_permissions_for_assignee_rule.py create mode 100644 gooddata-api-client/gooddata_api_client/model/manage_attribute_permissions_request_inner.py rename gooddata-api-client/gooddata_api_client/model/{list_object_storages_response.py => refresh_partition_request.py} (92%) delete mode 100644 gooddata-api-client/gooddata_api_client/model/tool_call_event_result.py delete mode 100644 gooddata-api-client/gooddata_api_client/model/validate_llm_endpoint_by_id_request.py delete mode 100644 gooddata-api-client/gooddata_api_client/model/validate_llm_endpoint_request.py diff --git a/gooddata-api-client/.openapi-generator/FILES b/gooddata-api-client/.openapi-generator/FILES index d17296698..1c89c5181 100644 --- a/gooddata-api-client/.openapi-generator/FILES +++ b/gooddata-api-client/.openapi-generator/FILES @@ -68,6 +68,10 @@ docs/AnomalyDetectionConfig.md docs/AnomalyDetectionRequest.md docs/AnomalyDetectionResult.md docs/AnomalyDetectionWrapper.md +docs/AnthropicApiKeyAuth.md +docs/AnthropicApiKeyAuthAllOf.md +docs/AnthropicProviderAuth.md +docs/AnthropicProviderConfig.md docs/ApiEntitlement.md docs/ApiTokenControllerApi.md docs/AppearanceApi.md @@ -194,10 +198,10 @@ docs/DashboardArbitraryAttributeFilterArbitraryAttributeFilter.md docs/DashboardAttributeFilter.md docs/DashboardAttributeFilterAttributeFilter.md docs/DashboardCompoundComparisonCondition.md -docs/DashboardCompoundComparisonConditionAllOf.md +docs/DashboardCompoundComparisonConditionComparison.md docs/DashboardCompoundConditionItem.md docs/DashboardCompoundRangeCondition.md -docs/DashboardCompoundRangeConditionAllOf.md +docs/DashboardCompoundRangeConditionRange.md docs/DashboardContext.md docs/DashboardDateFilter.md docs/DashboardDateFilterDateFilter.md @@ -207,7 +211,8 @@ docs/DashboardFilter.md docs/DashboardMatchAttributeFilter.md docs/DashboardMatchAttributeFilterMatchAttributeFilter.md docs/DashboardMeasureValueFilter.md -docs/DashboardMeasureValueFilterMeasureValueFilter.md +docs/DashboardMeasureValueFilterDashboardMeasureValueFilter.md +docs/DashboardParameterValue.md docs/DashboardPermissions.md docs/DashboardPermissionsAssignment.md docs/DashboardPluginControllerApi.md @@ -381,6 +386,7 @@ docs/ExecutionResult.md docs/ExecutionResultDataSourceMessage.md docs/ExecutionResultGrandTotal.md docs/ExecutionResultHeader.md +docs/ExecutionResultLimitBreak.md docs/ExecutionResultMetadata.md docs/ExecutionResultPaging.md docs/ExecutionSettings.md @@ -463,6 +469,8 @@ docs/InlineMeasureDefinitionInline.md docs/InsightWidgetDescriptor.md docs/IntroSlideTemplate.md docs/InvalidateCacheApi.md +docs/IpAllowlistPolicyControllerApi.md +docs/IpAllowlistPolicyTargets.md docs/JWKSApi.md docs/JsonApiAgentIn.md docs/JsonApiAgentInAttributes.md @@ -708,6 +716,8 @@ docs/JsonApiDatasetPatch.md docs/JsonApiDatasetPatchDocument.md docs/JsonApiDatasetToManyLinkage.md docs/JsonApiDatasetToOneLinkage.md +docs/JsonApiDocumentDatabaseInstance.md +docs/JsonApiDocumentPipeTable.md docs/JsonApiEntitlementOut.md docs/JsonApiEntitlementOutAttributes.md docs/JsonApiEntitlementOutDocument.md @@ -798,6 +808,21 @@ docs/JsonApiIdentityProviderOutWithLinks.md docs/JsonApiIdentityProviderPatch.md docs/JsonApiIdentityProviderPatchDocument.md docs/JsonApiIdentityProviderToOneLinkage.md +docs/JsonApiIpAllowlistPolicyIn.md +docs/JsonApiIpAllowlistPolicyInAttributes.md +docs/JsonApiIpAllowlistPolicyInDocument.md +docs/JsonApiIpAllowlistPolicyInRelationships.md +docs/JsonApiIpAllowlistPolicyOut.md +docs/JsonApiIpAllowlistPolicyOutDocument.md +docs/JsonApiIpAllowlistPolicyOutIncludes.md +docs/JsonApiIpAllowlistPolicyOutList.md +docs/JsonApiIpAllowlistPolicyOutWithLinks.md +docs/JsonApiItemDataSourceInfo.md +docs/JsonApiItemDatabaseInstance.md +docs/JsonApiItemObjectStorageInfo.md +docs/JsonApiItemPipeTable.md +docs/JsonApiItemPipeTableSummary.md +docs/JsonApiItemServiceInfo.md docs/JsonApiJwkIn.md docs/JsonApiJwkInAttributes.md docs/JsonApiJwkInAttributesContent.md @@ -838,17 +863,13 @@ docs/JsonApiLabelPatch.md docs/JsonApiLabelPatchDocument.md docs/JsonApiLabelToManyLinkage.md docs/JsonApiLabelToOneLinkage.md -docs/JsonApiLlmEndpointIn.md -docs/JsonApiLlmEndpointInAttributes.md -docs/JsonApiLlmEndpointInDocument.md -docs/JsonApiLlmEndpointOut.md -docs/JsonApiLlmEndpointOutAttributes.md -docs/JsonApiLlmEndpointOutDocument.md -docs/JsonApiLlmEndpointOutList.md -docs/JsonApiLlmEndpointOutWithLinks.md -docs/JsonApiLlmEndpointPatch.md -docs/JsonApiLlmEndpointPatchAttributes.md -docs/JsonApiLlmEndpointPatchDocument.md +docs/JsonApiListDocumentDataSourceInfo.md +docs/JsonApiListDocumentDatabaseInstance.md +docs/JsonApiListDocumentObjectStorageInfo.md +docs/JsonApiListDocumentPipeTableSummary.md +docs/JsonApiListDocumentServiceInfo.md +docs/JsonApiListLinks.md +docs/JsonApiListMeta.md docs/JsonApiLlmProviderIn.md docs/JsonApiLlmProviderInAttributes.md docs/JsonApiLlmProviderInAttributesModelsInner.md @@ -936,6 +957,7 @@ docs/JsonApiOrganizationSettingOutList.md docs/JsonApiOrganizationSettingOutWithLinks.md docs/JsonApiOrganizationSettingPatch.md docs/JsonApiOrganizationSettingPatchDocument.md +docs/JsonApiPageInfo.md docs/JsonApiParameterIn.md docs/JsonApiParameterInAttributes.md docs/JsonApiParameterInAttributesDefinition.md @@ -1105,26 +1127,26 @@ docs/LabelControllerApi.md docs/LabelIdentifier.md docs/LabelsApi.md docs/LayoutApi.md -docs/ListDatabaseDataSourcesResponse.md -docs/ListDatabaseInstancesResponse.md +docs/LdmObjectPermissions.md +docs/LdmObjectPermissionsAssignment.md +docs/LdmObjectPermissionsForAssignee.md +docs/LdmObjectPermissionsForAssigneeAllOf.md +docs/LdmObjectPermissionsForAssigneeRule.md docs/ListLinks.md docs/ListLinksAllOf.md docs/ListLlmProviderModelsRequest.md docs/ListLlmProviderModelsRequestProviderConfig.md docs/ListLlmProviderModelsResponse.md -docs/ListObjectStoragesResponse.md -docs/ListPipeTablesResponse.md -docs/ListServicesResponse.md docs/LiveFeatureFlagConfiguration.md docs/LiveFeatures.md docs/LiveFeaturesAllOf.md -docs/LlmEndpointControllerApi.md docs/LlmModel.md docs/LlmProviderAuth.md docs/LlmProviderConfig.md docs/LlmProviderControllerApi.md docs/LocalIdentifier.md docs/LocaleRequest.md +docs/ManageAttributePermissionsRequestInner.md docs/ManageDashboardPermissionsRequestInner.md docs/ManagePermissionsApi.md docs/MatchAttributeFilter.md @@ -1211,7 +1233,6 @@ docs/PendingOperation.md docs/PermissionsApi.md docs/PermissionsAssignment.md docs/PermissionsForAssignee.md -docs/PermissionsForAssigneeAllOf.md docs/PermissionsForAssigneeRule.md docs/PipeTable.md docs/PipeTableDistributionConfig.md @@ -1260,6 +1281,7 @@ docs/Reasoning.md docs/ReasoningStep.md docs/ReferenceIdentifier.md docs/ReferenceSourceColumn.md +docs/RefreshPartitionRequest.md docs/Relative.md docs/RelativeBoundedDateFilter.md docs/RelativeDateFilter.md @@ -1269,9 +1291,6 @@ docs/RemoveDatabaseDataSourceResponse.md docs/ReportingSettingsApi.md docs/ResolveSettingsRequest.md docs/ResolvedLlm.md -docs/ResolvedLlmEndpoint.md -docs/ResolvedLlmEndpointAllOf.md -docs/ResolvedLlmEndpoints.md docs/ResolvedLlmProvider.md docs/ResolvedLlmProviderAllOf.md docs/ResolvedLlms.md @@ -1357,7 +1376,6 @@ docs/TestResponse.md docs/ThemeControllerApi.md docs/Thought.md docs/TimeSlicePartitionConfig.md -docs/ToolCallEventResult.md docs/Total.md docs/TotalDimension.md docs/TotalExecutionResultHeader.md @@ -1404,9 +1422,6 @@ docs/UserSettingsApi.md docs/UsersDeclarativeAPIsApi.md docs/UsersEntityAPIsApi.md docs/ValidateByItem.md -docs/ValidateLLMEndpointByIdRequest.md -docs/ValidateLLMEndpointRequest.md -docs/ValidateLLMEndpointResponse.md docs/Value.md docs/VisibleFilter.md docs/VisualExportApi.md @@ -1524,6 +1539,7 @@ gooddata_api_client/api/identity_provider_controller_api.py gooddata_api_client/api/identity_providers_api.py gooddata_api_client/api/image_export_api.py gooddata_api_client/api/invalidate_cache_api.py +gooddata_api_client/api/ip_allowlist_policy_controller_api.py gooddata_api_client/api/jwk_controller_api.py gooddata_api_client/api/jwks_api.py gooddata_api_client/api/knowledge_recommendation_controller_api.py @@ -1531,7 +1547,6 @@ gooddata_api_client/api/label_controller_api.py gooddata_api_client/api/labels_api.py gooddata_api_client/api/layout_api.py gooddata_api_client/api/ldm_declarative_apis_api.py -gooddata_api_client/api/llm_endpoint_controller_api.py gooddata_api_client/api/llm_endpoints_api.py gooddata_api_client/api/llm_provider_controller_api.py gooddata_api_client/api/llm_providers_api.py @@ -1648,6 +1663,10 @@ gooddata_api_client/model/anomaly_detection_config.py gooddata_api_client/model/anomaly_detection_request.py gooddata_api_client/model/anomaly_detection_result.py gooddata_api_client/model/anomaly_detection_wrapper.py +gooddata_api_client/model/anthropic_api_key_auth.py +gooddata_api_client/model/anthropic_api_key_auth_all_of.py +gooddata_api_client/model/anthropic_provider_auth.py +gooddata_api_client/model/anthropic_provider_config.py gooddata_api_client/model/api_entitlement.py gooddata_api_client/model/arithmetic_measure.py gooddata_api_client/model/arithmetic_measure_definition.py @@ -1751,10 +1770,10 @@ gooddata_api_client/model/dashboard_arbitrary_attribute_filter_arbitrary_attribu gooddata_api_client/model/dashboard_attribute_filter.py gooddata_api_client/model/dashboard_attribute_filter_attribute_filter.py gooddata_api_client/model/dashboard_compound_comparison_condition.py -gooddata_api_client/model/dashboard_compound_comparison_condition_all_of.py +gooddata_api_client/model/dashboard_compound_comparison_condition_comparison.py gooddata_api_client/model/dashboard_compound_condition_item.py gooddata_api_client/model/dashboard_compound_range_condition.py -gooddata_api_client/model/dashboard_compound_range_condition_all_of.py +gooddata_api_client/model/dashboard_compound_range_condition_range.py gooddata_api_client/model/dashboard_context.py gooddata_api_client/model/dashboard_date_filter.py gooddata_api_client/model/dashboard_date_filter_date_filter.py @@ -1764,7 +1783,8 @@ gooddata_api_client/model/dashboard_filter.py gooddata_api_client/model/dashboard_match_attribute_filter.py gooddata_api_client/model/dashboard_match_attribute_filter_match_attribute_filter.py gooddata_api_client/model/dashboard_measure_value_filter.py -gooddata_api_client/model/dashboard_measure_value_filter_measure_value_filter.py +gooddata_api_client/model/dashboard_measure_value_filter_dashboard_measure_value_filter.py +gooddata_api_client/model/dashboard_parameter_value.py gooddata_api_client/model/dashboard_permissions.py gooddata_api_client/model/dashboard_permissions_assignment.py gooddata_api_client/model/dashboard_slides_template.py @@ -1918,6 +1938,7 @@ gooddata_api_client/model/execution_result.py gooddata_api_client/model/execution_result_data_source_message.py gooddata_api_client/model/execution_result_grand_total.py gooddata_api_client/model/execution_result_header.py +gooddata_api_client/model/execution_result_limit_break.py gooddata_api_client/model/execution_result_metadata.py gooddata_api_client/model/execution_result_paging.py gooddata_api_client/model/execution_settings.py @@ -1983,6 +2004,7 @@ gooddata_api_client/model/inline_measure_definition.py gooddata_api_client/model/inline_measure_definition_inline.py gooddata_api_client/model/insight_widget_descriptor.py gooddata_api_client/model/intro_slide_template.py +gooddata_api_client/model/ip_allowlist_policy_targets.py gooddata_api_client/model/json_api_agent_in.py gooddata_api_client/model/json_api_agent_in_attributes.py gooddata_api_client/model/json_api_agent_in_document.py @@ -2227,6 +2249,8 @@ gooddata_api_client/model/json_api_dataset_patch.py gooddata_api_client/model/json_api_dataset_patch_document.py gooddata_api_client/model/json_api_dataset_to_many_linkage.py gooddata_api_client/model/json_api_dataset_to_one_linkage.py +gooddata_api_client/model/json_api_document_database_instance.py +gooddata_api_client/model/json_api_document_pipe_table.py gooddata_api_client/model/json_api_entitlement_out.py gooddata_api_client/model/json_api_entitlement_out_attributes.py gooddata_api_client/model/json_api_entitlement_out_document.py @@ -2317,6 +2341,21 @@ 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_document.py gooddata_api_client/model/json_api_identity_provider_to_one_linkage.py +gooddata_api_client/model/json_api_ip_allowlist_policy_in.py +gooddata_api_client/model/json_api_ip_allowlist_policy_in_attributes.py +gooddata_api_client/model/json_api_ip_allowlist_policy_in_document.py +gooddata_api_client/model/json_api_ip_allowlist_policy_in_relationships.py +gooddata_api_client/model/json_api_ip_allowlist_policy_out.py +gooddata_api_client/model/json_api_ip_allowlist_policy_out_document.py +gooddata_api_client/model/json_api_ip_allowlist_policy_out_includes.py +gooddata_api_client/model/json_api_ip_allowlist_policy_out_list.py +gooddata_api_client/model/json_api_ip_allowlist_policy_out_with_links.py +gooddata_api_client/model/json_api_item_data_source_info.py +gooddata_api_client/model/json_api_item_database_instance.py +gooddata_api_client/model/json_api_item_object_storage_info.py +gooddata_api_client/model/json_api_item_pipe_table.py +gooddata_api_client/model/json_api_item_pipe_table_summary.py +gooddata_api_client/model/json_api_item_service_info.py gooddata_api_client/model/json_api_jwk_in.py gooddata_api_client/model/json_api_jwk_in_attributes.py gooddata_api_client/model/json_api_jwk_in_attributes_content.py @@ -2357,17 +2396,13 @@ gooddata_api_client/model/json_api_label_patch.py gooddata_api_client/model/json_api_label_patch_document.py gooddata_api_client/model/json_api_label_to_many_linkage.py gooddata_api_client/model/json_api_label_to_one_linkage.py -gooddata_api_client/model/json_api_llm_endpoint_in.py -gooddata_api_client/model/json_api_llm_endpoint_in_attributes.py -gooddata_api_client/model/json_api_llm_endpoint_in_document.py -gooddata_api_client/model/json_api_llm_endpoint_out.py -gooddata_api_client/model/json_api_llm_endpoint_out_attributes.py -gooddata_api_client/model/json_api_llm_endpoint_out_document.py -gooddata_api_client/model/json_api_llm_endpoint_out_list.py -gooddata_api_client/model/json_api_llm_endpoint_out_with_links.py -gooddata_api_client/model/json_api_llm_endpoint_patch.py -gooddata_api_client/model/json_api_llm_endpoint_patch_attributes.py -gooddata_api_client/model/json_api_llm_endpoint_patch_document.py +gooddata_api_client/model/json_api_list_document_data_source_info.py +gooddata_api_client/model/json_api_list_document_database_instance.py +gooddata_api_client/model/json_api_list_document_object_storage_info.py +gooddata_api_client/model/json_api_list_document_pipe_table_summary.py +gooddata_api_client/model/json_api_list_document_service_info.py +gooddata_api_client/model/json_api_list_links.py +gooddata_api_client/model/json_api_list_meta.py gooddata_api_client/model/json_api_llm_provider_in.py gooddata_api_client/model/json_api_llm_provider_in_attributes.py gooddata_api_client/model/json_api_llm_provider_in_attributes_models_inner.py @@ -2455,6 +2490,7 @@ gooddata_api_client/model/json_api_organization_setting_out_list.py gooddata_api_client/model/json_api_organization_setting_out_with_links.py gooddata_api_client/model/json_api_organization_setting_patch.py gooddata_api_client/model/json_api_organization_setting_patch_document.py +gooddata_api_client/model/json_api_page_info.py gooddata_api_client/model/json_api_parameter_in.py gooddata_api_client/model/json_api_parameter_in_attributes.py gooddata_api_client/model/json_api_parameter_in_attributes_definition.py @@ -2616,16 +2652,16 @@ gooddata_api_client/model/key_drivers_request.py gooddata_api_client/model/key_drivers_response.py gooddata_api_client/model/key_drivers_result.py gooddata_api_client/model/label_identifier.py -gooddata_api_client/model/list_database_data_sources_response.py -gooddata_api_client/model/list_database_instances_response.py +gooddata_api_client/model/ldm_object_permissions.py +gooddata_api_client/model/ldm_object_permissions_assignment.py +gooddata_api_client/model/ldm_object_permissions_for_assignee.py +gooddata_api_client/model/ldm_object_permissions_for_assignee_all_of.py +gooddata_api_client/model/ldm_object_permissions_for_assignee_rule.py gooddata_api_client/model/list_links.py gooddata_api_client/model/list_links_all_of.py gooddata_api_client/model/list_llm_provider_models_request.py gooddata_api_client/model/list_llm_provider_models_request_provider_config.py gooddata_api_client/model/list_llm_provider_models_response.py -gooddata_api_client/model/list_object_storages_response.py -gooddata_api_client/model/list_pipe_tables_response.py -gooddata_api_client/model/list_services_response.py gooddata_api_client/model/live_feature_flag_configuration.py gooddata_api_client/model/live_features.py gooddata_api_client/model/live_features_all_of.py @@ -2634,6 +2670,7 @@ gooddata_api_client/model/llm_provider_auth.py gooddata_api_client/model/llm_provider_config.py gooddata_api_client/model/local_identifier.py gooddata_api_client/model/locale_request.py +gooddata_api_client/model/manage_attribute_permissions_request_inner.py gooddata_api_client/model/manage_dashboard_permissions_request_inner.py gooddata_api_client/model/match_attribute_filter.py gooddata_api_client/model/match_attribute_filter_match_attribute_filter.py @@ -2703,7 +2740,6 @@ gooddata_api_client/model/pdm_sql.py gooddata_api_client/model/pending_operation.py gooddata_api_client/model/permissions_assignment.py gooddata_api_client/model/permissions_for_assignee.py -gooddata_api_client/model/permissions_for_assignee_all_of.py gooddata_api_client/model/permissions_for_assignee_rule.py gooddata_api_client/model/pipe_table.py gooddata_api_client/model/pipe_table_distribution_config.py @@ -2750,6 +2786,7 @@ gooddata_api_client/model/reasoning.py gooddata_api_client/model/reasoning_step.py gooddata_api_client/model/reference_identifier.py gooddata_api_client/model/reference_source_column.py +gooddata_api_client/model/refresh_partition_request.py gooddata_api_client/model/relative.py gooddata_api_client/model/relative_bounded_date_filter.py gooddata_api_client/model/relative_date_filter.py @@ -2758,9 +2795,6 @@ gooddata_api_client/model/relative_wrapper.py gooddata_api_client/model/remove_database_data_source_response.py gooddata_api_client/model/resolve_settings_request.py gooddata_api_client/model/resolved_llm.py -gooddata_api_client/model/resolved_llm_endpoint.py -gooddata_api_client/model/resolved_llm_endpoint_all_of.py -gooddata_api_client/model/resolved_llm_endpoints.py gooddata_api_client/model/resolved_llm_provider.py gooddata_api_client/model/resolved_llm_provider_all_of.py gooddata_api_client/model/resolved_llms.py @@ -2840,7 +2874,6 @@ gooddata_api_client/model/test_request.py gooddata_api_client/model/test_response.py gooddata_api_client/model/thought.py gooddata_api_client/model/time_slice_partition_config.py -gooddata_api_client/model/tool_call_event_result.py gooddata_api_client/model/total.py gooddata_api_client/model/total_dimension.py gooddata_api_client/model/total_execution_result_header.py @@ -2871,9 +2904,6 @@ gooddata_api_client/model/user_management_users_item.py gooddata_api_client/model/user_management_workspace_permission_assignment.py gooddata_api_client/model/user_permission.py gooddata_api_client/model/validate_by_item.py -gooddata_api_client/model/validate_llm_endpoint_by_id_request.py -gooddata_api_client/model/validate_llm_endpoint_request.py -gooddata_api_client/model/validate_llm_endpoint_response.py gooddata_api_client/model/value.py gooddata_api_client/model/visible_filter.py gooddata_api_client/model/visual_export_request.py diff --git a/gooddata-api-client/README.md b/gooddata-api-client/README.md index 8b4a00146..ffcc564b0 100644 --- a/gooddata-api-client/README.md +++ b/gooddata-api-client/README.md @@ -163,10 +163,11 @@ Class | Method | HTTP request | Description *AILakeApi* | [**get_ai_lake_service_status**](docs/AILakeApi.md#get_ai_lake_service_status) | **GET** /api/v1/ailake/services/{serviceId}/status | (BETA) Get AI Lake service status *AILakeApi* | [**list_ai_lake_database_data_sources**](docs/AILakeApi.md#list_ai_lake_database_data_sources) | **GET** /api/v1/ailake/database/instances/{instanceId}/dataSources | (BETA) List data sources of an AILake Database instance *AILakeApi* | [**list_ai_lake_database_instances**](docs/AILakeApi.md#list_ai_lake_database_instances) | **GET** /api/v1/ailake/database/instances | (BETA) List AI Lake Database instances -*AILakeApi* | [**list_ai_lake_object_storages**](docs/AILakeApi.md#list_ai_lake_object_storages) | **GET** /api/v1/ailake/object-storages | (BETA) List registered AI Lake ObjectStorages +*AILakeApi* | [**list_ai_lake_object_storages**](docs/AILakeApi.md#list_ai_lake_object_storages) | **GET** /api/v1/ailake/objectStorages | (BETA) List registered AI Lake ObjectStorages *AILakeApi* | [**list_ai_lake_pipe_tables**](docs/AILakeApi.md#list_ai_lake_pipe_tables) | **GET** /api/v1/ailake/database/instances/{instanceId}/pipeTables | (BETA) List AI Lake pipe tables *AILakeApi* | [**list_ai_lake_services**](docs/AILakeApi.md#list_ai_lake_services) | **GET** /api/v1/ailake/services | (BETA) List AI Lake services *AILakeApi* | [**provision_ai_lake_database_instance**](docs/AILakeApi.md#provision_ai_lake_database_instance) | **POST** /api/v1/ailake/database/instances | (BETA) Create a new AILake Database instance +*AILakeApi* | [**refresh_ai_lake_pipe_table_partition**](docs/AILakeApi.md#refresh_ai_lake_pipe_table_partition) | **POST** /api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName}/refresh | (BETA) Refresh a pipe table partition *AILakeApi* | [**remove_ai_lake_database_data_source**](docs/AILakeApi.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 *AILakeApi* | [**run_ai_lake_service_command**](docs/AILakeApi.md#run_ai_lake_service_command) | **POST** /api/v1/ailake/services/{serviceId}/commands/{commandName}/run | (BETA) Run an AI Lake services command *AILakeApi* | [**update_ai_lake_database_data_source**](docs/AILakeApi.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 @@ -175,7 +176,7 @@ Class | Method | HTTP request | Description *AILakeDatabasesApi* | [**get_ai_lake_database_instance**](docs/AILakeDatabasesApi.md#get_ai_lake_database_instance) | **GET** /api/v1/ailake/database/instances/{instanceId} | (BETA) Get the specified AILake Database instance *AILakeDatabasesApi* | [**list_ai_lake_database_data_sources**](docs/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 *AILakeDatabasesApi* | [**list_ai_lake_database_instances**](docs/AILakeDatabasesApi.md#list_ai_lake_database_instances) | **GET** /api/v1/ailake/database/instances | (BETA) List AI Lake Database instances -*AILakeDatabasesApi* | [**list_ai_lake_object_storages**](docs/AILakeDatabasesApi.md#list_ai_lake_object_storages) | **GET** /api/v1/ailake/object-storages | (BETA) List registered AI Lake ObjectStorages +*AILakeDatabasesApi* | [**list_ai_lake_object_storages**](docs/AILakeDatabasesApi.md#list_ai_lake_object_storages) | **GET** /api/v1/ailake/objectStorages | (BETA) List registered AI Lake ObjectStorages *AILakeDatabasesApi* | [**provision_ai_lake_database_instance**](docs/AILakeDatabasesApi.md#provision_ai_lake_database_instance) | **POST** /api/v1/ailake/database/instances | (BETA) Create a new AILake Database instance *AILakeDatabasesApi* | [**remove_ai_lake_database_data_source**](docs/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 *AILakeDatabasesApi* | [**update_ai_lake_database_data_source**](docs/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 @@ -184,6 +185,7 @@ Class | Method | HTTP request | Description *AILakePipeTablesApi* | [**delete_ai_lake_pipe_table**](docs/AILakePipeTablesApi.md#delete_ai_lake_pipe_table) | **DELETE** /api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName} | (BETA) Delete an AI Lake pipe table *AILakePipeTablesApi* | [**get_ai_lake_pipe_table**](docs/AILakePipeTablesApi.md#get_ai_lake_pipe_table) | **GET** /api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName} | (BETA) Get an AI Lake pipe table *AILakePipeTablesApi* | [**list_ai_lake_pipe_tables**](docs/AILakePipeTablesApi.md#list_ai_lake_pipe_tables) | **GET** /api/v1/ailake/database/instances/{instanceId}/pipeTables | (BETA) List AI Lake pipe tables +*AILakePipeTablesApi* | [**refresh_ai_lake_pipe_table_partition**](docs/AILakePipeTablesApi.md#refresh_ai_lake_pipe_table_partition) | **POST** /api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName}/refresh | (BETA) Refresh a pipe table partition *AILakeServicesOperationsApi* | [**get_ai_lake_operation**](docs/AILakeServicesOperationsApi.md#get_ai_lake_operation) | **GET** /api/v1/ailake/operations/{operationId} | (BETA) Get Long Running Operation details *AILakeServicesOperationsApi* | [**get_ai_lake_service_status**](docs/AILakeServicesOperationsApi.md#get_ai_lake_service_status) | **GET** /api/v1/ailake/services/{serviceId}/status | (BETA) Get AI Lake service status *AILakeServicesOperationsApi* | [**list_ai_lake_services**](docs/AILakeServicesOperationsApi.md#list_ai_lake_services) | **GET** /api/v1/ailake/services | (BETA) List AI Lake services @@ -399,12 +401,12 @@ Class | Method | HTTP request | Description *JWKSApi* | [**update_entity_jwks**](docs/JWKSApi.md#update_entity_jwks) | **PUT** /api/v1/entities/jwks/{id} | Put Jwk *LDMDeclarativeAPIsApi* | [**get_logical_model**](docs/LDMDeclarativeAPIsApi.md#get_logical_model) | **GET** /api/v1/layout/workspaces/{workspaceId}/logicalModel | Get logical model *LDMDeclarativeAPIsApi* | [**set_logical_model**](docs/LDMDeclarativeAPIsApi.md#set_logical_model) | **PUT** /api/v1/layout/workspaces/{workspaceId}/logicalModel | Set logical model -*LLMEndpointsApi* | [**create_entity_llm_endpoints**](docs/LLMEndpointsApi.md#create_entity_llm_endpoints) | **POST** /api/v1/entities/llmEndpoints | Post LLM endpoint entities -*LLMEndpointsApi* | [**delete_entity_llm_endpoints**](docs/LLMEndpointsApi.md#delete_entity_llm_endpoints) | **DELETE** /api/v1/entities/llmEndpoints/{id} | Delete LLM endpoint entity -*LLMEndpointsApi* | [**get_all_entities_llm_endpoints**](docs/LLMEndpointsApi.md#get_all_entities_llm_endpoints) | **GET** /api/v1/entities/llmEndpoints | Get all LLM endpoint entities -*LLMEndpointsApi* | [**get_entity_llm_endpoints**](docs/LLMEndpointsApi.md#get_entity_llm_endpoints) | **GET** /api/v1/entities/llmEndpoints/{id} | Get LLM endpoint entity -*LLMEndpointsApi* | [**patch_entity_llm_endpoints**](docs/LLMEndpointsApi.md#patch_entity_llm_endpoints) | **PATCH** /api/v1/entities/llmEndpoints/{id} | Patch LLM endpoint entity -*LLMEndpointsApi* | [**update_entity_llm_endpoints**](docs/LLMEndpointsApi.md#update_entity_llm_endpoints) | **PUT** /api/v1/entities/llmEndpoints/{id} | PUT LLM endpoint entity +*LLMEndpointsApi* | [**create_entity**](docs/LLMEndpointsApi.md#create_entity) | **POST** /api/v1/entities/llmEndpoints | Post LLM endpoint entities (Removed) +*LLMEndpointsApi* | [**delete_entity**](docs/LLMEndpointsApi.md#delete_entity) | **DELETE** /api/v1/entities/llmEndpoints/{id} | Delete LLM endpoint entity (Removed) +*LLMEndpointsApi* | [**get_all_entities**](docs/LLMEndpointsApi.md#get_all_entities) | **GET** /api/v1/entities/llmEndpoints | Get all LLM endpoint entities (Removed) +*LLMEndpointsApi* | [**get_entity**](docs/LLMEndpointsApi.md#get_entity) | **GET** /api/v1/entities/llmEndpoints/{id} | Get LLM endpoint entity (Removed) +*LLMEndpointsApi* | [**patch_entity**](docs/LLMEndpointsApi.md#patch_entity) | **PATCH** /api/v1/entities/llmEndpoints/{id} | Patch LLM endpoint entity (Removed) +*LLMEndpointsApi* | [**update_entity**](docs/LLMEndpointsApi.md#update_entity) | **PUT** /api/v1/entities/llmEndpoints/{id} | PUT LLM endpoint entity (Removed) *LLMProvidersApi* | [**create_entity_llm_providers**](docs/LLMProvidersApi.md#create_entity_llm_providers) | **POST** /api/v1/entities/llmProviders | Post LLM Provider entities *LLMProvidersApi* | [**delete_entity_llm_providers**](docs/LLMProvidersApi.md#delete_entity_llm_providers) | **DELETE** /api/v1/entities/llmProviders/{id} | Delete LLM Provider entity *LLMProvidersApi* | [**get_all_entities_llm_providers**](docs/LLMProvidersApi.md#get_all_entities_llm_providers) | **GET** /api/v1/entities/llmProviders | Get all LLM Provider entities @@ -453,14 +455,21 @@ Class | Method | HTTP request | Description *OrganizationDeclarativeAPIsApi* | [**set_agents_layout**](docs/OrganizationDeclarativeAPIsApi.md#set_agents_layout) | **PUT** /api/v1/layout/agents | Set all AI agent configurations *OrganizationDeclarativeAPIsApi* | [**set_custom_geo_collections**](docs/OrganizationDeclarativeAPIsApi.md#set_custom_geo_collections) | **PUT** /api/v1/layout/customGeoCollections | Set all custom geo collections *OrganizationDeclarativeAPIsApi* | [**set_organization_layout**](docs/OrganizationDeclarativeAPIsApi.md#set_organization_layout) | **PUT** /api/v1/layout/organization | Set organization layout +*OrganizationEntityAPIsApi* | [**add_targets**](docs/OrganizationEntityAPIsApi.md#add_targets) | **POST** /api/v1/actions/ipAllowlistPolicies/{id}/addTargets | Add targets to IP allowlist policy +*OrganizationEntityAPIsApi* | [**create_entity_ip_allowlist_policies**](docs/OrganizationEntityAPIsApi.md#create_entity_ip_allowlist_policies) | **POST** /api/v1/entities/ipAllowlistPolicies | Post IpAllowlistPolicy entities *OrganizationEntityAPIsApi* | [**create_entity_organization_settings**](docs/OrganizationEntityAPIsApi.md#create_entity_organization_settings) | **POST** /api/v1/entities/organizationSettings | Post Organization Setting entities +*OrganizationEntityAPIsApi* | [**delete_entity_ip_allowlist_policies**](docs/OrganizationEntityAPIsApi.md#delete_entity_ip_allowlist_policies) | **DELETE** /api/v1/entities/ipAllowlistPolicies/{id} | Delete IpAllowlistPolicy entity *OrganizationEntityAPIsApi* | [**delete_entity_organization_settings**](docs/OrganizationEntityAPIsApi.md#delete_entity_organization_settings) | **DELETE** /api/v1/entities/organizationSettings/{id} | Delete Organization Setting entity +*OrganizationEntityAPIsApi* | [**get_all_entities_ip_allowlist_policies**](docs/OrganizationEntityAPIsApi.md#get_all_entities_ip_allowlist_policies) | **GET** /api/v1/entities/ipAllowlistPolicies | Get all IpAllowlistPolicy entities *OrganizationEntityAPIsApi* | [**get_all_entities_organization_settings**](docs/OrganizationEntityAPIsApi.md#get_all_entities_organization_settings) | **GET** /api/v1/entities/organizationSettings | Get Organization Setting entities +*OrganizationEntityAPIsApi* | [**get_entity_ip_allowlist_policies**](docs/OrganizationEntityAPIsApi.md#get_entity_ip_allowlist_policies) | **GET** /api/v1/entities/ipAllowlistPolicies/{id} | Get IpAllowlistPolicy entity *OrganizationEntityAPIsApi* | [**get_entity_organization_settings**](docs/OrganizationEntityAPIsApi.md#get_entity_organization_settings) | **GET** /api/v1/entities/organizationSettings/{id} | Get Organization Setting entity *OrganizationEntityAPIsApi* | [**get_entity_organizations**](docs/OrganizationEntityAPIsApi.md#get_entity_organizations) | **GET** /api/v1/entities/admin/organizations/{id} | Get Organizations *OrganizationEntityAPIsApi* | [**get_organization**](docs/OrganizationEntityAPIsApi.md#get_organization) | **GET** /api/v1/entities/organization | Get current organization info *OrganizationEntityAPIsApi* | [**patch_entity_organization_settings**](docs/OrganizationEntityAPIsApi.md#patch_entity_organization_settings) | **PATCH** /api/v1/entities/organizationSettings/{id} | Patch Organization Setting entity *OrganizationEntityAPIsApi* | [**patch_entity_organizations**](docs/OrganizationEntityAPIsApi.md#patch_entity_organizations) | **PATCH** /api/v1/entities/admin/organizations/{id} | Patch Organization +*OrganizationEntityAPIsApi* | [**remove_targets**](docs/OrganizationEntityAPIsApi.md#remove_targets) | **POST** /api/v1/actions/ipAllowlistPolicies/{id}/removeTargets | Remove targets from IP allowlist policy +*OrganizationEntityAPIsApi* | [**update_entity_ip_allowlist_policies**](docs/OrganizationEntityAPIsApi.md#update_entity_ip_allowlist_policies) | **PUT** /api/v1/entities/ipAllowlistPolicies/{id} | Put IpAllowlistPolicy entity *OrganizationEntityAPIsApi* | [**update_entity_organization_settings**](docs/OrganizationEntityAPIsApi.md#update_entity_organization_settings) | **PUT** /api/v1/entities/organizationSettings/{id} | Put Organization Setting entity *OrganizationEntityAPIsApi* | [**update_entity_organizations**](docs/OrganizationEntityAPIsApi.md#update_entity_organizations) | **PUT** /api/v1/entities/admin/organizations/{id} | Put Organization *ParametersApi* | [**create_entity_parameters**](docs/ParametersApi.md#create_entity_parameters) | **POST** /api/v1/entities/workspaces/{workspaceId}/parameters | Post Parameters @@ -470,14 +479,20 @@ Class | Method | HTTP request | Description *ParametersApi* | [**patch_entity_parameters**](docs/ParametersApi.md#patch_entity_parameters) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/parameters/{objectId} | Patch a Parameter *ParametersApi* | [**search_entities_parameters**](docs/ParametersApi.md#search_entities_parameters) | **POST** /api/v1/entities/workspaces/{workspaceId}/parameters/search | The search endpoint (beta) *ParametersApi* | [**update_entity_parameters**](docs/ParametersApi.md#update_entity_parameters) | **PUT** /api/v1/entities/workspaces/{workspaceId}/parameters/{objectId} | Put a Parameter +*PermissionsApi* | [**attribute_permissions**](docs/PermissionsApi.md#attribute_permissions) | **GET** /api/v1/actions/workspaces/{workspaceId}/attributes/{attributeId}/permissions | Get Attribute Permissions *PermissionsApi* | [**available_assignees**](docs/PermissionsApi.md#available_assignees) | **GET** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/availableAssignees | Get Available Assignees *PermissionsApi* | [**dashboard_permissions**](docs/PermissionsApi.md#dashboard_permissions) | **GET** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/permissions | Get Dashboard Permissions +*PermissionsApi* | [**fact_permissions**](docs/PermissionsApi.md#fact_permissions) | **GET** /api/v1/actions/workspaces/{workspaceId}/facts/{factId}/permissions | Get Fact Permissions *PermissionsApi* | [**get_organization_permissions**](docs/PermissionsApi.md#get_organization_permissions) | **GET** /api/v1/layout/organization/permissions | Get organization permissions *PermissionsApi* | [**get_user_group_permissions**](docs/PermissionsApi.md#get_user_group_permissions) | **GET** /api/v1/layout/userGroups/{userGroupId}/permissions | Get permissions for the user-group *PermissionsApi* | [**get_user_permissions**](docs/PermissionsApi.md#get_user_permissions) | **GET** /api/v1/layout/users/{userId}/permissions | Get permissions for the user *PermissionsApi* | [**get_workspace_permissions**](docs/PermissionsApi.md#get_workspace_permissions) | **GET** /api/v1/layout/workspaces/{workspaceId}/permissions | Get permissions for the workspace +*PermissionsApi* | [**label_permissions**](docs/PermissionsApi.md#label_permissions) | **GET** /api/v1/actions/workspaces/{workspaceId}/labels/{labelId}/permissions | Get Label Permissions +*PermissionsApi* | [**manage_attribute_permissions**](docs/PermissionsApi.md#manage_attribute_permissions) | **POST** /api/v1/actions/workspaces/{workspaceId}/attributes/{attributeId}/managePermissions | Manage Permissions for an Attribute *PermissionsApi* | [**manage_dashboard_permissions**](docs/PermissionsApi.md#manage_dashboard_permissions) | **POST** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/managePermissions | Manage Permissions for a Dashboard *PermissionsApi* | [**manage_data_source_permissions**](docs/PermissionsApi.md#manage_data_source_permissions) | **POST** /api/v1/actions/dataSources/{dataSourceId}/managePermissions | Manage Permissions for a Data Source +*PermissionsApi* | [**manage_fact_permissions**](docs/PermissionsApi.md#manage_fact_permissions) | **POST** /api/v1/actions/workspaces/{workspaceId}/facts/{factId}/managePermissions | Manage Permissions for a Fact +*PermissionsApi* | [**manage_label_permissions**](docs/PermissionsApi.md#manage_label_permissions) | **POST** /api/v1/actions/workspaces/{workspaceId}/labels/{labelId}/managePermissions | Manage Permissions for a Label *PermissionsApi* | [**manage_organization_permissions**](docs/PermissionsApi.md#manage_organization_permissions) | **POST** /api/v1/actions/organization/managePermissions | Manage Permissions for a Organization *PermissionsApi* | [**manage_workspace_permissions**](docs/PermissionsApi.md#manage_workspace_permissions) | **POST** /api/v1/actions/workspaces/{workspaceId}/managePermissions | Manage Permissions for a Workspace *PermissionsApi* | [**set_organization_permissions**](docs/PermissionsApi.md#set_organization_permissions) | **PUT** /api/v1/layout/organization/permissions | Set organization permissions @@ -520,15 +535,15 @@ Class | Method | HTTP request | Description *SmartFunctionsApi* | [**list_llm_provider_models**](docs/SmartFunctionsApi.md#list_llm_provider_models) | **POST** /api/v1/actions/ai/llmProvider/listModels | List LLM Provider Models *SmartFunctionsApi* | [**list_llm_provider_models_by_id**](docs/SmartFunctionsApi.md#list_llm_provider_models_by_id) | **POST** /api/v1/actions/ai/llmProvider/{llmProviderId}/listModels | List LLM Provider Models By Id *SmartFunctionsApi* | [**memory_created_by_users**](docs/SmartFunctionsApi.md#memory_created_by_users) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/memory/createdBy | Get AI Memory CreatedBy Users -*SmartFunctionsApi* | [**resolve_llm_endpoints**](docs/SmartFunctionsApi.md#resolve_llm_endpoints) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmEndpoints | Get Active LLM Endpoints for this workspace +*SmartFunctionsApi* | [**resolve_llm_endpoints**](docs/SmartFunctionsApi.md#resolve_llm_endpoints) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmEndpoints | Get Active LLM Endpoints for this workspace (Removed) *SmartFunctionsApi* | [**resolve_llm_providers**](docs/SmartFunctionsApi.md#resolve_llm_providers) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmProviders | Get Active LLM configuration for this workspace *SmartFunctionsApi* | [**tags**](docs/SmartFunctionsApi.md#tags) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/tags | Get Analytics Catalog Tags *SmartFunctionsApi* | [**test_llm_provider**](docs/SmartFunctionsApi.md#test_llm_provider) | **POST** /api/v1/actions/ai/llmProvider/test | Test LLM Provider *SmartFunctionsApi* | [**test_llm_provider_by_id**](docs/SmartFunctionsApi.md#test_llm_provider_by_id) | **POST** /api/v1/actions/ai/llmProvider/{llmProviderId}/test | Test LLM Provider By Id *SmartFunctionsApi* | [**trending_objects**](docs/SmartFunctionsApi.md#trending_objects) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/trendingObjects | Get Trending Analytics Catalog Objects *SmartFunctionsApi* | [**trigger_quality_issues_calculation**](docs/SmartFunctionsApi.md#trigger_quality_issues_calculation) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/issues/triggerCheck | Trigger Quality Issues Calculation -*SmartFunctionsApi* | [**validate_llm_endpoint**](docs/SmartFunctionsApi.md#validate_llm_endpoint) | **POST** /api/v1/actions/ai/llmEndpoint/test | Validate LLM Endpoint -*SmartFunctionsApi* | [**validate_llm_endpoint_by_id**](docs/SmartFunctionsApi.md#validate_llm_endpoint_by_id) | **POST** /api/v1/actions/ai/llmEndpoint/{llmEndpointId}/test | Validate LLM Endpoint By Id +*SmartFunctionsApi* | [**validate_llm_endpoint**](docs/SmartFunctionsApi.md#validate_llm_endpoint) | **POST** /api/v1/actions/ai/llmEndpoint/test | Validate LLM Endpoint (Removed) +*SmartFunctionsApi* | [**validate_llm_endpoint_by_id**](docs/SmartFunctionsApi.md#validate_llm_endpoint_by_id) | **POST** /api/v1/actions/ai/llmEndpoint/{llmEndpointId}/test | Validate LLM Endpoint By Id (Removed) *TabularExportApi* | [**create_dashboard_export_request**](docs/TabularExportApi.md#create_dashboard_export_request) | **POST** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/export/tabular | (EXPERIMENTAL) Create dashboard tabular export request *TabularExportApi* | [**create_tabular_export**](docs/TabularExportApi.md#create_tabular_export) | **POST** /api/v1/actions/workspaces/{workspaceId}/export/tabular | Create tabular export request *TabularExportApi* | [**get_tabular_export**](docs/TabularExportApi.md#get_tabular_export) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/tabular/{exportId} | Retrieve exported files @@ -623,6 +638,7 @@ Class | Method | HTTP request | Description *WorkspacesSettingsApi* | [**update_entity_workspace_settings**](docs/WorkspacesSettingsApi.md#update_entity_workspace_settings) | **PUT** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Put a Setting for a Workspace *WorkspacesSettingsApi* | [**workspace_resolve_all_settings**](docs/WorkspacesSettingsApi.md#workspace_resolve_all_settings) | **GET** /api/v1/actions/workspaces/{workspaceId}/resolveSettings | Values for all settings. *WorkspacesSettingsApi* | [**workspace_resolve_settings**](docs/WorkspacesSettingsApi.md#workspace_resolve_settings) | **POST** /api/v1/actions/workspaces/{workspaceId}/resolveSettings | Values for selected settings. +*ActionsApi* | [**add_targets**](docs/ActionsApi.md#add_targets) | **POST** /api/v1/actions/ipAllowlistPolicies/{id}/addTargets | Add targets to IP allowlist policy *ActionsApi* | [**ai_chat**](docs/ActionsApi.md#ai_chat) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/chat | (BETA) Chat with AI *ActionsApi* | [**ai_chat_history**](docs/ActionsApi.md#ai_chat_history) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/chatHistory | (BETA) Get Chat History *ActionsApi* | [**ai_chat_stream**](docs/ActionsApi.md#ai_chat_stream) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/chatStream | (BETA) Chat with AI @@ -632,6 +648,7 @@ Class | Method | HTTP request | Description *ActionsApi* | [**analyze_csv**](docs/ActionsApi.md#analyze_csv) | **POST** /api/v1/actions/fileStorage/staging/analyzeCsv | Analyze CSV *ActionsApi* | [**anomaly_detection**](docs/ActionsApi.md#anomaly_detection) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/functions/anomalyDetection/{resultId} | (EXPERIMENTAL) Smart functions - Anomaly Detection *ActionsApi* | [**anomaly_detection_result**](docs/ActionsApi.md#anomaly_detection_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/functions/anomalyDetection/result/{resultId} | (EXPERIMENTAL) Smart functions - Anomaly Detection Result +*ActionsApi* | [**attribute_permissions**](docs/ActionsApi.md#attribute_permissions) | **GET** /api/v1/actions/workspaces/{workspaceId}/attributes/{attributeId}/permissions | Get Attribute Permissions *ActionsApi* | [**available_assignees**](docs/ActionsApi.md#available_assignees) | **GET** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/availableAssignees | Get Available Assignees *ActionsApi* | [**cancel_executions**](docs/ActionsApi.md#cancel_executions) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/cancel | Applies all the given cancel tokens. *ActionsApi* | [**cancel_workflow**](docs/ActionsApi.md#cancel_workflow) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/cancel | @@ -662,6 +679,7 @@ Class | Method | HTTP request | Description *ActionsApi* | [**delete_organization_automations**](docs/ActionsApi.md#delete_organization_automations) | **POST** /api/v1/actions/organization/automations/delete | Delete selected automations across all workspaces *ActionsApi* | [**delete_workspace_automations**](docs/ActionsApi.md#delete_workspace_automations) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/delete | Delete selected automations in the workspace *ActionsApi* | [**explain_afm**](docs/ActionsApi.md#explain_afm) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/explain | AFM explain resource. +*ActionsApi* | [**fact_permissions**](docs/ActionsApi.md#fact_permissions) | **GET** /api/v1/actions/workspaces/{workspaceId}/facts/{factId}/permissions | Get Fact Permissions *ActionsApi* | [**forecast**](docs/ActionsApi.md#forecast) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/functions/forecast/{resultId} | (BETA) Smart functions - Forecast *ActionsApi* | [**forecast_result**](docs/ActionsApi.md#forecast_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/functions/forecast/result/{resultId} | (BETA) Smart functions - Forecast Result *ActionsApi* | [**generate_dashboard_summary**](docs/ActionsApi.md#generate_dashboard_summary) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/workflow/dashboardSummary | @@ -690,13 +708,17 @@ Class | Method | HTTP request | Description *ActionsApi* | [**inherited_entity_prefixes**](docs/ActionsApi.md#inherited_entity_prefixes) | **GET** /api/v1/actions/workspaces/{workspaceId}/inheritedEntityPrefixes | Get used entity prefixes in hierarchy *ActionsApi* | [**key_driver_analysis**](docs/ActionsApi.md#key_driver_analysis) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/computeKeyDrivers | (EXPERIMENTAL) Compute key driver analysis *ActionsApi* | [**key_driver_analysis_result**](docs/ActionsApi.md#key_driver_analysis_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/computeKeyDrivers/result/{resultId} | (EXPERIMENTAL) Get key driver analysis result +*ActionsApi* | [**label_permissions**](docs/ActionsApi.md#label_permissions) | **GET** /api/v1/actions/workspaces/{workspaceId}/labels/{labelId}/permissions | Get Label Permissions *ActionsApi* | [**list_files**](docs/ActionsApi.md#list_files) | **POST** /api/v1/actions/fileStorage/dataSources/{dataSourceId}/listFiles | List datasource files *ActionsApi* | [**list_llm_provider_models**](docs/ActionsApi.md#list_llm_provider_models) | **POST** /api/v1/actions/ai/llmProvider/listModels | List LLM Provider Models *ActionsApi* | [**list_llm_provider_models_by_id**](docs/ActionsApi.md#list_llm_provider_models_by_id) | **POST** /api/v1/actions/ai/llmProvider/{llmProviderId}/listModels | List LLM Provider Models By Id *ActionsApi* | [**list_workspace_user_groups**](docs/ActionsApi.md#list_workspace_user_groups) | **GET** /api/v1/actions/workspaces/{workspaceId}/userGroups | *ActionsApi* | [**list_workspace_users**](docs/ActionsApi.md#list_workspace_users) | **GET** /api/v1/actions/workspaces/{workspaceId}/users | +*ActionsApi* | [**manage_attribute_permissions**](docs/ActionsApi.md#manage_attribute_permissions) | **POST** /api/v1/actions/workspaces/{workspaceId}/attributes/{attributeId}/managePermissions | Manage Permissions for an Attribute *ActionsApi* | [**manage_dashboard_permissions**](docs/ActionsApi.md#manage_dashboard_permissions) | **POST** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/managePermissions | Manage Permissions for a Dashboard *ActionsApi* | [**manage_data_source_permissions**](docs/ActionsApi.md#manage_data_source_permissions) | **POST** /api/v1/actions/dataSources/{dataSourceId}/managePermissions | Manage Permissions for a Data Source +*ActionsApi* | [**manage_fact_permissions**](docs/ActionsApi.md#manage_fact_permissions) | **POST** /api/v1/actions/workspaces/{workspaceId}/facts/{factId}/managePermissions | Manage Permissions for a Fact +*ActionsApi* | [**manage_label_permissions**](docs/ActionsApi.md#manage_label_permissions) | **POST** /api/v1/actions/workspaces/{workspaceId}/labels/{labelId}/managePermissions | Manage Permissions for a Label *ActionsApi* | [**manage_organization_permissions**](docs/ActionsApi.md#manage_organization_permissions) | **POST** /api/v1/actions/organization/managePermissions | Manage Permissions for a Organization *ActionsApi* | [**manage_workspace_permissions**](docs/ActionsApi.md#manage_workspace_permissions) | **POST** /api/v1/actions/workspaces/{workspaceId}/managePermissions | Manage Permissions for a Workspace *ActionsApi* | [**mark_as_read_notification**](docs/ActionsApi.md#mark_as_read_notification) | **POST** /api/v1/actions/notifications/{notificationId}/markAsRead | Mark notification as read. @@ -713,9 +735,10 @@ Class | Method | HTTP request | Description *ActionsApi* | [**read_csv_file_manifests**](docs/ActionsApi.md#read_csv_file_manifests) | **POST** /api/v1/actions/fileStorage/dataSources/{dataSourceId}/readCsvFileManifests | Read CSV file manifests *ActionsApi* | [**register_upload_notification**](docs/ActionsApi.md#register_upload_notification) | **POST** /api/v1/actions/dataSources/{dataSourceId}/uploadNotification | Register an upload notification *ActionsApi* | [**register_workspace_upload_notification**](docs/ActionsApi.md#register_workspace_upload_notification) | **POST** /api/v1/actions/workspaces/{workspaceId}/uploadNotification | Register an upload notification +*ActionsApi* | [**remove_targets**](docs/ActionsApi.md#remove_targets) | **POST** /api/v1/actions/ipAllowlistPolicies/{id}/removeTargets | Remove targets from IP allowlist policy *ActionsApi* | [**resolve_all_entitlements**](docs/ActionsApi.md#resolve_all_entitlements) | **GET** /api/v1/actions/resolveEntitlements | Values for all public entitlements. *ActionsApi* | [**resolve_all_settings_without_workspace**](docs/ActionsApi.md#resolve_all_settings_without_workspace) | **GET** /api/v1/actions/resolveSettings | Values for all settings without workspace. -*ActionsApi* | [**resolve_llm_endpoints**](docs/ActionsApi.md#resolve_llm_endpoints) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmEndpoints | Get Active LLM Endpoints for this workspace +*ActionsApi* | [**resolve_llm_endpoints**](docs/ActionsApi.md#resolve_llm_endpoints) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmEndpoints | Get Active LLM Endpoints for this workspace (Removed) *ActionsApi* | [**resolve_llm_providers**](docs/ActionsApi.md#resolve_llm_providers) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmProviders | Get Active LLM configuration for this workspace *ActionsApi* | [**resolve_requested_entitlements**](docs/ActionsApi.md#resolve_requested_entitlements) | **POST** /api/v1/actions/resolveEntitlements | Values for requested public entitlements. *ActionsApi* | [**resolve_settings_without_workspace**](docs/ActionsApi.md#resolve_settings_without_workspace) | **POST** /api/v1/actions/resolveSettings | Values for selected settings without workspace. @@ -748,8 +771,8 @@ Class | Method | HTTP request | Description *ActionsApi* | [**unsubscribe_organization_automations**](docs/ActionsApi.md#unsubscribe_organization_automations) | **POST** /api/v1/actions/organization/automations/unsubscribe | Unsubscribe from selected automations across all workspaces *ActionsApi* | [**unsubscribe_selected_workspace_automations**](docs/ActionsApi.md#unsubscribe_selected_workspace_automations) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/unsubscribe | Unsubscribe from selected automations in the workspace *ActionsApi* | [**unsubscribe_workspace_automations**](docs/ActionsApi.md#unsubscribe_workspace_automations) | **DELETE** /api/v1/actions/workspaces/{workspaceId}/automations/unsubscribe | Unsubscribe from all automations in the workspace -*ActionsApi* | [**validate_llm_endpoint**](docs/ActionsApi.md#validate_llm_endpoint) | **POST** /api/v1/actions/ai/llmEndpoint/test | Validate LLM Endpoint -*ActionsApi* | [**validate_llm_endpoint_by_id**](docs/ActionsApi.md#validate_llm_endpoint_by_id) | **POST** /api/v1/actions/ai/llmEndpoint/{llmEndpointId}/test | Validate LLM Endpoint By Id +*ActionsApi* | [**validate_llm_endpoint**](docs/ActionsApi.md#validate_llm_endpoint) | **POST** /api/v1/actions/ai/llmEndpoint/test | Validate LLM Endpoint (Removed) +*ActionsApi* | [**validate_llm_endpoint_by_id**](docs/ActionsApi.md#validate_llm_endpoint_by_id) | **POST** /api/v1/actions/ai/llmEndpoint/{llmEndpointId}/test | Validate LLM Endpoint By Id (Removed) *ActionsApi* | [**workspace_resolve_all_settings**](docs/ActionsApi.md#workspace_resolve_all_settings) | **GET** /api/v1/actions/workspaces/{workspaceId}/resolveSettings | Values for all settings. *ActionsApi* | [**workspace_resolve_settings**](docs/ActionsApi.md#workspace_resolve_settings) | **POST** /api/v1/actions/workspaces/{workspaceId}/resolveSettings | Values for selected settings. *AgentControllerApi* | [**create_entity_agents**](docs/AgentControllerApi.md#create_entity_agents) | **POST** /api/v1/entities/agents | Post Agent entities @@ -845,6 +868,7 @@ Class | Method | HTTP request | Description *DatasetControllerApi* | [**get_entity_datasets**](docs/DatasetControllerApi.md#get_entity_datasets) | **GET** /api/v1/entities/workspaces/{workspaceId}/datasets/{objectId} | Get a Dataset *DatasetControllerApi* | [**patch_entity_datasets**](docs/DatasetControllerApi.md#patch_entity_datasets) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/datasets/{objectId} | Patch a Dataset (beta) *DatasetControllerApi* | [**search_entities_datasets**](docs/DatasetControllerApi.md#search_entities_datasets) | **POST** /api/v1/entities/workspaces/{workspaceId}/datasets/search | The search endpoint (beta) +*EntitiesApi* | [**create_entity**](docs/EntitiesApi.md#create_entity) | **POST** /api/v1/entities/llmEndpoints | Post LLM endpoint entities (Removed) *EntitiesApi* | [**create_entity_agents**](docs/EntitiesApi.md#create_entity_agents) | **POST** /api/v1/entities/agents | Post Agent entities *EntitiesApi* | [**create_entity_analytical_dashboards**](docs/EntitiesApi.md#create_entity_analytical_dashboards) | **POST** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards | Post Dashboards *EntitiesApi* | [**create_entity_api_tokens**](docs/EntitiesApi.md#create_entity_api_tokens) | **POST** /api/v1/entities/users/{userId}/apiTokens | Post a new API token for the user @@ -862,9 +886,9 @@ Class | Method | HTTP request | Description *EntitiesApi* | [**create_entity_filter_contexts**](docs/EntitiesApi.md#create_entity_filter_contexts) | **POST** /api/v1/entities/workspaces/{workspaceId}/filterContexts | Post Filter Context *EntitiesApi* | [**create_entity_filter_views**](docs/EntitiesApi.md#create_entity_filter_views) | **POST** /api/v1/entities/workspaces/{workspaceId}/filterViews | Post Filter views *EntitiesApi* | [**create_entity_identity_providers**](docs/EntitiesApi.md#create_entity_identity_providers) | **POST** /api/v1/entities/identityProviders | Post Identity Providers +*EntitiesApi* | [**create_entity_ip_allowlist_policies**](docs/EntitiesApi.md#create_entity_ip_allowlist_policies) | **POST** /api/v1/entities/ipAllowlistPolicies | Post IpAllowlistPolicy entities *EntitiesApi* | [**create_entity_jwks**](docs/EntitiesApi.md#create_entity_jwks) | **POST** /api/v1/entities/jwks | Post Jwks *EntitiesApi* | [**create_entity_knowledge_recommendations**](docs/EntitiesApi.md#create_entity_knowledge_recommendations) | **POST** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations | Post Knowledge Recommendations -*EntitiesApi* | [**create_entity_llm_endpoints**](docs/EntitiesApi.md#create_entity_llm_endpoints) | **POST** /api/v1/entities/llmEndpoints | Post LLM endpoint entities *EntitiesApi* | [**create_entity_llm_providers**](docs/EntitiesApi.md#create_entity_llm_providers) | **POST** /api/v1/entities/llmProviders | Post LLM Provider entities *EntitiesApi* | [**create_entity_memory_items**](docs/EntitiesApi.md#create_entity_memory_items) | **POST** /api/v1/entities/workspaces/{workspaceId}/memoryItems | Post Memory Items *EntitiesApi* | [**create_entity_metrics**](docs/EntitiesApi.md#create_entity_metrics) | **POST** /api/v1/entities/workspaces/{workspaceId}/metrics | Post Metrics @@ -881,6 +905,7 @@ Class | Method | HTTP request | Description *EntitiesApi* | [**create_entity_workspace_data_filters**](docs/EntitiesApi.md#create_entity_workspace_data_filters) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters | Post Workspace Data Filters *EntitiesApi* | [**create_entity_workspace_settings**](docs/EntitiesApi.md#create_entity_workspace_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings | Post Settings for Workspaces *EntitiesApi* | [**create_entity_workspaces**](docs/EntitiesApi.md#create_entity_workspaces) | **POST** /api/v1/entities/workspaces | Post Workspace entities +*EntitiesApi* | [**delete_entity**](docs/EntitiesApi.md#delete_entity) | **DELETE** /api/v1/entities/llmEndpoints/{id} | Delete LLM endpoint entity (Removed) *EntitiesApi* | [**delete_entity_agents**](docs/EntitiesApi.md#delete_entity_agents) | **DELETE** /api/v1/entities/agents/{id} | Delete Agent entity *EntitiesApi* | [**delete_entity_analytical_dashboards**](docs/EntitiesApi.md#delete_entity_analytical_dashboards) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Delete a Dashboard *EntitiesApi* | [**delete_entity_api_tokens**](docs/EntitiesApi.md#delete_entity_api_tokens) | **DELETE** /api/v1/entities/users/{userId}/apiTokens/{id} | Delete an API Token for a user @@ -898,9 +923,9 @@ Class | Method | HTTP request | Description *EntitiesApi* | [**delete_entity_filter_contexts**](docs/EntitiesApi.md#delete_entity_filter_contexts) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Delete a Filter Context *EntitiesApi* | [**delete_entity_filter_views**](docs/EntitiesApi.md#delete_entity_filter_views) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId} | Delete Filter view *EntitiesApi* | [**delete_entity_identity_providers**](docs/EntitiesApi.md#delete_entity_identity_providers) | **DELETE** /api/v1/entities/identityProviders/{id} | Delete Identity Provider +*EntitiesApi* | [**delete_entity_ip_allowlist_policies**](docs/EntitiesApi.md#delete_entity_ip_allowlist_policies) | **DELETE** /api/v1/entities/ipAllowlistPolicies/{id} | Delete IpAllowlistPolicy entity *EntitiesApi* | [**delete_entity_jwks**](docs/EntitiesApi.md#delete_entity_jwks) | **DELETE** /api/v1/entities/jwks/{id} | Delete Jwk *EntitiesApi* | [**delete_entity_knowledge_recommendations**](docs/EntitiesApi.md#delete_entity_knowledge_recommendations) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId} | Delete a Knowledge Recommendation -*EntitiesApi* | [**delete_entity_llm_endpoints**](docs/EntitiesApi.md#delete_entity_llm_endpoints) | **DELETE** /api/v1/entities/llmEndpoints/{id} | Delete LLM endpoint entity *EntitiesApi* | [**delete_entity_llm_providers**](docs/EntitiesApi.md#delete_entity_llm_providers) | **DELETE** /api/v1/entities/llmProviders/{id} | Delete LLM Provider entity *EntitiesApi* | [**delete_entity_memory_items**](docs/EntitiesApi.md#delete_entity_memory_items) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | Delete a Memory Item *EntitiesApi* | [**delete_entity_metrics**](docs/EntitiesApi.md#delete_entity_metrics) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Delete a Metric @@ -918,6 +943,7 @@ Class | Method | HTTP request | Description *EntitiesApi* | [**delete_entity_workspace_settings**](docs/EntitiesApi.md#delete_entity_workspace_settings) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Delete a Setting for Workspace *EntitiesApi* | [**delete_entity_workspaces**](docs/EntitiesApi.md#delete_entity_workspaces) | **DELETE** /api/v1/entities/workspaces/{id} | Delete Workspace entity *EntitiesApi* | [**get_all_automations_workspace_automations**](docs/EntitiesApi.md#get_all_automations_workspace_automations) | **GET** /api/v1/entities/organization/workspaceAutomations | Get all Automations across all Workspaces +*EntitiesApi* | [**get_all_entities**](docs/EntitiesApi.md#get_all_entities) | **GET** /api/v1/entities/llmEndpoints | Get all LLM endpoint entities (Removed) *EntitiesApi* | [**get_all_entities_agents**](docs/EntitiesApi.md#get_all_entities_agents) | **GET** /api/v1/entities/agents | Get all Agent entities *EntitiesApi* | [**get_all_entities_aggregated_facts**](docs/EntitiesApi.md#get_all_entities_aggregated_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/aggregatedFacts | Get all Aggregated Facts *EntitiesApi* | [**get_all_entities_analytical_dashboards**](docs/EntitiesApi.md#get_all_entities_analytical_dashboards) | **GET** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards | Get all Dashboards @@ -941,10 +967,10 @@ Class | Method | HTTP request | Description *EntitiesApi* | [**get_all_entities_filter_contexts**](docs/EntitiesApi.md#get_all_entities_filter_contexts) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterContexts | Get all Filter Context *EntitiesApi* | [**get_all_entities_filter_views**](docs/EntitiesApi.md#get_all_entities_filter_views) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterViews | Get all Filter views *EntitiesApi* | [**get_all_entities_identity_providers**](docs/EntitiesApi.md#get_all_entities_identity_providers) | **GET** /api/v1/entities/identityProviders | Get all Identity Providers +*EntitiesApi* | [**get_all_entities_ip_allowlist_policies**](docs/EntitiesApi.md#get_all_entities_ip_allowlist_policies) | **GET** /api/v1/entities/ipAllowlistPolicies | Get all IpAllowlistPolicy entities *EntitiesApi* | [**get_all_entities_jwks**](docs/EntitiesApi.md#get_all_entities_jwks) | **GET** /api/v1/entities/jwks | Get all Jwks *EntitiesApi* | [**get_all_entities_knowledge_recommendations**](docs/EntitiesApi.md#get_all_entities_knowledge_recommendations) | **GET** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations | Get all Knowledge Recommendations *EntitiesApi* | [**get_all_entities_labels**](docs/EntitiesApi.md#get_all_entities_labels) | **GET** /api/v1/entities/workspaces/{workspaceId}/labels | Get all Labels -*EntitiesApi* | [**get_all_entities_llm_endpoints**](docs/EntitiesApi.md#get_all_entities_llm_endpoints) | **GET** /api/v1/entities/llmEndpoints | Get all LLM endpoint entities *EntitiesApi* | [**get_all_entities_llm_providers**](docs/EntitiesApi.md#get_all_entities_llm_providers) | **GET** /api/v1/entities/llmProviders | Get all LLM Provider entities *EntitiesApi* | [**get_all_entities_memory_items**](docs/EntitiesApi.md#get_all_entities_memory_items) | **GET** /api/v1/entities/workspaces/{workspaceId}/memoryItems | Get all Memory Items *EntitiesApi* | [**get_all_entities_metrics**](docs/EntitiesApi.md#get_all_entities_metrics) | **GET** /api/v1/entities/workspaces/{workspaceId}/metrics | Get all Metrics @@ -965,6 +991,7 @@ Class | Method | HTTP request | Description *EntitiesApi* | [**get_all_entities_workspaces**](docs/EntitiesApi.md#get_all_entities_workspaces) | **GET** /api/v1/entities/workspaces | Get Workspace entities *EntitiesApi* | [**get_all_options**](docs/EntitiesApi.md#get_all_options) | **GET** /api/v1/options | Links for all configuration options *EntitiesApi* | [**get_data_source_drivers**](docs/EntitiesApi.md#get_data_source_drivers) | **GET** /api/v1/options/availableDrivers | Get all available data source drivers +*EntitiesApi* | [**get_entity**](docs/EntitiesApi.md#get_entity) | **GET** /api/v1/entities/llmEndpoints/{id} | Get LLM endpoint entity (Removed) *EntitiesApi* | [**get_entity_agents**](docs/EntitiesApi.md#get_entity_agents) | **GET** /api/v1/entities/agents/{id} | Get Agent entity *EntitiesApi* | [**get_entity_aggregated_facts**](docs/EntitiesApi.md#get_entity_aggregated_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/aggregatedFacts/{objectId} | Get an Aggregated Fact *EntitiesApi* | [**get_entity_analytical_dashboards**](docs/EntitiesApi.md#get_entity_analytical_dashboards) | **GET** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Get a Dashboard @@ -989,10 +1016,10 @@ Class | Method | HTTP request | Description *EntitiesApi* | [**get_entity_filter_contexts**](docs/EntitiesApi.md#get_entity_filter_contexts) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Get a Filter Context *EntitiesApi* | [**get_entity_filter_views**](docs/EntitiesApi.md#get_entity_filter_views) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId} | Get Filter view *EntitiesApi* | [**get_entity_identity_providers**](docs/EntitiesApi.md#get_entity_identity_providers) | **GET** /api/v1/entities/identityProviders/{id} | Get Identity Provider +*EntitiesApi* | [**get_entity_ip_allowlist_policies**](docs/EntitiesApi.md#get_entity_ip_allowlist_policies) | **GET** /api/v1/entities/ipAllowlistPolicies/{id} | Get IpAllowlistPolicy entity *EntitiesApi* | [**get_entity_jwks**](docs/EntitiesApi.md#get_entity_jwks) | **GET** /api/v1/entities/jwks/{id} | Get Jwk *EntitiesApi* | [**get_entity_knowledge_recommendations**](docs/EntitiesApi.md#get_entity_knowledge_recommendations) | **GET** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId} | Get a Knowledge Recommendation *EntitiesApi* | [**get_entity_labels**](docs/EntitiesApi.md#get_entity_labels) | **GET** /api/v1/entities/workspaces/{workspaceId}/labels/{objectId} | Get a Label -*EntitiesApi* | [**get_entity_llm_endpoints**](docs/EntitiesApi.md#get_entity_llm_endpoints) | **GET** /api/v1/entities/llmEndpoints/{id} | Get LLM endpoint entity *EntitiesApi* | [**get_entity_llm_providers**](docs/EntitiesApi.md#get_entity_llm_providers) | **GET** /api/v1/entities/llmProviders/{id} | Get LLM Provider entity *EntitiesApi* | [**get_entity_memory_items**](docs/EntitiesApi.md#get_entity_memory_items) | **GET** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | Get a Memory Item *EntitiesApi* | [**get_entity_metrics**](docs/EntitiesApi.md#get_entity_metrics) | **GET** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Get a Metric @@ -1013,6 +1040,7 @@ Class | Method | HTTP request | Description *EntitiesApi* | [**get_entity_workspace_settings**](docs/EntitiesApi.md#get_entity_workspace_settings) | **GET** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Get a Setting for Workspace *EntitiesApi* | [**get_entity_workspaces**](docs/EntitiesApi.md#get_entity_workspaces) | **GET** /api/v1/entities/workspaces/{id} | Get Workspace entity *EntitiesApi* | [**get_organization**](docs/EntitiesApi.md#get_organization) | **GET** /api/v1/entities/organization | Get current organization info +*EntitiesApi* | [**patch_entity**](docs/EntitiesApi.md#patch_entity) | **PATCH** /api/v1/entities/llmEndpoints/{id} | Patch LLM endpoint entity (Removed) *EntitiesApi* | [**patch_entity_agents**](docs/EntitiesApi.md#patch_entity_agents) | **PATCH** /api/v1/entities/agents/{id} | Patch Agent entity *EntitiesApi* | [**patch_entity_analytical_dashboards**](docs/EntitiesApi.md#patch_entity_analytical_dashboards) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Patch a Dashboard *EntitiesApi* | [**patch_entity_attribute_hierarchies**](docs/EntitiesApi.md#patch_entity_attribute_hierarchies) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Patch an Attribute Hierarchy @@ -1035,7 +1063,6 @@ Class | Method | HTTP request | Description *EntitiesApi* | [**patch_entity_jwks**](docs/EntitiesApi.md#patch_entity_jwks) | **PATCH** /api/v1/entities/jwks/{id} | Patch Jwk *EntitiesApi* | [**patch_entity_knowledge_recommendations**](docs/EntitiesApi.md#patch_entity_knowledge_recommendations) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId} | Patch a Knowledge Recommendation *EntitiesApi* | [**patch_entity_labels**](docs/EntitiesApi.md#patch_entity_labels) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/labels/{objectId} | Patch a Label (beta) -*EntitiesApi* | [**patch_entity_llm_endpoints**](docs/EntitiesApi.md#patch_entity_llm_endpoints) | **PATCH** /api/v1/entities/llmEndpoints/{id} | Patch LLM endpoint entity *EntitiesApi* | [**patch_entity_llm_providers**](docs/EntitiesApi.md#patch_entity_llm_providers) | **PATCH** /api/v1/entities/llmProviders/{id} | Patch LLM Provider entity *EntitiesApi* | [**patch_entity_memory_items**](docs/EntitiesApi.md#patch_entity_memory_items) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | Patch a Memory Item *EntitiesApi* | [**patch_entity_metrics**](docs/EntitiesApi.md#patch_entity_metrics) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Patch a Metric @@ -1075,6 +1102,7 @@ Class | Method | HTTP request | Description *EntitiesApi* | [**search_entities_workspace_data_filter_settings**](docs/EntitiesApi.md#search_entities_workspace_data_filter_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/search | The search endpoint (beta) *EntitiesApi* | [**search_entities_workspace_data_filters**](docs/EntitiesApi.md#search_entities_workspace_data_filters) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/search | The search endpoint (beta) *EntitiesApi* | [**search_entities_workspace_settings**](docs/EntitiesApi.md#search_entities_workspace_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/search | The search endpoint (beta) +*EntitiesApi* | [**update_entity**](docs/EntitiesApi.md#update_entity) | **PUT** /api/v1/entities/llmEndpoints/{id} | PUT LLM endpoint entity (Removed) *EntitiesApi* | [**update_entity_agents**](docs/EntitiesApi.md#update_entity_agents) | **PUT** /api/v1/entities/agents/{id} | Put Agent entity *EntitiesApi* | [**update_entity_analytical_dashboards**](docs/EntitiesApi.md#update_entity_analytical_dashboards) | **PUT** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Put Dashboards *EntitiesApi* | [**update_entity_attribute_hierarchies**](docs/EntitiesApi.md#update_entity_attribute_hierarchies) | **PUT** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Put an Attribute Hierarchy @@ -1092,9 +1120,9 @@ Class | Method | HTTP request | Description *EntitiesApi* | [**update_entity_filter_contexts**](docs/EntitiesApi.md#update_entity_filter_contexts) | **PUT** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Put a Filter Context *EntitiesApi* | [**update_entity_filter_views**](docs/EntitiesApi.md#update_entity_filter_views) | **PUT** /api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId} | Put Filter views *EntitiesApi* | [**update_entity_identity_providers**](docs/EntitiesApi.md#update_entity_identity_providers) | **PUT** /api/v1/entities/identityProviders/{id} | Put Identity Provider +*EntitiesApi* | [**update_entity_ip_allowlist_policies**](docs/EntitiesApi.md#update_entity_ip_allowlist_policies) | **PUT** /api/v1/entities/ipAllowlistPolicies/{id} | Put IpAllowlistPolicy entity *EntitiesApi* | [**update_entity_jwks**](docs/EntitiesApi.md#update_entity_jwks) | **PUT** /api/v1/entities/jwks/{id} | Put Jwk *EntitiesApi* | [**update_entity_knowledge_recommendations**](docs/EntitiesApi.md#update_entity_knowledge_recommendations) | **PUT** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId} | Put a Knowledge Recommendation -*EntitiesApi* | [**update_entity_llm_endpoints**](docs/EntitiesApi.md#update_entity_llm_endpoints) | **PUT** /api/v1/entities/llmEndpoints/{id} | PUT LLM endpoint entity *EntitiesApi* | [**update_entity_llm_providers**](docs/EntitiesApi.md#update_entity_llm_providers) | **PUT** /api/v1/entities/llmProviders/{id} | PUT LLM Provider entity *EntitiesApi* | [**update_entity_memory_items**](docs/EntitiesApi.md#update_entity_memory_items) | **PUT** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | Put a Memory Item *EntitiesApi* | [**update_entity_metrics**](docs/EntitiesApi.md#update_entity_metrics) | **PUT** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Put a Metric @@ -1151,6 +1179,11 @@ Class | Method | HTTP request | Description *IdentityProviderControllerApi* | [**get_entity_identity_providers**](docs/IdentityProviderControllerApi.md#get_entity_identity_providers) | **GET** /api/v1/entities/identityProviders/{id} | Get Identity Provider *IdentityProviderControllerApi* | [**patch_entity_identity_providers**](docs/IdentityProviderControllerApi.md#patch_entity_identity_providers) | **PATCH** /api/v1/entities/identityProviders/{id} | Patch Identity Provider *IdentityProviderControllerApi* | [**update_entity_identity_providers**](docs/IdentityProviderControllerApi.md#update_entity_identity_providers) | **PUT** /api/v1/entities/identityProviders/{id} | Put Identity Provider +*IpAllowlistPolicyControllerApi* | [**create_entity_ip_allowlist_policies**](docs/IpAllowlistPolicyControllerApi.md#create_entity_ip_allowlist_policies) | **POST** /api/v1/entities/ipAllowlistPolicies | Post IpAllowlistPolicy entities +*IpAllowlistPolicyControllerApi* | [**delete_entity_ip_allowlist_policies**](docs/IpAllowlistPolicyControllerApi.md#delete_entity_ip_allowlist_policies) | **DELETE** /api/v1/entities/ipAllowlistPolicies/{id} | Delete IpAllowlistPolicy entity +*IpAllowlistPolicyControllerApi* | [**get_all_entities_ip_allowlist_policies**](docs/IpAllowlistPolicyControllerApi.md#get_all_entities_ip_allowlist_policies) | **GET** /api/v1/entities/ipAllowlistPolicies | Get all IpAllowlistPolicy entities +*IpAllowlistPolicyControllerApi* | [**get_entity_ip_allowlist_policies**](docs/IpAllowlistPolicyControllerApi.md#get_entity_ip_allowlist_policies) | **GET** /api/v1/entities/ipAllowlistPolicies/{id} | Get IpAllowlistPolicy entity +*IpAllowlistPolicyControllerApi* | [**update_entity_ip_allowlist_policies**](docs/IpAllowlistPolicyControllerApi.md#update_entity_ip_allowlist_policies) | **PUT** /api/v1/entities/ipAllowlistPolicies/{id} | Put IpAllowlistPolicy entity *JwkControllerApi* | [**create_entity_jwks**](docs/JwkControllerApi.md#create_entity_jwks) | **POST** /api/v1/entities/jwks | Post Jwks *JwkControllerApi* | [**delete_entity_jwks**](docs/JwkControllerApi.md#delete_entity_jwks) | **DELETE** /api/v1/entities/jwks/{id} | Delete Jwk *JwkControllerApi* | [**get_all_entities_jwks**](docs/JwkControllerApi.md#get_all_entities_jwks) | **GET** /api/v1/entities/jwks | Get all Jwks @@ -1217,12 +1250,6 @@ Class | Method | HTTP request | Description *LayoutApi* | [**set_workspace_data_filters_layout**](docs/LayoutApi.md#set_workspace_data_filters_layout) | **PUT** /api/v1/layout/workspaceDataFilters | Set all workspace data filters *LayoutApi* | [**set_workspace_permissions**](docs/LayoutApi.md#set_workspace_permissions) | **PUT** /api/v1/layout/workspaces/{workspaceId}/permissions | Set permissions for the workspace *LayoutApi* | [**set_workspaces_layout**](docs/LayoutApi.md#set_workspaces_layout) | **PUT** /api/v1/layout/workspaces | Set all workspaces layout -*LlmEndpointControllerApi* | [**create_entity_llm_endpoints**](docs/LlmEndpointControllerApi.md#create_entity_llm_endpoints) | **POST** /api/v1/entities/llmEndpoints | Post LLM endpoint entities -*LlmEndpointControllerApi* | [**delete_entity_llm_endpoints**](docs/LlmEndpointControllerApi.md#delete_entity_llm_endpoints) | **DELETE** /api/v1/entities/llmEndpoints/{id} | Delete LLM endpoint entity -*LlmEndpointControllerApi* | [**get_all_entities_llm_endpoints**](docs/LlmEndpointControllerApi.md#get_all_entities_llm_endpoints) | **GET** /api/v1/entities/llmEndpoints | Get all LLM endpoint entities -*LlmEndpointControllerApi* | [**get_entity_llm_endpoints**](docs/LlmEndpointControllerApi.md#get_entity_llm_endpoints) | **GET** /api/v1/entities/llmEndpoints/{id} | Get LLM endpoint entity -*LlmEndpointControllerApi* | [**patch_entity_llm_endpoints**](docs/LlmEndpointControllerApi.md#patch_entity_llm_endpoints) | **PATCH** /api/v1/entities/llmEndpoints/{id} | Patch LLM endpoint entity -*LlmEndpointControllerApi* | [**update_entity_llm_endpoints**](docs/LlmEndpointControllerApi.md#update_entity_llm_endpoints) | **PUT** /api/v1/entities/llmEndpoints/{id} | PUT LLM endpoint entity *LlmProviderControllerApi* | [**create_entity_llm_providers**](docs/LlmProviderControllerApi.md#create_entity_llm_providers) | **POST** /api/v1/entities/llmProviders | Post LLM Provider entities *LlmProviderControllerApi* | [**delete_entity_llm_providers**](docs/LlmProviderControllerApi.md#delete_entity_llm_providers) | **DELETE** /api/v1/entities/llmProviders/{id} | Delete LLM Provider entity *LlmProviderControllerApi* | [**get_all_entities_llm_providers**](docs/LlmProviderControllerApi.md#get_all_entities_llm_providers) | **GET** /api/v1/entities/llmProviders | Get all LLM Provider entities @@ -1393,6 +1420,10 @@ Class | Method | HTTP request | Description - [AnomalyDetectionRequest](docs/AnomalyDetectionRequest.md) - [AnomalyDetectionResult](docs/AnomalyDetectionResult.md) - [AnomalyDetectionWrapper](docs/AnomalyDetectionWrapper.md) + - [AnthropicApiKeyAuth](docs/AnthropicApiKeyAuth.md) + - [AnthropicApiKeyAuthAllOf](docs/AnthropicApiKeyAuthAllOf.md) + - [AnthropicProviderAuth](docs/AnthropicProviderAuth.md) + - [AnthropicProviderConfig](docs/AnthropicProviderConfig.md) - [ApiEntitlement](docs/ApiEntitlement.md) - [ArithmeticMeasure](docs/ArithmeticMeasure.md) - [ArithmeticMeasureDefinition](docs/ArithmeticMeasureDefinition.md) @@ -1496,10 +1527,10 @@ Class | Method | HTTP request | Description - [DashboardAttributeFilter](docs/DashboardAttributeFilter.md) - [DashboardAttributeFilterAttributeFilter](docs/DashboardAttributeFilterAttributeFilter.md) - [DashboardCompoundComparisonCondition](docs/DashboardCompoundComparisonCondition.md) - - [DashboardCompoundComparisonConditionAllOf](docs/DashboardCompoundComparisonConditionAllOf.md) + - [DashboardCompoundComparisonConditionComparison](docs/DashboardCompoundComparisonConditionComparison.md) - [DashboardCompoundConditionItem](docs/DashboardCompoundConditionItem.md) - [DashboardCompoundRangeCondition](docs/DashboardCompoundRangeCondition.md) - - [DashboardCompoundRangeConditionAllOf](docs/DashboardCompoundRangeConditionAllOf.md) + - [DashboardCompoundRangeConditionRange](docs/DashboardCompoundRangeConditionRange.md) - [DashboardContext](docs/DashboardContext.md) - [DashboardDateFilter](docs/DashboardDateFilter.md) - [DashboardDateFilterDateFilter](docs/DashboardDateFilterDateFilter.md) @@ -1509,7 +1540,8 @@ Class | Method | HTTP request | Description - [DashboardMatchAttributeFilter](docs/DashboardMatchAttributeFilter.md) - [DashboardMatchAttributeFilterMatchAttributeFilter](docs/DashboardMatchAttributeFilterMatchAttributeFilter.md) - [DashboardMeasureValueFilter](docs/DashboardMeasureValueFilter.md) - - [DashboardMeasureValueFilterMeasureValueFilter](docs/DashboardMeasureValueFilterMeasureValueFilter.md) + - [DashboardMeasureValueFilterDashboardMeasureValueFilter](docs/DashboardMeasureValueFilterDashboardMeasureValueFilter.md) + - [DashboardParameterValue](docs/DashboardParameterValue.md) - [DashboardPermissions](docs/DashboardPermissions.md) - [DashboardPermissionsAssignment](docs/DashboardPermissionsAssignment.md) - [DashboardSlidesTemplate](docs/DashboardSlidesTemplate.md) @@ -1663,6 +1695,7 @@ Class | Method | HTTP request | Description - [ExecutionResultDataSourceMessage](docs/ExecutionResultDataSourceMessage.md) - [ExecutionResultGrandTotal](docs/ExecutionResultGrandTotal.md) - [ExecutionResultHeader](docs/ExecutionResultHeader.md) + - [ExecutionResultLimitBreak](docs/ExecutionResultLimitBreak.md) - [ExecutionResultMetadata](docs/ExecutionResultMetadata.md) - [ExecutionResultPaging](docs/ExecutionResultPaging.md) - [ExecutionSettings](docs/ExecutionSettings.md) @@ -1728,6 +1761,7 @@ Class | Method | HTTP request | Description - [InlineMeasureDefinitionInline](docs/InlineMeasureDefinitionInline.md) - [InsightWidgetDescriptor](docs/InsightWidgetDescriptor.md) - [IntroSlideTemplate](docs/IntroSlideTemplate.md) + - [IpAllowlistPolicyTargets](docs/IpAllowlistPolicyTargets.md) - [JsonApiAgentIn](docs/JsonApiAgentIn.md) - [JsonApiAgentInAttributes](docs/JsonApiAgentInAttributes.md) - [JsonApiAgentInDocument](docs/JsonApiAgentInDocument.md) @@ -1972,6 +2006,8 @@ Class | Method | HTTP request | Description - [JsonApiDatasetPatchDocument](docs/JsonApiDatasetPatchDocument.md) - [JsonApiDatasetToManyLinkage](docs/JsonApiDatasetToManyLinkage.md) - [JsonApiDatasetToOneLinkage](docs/JsonApiDatasetToOneLinkage.md) + - [JsonApiDocumentDatabaseInstance](docs/JsonApiDocumentDatabaseInstance.md) + - [JsonApiDocumentPipeTable](docs/JsonApiDocumentPipeTable.md) - [JsonApiEntitlementOut](docs/JsonApiEntitlementOut.md) - [JsonApiEntitlementOutAttributes](docs/JsonApiEntitlementOutAttributes.md) - [JsonApiEntitlementOutDocument](docs/JsonApiEntitlementOutDocument.md) @@ -2062,6 +2098,21 @@ Class | Method | HTTP request | Description - [JsonApiIdentityProviderPatch](docs/JsonApiIdentityProviderPatch.md) - [JsonApiIdentityProviderPatchDocument](docs/JsonApiIdentityProviderPatchDocument.md) - [JsonApiIdentityProviderToOneLinkage](docs/JsonApiIdentityProviderToOneLinkage.md) + - [JsonApiIpAllowlistPolicyIn](docs/JsonApiIpAllowlistPolicyIn.md) + - [JsonApiIpAllowlistPolicyInAttributes](docs/JsonApiIpAllowlistPolicyInAttributes.md) + - [JsonApiIpAllowlistPolicyInDocument](docs/JsonApiIpAllowlistPolicyInDocument.md) + - [JsonApiIpAllowlistPolicyInRelationships](docs/JsonApiIpAllowlistPolicyInRelationships.md) + - [JsonApiIpAllowlistPolicyOut](docs/JsonApiIpAllowlistPolicyOut.md) + - [JsonApiIpAllowlistPolicyOutDocument](docs/JsonApiIpAllowlistPolicyOutDocument.md) + - [JsonApiIpAllowlistPolicyOutIncludes](docs/JsonApiIpAllowlistPolicyOutIncludes.md) + - [JsonApiIpAllowlistPolicyOutList](docs/JsonApiIpAllowlistPolicyOutList.md) + - [JsonApiIpAllowlistPolicyOutWithLinks](docs/JsonApiIpAllowlistPolicyOutWithLinks.md) + - [JsonApiItemDataSourceInfo](docs/JsonApiItemDataSourceInfo.md) + - [JsonApiItemDatabaseInstance](docs/JsonApiItemDatabaseInstance.md) + - [JsonApiItemObjectStorageInfo](docs/JsonApiItemObjectStorageInfo.md) + - [JsonApiItemPipeTable](docs/JsonApiItemPipeTable.md) + - [JsonApiItemPipeTableSummary](docs/JsonApiItemPipeTableSummary.md) + - [JsonApiItemServiceInfo](docs/JsonApiItemServiceInfo.md) - [JsonApiJwkIn](docs/JsonApiJwkIn.md) - [JsonApiJwkInAttributes](docs/JsonApiJwkInAttributes.md) - [JsonApiJwkInAttributesContent](docs/JsonApiJwkInAttributesContent.md) @@ -2102,17 +2153,13 @@ Class | Method | HTTP request | Description - [JsonApiLabelPatchDocument](docs/JsonApiLabelPatchDocument.md) - [JsonApiLabelToManyLinkage](docs/JsonApiLabelToManyLinkage.md) - [JsonApiLabelToOneLinkage](docs/JsonApiLabelToOneLinkage.md) - - [JsonApiLlmEndpointIn](docs/JsonApiLlmEndpointIn.md) - - [JsonApiLlmEndpointInAttributes](docs/JsonApiLlmEndpointInAttributes.md) - - [JsonApiLlmEndpointInDocument](docs/JsonApiLlmEndpointInDocument.md) - - [JsonApiLlmEndpointOut](docs/JsonApiLlmEndpointOut.md) - - [JsonApiLlmEndpointOutAttributes](docs/JsonApiLlmEndpointOutAttributes.md) - - [JsonApiLlmEndpointOutDocument](docs/JsonApiLlmEndpointOutDocument.md) - - [JsonApiLlmEndpointOutList](docs/JsonApiLlmEndpointOutList.md) - - [JsonApiLlmEndpointOutWithLinks](docs/JsonApiLlmEndpointOutWithLinks.md) - - [JsonApiLlmEndpointPatch](docs/JsonApiLlmEndpointPatch.md) - - [JsonApiLlmEndpointPatchAttributes](docs/JsonApiLlmEndpointPatchAttributes.md) - - [JsonApiLlmEndpointPatchDocument](docs/JsonApiLlmEndpointPatchDocument.md) + - [JsonApiListDocumentDataSourceInfo](docs/JsonApiListDocumentDataSourceInfo.md) + - [JsonApiListDocumentDatabaseInstance](docs/JsonApiListDocumentDatabaseInstance.md) + - [JsonApiListDocumentObjectStorageInfo](docs/JsonApiListDocumentObjectStorageInfo.md) + - [JsonApiListDocumentPipeTableSummary](docs/JsonApiListDocumentPipeTableSummary.md) + - [JsonApiListDocumentServiceInfo](docs/JsonApiListDocumentServiceInfo.md) + - [JsonApiListLinks](docs/JsonApiListLinks.md) + - [JsonApiListMeta](docs/JsonApiListMeta.md) - [JsonApiLlmProviderIn](docs/JsonApiLlmProviderIn.md) - [JsonApiLlmProviderInAttributes](docs/JsonApiLlmProviderInAttributes.md) - [JsonApiLlmProviderInAttributesModelsInner](docs/JsonApiLlmProviderInAttributesModelsInner.md) @@ -2200,6 +2247,7 @@ Class | Method | HTTP request | Description - [JsonApiOrganizationSettingOutWithLinks](docs/JsonApiOrganizationSettingOutWithLinks.md) - [JsonApiOrganizationSettingPatch](docs/JsonApiOrganizationSettingPatch.md) - [JsonApiOrganizationSettingPatchDocument](docs/JsonApiOrganizationSettingPatchDocument.md) + - [JsonApiPageInfo](docs/JsonApiPageInfo.md) - [JsonApiParameterIn](docs/JsonApiParameterIn.md) - [JsonApiParameterInAttributes](docs/JsonApiParameterInAttributes.md) - [JsonApiParameterInAttributesDefinition](docs/JsonApiParameterInAttributesDefinition.md) @@ -2361,16 +2409,16 @@ Class | Method | HTTP request | Description - [KeyDriversResponse](docs/KeyDriversResponse.md) - [KeyDriversResult](docs/KeyDriversResult.md) - [LabelIdentifier](docs/LabelIdentifier.md) - - [ListDatabaseDataSourcesResponse](docs/ListDatabaseDataSourcesResponse.md) - - [ListDatabaseInstancesResponse](docs/ListDatabaseInstancesResponse.md) + - [LdmObjectPermissions](docs/LdmObjectPermissions.md) + - [LdmObjectPermissionsAssignment](docs/LdmObjectPermissionsAssignment.md) + - [LdmObjectPermissionsForAssignee](docs/LdmObjectPermissionsForAssignee.md) + - [LdmObjectPermissionsForAssigneeAllOf](docs/LdmObjectPermissionsForAssigneeAllOf.md) + - [LdmObjectPermissionsForAssigneeRule](docs/LdmObjectPermissionsForAssigneeRule.md) - [ListLinks](docs/ListLinks.md) - [ListLinksAllOf](docs/ListLinksAllOf.md) - [ListLlmProviderModelsRequest](docs/ListLlmProviderModelsRequest.md) - [ListLlmProviderModelsRequestProviderConfig](docs/ListLlmProviderModelsRequestProviderConfig.md) - [ListLlmProviderModelsResponse](docs/ListLlmProviderModelsResponse.md) - - [ListObjectStoragesResponse](docs/ListObjectStoragesResponse.md) - - [ListPipeTablesResponse](docs/ListPipeTablesResponse.md) - - [ListServicesResponse](docs/ListServicesResponse.md) - [LiveFeatureFlagConfiguration](docs/LiveFeatureFlagConfiguration.md) - [LiveFeatures](docs/LiveFeatures.md) - [LiveFeaturesAllOf](docs/LiveFeaturesAllOf.md) @@ -2379,6 +2427,7 @@ Class | Method | HTTP request | Description - [LlmProviderConfig](docs/LlmProviderConfig.md) - [LocalIdentifier](docs/LocalIdentifier.md) - [LocaleRequest](docs/LocaleRequest.md) + - [ManageAttributePermissionsRequestInner](docs/ManageAttributePermissionsRequestInner.md) - [ManageDashboardPermissionsRequestInner](docs/ManageDashboardPermissionsRequestInner.md) - [MatchAttributeFilter](docs/MatchAttributeFilter.md) - [MatchAttributeFilterMatchAttributeFilter](docs/MatchAttributeFilterMatchAttributeFilter.md) @@ -2448,7 +2497,6 @@ Class | Method | HTTP request | Description - [PendingOperation](docs/PendingOperation.md) - [PermissionsAssignment](docs/PermissionsAssignment.md) - [PermissionsForAssignee](docs/PermissionsForAssignee.md) - - [PermissionsForAssigneeAllOf](docs/PermissionsForAssigneeAllOf.md) - [PermissionsForAssigneeRule](docs/PermissionsForAssigneeRule.md) - [PipeTable](docs/PipeTable.md) - [PipeTableDistributionConfig](docs/PipeTableDistributionConfig.md) @@ -2495,6 +2543,7 @@ Class | Method | HTTP request | Description - [ReasoningStep](docs/ReasoningStep.md) - [ReferenceIdentifier](docs/ReferenceIdentifier.md) - [ReferenceSourceColumn](docs/ReferenceSourceColumn.md) + - [RefreshPartitionRequest](docs/RefreshPartitionRequest.md) - [Relative](docs/Relative.md) - [RelativeBoundedDateFilter](docs/RelativeBoundedDateFilter.md) - [RelativeDateFilter](docs/RelativeDateFilter.md) @@ -2503,9 +2552,6 @@ Class | Method | HTTP request | Description - [RemoveDatabaseDataSourceResponse](docs/RemoveDatabaseDataSourceResponse.md) - [ResolveSettingsRequest](docs/ResolveSettingsRequest.md) - [ResolvedLlm](docs/ResolvedLlm.md) - - [ResolvedLlmEndpoint](docs/ResolvedLlmEndpoint.md) - - [ResolvedLlmEndpointAllOf](docs/ResolvedLlmEndpointAllOf.md) - - [ResolvedLlmEndpoints](docs/ResolvedLlmEndpoints.md) - [ResolvedLlmProvider](docs/ResolvedLlmProvider.md) - [ResolvedLlmProviderAllOf](docs/ResolvedLlmProviderAllOf.md) - [ResolvedLlms](docs/ResolvedLlms.md) @@ -2585,7 +2631,6 @@ Class | Method | HTTP request | Description - [TestResponse](docs/TestResponse.md) - [Thought](docs/Thought.md) - [TimeSlicePartitionConfig](docs/TimeSlicePartitionConfig.md) - - [ToolCallEventResult](docs/ToolCallEventResult.md) - [Total](docs/Total.md) - [TotalDimension](docs/TotalDimension.md) - [TotalExecutionResultHeader](docs/TotalExecutionResultHeader.md) @@ -2616,9 +2661,6 @@ Class | Method | HTTP request | Description - [UserManagementWorkspacePermissionAssignment](docs/UserManagementWorkspacePermissionAssignment.md) - [UserPermission](docs/UserPermission.md) - [ValidateByItem](docs/ValidateByItem.md) - - [ValidateLLMEndpointByIdRequest](docs/ValidateLLMEndpointByIdRequest.md) - - [ValidateLLMEndpointRequest](docs/ValidateLLMEndpointRequest.md) - - [ValidateLLMEndpointResponse](docs/ValidateLLMEndpointResponse.md) - [Value](docs/Value.md) - [VisibleFilter](docs/VisibleFilter.md) - [VisualExportRequest](docs/VisualExportRequest.md) diff --git a/gooddata-api-client/docs/AILakeApi.md b/gooddata-api-client/docs/AILakeApi.md index fc55e6892..96c2aba13 100644 --- a/gooddata-api-client/docs/AILakeApi.md +++ b/gooddata-api-client/docs/AILakeApi.md @@ -15,10 +15,11 @@ Method | HTTP request | Description [**get_ai_lake_service_status**](AILakeApi.md#get_ai_lake_service_status) | **GET** /api/v1/ailake/services/{serviceId}/status | (BETA) Get AI Lake service status [**list_ai_lake_database_data_sources**](AILakeApi.md#list_ai_lake_database_data_sources) | **GET** /api/v1/ailake/database/instances/{instanceId}/dataSources | (BETA) List data sources of an AILake Database instance [**list_ai_lake_database_instances**](AILakeApi.md#list_ai_lake_database_instances) | **GET** /api/v1/ailake/database/instances | (BETA) List AI Lake Database instances -[**list_ai_lake_object_storages**](AILakeApi.md#list_ai_lake_object_storages) | **GET** /api/v1/ailake/object-storages | (BETA) List registered AI Lake ObjectStorages +[**list_ai_lake_object_storages**](AILakeApi.md#list_ai_lake_object_storages) | **GET** /api/v1/ailake/objectStorages | (BETA) List registered AI Lake ObjectStorages [**list_ai_lake_pipe_tables**](AILakeApi.md#list_ai_lake_pipe_tables) | **GET** /api/v1/ailake/database/instances/{instanceId}/pipeTables | (BETA) List AI Lake pipe tables [**list_ai_lake_services**](AILakeApi.md#list_ai_lake_services) | **GET** /api/v1/ailake/services | (BETA) List AI Lake services [**provision_ai_lake_database_instance**](AILakeApi.md#provision_ai_lake_database_instance) | **POST** /api/v1/ailake/database/instances | (BETA) Create a new AILake Database instance +[**refresh_ai_lake_pipe_table_partition**](AILakeApi.md#refresh_ai_lake_pipe_table_partition) | **POST** /api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName}/refresh | (BETA) Refresh a pipe table partition [**remove_ai_lake_database_data_source**](AILakeApi.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 [**run_ai_lake_service_command**](AILakeApi.md#run_ai_lake_service_command) | **POST** /api/v1/ailake/services/{serviceId}/commands/{commandName}/run | (BETA) Run an AI Lake services command [**update_ai_lake_database_data_source**](AILakeApi.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 @@ -448,7 +449,7 @@ 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) # **get_ai_lake_database_instance** -> DatabaseInstance get_ai_lake_database_instance(instance_id) +> JsonApiDocumentDatabaseInstance get_ai_lake_database_instance(instance_id) (BETA) Get the specified AILake Database instance @@ -461,7 +462,7 @@ No authorization required import time import gooddata_api_client from gooddata_api_client.api import ai_lake_api -from gooddata_api_client.model.database_instance import DatabaseInstance +from gooddata_api_client.model.json_api_document_database_instance import JsonApiDocumentDatabaseInstance 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. @@ -494,7 +495,7 @@ Name | Type | Description | Notes ### Return type -[**DatabaseInstance**](DatabaseInstance.md) +[**JsonApiDocumentDatabaseInstance**](JsonApiDocumentDatabaseInstance.md) ### Authorization @@ -582,7 +583,7 @@ 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) # **get_ai_lake_pipe_table** -> PipeTable get_ai_lake_pipe_table(instance_id, table_name) +> JsonApiDocumentPipeTable get_ai_lake_pipe_table(instance_id, table_name) (BETA) Get an AI Lake pipe table @@ -595,7 +596,7 @@ No authorization required import time import gooddata_api_client from gooddata_api_client.api import ai_lake_api -from gooddata_api_client.model.pipe_table import PipeTable +from gooddata_api_client.model.json_api_document_pipe_table import JsonApiDocumentPipeTable 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. @@ -630,7 +631,7 @@ Name | Type | Description | Notes ### Return type -[**PipeTable**](PipeTable.md) +[**JsonApiDocumentPipeTable**](JsonApiDocumentPipeTable.md) ### Authorization @@ -718,11 +719,11 @@ 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) # **list_ai_lake_database_data_sources** -> ListDatabaseDataSourcesResponse list_ai_lake_database_data_sources(instance_id) +> JsonApiListDocumentDataSourceInfo list_ai_lake_database_data_sources(instance_id) (BETA) List data sources of an AILake Database instance -(BETA) Returns all data source associations for the specified AI Lake database instance. +(BETA) Returns data source associations for the specified AI Lake database instance. ### Example @@ -731,7 +732,7 @@ No authorization required import time import gooddata_api_client from gooddata_api_client.api import ai_lake_api -from gooddata_api_client.model.list_database_data_sources_response import ListDatabaseDataSourcesResponse +from gooddata_api_client.model.json_api_list_document_data_source_info import JsonApiListDocumentDataSourceInfo 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. @@ -745,6 +746,11 @@ with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = ai_lake_api.AILakeApi(api_client) instance_id = "instanceId_example" # str | Database instance identifier. Accepts the database name (preferred) or UUID. + page = "0" # str | Zero-based page number. (optional) if omitted the server will use the default value of "0" + size = "50" # str | Number of items per page. (optional) if omitted the server will use the default value of "50" + meta_include = [ + "metaInclude_example", + ] # [str] | (optional) # example passing only required values which don't have defaults set try: @@ -753,6 +759,15 @@ with gooddata_api_client.ApiClient() as api_client: pprint(api_response) except gooddata_api_client.ApiException as e: print("Exception when calling AILakeApi->list_ai_lake_database_data_sources: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # (BETA) List data sources of an AILake Database instance + api_response = api_instance.list_ai_lake_database_data_sources(instance_id, page=page, size=size, meta_include=meta_include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakeApi->list_ai_lake_database_data_sources: %s\n" % e) ``` @@ -761,10 +776,13 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **instance_id** | **str**| Database instance identifier. Accepts the database name (preferred) or UUID. | + **page** | **str**| Zero-based page number. | [optional] if omitted the server will use the default value of "0" + **size** | **str**| Number of items per page. | [optional] if omitted the server will use the default value of "50" + **meta_include** | **[str]**| | [optional] ### Return type -[**ListDatabaseDataSourcesResponse**](ListDatabaseDataSourcesResponse.md) +[**JsonApiListDocumentDataSourceInfo**](JsonApiListDocumentDataSourceInfo.md) ### Authorization @@ -785,11 +803,11 @@ 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) # **list_ai_lake_database_instances** -> ListDatabaseInstancesResponse list_ai_lake_database_instances() +> JsonApiListDocumentDatabaseInstance list_ai_lake_database_instances() (BETA) List AI Lake Database instances -(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. +(BETA) Lists database instances in the organization's AI Lake. ### Example @@ -798,7 +816,7 @@ No authorization required import time import gooddata_api_client from gooddata_api_client.api import ai_lake_api -from gooddata_api_client.model.list_database_instances_response import ListDatabaseInstancesResponse +from gooddata_api_client.model.json_api_list_document_database_instance import JsonApiListDocumentDatabaseInstance 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. @@ -811,8 +829,8 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = ai_lake_api.AILakeApi(api_client) - size = 50 # int | (optional) if omitted the server will use the default value of 50 - offset = 0 # int | (optional) if omitted the server will use the default value of 0 + page = "0" # str | Zero-based page number. (optional) if omitted the server will use the default value of "0" + size = "50" # str | Number of items per page. (optional) if omitted the server will use the default value of "50" meta_include = [ "metaInclude_example", ] # [str] | (optional) @@ -821,7 +839,7 @@ with gooddata_api_client.ApiClient() as api_client: # and optional values try: # (BETA) List AI Lake Database instances - api_response = api_instance.list_ai_lake_database_instances(size=size, offset=offset, meta_include=meta_include) + api_response = api_instance.list_ai_lake_database_instances(page=page, size=size, meta_include=meta_include) pprint(api_response) except gooddata_api_client.ApiException as e: print("Exception when calling AILakeApi->list_ai_lake_database_instances: %s\n" % e) @@ -832,13 +850,13 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **size** | **int**| | [optional] if omitted the server will use the default value of 50 - **offset** | **int**| | [optional] if omitted the server will use the default value of 0 + **page** | **str**| Zero-based page number. | [optional] if omitted the server will use the default value of "0" + **size** | **str**| Number of items per page. | [optional] if omitted the server will use the default value of "50" **meta_include** | **[str]**| | [optional] ### Return type -[**ListDatabaseInstancesResponse**](ListDatabaseInstancesResponse.md) +[**JsonApiListDocumentDatabaseInstance**](JsonApiListDocumentDatabaseInstance.md) ### Authorization @@ -859,7 +877,7 @@ 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) # **list_ai_lake_object_storages** -> ListObjectStoragesResponse list_ai_lake_object_storages() +> JsonApiListDocumentObjectStorageInfo list_ai_lake_object_storages() (BETA) List registered AI Lake ObjectStorages @@ -872,7 +890,7 @@ No authorization required import time import gooddata_api_client from gooddata_api_client.api import ai_lake_api -from gooddata_api_client.model.list_object_storages_response import ListObjectStoragesResponse +from gooddata_api_client.model.json_api_list_document_object_storage_info import JsonApiListDocumentObjectStorageInfo 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. @@ -885,11 +903,17 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = ai_lake_api.AILakeApi(api_client) + page = "0" # str | Zero-based page number. (optional) if omitted the server will use the default value of "0" + size = "50" # str | Number of items per page. (optional) if omitted the server will use the default value of "50" + meta_include = [ + "metaInclude_example", + ] # [str] | (optional) - # example, this endpoint has no required or optional parameters + # example passing only required values which don't have defaults set + # and optional values try: # (BETA) List registered AI Lake ObjectStorages - api_response = api_instance.list_ai_lake_object_storages() + api_response = api_instance.list_ai_lake_object_storages(page=page, size=size, meta_include=meta_include) pprint(api_response) except gooddata_api_client.ApiException as e: print("Exception when calling AILakeApi->list_ai_lake_object_storages: %s\n" % e) @@ -897,11 +921,16 @@ with gooddata_api_client.ApiClient() as api_client: ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **page** | **str**| Zero-based page number. | [optional] if omitted the server will use the default value of "0" + **size** | **str**| Number of items per page. | [optional] if omitted the server will use the default value of "50" + **meta_include** | **[str]**| | [optional] ### Return type -[**ListObjectStoragesResponse**](ListObjectStoragesResponse.md) +[**JsonApiListDocumentObjectStorageInfo**](JsonApiListDocumentObjectStorageInfo.md) ### Authorization @@ -922,11 +951,11 @@ 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) # **list_ai_lake_pipe_tables** -> ListPipeTablesResponse list_ai_lake_pipe_tables(instance_id) +> JsonApiListDocumentPipeTableSummary list_ai_lake_pipe_tables(instance_id) (BETA) List AI Lake pipe tables -(BETA) Lists all active pipe tables in the given AI Lake database instance. +(BETA) Lists active pipe tables in the given AI Lake database instance. ### Example @@ -935,7 +964,7 @@ No authorization required import time import gooddata_api_client from gooddata_api_client.api import ai_lake_api -from gooddata_api_client.model.list_pipe_tables_response import ListPipeTablesResponse +from gooddata_api_client.model.json_api_list_document_pipe_table_summary import JsonApiListDocumentPipeTableSummary 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. @@ -949,6 +978,11 @@ with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = ai_lake_api.AILakeApi(api_client) instance_id = "instanceId_example" # str | Database instance identifier. Accepts the database name (preferred) or UUID. + page = "0" # str | Zero-based page number. (optional) if omitted the server will use the default value of "0" + size = "50" # str | Number of items per page. (optional) if omitted the server will use the default value of "50" + meta_include = [ + "metaInclude_example", + ] # [str] | (optional) # example passing only required values which don't have defaults set try: @@ -957,6 +991,15 @@ with gooddata_api_client.ApiClient() as api_client: pprint(api_response) except gooddata_api_client.ApiException as e: print("Exception when calling AILakeApi->list_ai_lake_pipe_tables: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # (BETA) List AI Lake pipe tables + api_response = api_instance.list_ai_lake_pipe_tables(instance_id, page=page, size=size, meta_include=meta_include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakeApi->list_ai_lake_pipe_tables: %s\n" % e) ``` @@ -965,10 +1008,13 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **instance_id** | **str**| Database instance identifier. Accepts the database name (preferred) or UUID. | + **page** | **str**| Zero-based page number. | [optional] if omitted the server will use the default value of "0" + **size** | **str**| Number of items per page. | [optional] if omitted the server will use the default value of "50" + **meta_include** | **[str]**| | [optional] ### Return type -[**ListPipeTablesResponse**](ListPipeTablesResponse.md) +[**JsonApiListDocumentPipeTableSummary**](JsonApiListDocumentPipeTableSummary.md) ### Authorization @@ -989,11 +1035,11 @@ 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) # **list_ai_lake_services** -> ListServicesResponse list_ai_lake_services() +> JsonApiListDocumentServiceInfo list_ai_lake_services() (BETA) List AI Lake services -(BETA) Lists services configured for the organization's AI Lake. Returns only non-sensitive fields (id, name). Supports paging via size and offset query parameters. Use metaInclude=page to get total count. +(BETA) Lists services configured for the organization's AI Lake. Returns only non-sensitive fields (id, name). ### Example @@ -1002,7 +1048,7 @@ No authorization required import time import gooddata_api_client from gooddata_api_client.api import ai_lake_api -from gooddata_api_client.model.list_services_response import ListServicesResponse +from gooddata_api_client.model.json_api_list_document_service_info import JsonApiListDocumentServiceInfo 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. @@ -1015,8 +1061,8 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = ai_lake_api.AILakeApi(api_client) - size = 50 # int | (optional) if omitted the server will use the default value of 50 - offset = 0 # int | (optional) if omitted the server will use the default value of 0 + page = "0" # str | Zero-based page number. (optional) if omitted the server will use the default value of "0" + size = "50" # str | Number of items per page. (optional) if omitted the server will use the default value of "50" meta_include = [ "metaInclude_example", ] # [str] | (optional) @@ -1025,7 +1071,7 @@ with gooddata_api_client.ApiClient() as api_client: # and optional values try: # (BETA) List AI Lake services - api_response = api_instance.list_ai_lake_services(size=size, offset=offset, meta_include=meta_include) + api_response = api_instance.list_ai_lake_services(page=page, size=size, meta_include=meta_include) pprint(api_response) except gooddata_api_client.ApiException as e: print("Exception when calling AILakeApi->list_ai_lake_services: %s\n" % e) @@ -1036,13 +1082,13 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **size** | **int**| | [optional] if omitted the server will use the default value of 50 - **offset** | **int**| | [optional] if omitted the server will use the default value of 0 + **page** | **str**| Zero-based page number. | [optional] if omitted the server will use the default value of "0" + **size** | **str**| Number of items per page. | [optional] if omitted the server will use the default value of "50" **meta_include** | **[str]**| | [optional] ### Return type -[**ListServicesResponse**](ListServicesResponse.md) +[**JsonApiListDocumentServiceInfo**](JsonApiListDocumentServiceInfo.md) ### Authorization @@ -1139,6 +1185,92 @@ No authorization required - **Accept**: application/json +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**202** | Accepted | * operation-id - Operation ID to use for polling.
* operation-location - Operation location URL that can be used for polling.
| + +[[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) + +# **refresh_ai_lake_pipe_table_partition** +> {str: (bool, date, datetime, dict, float, int, list, str, none_type)} refresh_ai_lake_pipe_table_partition(instance_id, table_name, refresh_partition_request) + +(BETA) Refresh a pipe table partition + +(BETA) Deletes all rows for the specified Hive partition and re-loads them from S3. Use after overwriting a partition file in object storage with corrected data. Returns an operation-id header the client can use to poll for progress. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import ai_lake_api +from gooddata_api_client.model.refresh_partition_request import RefreshPartitionRequest +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 = ai_lake_api.AILakeApi(api_client) + instance_id = "instanceId_example" # str | Database instance identifier. Accepts the database name (preferred) or UUID. + table_name = "tableName_example" # str | Pipe table name. + refresh_partition_request = RefreshPartitionRequest( + partition_spec={ + "key": "key_example", + }, + ) # RefreshPartitionRequest | + operation_id = "operation-id_example" # str | (optional) + + # example passing only required values which don't have defaults set + try: + # (BETA) Refresh a pipe table partition + api_response = api_instance.refresh_ai_lake_pipe_table_partition(instance_id, table_name, refresh_partition_request) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakeApi->refresh_ai_lake_pipe_table_partition: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # (BETA) Refresh a pipe table partition + api_response = api_instance.refresh_ai_lake_pipe_table_partition(instance_id, table_name, refresh_partition_request, operation_id=operation_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakeApi->refresh_ai_lake_pipe_table_partition: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **instance_id** | **str**| Database instance identifier. Accepts the database name (preferred) or UUID. | + **table_name** | **str**| Pipe table name. | + **refresh_partition_request** | [**RefreshPartitionRequest**](RefreshPartitionRequest.md)| | + **operation_id** | **str**| | [optional] + +### Return type + +**{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + ### HTTP response details | Status code | Description | Response headers | diff --git a/gooddata-api-client/docs/AILakeDatabasesApi.md b/gooddata-api-client/docs/AILakeDatabasesApi.md index 332d7040a..58cea9d5d 100644 --- a/gooddata-api-client/docs/AILakeDatabasesApi.md +++ b/gooddata-api-client/docs/AILakeDatabasesApi.md @@ -9,7 +9,7 @@ Method | HTTP request | Description [**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 [**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 [**list_ai_lake_database_instances**](AILakeDatabasesApi.md#list_ai_lake_database_instances) | **GET** /api/v1/ailake/database/instances | (BETA) List AI Lake Database instances -[**list_ai_lake_object_storages**](AILakeDatabasesApi.md#list_ai_lake_object_storages) | **GET** /api/v1/ailake/object-storages | (BETA) List registered AI Lake ObjectStorages +[**list_ai_lake_object_storages**](AILakeDatabasesApi.md#list_ai_lake_object_storages) | **GET** /api/v1/ailake/objectStorages | (BETA) List registered AI Lake ObjectStorages [**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 [**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 [**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 [[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) # **get_ai_lake_database_instance** -> DatabaseInstance get_ai_lake_database_instance(instance_id) +> JsonApiDocumentDatabaseInstance get_ai_lake_database_instance(instance_id) (BETA) Get the specified AILake Database instance @@ -179,7 +179,7 @@ No authorization required import time import gooddata_api_client from gooddata_api_client.api import ai_lake_databases_api -from gooddata_api_client.model.database_instance import DatabaseInstance +from gooddata_api_client.model.json_api_document_database_instance import JsonApiDocumentDatabaseInstance 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. @@ -212,7 +212,7 @@ Name | Type | Description | Notes ### Return type -[**DatabaseInstance**](DatabaseInstance.md) +[**JsonApiDocumentDatabaseInstance**](JsonApiDocumentDatabaseInstance.md) ### Authorization @@ -233,11 +233,11 @@ 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) # **list_ai_lake_database_data_sources** -> ListDatabaseDataSourcesResponse list_ai_lake_database_data_sources(instance_id) +> JsonApiListDocumentDataSourceInfo list_ai_lake_database_data_sources(instance_id) (BETA) List data sources of an AILake Database instance -(BETA) Returns all data source associations for the specified AI Lake database instance. +(BETA) Returns data source associations for the specified AI Lake database instance. ### Example @@ -246,7 +246,7 @@ No authorization required import time import gooddata_api_client from gooddata_api_client.api import ai_lake_databases_api -from gooddata_api_client.model.list_database_data_sources_response import ListDatabaseDataSourcesResponse +from gooddata_api_client.model.json_api_list_document_data_source_info import JsonApiListDocumentDataSourceInfo 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. @@ -260,6 +260,11 @@ with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = ai_lake_databases_api.AILakeDatabasesApi(api_client) instance_id = "instanceId_example" # str | Database instance identifier. Accepts the database name (preferred) or UUID. + page = "0" # str | Zero-based page number. (optional) if omitted the server will use the default value of "0" + size = "50" # str | Number of items per page. (optional) if omitted the server will use the default value of "50" + meta_include = [ + "metaInclude_example", + ] # [str] | (optional) # example passing only required values which don't have defaults set try: @@ -268,6 +273,15 @@ with gooddata_api_client.ApiClient() as api_client: pprint(api_response) except gooddata_api_client.ApiException as e: print("Exception when calling AILakeDatabasesApi->list_ai_lake_database_data_sources: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # (BETA) List data sources of an AILake Database instance + api_response = api_instance.list_ai_lake_database_data_sources(instance_id, page=page, size=size, meta_include=meta_include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakeDatabasesApi->list_ai_lake_database_data_sources: %s\n" % e) ``` @@ -276,10 +290,13 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **instance_id** | **str**| Database instance identifier. Accepts the database name (preferred) or UUID. | + **page** | **str**| Zero-based page number. | [optional] if omitted the server will use the default value of "0" + **size** | **str**| Number of items per page. | [optional] if omitted the server will use the default value of "50" + **meta_include** | **[str]**| | [optional] ### Return type -[**ListDatabaseDataSourcesResponse**](ListDatabaseDataSourcesResponse.md) +[**JsonApiListDocumentDataSourceInfo**](JsonApiListDocumentDataSourceInfo.md) ### Authorization @@ -300,11 +317,11 @@ 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) # **list_ai_lake_database_instances** -> ListDatabaseInstancesResponse list_ai_lake_database_instances() +> JsonApiListDocumentDatabaseInstance list_ai_lake_database_instances() (BETA) List AI Lake Database instances -(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. +(BETA) Lists database instances in the organization's AI Lake. ### Example @@ -313,7 +330,7 @@ No authorization required import time import gooddata_api_client from gooddata_api_client.api import ai_lake_databases_api -from gooddata_api_client.model.list_database_instances_response import ListDatabaseInstancesResponse +from gooddata_api_client.model.json_api_list_document_database_instance import JsonApiListDocumentDatabaseInstance 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. @@ -326,8 +343,8 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = ai_lake_databases_api.AILakeDatabasesApi(api_client) - size = 50 # int | (optional) if omitted the server will use the default value of 50 - offset = 0 # int | (optional) if omitted the server will use the default value of 0 + page = "0" # str | Zero-based page number. (optional) if omitted the server will use the default value of "0" + size = "50" # str | Number of items per page. (optional) if omitted the server will use the default value of "50" meta_include = [ "metaInclude_example", ] # [str] | (optional) @@ -336,7 +353,7 @@ with gooddata_api_client.ApiClient() as api_client: # and optional values try: # (BETA) List AI Lake Database instances - api_response = api_instance.list_ai_lake_database_instances(size=size, offset=offset, meta_include=meta_include) + api_response = api_instance.list_ai_lake_database_instances(page=page, size=size, meta_include=meta_include) pprint(api_response) except gooddata_api_client.ApiException as e: 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: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **size** | **int**| | [optional] if omitted the server will use the default value of 50 - **offset** | **int**| | [optional] if omitted the server will use the default value of 0 + **page** | **str**| Zero-based page number. | [optional] if omitted the server will use the default value of "0" + **size** | **str**| Number of items per page. | [optional] if omitted the server will use the default value of "50" **meta_include** | **[str]**| | [optional] ### Return type -[**ListDatabaseInstancesResponse**](ListDatabaseInstancesResponse.md) +[**JsonApiListDocumentDatabaseInstance**](JsonApiListDocumentDatabaseInstance.md) ### Authorization @@ -374,7 +391,7 @@ 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) # **list_ai_lake_object_storages** -> ListObjectStoragesResponse list_ai_lake_object_storages() +> JsonApiListDocumentObjectStorageInfo list_ai_lake_object_storages() (BETA) List registered AI Lake ObjectStorages @@ -387,7 +404,7 @@ No authorization required import time import gooddata_api_client from gooddata_api_client.api import ai_lake_databases_api -from gooddata_api_client.model.list_object_storages_response import ListObjectStoragesResponse +from gooddata_api_client.model.json_api_list_document_object_storage_info import JsonApiListDocumentObjectStorageInfo 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. @@ -400,11 +417,17 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = ai_lake_databases_api.AILakeDatabasesApi(api_client) + page = "0" # str | Zero-based page number. (optional) if omitted the server will use the default value of "0" + size = "50" # str | Number of items per page. (optional) if omitted the server will use the default value of "50" + meta_include = [ + "metaInclude_example", + ] # [str] | (optional) - # example, this endpoint has no required or optional parameters + # example passing only required values which don't have defaults set + # and optional values try: # (BETA) List registered AI Lake ObjectStorages - api_response = api_instance.list_ai_lake_object_storages() + api_response = api_instance.list_ai_lake_object_storages(page=page, size=size, meta_include=meta_include) pprint(api_response) except gooddata_api_client.ApiException as e: print("Exception when calling AILakeDatabasesApi->list_ai_lake_object_storages: %s\n" % e) @@ -412,11 +435,16 @@ with gooddata_api_client.ApiClient() as api_client: ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **page** | **str**| Zero-based page number. | [optional] if omitted the server will use the default value of "0" + **size** | **str**| Number of items per page. | [optional] if omitted the server will use the default value of "50" + **meta_include** | **[str]**| | [optional] ### Return type -[**ListObjectStoragesResponse**](ListObjectStoragesResponse.md) +[**JsonApiListDocumentObjectStorageInfo**](JsonApiListDocumentObjectStorageInfo.md) ### Authorization diff --git a/gooddata-api-client/docs/AILakePipeTablesApi.md b/gooddata-api-client/docs/AILakePipeTablesApi.md index 7c3190669..3c0056f05 100644 --- a/gooddata-api-client/docs/AILakePipeTablesApi.md +++ b/gooddata-api-client/docs/AILakePipeTablesApi.md @@ -9,6 +9,7 @@ Method | HTTP request | Description [**delete_ai_lake_pipe_table**](AILakePipeTablesApi.md#delete_ai_lake_pipe_table) | **DELETE** /api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName} | (BETA) Delete an AI Lake pipe table [**get_ai_lake_pipe_table**](AILakePipeTablesApi.md#get_ai_lake_pipe_table) | **GET** /api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName} | (BETA) Get an AI Lake pipe table [**list_ai_lake_pipe_tables**](AILakePipeTablesApi.md#list_ai_lake_pipe_tables) | **GET** /api/v1/ailake/database/instances/{instanceId}/pipeTables | (BETA) List AI Lake pipe tables +[**refresh_ai_lake_pipe_table_partition**](AILakePipeTablesApi.md#refresh_ai_lake_pipe_table_partition) | **POST** /api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName}/refresh | (BETA) Refresh a pipe table partition # **analyze_statistics** @@ -285,7 +286,7 @@ 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) # **get_ai_lake_pipe_table** -> PipeTable get_ai_lake_pipe_table(instance_id, table_name) +> JsonApiDocumentPipeTable get_ai_lake_pipe_table(instance_id, table_name) (BETA) Get an AI Lake pipe table @@ -298,7 +299,7 @@ No authorization required import time import gooddata_api_client from gooddata_api_client.api import ai_lake_pipe_tables_api -from gooddata_api_client.model.pipe_table import PipeTable +from gooddata_api_client.model.json_api_document_pipe_table import JsonApiDocumentPipeTable 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. @@ -333,7 +334,7 @@ Name | Type | Description | Notes ### Return type -[**PipeTable**](PipeTable.md) +[**JsonApiDocumentPipeTable**](JsonApiDocumentPipeTable.md) ### Authorization @@ -354,11 +355,11 @@ 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) # **list_ai_lake_pipe_tables** -> ListPipeTablesResponse list_ai_lake_pipe_tables(instance_id) +> JsonApiListDocumentPipeTableSummary list_ai_lake_pipe_tables(instance_id) (BETA) List AI Lake pipe tables -(BETA) Lists all active pipe tables in the given AI Lake database instance. +(BETA) Lists active pipe tables in the given AI Lake database instance. ### Example @@ -367,7 +368,7 @@ No authorization required import time import gooddata_api_client from gooddata_api_client.api import ai_lake_pipe_tables_api -from gooddata_api_client.model.list_pipe_tables_response import ListPipeTablesResponse +from gooddata_api_client.model.json_api_list_document_pipe_table_summary import JsonApiListDocumentPipeTableSummary 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. @@ -381,6 +382,11 @@ with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = ai_lake_pipe_tables_api.AILakePipeTablesApi(api_client) instance_id = "instanceId_example" # str | Database instance identifier. Accepts the database name (preferred) or UUID. + page = "0" # str | Zero-based page number. (optional) if omitted the server will use the default value of "0" + size = "50" # str | Number of items per page. (optional) if omitted the server will use the default value of "50" + meta_include = [ + "metaInclude_example", + ] # [str] | (optional) # example passing only required values which don't have defaults set try: @@ -389,6 +395,15 @@ with gooddata_api_client.ApiClient() as api_client: pprint(api_response) except gooddata_api_client.ApiException as e: print("Exception when calling AILakePipeTablesApi->list_ai_lake_pipe_tables: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # (BETA) List AI Lake pipe tables + api_response = api_instance.list_ai_lake_pipe_tables(instance_id, page=page, size=size, meta_include=meta_include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakePipeTablesApi->list_ai_lake_pipe_tables: %s\n" % e) ``` @@ -397,10 +412,13 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **instance_id** | **str**| Database instance identifier. Accepts the database name (preferred) or UUID. | + **page** | **str**| Zero-based page number. | [optional] if omitted the server will use the default value of "0" + **size** | **str**| Number of items per page. | [optional] if omitted the server will use the default value of "50" + **meta_include** | **[str]**| | [optional] ### Return type -[**ListPipeTablesResponse**](ListPipeTablesResponse.md) +[**JsonApiListDocumentPipeTableSummary**](JsonApiListDocumentPipeTableSummary.md) ### Authorization @@ -420,3 +438,89 @@ 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) +# **refresh_ai_lake_pipe_table_partition** +> {str: (bool, date, datetime, dict, float, int, list, str, none_type)} refresh_ai_lake_pipe_table_partition(instance_id, table_name, refresh_partition_request) + +(BETA) Refresh a pipe table partition + +(BETA) Deletes all rows for the specified Hive partition and re-loads them from S3. Use after overwriting a partition file in object storage with corrected data. Returns an operation-id header the client can use to poll for progress. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import ai_lake_pipe_tables_api +from gooddata_api_client.model.refresh_partition_request import RefreshPartitionRequest +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 = ai_lake_pipe_tables_api.AILakePipeTablesApi(api_client) + instance_id = "instanceId_example" # str | Database instance identifier. Accepts the database name (preferred) or UUID. + table_name = "tableName_example" # str | Pipe table name. + refresh_partition_request = RefreshPartitionRequest( + partition_spec={ + "key": "key_example", + }, + ) # RefreshPartitionRequest | + operation_id = "operation-id_example" # str | (optional) + + # example passing only required values which don't have defaults set + try: + # (BETA) Refresh a pipe table partition + api_response = api_instance.refresh_ai_lake_pipe_table_partition(instance_id, table_name, refresh_partition_request) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakePipeTablesApi->refresh_ai_lake_pipe_table_partition: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # (BETA) Refresh a pipe table partition + api_response = api_instance.refresh_ai_lake_pipe_table_partition(instance_id, table_name, refresh_partition_request, operation_id=operation_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling AILakePipeTablesApi->refresh_ai_lake_pipe_table_partition: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **instance_id** | **str**| Database instance identifier. Accepts the database name (preferred) or UUID. | + **table_name** | **str**| Pipe table name. | + **refresh_partition_request** | [**RefreshPartitionRequest**](RefreshPartitionRequest.md)| | + **operation_id** | **str**| | [optional] + +### Return type + +**{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**202** | Accepted | * operation-id - Operation ID to use for polling.
* operation-location - Operation location URL that can be used for polling.
| + +[[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) + diff --git a/gooddata-api-client/docs/AILakeServicesOperationsApi.md b/gooddata-api-client/docs/AILakeServicesOperationsApi.md index ad2820592..fa1385e80 100644 --- a/gooddata-api-client/docs/AILakeServicesOperationsApi.md +++ b/gooddata-api-client/docs/AILakeServicesOperationsApi.md @@ -145,11 +145,11 @@ 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) # **list_ai_lake_services** -> ListServicesResponse list_ai_lake_services() +> JsonApiListDocumentServiceInfo list_ai_lake_services() (BETA) List AI Lake services -(BETA) Lists services configured for the organization's AI Lake. Returns only non-sensitive fields (id, name). Supports paging via size and offset query parameters. Use metaInclude=page to get total count. +(BETA) Lists services configured for the organization's AI Lake. Returns only non-sensitive fields (id, name). ### Example @@ -158,7 +158,7 @@ No authorization required import time import gooddata_api_client from gooddata_api_client.api import ai_lake_services_operations_api -from gooddata_api_client.model.list_services_response import ListServicesResponse +from gooddata_api_client.model.json_api_list_document_service_info import JsonApiListDocumentServiceInfo 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. @@ -171,8 +171,8 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = ai_lake_services_operations_api.AILakeServicesOperationsApi(api_client) - size = 50 # int | (optional) if omitted the server will use the default value of 50 - offset = 0 # int | (optional) if omitted the server will use the default value of 0 + page = "0" # str | Zero-based page number. (optional) if omitted the server will use the default value of "0" + size = "50" # str | Number of items per page. (optional) if omitted the server will use the default value of "50" meta_include = [ "metaInclude_example", ] # [str] | (optional) @@ -181,7 +181,7 @@ with gooddata_api_client.ApiClient() as api_client: # and optional values try: # (BETA) List AI Lake services - api_response = api_instance.list_ai_lake_services(size=size, offset=offset, meta_include=meta_include) + api_response = api_instance.list_ai_lake_services(page=page, size=size, meta_include=meta_include) pprint(api_response) except gooddata_api_client.ApiException as e: print("Exception when calling AILakeServicesOperationsApi->list_ai_lake_services: %s\n" % e) @@ -192,13 +192,13 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **size** | **int**| | [optional] if omitted the server will use the default value of 50 - **offset** | **int**| | [optional] if omitted the server will use the default value of 0 + **page** | **str**| Zero-based page number. | [optional] if omitted the server will use the default value of "0" + **size** | **str**| Number of items per page. | [optional] if omitted the server will use the default value of "50" **meta_include** | **[str]**| | [optional] ### Return type -[**ListServicesResponse**](ListServicesResponse.md) +[**JsonApiListDocumentServiceInfo**](JsonApiListDocumentServiceInfo.md) ### Authorization diff --git a/gooddata-api-client/docs/ActionsApi.md b/gooddata-api-client/docs/ActionsApi.md index 7b1197259..04e38060e 100644 --- a/gooddata-api-client/docs/ActionsApi.md +++ b/gooddata-api-client/docs/ActionsApi.md @@ -4,6 +4,7 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- +[**add_targets**](ActionsApi.md#add_targets) | **POST** /api/v1/actions/ipAllowlistPolicies/{id}/addTargets | Add targets to IP allowlist policy [**ai_chat**](ActionsApi.md#ai_chat) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/chat | (BETA) Chat with AI [**ai_chat_history**](ActionsApi.md#ai_chat_history) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/chatHistory | (BETA) Get Chat History [**ai_chat_stream**](ActionsApi.md#ai_chat_stream) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/chatStream | (BETA) Chat with AI @@ -13,6 +14,7 @@ Method | HTTP request | Description [**analyze_csv**](ActionsApi.md#analyze_csv) | **POST** /api/v1/actions/fileStorage/staging/analyzeCsv | Analyze CSV [**anomaly_detection**](ActionsApi.md#anomaly_detection) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/functions/anomalyDetection/{resultId} | (EXPERIMENTAL) Smart functions - Anomaly Detection [**anomaly_detection_result**](ActionsApi.md#anomaly_detection_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/functions/anomalyDetection/result/{resultId} | (EXPERIMENTAL) Smart functions - Anomaly Detection Result +[**attribute_permissions**](ActionsApi.md#attribute_permissions) | **GET** /api/v1/actions/workspaces/{workspaceId}/attributes/{attributeId}/permissions | Get Attribute Permissions [**available_assignees**](ActionsApi.md#available_assignees) | **GET** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/availableAssignees | Get Available Assignees [**cancel_executions**](ActionsApi.md#cancel_executions) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/cancel | Applies all the given cancel tokens. [**cancel_workflow**](ActionsApi.md#cancel_workflow) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/cancel | @@ -43,6 +45,7 @@ Method | HTTP request | Description [**delete_organization_automations**](ActionsApi.md#delete_organization_automations) | **POST** /api/v1/actions/organization/automations/delete | Delete selected automations across all workspaces [**delete_workspace_automations**](ActionsApi.md#delete_workspace_automations) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/delete | Delete selected automations in the workspace [**explain_afm**](ActionsApi.md#explain_afm) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/explain | AFM explain resource. +[**fact_permissions**](ActionsApi.md#fact_permissions) | **GET** /api/v1/actions/workspaces/{workspaceId}/facts/{factId}/permissions | Get Fact Permissions [**forecast**](ActionsApi.md#forecast) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/functions/forecast/{resultId} | (BETA) Smart functions - Forecast [**forecast_result**](ActionsApi.md#forecast_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/functions/forecast/result/{resultId} | (BETA) Smart functions - Forecast Result [**generate_dashboard_summary**](ActionsApi.md#generate_dashboard_summary) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/workflow/dashboardSummary | @@ -71,13 +74,17 @@ Method | HTTP request | Description [**inherited_entity_prefixes**](ActionsApi.md#inherited_entity_prefixes) | **GET** /api/v1/actions/workspaces/{workspaceId}/inheritedEntityPrefixes | Get used entity prefixes in hierarchy [**key_driver_analysis**](ActionsApi.md#key_driver_analysis) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/computeKeyDrivers | (EXPERIMENTAL) Compute key driver analysis [**key_driver_analysis_result**](ActionsApi.md#key_driver_analysis_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/computeKeyDrivers/result/{resultId} | (EXPERIMENTAL) Get key driver analysis result +[**label_permissions**](ActionsApi.md#label_permissions) | **GET** /api/v1/actions/workspaces/{workspaceId}/labels/{labelId}/permissions | Get Label Permissions [**list_files**](ActionsApi.md#list_files) | **POST** /api/v1/actions/fileStorage/dataSources/{dataSourceId}/listFiles | List datasource files [**list_llm_provider_models**](ActionsApi.md#list_llm_provider_models) | **POST** /api/v1/actions/ai/llmProvider/listModels | List LLM Provider Models [**list_llm_provider_models_by_id**](ActionsApi.md#list_llm_provider_models_by_id) | **POST** /api/v1/actions/ai/llmProvider/{llmProviderId}/listModels | List LLM Provider Models By Id [**list_workspace_user_groups**](ActionsApi.md#list_workspace_user_groups) | **GET** /api/v1/actions/workspaces/{workspaceId}/userGroups | [**list_workspace_users**](ActionsApi.md#list_workspace_users) | **GET** /api/v1/actions/workspaces/{workspaceId}/users | +[**manage_attribute_permissions**](ActionsApi.md#manage_attribute_permissions) | **POST** /api/v1/actions/workspaces/{workspaceId}/attributes/{attributeId}/managePermissions | Manage Permissions for an Attribute [**manage_dashboard_permissions**](ActionsApi.md#manage_dashboard_permissions) | **POST** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/managePermissions | Manage Permissions for a Dashboard [**manage_data_source_permissions**](ActionsApi.md#manage_data_source_permissions) | **POST** /api/v1/actions/dataSources/{dataSourceId}/managePermissions | Manage Permissions for a Data Source +[**manage_fact_permissions**](ActionsApi.md#manage_fact_permissions) | **POST** /api/v1/actions/workspaces/{workspaceId}/facts/{factId}/managePermissions | Manage Permissions for a Fact +[**manage_label_permissions**](ActionsApi.md#manage_label_permissions) | **POST** /api/v1/actions/workspaces/{workspaceId}/labels/{labelId}/managePermissions | Manage Permissions for a Label [**manage_organization_permissions**](ActionsApi.md#manage_organization_permissions) | **POST** /api/v1/actions/organization/managePermissions | Manage Permissions for a Organization [**manage_workspace_permissions**](ActionsApi.md#manage_workspace_permissions) | **POST** /api/v1/actions/workspaces/{workspaceId}/managePermissions | Manage Permissions for a Workspace [**mark_as_read_notification**](ActionsApi.md#mark_as_read_notification) | **POST** /api/v1/actions/notifications/{notificationId}/markAsRead | Mark notification as read. @@ -94,9 +101,10 @@ Method | HTTP request | Description [**read_csv_file_manifests**](ActionsApi.md#read_csv_file_manifests) | **POST** /api/v1/actions/fileStorage/dataSources/{dataSourceId}/readCsvFileManifests | Read CSV file manifests [**register_upload_notification**](ActionsApi.md#register_upload_notification) | **POST** /api/v1/actions/dataSources/{dataSourceId}/uploadNotification | Register an upload notification [**register_workspace_upload_notification**](ActionsApi.md#register_workspace_upload_notification) | **POST** /api/v1/actions/workspaces/{workspaceId}/uploadNotification | Register an upload notification +[**remove_targets**](ActionsApi.md#remove_targets) | **POST** /api/v1/actions/ipAllowlistPolicies/{id}/removeTargets | Remove targets from IP allowlist policy [**resolve_all_entitlements**](ActionsApi.md#resolve_all_entitlements) | **GET** /api/v1/actions/resolveEntitlements | Values for all public entitlements. [**resolve_all_settings_without_workspace**](ActionsApi.md#resolve_all_settings_without_workspace) | **GET** /api/v1/actions/resolveSettings | Values for all settings without workspace. -[**resolve_llm_endpoints**](ActionsApi.md#resolve_llm_endpoints) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmEndpoints | Get Active LLM Endpoints for this workspace +[**resolve_llm_endpoints**](ActionsApi.md#resolve_llm_endpoints) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmEndpoints | Get Active LLM Endpoints for this workspace (Removed) [**resolve_llm_providers**](ActionsApi.md#resolve_llm_providers) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmProviders | Get Active LLM configuration for this workspace [**resolve_requested_entitlements**](ActionsApi.md#resolve_requested_entitlements) | **POST** /api/v1/actions/resolveEntitlements | Values for requested public entitlements. [**resolve_settings_without_workspace**](ActionsApi.md#resolve_settings_without_workspace) | **POST** /api/v1/actions/resolveSettings | Values for selected settings without workspace. @@ -129,12 +137,85 @@ Method | HTTP request | Description [**unsubscribe_organization_automations**](ActionsApi.md#unsubscribe_organization_automations) | **POST** /api/v1/actions/organization/automations/unsubscribe | Unsubscribe from selected automations across all workspaces [**unsubscribe_selected_workspace_automations**](ActionsApi.md#unsubscribe_selected_workspace_automations) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/unsubscribe | Unsubscribe from selected automations in the workspace [**unsubscribe_workspace_automations**](ActionsApi.md#unsubscribe_workspace_automations) | **DELETE** /api/v1/actions/workspaces/{workspaceId}/automations/unsubscribe | Unsubscribe from all automations in the workspace -[**validate_llm_endpoint**](ActionsApi.md#validate_llm_endpoint) | **POST** /api/v1/actions/ai/llmEndpoint/test | Validate LLM Endpoint -[**validate_llm_endpoint_by_id**](ActionsApi.md#validate_llm_endpoint_by_id) | **POST** /api/v1/actions/ai/llmEndpoint/{llmEndpointId}/test | Validate LLM Endpoint By Id +[**validate_llm_endpoint**](ActionsApi.md#validate_llm_endpoint) | **POST** /api/v1/actions/ai/llmEndpoint/test | Validate LLM Endpoint (Removed) +[**validate_llm_endpoint_by_id**](ActionsApi.md#validate_llm_endpoint_by_id) | **POST** /api/v1/actions/ai/llmEndpoint/{llmEndpointId}/test | Validate LLM Endpoint By Id (Removed) [**workspace_resolve_all_settings**](ActionsApi.md#workspace_resolve_all_settings) | **GET** /api/v1/actions/workspaces/{workspaceId}/resolveSettings | Values for all settings. [**workspace_resolve_settings**](ActionsApi.md#workspace_resolve_settings) | **POST** /api/v1/actions/workspaces/{workspaceId}/resolveSettings | Values for selected settings. +# **add_targets** +> add_targets(id, ip_allowlist_policy_targets) + +Add targets to IP allowlist policy + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import actions_api +from gooddata_api_client.model.ip_allowlist_policy_targets import IpAllowlistPolicyTargets +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) + id = "id_example" # str | + ip_allowlist_policy_targets = IpAllowlistPolicyTargets( + targets=[ + AssigneeIdentifier( + id="id_example", + type="user", + ), + ], + ) # IpAllowlistPolicyTargets | + + # example passing only required values which don't have defaults set + try: + # Add targets to IP allowlist policy + api_instance.add_targets(id, ip_allowlist_policy_targets) + except gooddata_api_client.ApiException as e: + print("Exception when calling ActionsApi->add_targets: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **ip_allowlist_policy_targets** | [**IpAllowlistPolicyTargets**](IpAllowlistPolicyTargets.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) + # **ai_chat** > ChatResult ai_chat(workspace_id, chat_request) @@ -932,6 +1013,73 @@ No authorization required - **Accept**: application/json +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + +# **attribute_permissions** +> LdmObjectPermissions attribute_permissions(workspace_id, attribute_id) + +Get Attribute Permissions + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import actions_api +from gooddata_api_client.model.ldm_object_permissions import LdmObjectPermissions +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) + workspace_id = "workspaceId_example" # str | + attribute_id = "attributeId_example" # str | + + # example passing only required values which don't have defaults set + try: + # Get Attribute Permissions + api_response = api_instance.attribute_permissions(workspace_id, attribute_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ActionsApi->attribute_permissions: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **attribute_id** | **str**| | + +### Return type + +[**LdmObjectPermissions**](LdmObjectPermissions.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + ### HTTP response details | Status code | Description | Response headers | @@ -2466,11 +2614,27 @@ with gooddata_api_client.ApiClient() as api_client: dashboard_filters_override=[ DashboardFilter(), ], + dashboard_parameters_override=[ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], dashboard_tabs_filters_overrides={ "key": [ DashboardFilter(), ], }, + dashboard_tabs_parameters_overrides={ + "key": [ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], + }, file_name="result", format="XLSX", settings=DashboardExportSettings( @@ -3619,6 +3783,73 @@ 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) +# **fact_permissions** +> LdmObjectPermissions fact_permissions(workspace_id, fact_id) + +Get Fact Permissions + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import actions_api +from gooddata_api_client.model.ldm_object_permissions import LdmObjectPermissions +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) + workspace_id = "workspaceId_example" # str | + fact_id = "factId_example" # str | + + # example passing only required values which don't have defaults set + try: + # Get Fact Permissions + api_response = api_instance.fact_permissions(workspace_id, fact_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ActionsApi->fact_permissions: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **fact_id** | **str**| | + +### Return type + +[**LdmObjectPermissions**](LdmObjectPermissions.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + # **forecast** > SmartFunctionResponse forecast(workspace_id, result_id, forecast_request) @@ -5757,6 +5988,73 @@ No authorization required - **Accept**: application/json +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + +# **label_permissions** +> LdmObjectPermissions label_permissions(workspace_id, label_id) + +Get Label Permissions + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import actions_api +from gooddata_api_client.model.ldm_object_permissions import LdmObjectPermissions +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) + workspace_id = "workspaceId_example" # str | + label_id = "labelId_example" # str | + + # example passing only required values which don't have defaults set + try: + # Get Label Permissions + api_response = api_instance.label_permissions(workspace_id, label_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ActionsApi->label_permissions: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **label_id** | **str**| | + +### Return type + +[**LdmObjectPermissions**](LdmObjectPermissions.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + ### HTTP response details | Status code | Description | Response headers | @@ -6125,6 +6423,76 @@ 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) +# **manage_attribute_permissions** +> manage_attribute_permissions(workspace_id, attribute_id, manage_attribute_permissions_request_inner) + +Manage Permissions for an Attribute + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import actions_api +from gooddata_api_client.model.manage_attribute_permissions_request_inner import ManageAttributePermissionsRequestInner +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) + workspace_id = "workspaceId_example" # str | + attribute_id = "attributeId_example" # str | + manage_attribute_permissions_request_inner = [ + ManageAttributePermissionsRequestInner(None), + ] # [ManageAttributePermissionsRequestInner] | + + # example passing only required values which don't have defaults set + try: + # Manage Permissions for an Attribute + api_instance.manage_attribute_permissions(workspace_id, attribute_id, manage_attribute_permissions_request_inner) + except gooddata_api_client.ApiException as e: + print("Exception when calling ActionsApi->manage_attribute_permissions: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **attribute_id** | **str**| | + **manage_attribute_permissions_request_inner** | [**[ManageAttributePermissionsRequestInner]**](ManageAttributePermissionsRequestInner.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) + # **manage_dashboard_permissions** > manage_dashboard_permissions(workspace_id, dashboard_id, manage_dashboard_permissions_request_inner) @@ -6265,6 +6633,146 @@ No authorization required - **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) + +# **manage_fact_permissions** +> manage_fact_permissions(workspace_id, fact_id, manage_attribute_permissions_request_inner) + +Manage Permissions for a Fact + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import actions_api +from gooddata_api_client.model.manage_attribute_permissions_request_inner import ManageAttributePermissionsRequestInner +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) + workspace_id = "workspaceId_example" # str | + fact_id = "factId_example" # str | + manage_attribute_permissions_request_inner = [ + ManageAttributePermissionsRequestInner(None), + ] # [ManageAttributePermissionsRequestInner] | + + # example passing only required values which don't have defaults set + try: + # Manage Permissions for a Fact + api_instance.manage_fact_permissions(workspace_id, fact_id, manage_attribute_permissions_request_inner) + except gooddata_api_client.ApiException as e: + print("Exception when calling ActionsApi->manage_fact_permissions: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **fact_id** | **str**| | + **manage_attribute_permissions_request_inner** | [**[ManageAttributePermissionsRequestInner]**](ManageAttributePermissionsRequestInner.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) + +# **manage_label_permissions** +> manage_label_permissions(workspace_id, label_id, manage_attribute_permissions_request_inner) + +Manage Permissions for a Label + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import actions_api +from gooddata_api_client.model.manage_attribute_permissions_request_inner import ManageAttributePermissionsRequestInner +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) + workspace_id = "workspaceId_example" # str | + label_id = "labelId_example" # str | + manage_attribute_permissions_request_inner = [ + ManageAttributePermissionsRequestInner(None), + ] # [ManageAttributePermissionsRequestInner] | + + # example passing only required values which don't have defaults set + try: + # Manage Permissions for a Label + api_instance.manage_label_permissions(workspace_id, label_id, manage_attribute_permissions_request_inner) + except gooddata_api_client.ApiException as e: + print("Exception when calling ActionsApi->manage_label_permissions: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **label_id** | **str**| | + **manage_attribute_permissions_request_inner** | [**[ManageAttributePermissionsRequestInner]**](ManageAttributePermissionsRequestInner.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 | @@ -7436,6 +7944,79 @@ 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) +# **remove_targets** +> remove_targets(id, ip_allowlist_policy_targets) + +Remove targets from IP allowlist policy + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import actions_api +from gooddata_api_client.model.ip_allowlist_policy_targets import IpAllowlistPolicyTargets +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) + id = "id_example" # str | + ip_allowlist_policy_targets = IpAllowlistPolicyTargets( + targets=[ + AssigneeIdentifier( + id="id_example", + type="user", + ), + ], + ) # IpAllowlistPolicyTargets | + + # example passing only required values which don't have defaults set + try: + # Remove targets from IP allowlist policy + api_instance.remove_targets(id, ip_allowlist_policy_targets) + except gooddata_api_client.ApiException as e: + print("Exception when calling ActionsApi->remove_targets: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **ip_allowlist_policy_targets** | [**IpAllowlistPolicyTargets**](IpAllowlistPolicyTargets.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) + # **resolve_all_entitlements** > [ApiEntitlement] resolve_all_entitlements() @@ -7568,11 +8149,11 @@ 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) # **resolve_llm_endpoints** -> ResolvedLlmEndpoints resolve_llm_endpoints(workspace_id) +> resolve_llm_endpoints(workspace_id) -Get Active LLM Endpoints for this workspace +Get Active LLM Endpoints for this workspace (Removed) -Will be soon removed and replaced by LlmProvider-based resolution. +Permanently removed. Use GET /api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmProviders instead. Always returns 410 Gone. ### Example @@ -7581,7 +8162,6 @@ Will be soon removed and replaced by LlmProvider-based resolution. import time import gooddata_api_client from gooddata_api_client.api import actions_api -from gooddata_api_client.model.resolved_llm_endpoints import ResolvedLlmEndpoints 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. @@ -7598,9 +8178,8 @@ with gooddata_api_client.ApiClient() as api_client: # example passing only required values which don't have defaults set try: - # Get Active LLM Endpoints for this workspace - api_response = api_instance.resolve_llm_endpoints(workspace_id) - pprint(api_response) + # Get Active LLM Endpoints for this workspace (Removed) + api_instance.resolve_llm_endpoints(workspace_id) except gooddata_api_client.ApiException as e: print("Exception when calling ActionsApi->resolve_llm_endpoints: %s\n" % e) ``` @@ -7614,7 +8193,7 @@ Name | Type | Description | Notes ### Return type -[**ResolvedLlmEndpoints**](ResolvedLlmEndpoints.md) +void (empty response body) ### Authorization @@ -7623,14 +8202,14 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**410** | Gone | - | [[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) @@ -7639,7 +8218,7 @@ No authorization required Get Active LLM configuration for this workspace -Resolves the active LLM configuration for the given workspace. When the ENABLE_LLM_ENDPOINT_REPLACEMENT feature flag is enabled, returns LLM Providers with their associated models. Otherwise, falls back to the legacy LLM Endpoints. +Resolves the active LLM provider configuration for the given workspace. ### Example @@ -9420,11 +9999,27 @@ with gooddata_api_client.ApiClient() as api_client: DashboardFilter(), ], dashboard_id="761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0", + dashboard_parameters_override=[ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], dashboard_tabs_filters_overrides={ "key": [ DashboardFilter(), ], }, + dashboard_tabs_parameters_overrides={ + "key": [ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], + }, file_name="result", format="XLSX", settings=DashboardExportSettings( @@ -10281,11 +10876,11 @@ 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) # **validate_llm_endpoint** -> ValidateLLMEndpointResponse validate_llm_endpoint(validate_llm_endpoint_request) +> validate_llm_endpoint() -Validate LLM Endpoint +Validate LLM Endpoint (Removed) -Will be soon removed and replaced by testLlmProvider. +Permanently removed. Use POST /api/v1/actions/ai/llmProvider/test instead. Always returns 410 Gone. ### Example @@ -10294,8 +10889,6 @@ Will be soon removed and replaced by testLlmProvider. import time import gooddata_api_client from gooddata_api_client.api import actions_api -from gooddata_api_client.model.validate_llm_endpoint_response import ValidateLLMEndpointResponse -from gooddata_api_client.model.validate_llm_endpoint_request import ValidateLLMEndpointRequest 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. @@ -10308,33 +10901,22 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = actions_api.ActionsApi(api_client) - validate_llm_endpoint_request = ValidateLLMEndpointRequest( - base_url="base_url_example", - llm_model="llm_model_example", - llm_organization="llm_organization_example", - provider="provider_example", - token="token_example", - ) # ValidateLLMEndpointRequest | - # example passing only required values which don't have defaults set + # example, this endpoint has no required or optional parameters try: - # Validate LLM Endpoint - api_response = api_instance.validate_llm_endpoint(validate_llm_endpoint_request) - pprint(api_response) + # Validate LLM Endpoint (Removed) + api_instance.validate_llm_endpoint() except gooddata_api_client.ApiException as e: print("Exception when calling ActionsApi->validate_llm_endpoint: %s\n" % e) ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **validate_llm_endpoint_request** | [**ValidateLLMEndpointRequest**](ValidateLLMEndpointRequest.md)| | +This endpoint does not need any parameter. ### Return type -[**ValidateLLMEndpointResponse**](ValidateLLMEndpointResponse.md) +void (empty response body) ### Authorization @@ -10342,24 +10924,24 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json + - **Content-Type**: Not defined + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**410** | Gone | - | [[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) # **validate_llm_endpoint_by_id** -> ValidateLLMEndpointResponse validate_llm_endpoint_by_id(llm_endpoint_id) +> validate_llm_endpoint_by_id(llm_endpoint_id) -Validate LLM Endpoint By Id +Validate LLM Endpoint By Id (Removed) -Will be soon removed and replaced by testLlmProviderById. +Permanently removed. Use POST /api/v1/actions/ai/llmProvider/{llmProviderId}/test instead. Always returns 410 Gone. ### Example @@ -10368,8 +10950,6 @@ Will be soon removed and replaced by testLlmProviderById. import time import gooddata_api_client from gooddata_api_client.api import actions_api -from gooddata_api_client.model.validate_llm_endpoint_response import ValidateLLMEndpointResponse -from gooddata_api_client.model.validate_llm_endpoint_by_id_request import ValidateLLMEndpointByIdRequest 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. @@ -10383,28 +10963,11 @@ with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = actions_api.ActionsApi(api_client) llm_endpoint_id = "llmEndpointId_example" # str | - validate_llm_endpoint_by_id_request = ValidateLLMEndpointByIdRequest( - base_url="base_url_example", - llm_model="llm_model_example", - llm_organization="llm_organization_example", - provider="provider_example", - token="token_example", - ) # ValidateLLMEndpointByIdRequest | (optional) # example passing only required values which don't have defaults set try: - # Validate LLM Endpoint By Id - api_response = api_instance.validate_llm_endpoint_by_id(llm_endpoint_id) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->validate_llm_endpoint_by_id: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Validate LLM Endpoint By Id - api_response = api_instance.validate_llm_endpoint_by_id(llm_endpoint_id, validate_llm_endpoint_by_id_request=validate_llm_endpoint_by_id_request) - pprint(api_response) + # Validate LLM Endpoint By Id (Removed) + api_instance.validate_llm_endpoint_by_id(llm_endpoint_id) except gooddata_api_client.ApiException as e: print("Exception when calling ActionsApi->validate_llm_endpoint_by_id: %s\n" % e) ``` @@ -10415,11 +10978,10 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **llm_endpoint_id** | **str**| | - **validate_llm_endpoint_by_id_request** | [**ValidateLLMEndpointByIdRequest**](ValidateLLMEndpointByIdRequest.md)| | [optional] ### Return type -[**ValidateLLMEndpointResponse**](ValidateLLMEndpointResponse.md) +void (empty response body) ### Authorization @@ -10427,15 +10989,15 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json + - **Content-Type**: Not defined + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**410** | Gone | - | [[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) diff --git a/gooddata-api-client/docs/DashboardCompoundRangeConditionAllOf.md b/gooddata-api-client/docs/AnthropicApiKeyAuth.md similarity index 74% rename from gooddata-api-client/docs/DashboardCompoundRangeConditionAllOf.md rename to gooddata-api-client/docs/AnthropicApiKeyAuth.md index 015780d1a..7d2bc201f 100644 --- a/gooddata-api-client/docs/DashboardCompoundRangeConditionAllOf.md +++ b/gooddata-api-client/docs/AnthropicApiKeyAuth.md @@ -1,12 +1,11 @@ -# DashboardCompoundRangeConditionAllOf +# AnthropicApiKeyAuth ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**_from** | **float** | | [optional] -**operator** | **str** | | [optional] -**to** | **float** | | [optional] +**type** | **str** | Authentication type. | defaults to "API_KEY" +**api_key** | **str, none_type** | Anthropic API key. | [optional] **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) diff --git a/gooddata-api-client/docs/AnthropicApiKeyAuthAllOf.md b/gooddata-api-client/docs/AnthropicApiKeyAuthAllOf.md new file mode 100644 index 000000000..c8cac873f --- /dev/null +++ b/gooddata-api-client/docs/AnthropicApiKeyAuthAllOf.md @@ -0,0 +1,13 @@ +# AnthropicApiKeyAuthAllOf + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_key** | **str, none_type** | Anthropic API key. | [optional] +**type** | **str** | Authentication type. | [optional] if omitted the server will use the default value of "API_KEY" +**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) + + diff --git a/gooddata-api-client/docs/AnthropicProviderAuth.md b/gooddata-api-client/docs/AnthropicProviderAuth.md new file mode 100644 index 000000000..0aded9d0a --- /dev/null +++ b/gooddata-api-client/docs/AnthropicProviderAuth.md @@ -0,0 +1,14 @@ +# AnthropicProviderAuth + +Authentication configuration. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_key** | **str, none_type** | Anthropic API key. | [optional] +**type** | **str** | Authentication type. | [optional] if omitted the server will use the default value of "API_KEY" +**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) + + diff --git a/gooddata-api-client/docs/AnthropicProviderConfig.md b/gooddata-api-client/docs/AnthropicProviderConfig.md new file mode 100644 index 000000000..7af41c41d --- /dev/null +++ b/gooddata-api-client/docs/AnthropicProviderConfig.md @@ -0,0 +1,15 @@ +# AnthropicProviderConfig + +Configuration for Anthropic provider. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**auth** | [**AnthropicProviderAuth**](AnthropicProviderAuth.md) | | +**type** | **str** | Provider type. | defaults to "ANTHROPIC" +**base_url** | **str** | Custom base URL for the Anthropic API. Defaults to the official endpoint; override only for enterprise proxies or compatible gateways. | [optional] if omitted the server will use the default value of "https://api.anthropic.com" +**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) + + diff --git a/gooddata-api-client/docs/AutomationControllerApi.md b/gooddata-api-client/docs/AutomationControllerApi.md index 127c5e0d9..33edd978e 100644 --- a/gooddata-api-client/docs/AutomationControllerApi.md +++ b/gooddata-api-client/docs/AutomationControllerApi.md @@ -85,11 +85,27 @@ with gooddata_api_client.ApiClient() as api_client: DashboardFilter(), ], dashboard_id="761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0", + dashboard_parameters_override=[ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], dashboard_tabs_filters_overrides={ "key": [ DashboardFilter(), ], }, + dashboard_tabs_parameters_overrides={ + "key": [ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], + }, file_name="result", format="XLSX", settings=DashboardExportSettings( @@ -702,11 +718,27 @@ with gooddata_api_client.ApiClient() as api_client: DashboardFilter(), ], dashboard_id="761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0", + dashboard_parameters_override=[ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], dashboard_tabs_filters_overrides={ "key": [ DashboardFilter(), ], }, + dashboard_tabs_parameters_overrides={ + "key": [ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], + }, file_name="result", format="XLSX", settings=DashboardExportSettings( @@ -1168,11 +1200,27 @@ with gooddata_api_client.ApiClient() as api_client: DashboardFilter(), ], dashboard_id="761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0", + dashboard_parameters_override=[ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], dashboard_tabs_filters_overrides={ "key": [ DashboardFilter(), ], }, + dashboard_tabs_parameters_overrides={ + "key": [ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], + }, file_name="result", format="XLSX", settings=DashboardExportSettings( diff --git a/gooddata-api-client/docs/AutomationsApi.md b/gooddata-api-client/docs/AutomationsApi.md index 31919c523..48b2a6870 100644 --- a/gooddata-api-client/docs/AutomationsApi.md +++ b/gooddata-api-client/docs/AutomationsApi.md @@ -102,11 +102,27 @@ with gooddata_api_client.ApiClient() as api_client: DashboardFilter(), ], dashboard_id="761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0", + dashboard_parameters_override=[ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], dashboard_tabs_filters_overrides={ "key": [ DashboardFilter(), ], }, + dashboard_tabs_parameters_overrides={ + "key": [ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], + }, file_name="result", format="XLSX", settings=DashboardExportSettings( @@ -1024,11 +1040,27 @@ with gooddata_api_client.ApiClient() as api_client: DashboardFilter(), ], dashboard_id="761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0", + dashboard_parameters_override=[ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], dashboard_tabs_filters_overrides={ "key": [ DashboardFilter(), ], }, + dashboard_tabs_parameters_overrides={ + "key": [ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], + }, file_name="result", format="XLSX", settings=DashboardExportSettings( @@ -1739,11 +1771,27 @@ with gooddata_api_client.ApiClient() as api_client: DashboardFilter(), ], dashboard_id="761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0", + dashboard_parameters_override=[ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], dashboard_tabs_filters_overrides={ "key": [ DashboardFilter(), ], }, + dashboard_tabs_parameters_overrides={ + "key": [ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], + }, file_name="result", format="XLSX", settings=DashboardExportSettings( @@ -2088,11 +2136,27 @@ with gooddata_api_client.ApiClient() as api_client: DashboardFilter(), ], dashboard_id="761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0", + dashboard_parameters_override=[ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], dashboard_tabs_filters_overrides={ "key": [ DashboardFilter(), ], }, + dashboard_tabs_parameters_overrides={ + "key": [ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], + }, file_name="result", format="XLSX", settings=DashboardExportSettings( @@ -2954,11 +3018,27 @@ with gooddata_api_client.ApiClient() as api_client: DashboardFilter(), ], dashboard_id="761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0", + dashboard_parameters_override=[ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], dashboard_tabs_filters_overrides={ "key": [ DashboardFilter(), ], }, + dashboard_tabs_parameters_overrides={ + "key": [ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], + }, file_name="result", format="XLSX", settings=DashboardExportSettings( diff --git a/gooddata-api-client/docs/ChatResult.md b/gooddata-api-client/docs/ChatResult.md index 6b0e79b5b..96744e0bb 100644 --- a/gooddata-api-client/docs/ChatResult.md +++ b/gooddata-api-client/docs/ChatResult.md @@ -14,7 +14,6 @@ Name | Type | Description | Notes **semantic_search** | [**SearchResult**](SearchResult.md) | | [optional] **text_response** | **str** | Text response for general questions. | [optional] **thread_id_suffix** | **str** | Chat History thread suffix appended to ID generated by backend. Enables more chat windows. | [optional] -**tool_call_events** | [**[ToolCallEventResult]**](ToolCallEventResult.md) | Tool call events emitted during the agentic loop (only present when GEN_AI_YIELD_TOOL_CALL_EVENTS is enabled). | [optional] **usage** | [**[AiUsageMetadataItem]**](AiUsageMetadataItem.md) | AI usage metadata returned after the interaction (e.g. current query count vs. entitlement limit). | [optional] **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] diff --git a/gooddata-api-client/docs/DashboardCompoundComparisonCondition.md b/gooddata-api-client/docs/DashboardCompoundComparisonCondition.md index 9a710b433..e3f8defc8 100644 --- a/gooddata-api-client/docs/DashboardCompoundComparisonCondition.md +++ b/gooddata-api-client/docs/DashboardCompoundComparisonCondition.md @@ -4,8 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**operator** | **str** | | -**value** | **float** | | +**comparison** | [**DashboardCompoundComparisonConditionComparison**](DashboardCompoundComparisonConditionComparison.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) diff --git a/gooddata-api-client/docs/DashboardCompoundComparisonConditionComparison.md b/gooddata-api-client/docs/DashboardCompoundComparisonConditionComparison.md new file mode 100644 index 000000000..8ac8d0425 --- /dev/null +++ b/gooddata-api-client/docs/DashboardCompoundComparisonConditionComparison.md @@ -0,0 +1,14 @@ +# DashboardCompoundComparisonConditionComparison + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**operator** | **str** | | +**value** | **float** | | +**treat_null_values_as** | **float** | | [optional] +**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) + + diff --git a/gooddata-api-client/docs/DashboardCompoundConditionItem.md b/gooddata-api-client/docs/DashboardCompoundConditionItem.md index 6ee928a11..18d35cba3 100644 --- a/gooddata-api-client/docs/DashboardCompoundConditionItem.md +++ b/gooddata-api-client/docs/DashboardCompoundConditionItem.md @@ -4,10 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**operator** | **str** | | [optional] -**value** | **float** | | [optional] -**_from** | **float** | | [optional] -**to** | **float** | | [optional] +**comparison** | [**DashboardCompoundComparisonConditionComparison**](DashboardCompoundComparisonConditionComparison.md) | | [optional] +**range** | [**DashboardCompoundRangeConditionRange**](DashboardCompoundRangeConditionRange.md) | | [optional] **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) diff --git a/gooddata-api-client/docs/DashboardCompoundRangeCondition.md b/gooddata-api-client/docs/DashboardCompoundRangeCondition.md index 800b2febb..10874d149 100644 --- a/gooddata-api-client/docs/DashboardCompoundRangeCondition.md +++ b/gooddata-api-client/docs/DashboardCompoundRangeCondition.md @@ -4,9 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**_from** | **float** | | -**operator** | **str** | | -**to** | **float** | | +**range** | [**DashboardCompoundRangeConditionRange**](DashboardCompoundRangeConditionRange.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) diff --git a/gooddata-api-client/docs/JsonApiLlmEndpointOutDocument.md b/gooddata-api-client/docs/DashboardCompoundRangeConditionRange.md similarity index 71% rename from gooddata-api-client/docs/JsonApiLlmEndpointOutDocument.md rename to gooddata-api-client/docs/DashboardCompoundRangeConditionRange.md index a9b7aea19..f2619a1a7 100644 --- a/gooddata-api-client/docs/JsonApiLlmEndpointOutDocument.md +++ b/gooddata-api-client/docs/DashboardCompoundRangeConditionRange.md @@ -1,11 +1,13 @@ -# JsonApiLlmEndpointOutDocument +# DashboardCompoundRangeConditionRange ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**JsonApiLlmEndpointOut**](JsonApiLlmEndpointOut.md) | | -**links** | [**ObjectLinks**](ObjectLinks.md) | | [optional] +**_from** | **float** | | +**operator** | **str** | | +**to** | **float** | | +**treat_null_values_as** | **float** | | [optional] **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) diff --git a/gooddata-api-client/docs/DashboardFilter.md b/gooddata-api-client/docs/DashboardFilter.md index 2dd740274..862d22186 100644 --- a/gooddata-api-client/docs/DashboardFilter.md +++ b/gooddata-api-client/docs/DashboardFilter.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **date_filter** | [**DashboardDateFilterDateFilter**](DashboardDateFilterDateFilter.md) | | [optional] **arbitrary_attribute_filter** | [**DashboardArbitraryAttributeFilterArbitraryAttributeFilter**](DashboardArbitraryAttributeFilterArbitraryAttributeFilter.md) | | [optional] **match_attribute_filter** | [**DashboardMatchAttributeFilterMatchAttributeFilter**](DashboardMatchAttributeFilterMatchAttributeFilter.md) | | [optional] -**measure_value_filter** | [**DashboardMeasureValueFilterMeasureValueFilter**](DashboardMeasureValueFilterMeasureValueFilter.md) | | [optional] +**dashboard_measure_value_filter** | [**DashboardMeasureValueFilterDashboardMeasureValueFilter**](DashboardMeasureValueFilterDashboardMeasureValueFilter.md) | | [optional] **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) diff --git a/gooddata-api-client/docs/DashboardMeasureValueFilter.md b/gooddata-api-client/docs/DashboardMeasureValueFilter.md index 9fe529ce7..4c1174b93 100644 --- a/gooddata-api-client/docs/DashboardMeasureValueFilter.md +++ b/gooddata-api-client/docs/DashboardMeasureValueFilter.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**measure_value_filter** | [**DashboardMeasureValueFilterMeasureValueFilter**](DashboardMeasureValueFilterMeasureValueFilter.md) | | +**dashboard_measure_value_filter** | [**DashboardMeasureValueFilterDashboardMeasureValueFilter**](DashboardMeasureValueFilterDashboardMeasureValueFilter.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) diff --git a/gooddata-api-client/docs/DashboardMeasureValueFilterMeasureValueFilter.md b/gooddata-api-client/docs/DashboardMeasureValueFilterDashboardMeasureValueFilter.md similarity index 83% rename from gooddata-api-client/docs/DashboardMeasureValueFilterMeasureValueFilter.md rename to gooddata-api-client/docs/DashboardMeasureValueFilterDashboardMeasureValueFilter.md index c23186c5d..789ae7217 100644 --- a/gooddata-api-client/docs/DashboardMeasureValueFilterMeasureValueFilter.md +++ b/gooddata-api-client/docs/DashboardMeasureValueFilterDashboardMeasureValueFilter.md @@ -1,4 +1,4 @@ -# DashboardMeasureValueFilterMeasureValueFilter +# DashboardMeasureValueFilterDashboardMeasureValueFilter ## Properties @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **conditions** | [**[DashboardCompoundConditionItem]**](DashboardCompoundConditionItem.md) | | **measure** | [**IdentifierRef**](IdentifierRef.md) | | +**dimensionality** | [**[IdentifierRef]**](IdentifierRef.md) | | [optional] **local_identifier** | **str** | | [optional] **title** | **str** | | [optional] **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] diff --git a/gooddata-api-client/docs/DashboardParameterValue.md b/gooddata-api-client/docs/DashboardParameterValue.md new file mode 100644 index 000000000..c40cf21eb --- /dev/null +++ b/gooddata-api-client/docs/DashboardParameterValue.md @@ -0,0 +1,15 @@ +# DashboardParameterValue + +Parameter value override applied to the export. The (id, value) pair drives the execution; the title is FE-supplied for info-sheet display. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | Identifier of the workspace parameter (matches the parameter entity id). | +**title** | **str** | Display title of the parameter as the client wants it rendered on the info sheet. | +**value** | **str** | Value to use for this parameter when executing the export. | +**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) + + diff --git a/gooddata-api-client/docs/DashboardTabularExportRequest.md b/gooddata-api-client/docs/DashboardTabularExportRequest.md index d6ee2827d..92f4fabde 100644 --- a/gooddata-api-client/docs/DashboardTabularExportRequest.md +++ b/gooddata-api-client/docs/DashboardTabularExportRequest.md @@ -8,7 +8,9 @@ Name | Type | Description | Notes **file_name** | **str** | Filename of downloaded file without extension. | **format** | **str** | Requested tabular export type. | **dashboard_filters_override** | [**[DashboardFilter]**](DashboardFilter.md) | List of filters that will be used instead of the default dashboard filters. | [optional] +**dashboard_parameters_override** | [**[DashboardParameterValue]**](DashboardParameterValue.md) | Parameter value overrides applied to the export's executions. Each entry carries the parameter id (used as an AFM execution override) plus the FE-supplied title for the info sheet. Applied uniformly across all tabs; use dashboardTabsParametersOverrides for tab-scoped overrides. | [optional] **dashboard_tabs_filters_overrides** | **{str: ([DashboardFilter],)}** | Map of tab-specific filter overrides. Key is tabId, value is list of filters for that tab. | [optional] +**dashboard_tabs_parameters_overrides** | **{str: ([DashboardParameterValue],)}** | Map of tab-specific parameter overrides. Key is tabId, value is a list of (id, value, title) entries that override the dashboard-level parameters for that tab only. Mirrors dashboardTabsFiltersOverrides. When a tab is present in this map, its entries take precedence over dashboardParametersOverride for that tab's executions and info-sheet display. | [optional] **settings** | [**DashboardExportSettings**](DashboardExportSettings.md) | | [optional] **widget_ids** | **[str]** | List of widget identifiers to be exported. Note that only one widget is currently supported. | [optional] **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] diff --git a/gooddata-api-client/docs/DashboardTabularExportRequestV2.md b/gooddata-api-client/docs/DashboardTabularExportRequestV2.md index e4de274a7..93e8ad5cf 100644 --- a/gooddata-api-client/docs/DashboardTabularExportRequestV2.md +++ b/gooddata-api-client/docs/DashboardTabularExportRequestV2.md @@ -9,7 +9,9 @@ Name | Type | Description | Notes **file_name** | **str** | Filename of downloaded file without extension. | **format** | **str** | Requested tabular export type. | **dashboard_filters_override** | [**[DashboardFilter]**](DashboardFilter.md) | List of filters that will be used instead of the default dashboard filters. | [optional] +**dashboard_parameters_override** | [**[DashboardParameterValue]**](DashboardParameterValue.md) | Parameter value overrides applied to the export's executions. Each entry carries the parameter id (used as an AFM execution override) plus the FE-supplied title for the info sheet. Applied uniformly across all tabs; use dashboardTabsParametersOverrides for tab-scoped overrides. | [optional] **dashboard_tabs_filters_overrides** | **{str: ([DashboardFilter],)}** | Map of tab-specific filter overrides. Key is tabId, value is list of filters for that tab. | [optional] +**dashboard_tabs_parameters_overrides** | **{str: ([DashboardParameterValue],)}** | Map of tab-specific parameter overrides. Key is tabId, value is a list of (id, value, title) entries that override the dashboard-level parameters for that tab only. Mirrors dashboardTabsFiltersOverrides. When a tab is present in this map, its entries take precedence over dashboardParametersOverride for that tab's executions and info-sheet display. | [optional] **settings** | [**DashboardExportSettings**](DashboardExportSettings.md) | | [optional] **widget_ids** | **[str]** | List of widget identifiers to be exported. Note that only one widget is currently supported. | [optional] **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] diff --git a/gooddata-api-client/docs/DeclarativeAgent.md b/gooddata-api-client/docs/DeclarativeAgent.md index a79804122..976649531 100644 --- a/gooddata-api-client/docs/DeclarativeAgent.md +++ b/gooddata-api-client/docs/DeclarativeAgent.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **available_to_all** | **bool** | Whether the agent is available to all users. | [optional] **created_at** | **str, none_type** | Time of the entity creation. | [optional] **created_by** | [**DeclarativeUserIdentifier**](DeclarativeUserIdentifier.md) | | [optional] -**custom_skills** | **[str, none_type], none_type** | List of custom skills when skillsMode is CUSTOM. | [optional] +**custom_skills** | **[str]** | List of custom skills when skillsMode is CUSTOM. | [optional] **description** | **str** | Description of the agent. | [optional] **enabled** | **bool** | Whether the agent is enabled. | [optional] **modified_at** | **str, none_type** | Time of the last entity modification. | [optional] diff --git a/gooddata-api-client/docs/DeclarativeIpAllowlistPolicy.md b/gooddata-api-client/docs/DeclarativeIpAllowlistPolicy.md index 37b867753..5bb0eacbe 100644 --- a/gooddata-api-client/docs/DeclarativeIpAllowlistPolicy.md +++ b/gooddata-api-client/docs/DeclarativeIpAllowlistPolicy.md @@ -5,7 +5,7 @@ A declarative form of an IP allowlist policy. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**allowed_sources** | **[str]** | Allowed source IP addresses or CIDR ranges. | +**allowed_sources** | **[str]** | Allowed source IPv4 addresses or CIDR ranges. Only IPv4 is supported; IPv6 are rejected. The /0 prefix is not allowed. | **id** | **str** | Identifier of an IP allowlist policy. | **user_groups** | [**[DeclarativeUserGroupIdentifier]**](DeclarativeUserGroupIdentifier.md) | Target user groups this policy applies to. | [optional] **users** | [**[DeclarativeUserIdentifier]**](DeclarativeUserIdentifier.md) | Target users this policy applies to. | [optional] diff --git a/gooddata-api-client/docs/EntitiesApi.md b/gooddata-api-client/docs/EntitiesApi.md index 071e59230..6b492fd3b 100644 --- a/gooddata-api-client/docs/EntitiesApi.md +++ b/gooddata-api-client/docs/EntitiesApi.md @@ -4,6 +4,7 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- +[**create_entity**](EntitiesApi.md#create_entity) | **POST** /api/v1/entities/llmEndpoints | Post LLM endpoint entities (Removed) [**create_entity_agents**](EntitiesApi.md#create_entity_agents) | **POST** /api/v1/entities/agents | Post Agent entities [**create_entity_analytical_dashboards**](EntitiesApi.md#create_entity_analytical_dashboards) | **POST** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards | Post Dashboards [**create_entity_api_tokens**](EntitiesApi.md#create_entity_api_tokens) | **POST** /api/v1/entities/users/{userId}/apiTokens | Post a new API token for the user @@ -21,9 +22,9 @@ Method | HTTP request | Description [**create_entity_filter_contexts**](EntitiesApi.md#create_entity_filter_contexts) | **POST** /api/v1/entities/workspaces/{workspaceId}/filterContexts | Post Filter Context [**create_entity_filter_views**](EntitiesApi.md#create_entity_filter_views) | **POST** /api/v1/entities/workspaces/{workspaceId}/filterViews | Post Filter views [**create_entity_identity_providers**](EntitiesApi.md#create_entity_identity_providers) | **POST** /api/v1/entities/identityProviders | Post Identity Providers +[**create_entity_ip_allowlist_policies**](EntitiesApi.md#create_entity_ip_allowlist_policies) | **POST** /api/v1/entities/ipAllowlistPolicies | Post IpAllowlistPolicy entities [**create_entity_jwks**](EntitiesApi.md#create_entity_jwks) | **POST** /api/v1/entities/jwks | Post Jwks [**create_entity_knowledge_recommendations**](EntitiesApi.md#create_entity_knowledge_recommendations) | **POST** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations | Post Knowledge Recommendations -[**create_entity_llm_endpoints**](EntitiesApi.md#create_entity_llm_endpoints) | **POST** /api/v1/entities/llmEndpoints | Post LLM endpoint entities [**create_entity_llm_providers**](EntitiesApi.md#create_entity_llm_providers) | **POST** /api/v1/entities/llmProviders | Post LLM Provider entities [**create_entity_memory_items**](EntitiesApi.md#create_entity_memory_items) | **POST** /api/v1/entities/workspaces/{workspaceId}/memoryItems | Post Memory Items [**create_entity_metrics**](EntitiesApi.md#create_entity_metrics) | **POST** /api/v1/entities/workspaces/{workspaceId}/metrics | Post Metrics @@ -40,6 +41,7 @@ Method | HTTP request | Description [**create_entity_workspace_data_filters**](EntitiesApi.md#create_entity_workspace_data_filters) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters | Post Workspace Data Filters [**create_entity_workspace_settings**](EntitiesApi.md#create_entity_workspace_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings | Post Settings for Workspaces [**create_entity_workspaces**](EntitiesApi.md#create_entity_workspaces) | **POST** /api/v1/entities/workspaces | Post Workspace entities +[**delete_entity**](EntitiesApi.md#delete_entity) | **DELETE** /api/v1/entities/llmEndpoints/{id} | Delete LLM endpoint entity (Removed) [**delete_entity_agents**](EntitiesApi.md#delete_entity_agents) | **DELETE** /api/v1/entities/agents/{id} | Delete Agent entity [**delete_entity_analytical_dashboards**](EntitiesApi.md#delete_entity_analytical_dashboards) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Delete a Dashboard [**delete_entity_api_tokens**](EntitiesApi.md#delete_entity_api_tokens) | **DELETE** /api/v1/entities/users/{userId}/apiTokens/{id} | Delete an API Token for a user @@ -57,9 +59,9 @@ Method | HTTP request | Description [**delete_entity_filter_contexts**](EntitiesApi.md#delete_entity_filter_contexts) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Delete a Filter Context [**delete_entity_filter_views**](EntitiesApi.md#delete_entity_filter_views) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId} | Delete Filter view [**delete_entity_identity_providers**](EntitiesApi.md#delete_entity_identity_providers) | **DELETE** /api/v1/entities/identityProviders/{id} | Delete Identity Provider +[**delete_entity_ip_allowlist_policies**](EntitiesApi.md#delete_entity_ip_allowlist_policies) | **DELETE** /api/v1/entities/ipAllowlistPolicies/{id} | Delete IpAllowlistPolicy entity [**delete_entity_jwks**](EntitiesApi.md#delete_entity_jwks) | **DELETE** /api/v1/entities/jwks/{id} | Delete Jwk [**delete_entity_knowledge_recommendations**](EntitiesApi.md#delete_entity_knowledge_recommendations) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId} | Delete a Knowledge Recommendation -[**delete_entity_llm_endpoints**](EntitiesApi.md#delete_entity_llm_endpoints) | **DELETE** /api/v1/entities/llmEndpoints/{id} | Delete LLM endpoint entity [**delete_entity_llm_providers**](EntitiesApi.md#delete_entity_llm_providers) | **DELETE** /api/v1/entities/llmProviders/{id} | Delete LLM Provider entity [**delete_entity_memory_items**](EntitiesApi.md#delete_entity_memory_items) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | Delete a Memory Item [**delete_entity_metrics**](EntitiesApi.md#delete_entity_metrics) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Delete a Metric @@ -77,6 +79,7 @@ Method | HTTP request | Description [**delete_entity_workspace_settings**](EntitiesApi.md#delete_entity_workspace_settings) | **DELETE** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Delete a Setting for Workspace [**delete_entity_workspaces**](EntitiesApi.md#delete_entity_workspaces) | **DELETE** /api/v1/entities/workspaces/{id} | Delete Workspace entity [**get_all_automations_workspace_automations**](EntitiesApi.md#get_all_automations_workspace_automations) | **GET** /api/v1/entities/organization/workspaceAutomations | Get all Automations across all Workspaces +[**get_all_entities**](EntitiesApi.md#get_all_entities) | **GET** /api/v1/entities/llmEndpoints | Get all LLM endpoint entities (Removed) [**get_all_entities_agents**](EntitiesApi.md#get_all_entities_agents) | **GET** /api/v1/entities/agents | Get all Agent entities [**get_all_entities_aggregated_facts**](EntitiesApi.md#get_all_entities_aggregated_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/aggregatedFacts | Get all Aggregated Facts [**get_all_entities_analytical_dashboards**](EntitiesApi.md#get_all_entities_analytical_dashboards) | **GET** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards | Get all Dashboards @@ -100,10 +103,10 @@ Method | HTTP request | Description [**get_all_entities_filter_contexts**](EntitiesApi.md#get_all_entities_filter_contexts) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterContexts | Get all Filter Context [**get_all_entities_filter_views**](EntitiesApi.md#get_all_entities_filter_views) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterViews | Get all Filter views [**get_all_entities_identity_providers**](EntitiesApi.md#get_all_entities_identity_providers) | **GET** /api/v1/entities/identityProviders | Get all Identity Providers +[**get_all_entities_ip_allowlist_policies**](EntitiesApi.md#get_all_entities_ip_allowlist_policies) | **GET** /api/v1/entities/ipAllowlistPolicies | Get all IpAllowlistPolicy entities [**get_all_entities_jwks**](EntitiesApi.md#get_all_entities_jwks) | **GET** /api/v1/entities/jwks | Get all Jwks [**get_all_entities_knowledge_recommendations**](EntitiesApi.md#get_all_entities_knowledge_recommendations) | **GET** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations | Get all Knowledge Recommendations [**get_all_entities_labels**](EntitiesApi.md#get_all_entities_labels) | **GET** /api/v1/entities/workspaces/{workspaceId}/labels | Get all Labels -[**get_all_entities_llm_endpoints**](EntitiesApi.md#get_all_entities_llm_endpoints) | **GET** /api/v1/entities/llmEndpoints | Get all LLM endpoint entities [**get_all_entities_llm_providers**](EntitiesApi.md#get_all_entities_llm_providers) | **GET** /api/v1/entities/llmProviders | Get all LLM Provider entities [**get_all_entities_memory_items**](EntitiesApi.md#get_all_entities_memory_items) | **GET** /api/v1/entities/workspaces/{workspaceId}/memoryItems | Get all Memory Items [**get_all_entities_metrics**](EntitiesApi.md#get_all_entities_metrics) | **GET** /api/v1/entities/workspaces/{workspaceId}/metrics | Get all Metrics @@ -124,6 +127,7 @@ Method | HTTP request | Description [**get_all_entities_workspaces**](EntitiesApi.md#get_all_entities_workspaces) | **GET** /api/v1/entities/workspaces | Get Workspace entities [**get_all_options**](EntitiesApi.md#get_all_options) | **GET** /api/v1/options | Links for all configuration options [**get_data_source_drivers**](EntitiesApi.md#get_data_source_drivers) | **GET** /api/v1/options/availableDrivers | Get all available data source drivers +[**get_entity**](EntitiesApi.md#get_entity) | **GET** /api/v1/entities/llmEndpoints/{id} | Get LLM endpoint entity (Removed) [**get_entity_agents**](EntitiesApi.md#get_entity_agents) | **GET** /api/v1/entities/agents/{id} | Get Agent entity [**get_entity_aggregated_facts**](EntitiesApi.md#get_entity_aggregated_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/aggregatedFacts/{objectId} | Get an Aggregated Fact [**get_entity_analytical_dashboards**](EntitiesApi.md#get_entity_analytical_dashboards) | **GET** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Get a Dashboard @@ -148,10 +152,10 @@ Method | HTTP request | Description [**get_entity_filter_contexts**](EntitiesApi.md#get_entity_filter_contexts) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Get a Filter Context [**get_entity_filter_views**](EntitiesApi.md#get_entity_filter_views) | **GET** /api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId} | Get Filter view [**get_entity_identity_providers**](EntitiesApi.md#get_entity_identity_providers) | **GET** /api/v1/entities/identityProviders/{id} | Get Identity Provider +[**get_entity_ip_allowlist_policies**](EntitiesApi.md#get_entity_ip_allowlist_policies) | **GET** /api/v1/entities/ipAllowlistPolicies/{id} | Get IpAllowlistPolicy entity [**get_entity_jwks**](EntitiesApi.md#get_entity_jwks) | **GET** /api/v1/entities/jwks/{id} | Get Jwk [**get_entity_knowledge_recommendations**](EntitiesApi.md#get_entity_knowledge_recommendations) | **GET** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId} | Get a Knowledge Recommendation [**get_entity_labels**](EntitiesApi.md#get_entity_labels) | **GET** /api/v1/entities/workspaces/{workspaceId}/labels/{objectId} | Get a Label -[**get_entity_llm_endpoints**](EntitiesApi.md#get_entity_llm_endpoints) | **GET** /api/v1/entities/llmEndpoints/{id} | Get LLM endpoint entity [**get_entity_llm_providers**](EntitiesApi.md#get_entity_llm_providers) | **GET** /api/v1/entities/llmProviders/{id} | Get LLM Provider entity [**get_entity_memory_items**](EntitiesApi.md#get_entity_memory_items) | **GET** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | Get a Memory Item [**get_entity_metrics**](EntitiesApi.md#get_entity_metrics) | **GET** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Get a Metric @@ -172,6 +176,7 @@ Method | HTTP request | Description [**get_entity_workspace_settings**](EntitiesApi.md#get_entity_workspace_settings) | **GET** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Get a Setting for Workspace [**get_entity_workspaces**](EntitiesApi.md#get_entity_workspaces) | **GET** /api/v1/entities/workspaces/{id} | Get Workspace entity [**get_organization**](EntitiesApi.md#get_organization) | **GET** /api/v1/entities/organization | Get current organization info +[**patch_entity**](EntitiesApi.md#patch_entity) | **PATCH** /api/v1/entities/llmEndpoints/{id} | Patch LLM endpoint entity (Removed) [**patch_entity_agents**](EntitiesApi.md#patch_entity_agents) | **PATCH** /api/v1/entities/agents/{id} | Patch Agent entity [**patch_entity_analytical_dashboards**](EntitiesApi.md#patch_entity_analytical_dashboards) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Patch a Dashboard [**patch_entity_attribute_hierarchies**](EntitiesApi.md#patch_entity_attribute_hierarchies) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Patch an Attribute Hierarchy @@ -194,7 +199,6 @@ Method | HTTP request | Description [**patch_entity_jwks**](EntitiesApi.md#patch_entity_jwks) | **PATCH** /api/v1/entities/jwks/{id} | Patch Jwk [**patch_entity_knowledge_recommendations**](EntitiesApi.md#patch_entity_knowledge_recommendations) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId} | Patch a Knowledge Recommendation [**patch_entity_labels**](EntitiesApi.md#patch_entity_labels) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/labels/{objectId} | Patch a Label (beta) -[**patch_entity_llm_endpoints**](EntitiesApi.md#patch_entity_llm_endpoints) | **PATCH** /api/v1/entities/llmEndpoints/{id} | Patch LLM endpoint entity [**patch_entity_llm_providers**](EntitiesApi.md#patch_entity_llm_providers) | **PATCH** /api/v1/entities/llmProviders/{id} | Patch LLM Provider entity [**patch_entity_memory_items**](EntitiesApi.md#patch_entity_memory_items) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | Patch a Memory Item [**patch_entity_metrics**](EntitiesApi.md#patch_entity_metrics) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Patch a Metric @@ -234,6 +238,7 @@ Method | HTTP request | Description [**search_entities_workspace_data_filter_settings**](EntitiesApi.md#search_entities_workspace_data_filter_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/search | The search endpoint (beta) [**search_entities_workspace_data_filters**](EntitiesApi.md#search_entities_workspace_data_filters) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/search | The search endpoint (beta) [**search_entities_workspace_settings**](EntitiesApi.md#search_entities_workspace_settings) | **POST** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/search | The search endpoint (beta) +[**update_entity**](EntitiesApi.md#update_entity) | **PUT** /api/v1/entities/llmEndpoints/{id} | PUT LLM endpoint entity (Removed) [**update_entity_agents**](EntitiesApi.md#update_entity_agents) | **PUT** /api/v1/entities/agents/{id} | Put Agent entity [**update_entity_analytical_dashboards**](EntitiesApi.md#update_entity_analytical_dashboards) | **PUT** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Put Dashboards [**update_entity_attribute_hierarchies**](EntitiesApi.md#update_entity_attribute_hierarchies) | **PUT** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Put an Attribute Hierarchy @@ -251,9 +256,9 @@ Method | HTTP request | Description [**update_entity_filter_contexts**](EntitiesApi.md#update_entity_filter_contexts) | **PUT** /api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId} | Put a Filter Context [**update_entity_filter_views**](EntitiesApi.md#update_entity_filter_views) | **PUT** /api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId} | Put Filter views [**update_entity_identity_providers**](EntitiesApi.md#update_entity_identity_providers) | **PUT** /api/v1/entities/identityProviders/{id} | Put Identity Provider +[**update_entity_ip_allowlist_policies**](EntitiesApi.md#update_entity_ip_allowlist_policies) | **PUT** /api/v1/entities/ipAllowlistPolicies/{id} | Put IpAllowlistPolicy entity [**update_entity_jwks**](EntitiesApi.md#update_entity_jwks) | **PUT** /api/v1/entities/jwks/{id} | Put Jwk [**update_entity_knowledge_recommendations**](EntitiesApi.md#update_entity_knowledge_recommendations) | **PUT** /api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId} | Put a Knowledge Recommendation -[**update_entity_llm_endpoints**](EntitiesApi.md#update_entity_llm_endpoints) | **PUT** /api/v1/entities/llmEndpoints/{id} | PUT LLM endpoint entity [**update_entity_llm_providers**](EntitiesApi.md#update_entity_llm_providers) | **PUT** /api/v1/entities/llmProviders/{id} | PUT LLM Provider entity [**update_entity_memory_items**](EntitiesApi.md#update_entity_memory_items) | **PUT** /api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId} | Put a Memory Item [**update_entity_metrics**](EntitiesApi.md#update_entity_metrics) | **PUT** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Put a Metric @@ -273,6 +278,67 @@ Method | HTTP request | Description [**update_entity_workspaces**](EntitiesApi.md#update_entity_workspaces) | **PUT** /api/v1/entities/workspaces/{id} | Put Workspace entity +# **create_entity** +> create_entity() + +Post LLM endpoint entities (Removed) + +Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_api +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 = entities_api.EntitiesApi(api_client) + + # example, this endpoint has no required or optional parameters + try: + # Post LLM endpoint entities (Removed) + api_instance.create_entity() + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->create_entity: %s\n" % e) +``` + + +### Parameters +This endpoint does not need any parameter. + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**410** | Gone | - | + +[[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) + # **create_entity_agents** > JsonApiAgentOutDocument create_entity_agents(json_api_agent_in_document) @@ -726,11 +792,27 @@ with gooddata_api_client.ApiClient() as api_client: DashboardFilter(), ], dashboard_id="761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0", + dashboard_parameters_override=[ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], dashboard_tabs_filters_overrides={ "key": [ DashboardFilter(), ], }, + dashboard_tabs_parameters_overrides={ + "key": [ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], + }, file_name="result", format="XLSX", settings=DashboardExportSettings( @@ -2157,6 +2239,113 @@ No authorization required - **Accept**: application/json, application/vnd.gooddata.api+json +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Request successfully processed | - | + +[[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) + +# **create_entity_ip_allowlist_policies** +> JsonApiIpAllowlistPolicyOutDocument create_entity_ip_allowlist_policies(json_api_ip_allowlist_policy_in_document) + +Post IpAllowlistPolicy entities + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_api +from gooddata_api_client.model.json_api_ip_allowlist_policy_out_document import JsonApiIpAllowlistPolicyOutDocument +from gooddata_api_client.model.json_api_ip_allowlist_policy_in_document import JsonApiIpAllowlistPolicyInDocument +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 = entities_api.EntitiesApi(api_client) + json_api_ip_allowlist_policy_in_document = JsonApiIpAllowlistPolicyInDocument( + data=JsonApiIpAllowlistPolicyIn( + attributes=JsonApiIpAllowlistPolicyInAttributes( + allowed_sources=[ + "allowed_sources_example", + ], + ), + id="id1", + relationships=JsonApiIpAllowlistPolicyInRelationships( + user_groups=JsonApiAgentInRelationshipsUserGroups( + data=JsonApiUserGroupToManyLinkage([ + JsonApiUserGroupLinkage( + id="id_example", + type="userGroup", + ), + ]), + ), + users=JsonApiAutomationInRelationshipsRecipients( + data=JsonApiUserToManyLinkage([ + JsonApiUserLinkage( + id="id_example", + type="user", + ), + ]), + ), + ), + type="ipAllowlistPolicy", + ), + ) # JsonApiIpAllowlistPolicyInDocument | + include = [ + "users,userGroups", + ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) + + # example passing only required values which don't have defaults set + try: + # Post IpAllowlistPolicy entities + api_response = api_instance.create_entity_ip_allowlist_policies(json_api_ip_allowlist_policy_in_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->create_entity_ip_allowlist_policies: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Post IpAllowlistPolicy entities + api_response = api_instance.create_entity_ip_allowlist_policies(json_api_ip_allowlist_policy_in_document, include=include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->create_entity_ip_allowlist_policies: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **json_api_ip_allowlist_policy_in_document** | [**JsonApiIpAllowlistPolicyInDocument**](JsonApiIpAllowlistPolicyInDocument.md)| | + **include** | **[str]**| Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. | [optional] + +### Return type + +[**JsonApiIpAllowlistPolicyOutDocument**](JsonApiIpAllowlistPolicyOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + ### HTTP response details | Status code | Description | Response headers | @@ -2352,87 +2541,6 @@ No authorization required - **Accept**: application/json, application/vnd.gooddata.api+json -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Request successfully processed | - | - -[[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) - -# **create_entity_llm_endpoints** -> JsonApiLlmEndpointOutDocument create_entity_llm_endpoints(json_api_llm_endpoint_in_document) - -Post LLM endpoint entities - -Will be soon removed and replaced by LlmProvider. - -### Example - - -```python -import time -import gooddata_api_client -from gooddata_api_client.api import entities_api -from gooddata_api_client.model.json_api_llm_endpoint_in_document import JsonApiLlmEndpointInDocument -from gooddata_api_client.model.json_api_llm_endpoint_out_document import JsonApiLlmEndpointOutDocument -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 = entities_api.EntitiesApi(api_client) - json_api_llm_endpoint_in_document = JsonApiLlmEndpointInDocument( - data=JsonApiLlmEndpointIn( - attributes=JsonApiLlmEndpointInAttributes( - base_url="base_url_example", - llm_model="llm_model_example", - llm_organization="llm_organization_example", - provider="OPENAI", - title="title_example", - token="token_example", - ), - id="id1", - type="llmEndpoint", - ), - ) # JsonApiLlmEndpointInDocument | - - # example passing only required values which don't have defaults set - try: - # Post LLM endpoint entities - api_response = api_instance.create_entity_llm_endpoints(json_api_llm_endpoint_in_document) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->create_entity_llm_endpoints: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **json_api_llm_endpoint_in_document** | [**JsonApiLlmEndpointInDocument**](JsonApiLlmEndpointInDocument.md)| | - -### Return type - -[**JsonApiLlmEndpointOutDocument**](JsonApiLlmEndpointOutDocument.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/vnd.gooddata.api+json - - **Accept**: application/json, application/vnd.gooddata.api+json - - ### HTTP response details | Status code | Description | Response headers | @@ -2481,7 +2589,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ], name="name_example", - provider_config=JsonApiLlmProviderInAttributesProviderConfig(None), + provider_config=JsonApiLlmProviderInAttributesProviderConfig(), ), id="id1", type="llmProvider", @@ -2922,9 +3030,7 @@ with gooddata_api_client.ApiClient() as api_client: data=JsonApiParameterPostOptionalId( attributes=JsonApiParameterInAttributes( are_relations_valid=True, - definition=JsonApiParameterInAttributesDefinition( - type="type_example", - ), + definition=JsonApiParameterInAttributesDefinition(), description="description_example", tags=[ "tags_example", @@ -3385,6 +3491,7 @@ with gooddata_api_client.ApiClient() as api_client: email="email_example", firstname="firstname_example", lastname="lastname_example", + system_account=True, ), id="id1", relationships=JsonApiAgentInRelationships( @@ -3960,6 +4067,71 @@ 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) +# **delete_entity** +> delete_entity(id) + +Delete LLM endpoint entity (Removed) + +Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_api +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 = entities_api.EntitiesApi(api_client) + id = "id_example" # str | + + # example passing only required values which don't have defaults set + try: + # Delete LLM endpoint entity (Removed) + api_instance.delete_entity(id) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->delete_entity: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**410** | Gone | - | + +[[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) + # **delete_entity_agents** > delete_entity_agents(id) @@ -5055,12 +5227,10 @@ 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) -# **delete_entity_jwks** -> delete_entity_jwks(id) - -Delete Jwk +# **delete_entity_ip_allowlist_policies** +> delete_entity_ip_allowlist_policies(id) -Deletes JSON web key - used to verify JSON web tokens (Jwts) +Delete IpAllowlistPolicy entity ### Example @@ -5085,10 +5255,10 @@ with gooddata_api_client.ApiClient() as api_client: # example passing only required values which don't have defaults set try: - # Delete Jwk - api_instance.delete_entity_jwks(id) + # Delete IpAllowlistPolicy entity + api_instance.delete_entity_ip_allowlist_policies(id) except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_jwks: %s\n" % e) + print("Exception when calling EntitiesApi->delete_entity_ip_allowlist_policies: %s\n" % e) ``` @@ -5120,10 +5290,12 @@ 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) -# **delete_entity_knowledge_recommendations** -> delete_entity_knowledge_recommendations(workspace_id, object_id) +# **delete_entity_jwks** +> delete_entity_jwks(id) -Delete a Knowledge Recommendation +Delete Jwk + +Deletes JSON web key - used to verify JSON web tokens (Jwts) ### Example @@ -5144,15 +5316,14 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = entities_api.EntitiesApi(api_client) - workspace_id = "workspaceId_example" # str | - object_id = "objectId_example" # str | + id = "/6bUUGjjNSwg0_bs" # str | # example passing only required values which don't have defaults set try: - # Delete a Knowledge Recommendation - api_instance.delete_entity_knowledge_recommendations(workspace_id, object_id) + # Delete Jwk + api_instance.delete_entity_jwks(id) except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_knowledge_recommendations: %s\n" % e) + print("Exception when calling EntitiesApi->delete_entity_jwks: %s\n" % e) ``` @@ -5160,8 +5331,7 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - **object_id** | **str**| | + **id** | **str**| | ### Return type @@ -5185,12 +5355,10 @@ 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) -# **delete_entity_llm_endpoints** -> delete_entity_llm_endpoints(id) - -Delete LLM endpoint entity +# **delete_entity_knowledge_recommendations** +> delete_entity_knowledge_recommendations(workspace_id, object_id) -Will be soon removed and replaced by LlmProvider. +Delete a Knowledge Recommendation ### Example @@ -5211,14 +5379,15 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = entities_api.EntitiesApi(api_client) - id = "/6bUUGjjNSwg0_bs" # str | + workspace_id = "workspaceId_example" # str | + object_id = "objectId_example" # str | # example passing only required values which don't have defaults set try: - # Delete LLM endpoint entity - api_instance.delete_entity_llm_endpoints(id) + # Delete a Knowledge Recommendation + api_instance.delete_entity_knowledge_recommendations(workspace_id, object_id) except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_llm_endpoints: %s\n" % e) + print("Exception when calling EntitiesApi->delete_entity_knowledge_recommendations: %s\n" % e) ``` @@ -5226,7 +5395,8 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **id** | **str**| | + **workspace_id** | **str**| | + **object_id** | **str**| | ### Return type @@ -6344,7 +6514,68 @@ Name | Type | Description | Notes ### Return type -[**JsonApiWorkspaceAutomationOutList**](JsonApiWorkspaceAutomationOutList.md) +[**JsonApiWorkspaceAutomationOutList**](JsonApiWorkspaceAutomationOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[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) + +# **get_all_entities** +> get_all_entities() + +Get all LLM endpoint entities (Removed) + +Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_api +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 = entities_api.EntitiesApi(api_client) + + # example, this endpoint has no required or optional parameters + try: + # Get all LLM endpoint entities (Removed) + api_instance.get_all_entities() + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->get_all_entities: %s\n" % e) +``` + + +### Parameters +This endpoint does not need any parameter. + +### Return type + +void (empty response body) ### Authorization @@ -6353,14 +6584,14 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/vnd.gooddata.api+json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Request successfully processed | - | +**410** | Gone | - | [[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) @@ -8400,12 +8631,10 @@ 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) -# **get_all_entities_jwks** -> JsonApiJwkOutList get_all_entities_jwks() - -Get all Jwks +# **get_all_entities_ip_allowlist_policies** +> JsonApiIpAllowlistPolicyOutList get_all_entities_ip_allowlist_policies() -Returns all JSON web keys - used to verify JSON web tokens (Jwts) +Get all IpAllowlistPolicy entities ### Example @@ -8414,7 +8643,7 @@ Returns all JSON web keys - used to verify JSON web tokens (Jwts) import time import gooddata_api_client from gooddata_api_client.api import entities_api -from gooddata_api_client.model.json_api_jwk_out_list import JsonApiJwkOutList +from gooddata_api_client.model.json_api_ip_allowlist_policy_out_list import JsonApiIpAllowlistPolicyOutList 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. @@ -8427,7 +8656,10 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = entities_api.EntitiesApi(api_client) - filter = "content==JwkSpecificationValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + filter = "allowedSources==v1,v2,v3" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + include = [ + "users,userGroups", + ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) page = 0 # int | Zero-based page index (0..N) (optional) if omitted the server will use the default value of 0 size = 20 # int | The size of the page to be returned (optional) if omitted the server will use the default value of 20 sort = [ @@ -8440,11 +8672,11 @@ with gooddata_api_client.ApiClient() as api_client: # example passing only required values which don't have defaults set # and optional values try: - # Get all Jwks - api_response = api_instance.get_all_entities_jwks(filter=filter, page=page, size=size, sort=sort, meta_include=meta_include) + # Get all IpAllowlistPolicy entities + api_response = api_instance.get_all_entities_ip_allowlist_policies(filter=filter, include=include, page=page, size=size, sort=sort, meta_include=meta_include) pprint(api_response) except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_jwks: %s\n" % e) + print("Exception when calling EntitiesApi->get_all_entities_ip_allowlist_policies: %s\n" % e) ``` @@ -8453,6 +8685,7 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[str]**| Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. | [optional] **page** | **int**| Zero-based page index (0..N) | [optional] if omitted the server will use the default value of 0 **size** | **int**| The size of the page to be returned | [optional] if omitted the server will use the default value of 20 **sort** | **[str]**| Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | [optional] @@ -8460,7 +8693,7 @@ Name | Type | Description | Notes ### Return type -[**JsonApiJwkOutList**](JsonApiJwkOutList.md) +[**JsonApiIpAllowlistPolicyOutList**](JsonApiIpAllowlistPolicyOutList.md) ### Authorization @@ -8480,10 +8713,12 @@ 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) -# **get_all_entities_knowledge_recommendations** -> JsonApiKnowledgeRecommendationOutList get_all_entities_knowledge_recommendations(workspace_id) +# **get_all_entities_jwks** +> JsonApiJwkOutList get_all_entities_jwks() -Get all Knowledge Recommendations +Get all Jwks + +Returns all JSON web keys - used to verify JSON web tokens (Jwts) ### Example @@ -8492,7 +8727,7 @@ Get all Knowledge Recommendations import time import gooddata_api_client from gooddata_api_client.api import entities_api -from gooddata_api_client.model.json_api_knowledge_recommendation_out_list import JsonApiKnowledgeRecommendationOutList +from gooddata_api_client.model.json_api_jwk_out_list import JsonApiJwkOutList 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. @@ -8505,38 +8740,24 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = entities_api.EntitiesApi(api_client) - workspace_id = "workspaceId_example" # str | - origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" - filter = "title==someString;description==someString;metric.id==321;analyticalDashboard.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) - include = [ - "metric,analyticalDashboard", - ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) + filter = "content==JwkSpecificationValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) page = 0 # int | Zero-based page index (0..N) (optional) if omitted the server will use the default value of 0 size = 20 # int | The size of the page to be returned (optional) if omitted the server will use the default value of 20 sort = [ "sort_example", ] # [str] | Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) - x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False meta_include = [ - "metaInclude=origin,page,all", + "metaInclude=page,all", ] # [str] | Include Meta objects. (optional) - # example passing only required values which don't have defaults set - try: - # Get all Knowledge Recommendations - api_response = api_instance.get_all_entities_knowledge_recommendations(workspace_id) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_knowledge_recommendations: %s\n" % e) - # example passing only required values which don't have defaults set # and optional values try: - # Get all Knowledge Recommendations - api_response = api_instance.get_all_entities_knowledge_recommendations(workspace_id, origin=origin, filter=filter, include=include, page=page, size=size, sort=sort, x_gdc_validate_relations=x_gdc_validate_relations, meta_include=meta_include) + # Get all Jwks + api_response = api_instance.get_all_entities_jwks(filter=filter, page=page, size=size, sort=sort, meta_include=meta_include) pprint(api_response) except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_knowledge_recommendations: %s\n" % e) + print("Exception when calling EntitiesApi->get_all_entities_jwks: %s\n" % e) ``` @@ -8544,19 +8765,15 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] - **include** | **[str]**| Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. | [optional] **page** | **int**| Zero-based page index (0..N) | [optional] if omitted the server will use the default value of 0 **size** | **int**| The size of the page to be returned | [optional] if omitted the server will use the default value of 20 **sort** | **[str]**| Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | [optional] - **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False **meta_include** | **[str]**| Include Meta objects. | [optional] ### Return type -[**JsonApiKnowledgeRecommendationOutList**](JsonApiKnowledgeRecommendationOutList.md) +[**JsonApiJwkOutList**](JsonApiJwkOutList.md) ### Authorization @@ -8576,10 +8793,10 @@ 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) -# **get_all_entities_labels** -> JsonApiLabelOutList get_all_entities_labels(workspace_id) +# **get_all_entities_knowledge_recommendations** +> JsonApiKnowledgeRecommendationOutList get_all_entities_knowledge_recommendations(workspace_id) -Get all Labels +Get all Knowledge Recommendations ### Example @@ -8588,7 +8805,7 @@ Get all Labels import time import gooddata_api_client from gooddata_api_client.api import entities_api -from gooddata_api_client.model.json_api_label_out_list import JsonApiLabelOutList +from gooddata_api_client.model.json_api_knowledge_recommendation_out_list import JsonApiKnowledgeRecommendationOutList 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. @@ -8603,9 +8820,9 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = entities_api.EntitiesApi(api_client) workspace_id = "workspaceId_example" # str | origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" - filter = "title==someString;description==someString;attribute.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + filter = "title==someString;description==someString;metric.id==321;analyticalDashboard.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) include = [ - "attribute", + "metric,analyticalDashboard", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) page = 0 # int | Zero-based page index (0..N) (optional) if omitted the server will use the default value of 0 size = 20 # int | The size of the page to be returned (optional) if omitted the server will use the default value of 20 @@ -8619,20 +8836,20 @@ with gooddata_api_client.ApiClient() as api_client: # example passing only required values which don't have defaults set try: - # Get all Labels - api_response = api_instance.get_all_entities_labels(workspace_id) + # Get all Knowledge Recommendations + api_response = api_instance.get_all_entities_knowledge_recommendations(workspace_id) pprint(api_response) except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_labels: %s\n" % e) + print("Exception when calling EntitiesApi->get_all_entities_knowledge_recommendations: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - # Get all Labels - api_response = api_instance.get_all_entities_labels(workspace_id, origin=origin, filter=filter, include=include, page=page, size=size, sort=sort, x_gdc_validate_relations=x_gdc_validate_relations, meta_include=meta_include) + # Get all Knowledge Recommendations + api_response = api_instance.get_all_entities_knowledge_recommendations(workspace_id, origin=origin, filter=filter, include=include, page=page, size=size, sort=sort, x_gdc_validate_relations=x_gdc_validate_relations, meta_include=meta_include) pprint(api_response) except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_labels: %s\n" % e) + print("Exception when calling EntitiesApi->get_all_entities_knowledge_recommendations: %s\n" % e) ``` @@ -8652,7 +8869,7 @@ Name | Type | Description | Notes ### Return type -[**JsonApiLabelOutList**](JsonApiLabelOutList.md) +[**JsonApiKnowledgeRecommendationOutList**](JsonApiKnowledgeRecommendationOutList.md) ### Authorization @@ -8672,12 +8889,10 @@ 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) -# **get_all_entities_llm_endpoints** -> JsonApiLlmEndpointOutList get_all_entities_llm_endpoints() - -Get all LLM endpoint entities +# **get_all_entities_labels** +> JsonApiLabelOutList get_all_entities_labels(workspace_id) -Will be soon removed and replaced by LlmProvider. +Get all Labels ### Example @@ -8686,7 +8901,7 @@ Will be soon removed and replaced by LlmProvider. import time import gooddata_api_client from gooddata_api_client.api import entities_api -from gooddata_api_client.model.json_api_llm_endpoint_out_list import JsonApiLlmEndpointOutList +from gooddata_api_client.model.json_api_label_out_list import JsonApiLabelOutList 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. @@ -8699,24 +8914,38 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = entities_api.EntitiesApi(api_client) - filter = "title==someString;provider==LlmEndpointProviderValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + workspace_id = "workspaceId_example" # str | + origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" + filter = "title==someString;description==someString;attribute.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + include = [ + "attribute", + ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) page = 0 # int | Zero-based page index (0..N) (optional) if omitted the server will use the default value of 0 size = 20 # int | The size of the page to be returned (optional) if omitted the server will use the default value of 20 sort = [ "sort_example", ] # [str] | Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) + x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False meta_include = [ - "metaInclude=page,all", + "metaInclude=origin,page,all", ] # [str] | Include Meta objects. (optional) + # example passing only required values which don't have defaults set + try: + # Get all Labels + api_response = api_instance.get_all_entities_labels(workspace_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->get_all_entities_labels: %s\n" % e) + # example passing only required values which don't have defaults set # and optional values try: - # Get all LLM endpoint entities - api_response = api_instance.get_all_entities_llm_endpoints(filter=filter, page=page, size=size, sort=sort, meta_include=meta_include) + # Get all Labels + api_response = api_instance.get_all_entities_labels(workspace_id, origin=origin, filter=filter, include=include, page=page, size=size, sort=sort, x_gdc_validate_relations=x_gdc_validate_relations, meta_include=meta_include) pprint(api_response) except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_all_entities_llm_endpoints: %s\n" % e) + print("Exception when calling EntitiesApi->get_all_entities_labels: %s\n" % e) ``` @@ -8724,15 +8953,19 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **origin** | **str**| | [optional] if omitted the server will use the default value of "ALL" **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[str]**| Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. | [optional] **page** | **int**| Zero-based page index (0..N) | [optional] if omitted the server will use the default value of 0 **size** | **int**| The size of the page to be returned | [optional] if omitted the server will use the default value of 20 **sort** | **[str]**| Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | [optional] + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False **meta_include** | **[str]**| Include Meta objects. | [optional] ### Return type -[**JsonApiLlmEndpointOutList**](JsonApiLlmEndpointOutList.md) +[**JsonApiLabelOutList**](JsonApiLabelOutList.md) ### Authorization @@ -10450,6 +10683,71 @@ 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) +# **get_entity** +> get_entity(id) + +Get LLM endpoint entity (Removed) + +Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_api +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 = entities_api.EntitiesApi(api_client) + id = "id_example" # str | + + # example passing only required values which don't have defaults set + try: + # Get LLM endpoint entity (Removed) + api_instance.get_entity(id) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->get_entity: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**410** | Gone | - | + +[[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) + # **get_entity_agents** > JsonApiAgentOutDocument get_entity_agents(id) @@ -12311,16 +12609,95 @@ with gooddata_api_client.ApiClient() as api_client: api_response = api_instance.get_entity_filter_views(workspace_id, object_id) pprint(api_response) except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_filter_views: %s\n" % e) + print("Exception when calling EntitiesApi->get_entity_filter_views: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get Filter view + api_response = api_instance.get_entity_filter_views(workspace_id, object_id, filter=filter, include=include, x_gdc_validate_relations=x_gdc_validate_relations) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->get_entity_filter_views: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **object_id** | **str**| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[str]**| Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. | [optional] + **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False + +### Return type + +[**JsonApiFilterViewOutDocument**](JsonApiFilterViewOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[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) + +# **get_entity_identity_providers** +> JsonApiIdentityProviderOutDocument get_entity_identity_providers(id) + +Get Identity Provider + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_api +from gooddata_api_client.model.json_api_identity_provider_out_document import JsonApiIdentityProviderOutDocument +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 = entities_api.EntitiesApi(api_client) + id = "/6bUUGjjNSwg0_bs" # str | + filter = "identifiers==v1,v2,v3;customClaimMapping==MapValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + + # example passing only required values which don't have defaults set + try: + # Get Identity Provider + api_response = api_instance.get_entity_identity_providers(id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->get_entity_identity_providers: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - # Get Filter view - api_response = api_instance.get_entity_filter_views(workspace_id, object_id, filter=filter, include=include, x_gdc_validate_relations=x_gdc_validate_relations) + # Get Identity Provider + api_response = api_instance.get_entity_identity_providers(id, filter=filter) pprint(api_response) except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_filter_views: %s\n" % e) + print("Exception when calling EntitiesApi->get_entity_identity_providers: %s\n" % e) ``` @@ -12328,15 +12705,12 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - **object_id** | **str**| | + **id** | **str**| | **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] - **include** | **[str]**| Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. | [optional] - **x_gdc_validate_relations** | **bool**| | [optional] if omitted the server will use the default value of False ### Return type -[**JsonApiFilterViewOutDocument**](JsonApiFilterViewOutDocument.md) +[**JsonApiIdentityProviderOutDocument**](JsonApiIdentityProviderOutDocument.md) ### Authorization @@ -12356,10 +12730,10 @@ 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) -# **get_entity_identity_providers** -> JsonApiIdentityProviderOutDocument get_entity_identity_providers(id) +# **get_entity_ip_allowlist_policies** +> JsonApiIpAllowlistPolicyOutDocument get_entity_ip_allowlist_policies(id) -Get Identity Provider +Get IpAllowlistPolicy entity ### Example @@ -12368,7 +12742,7 @@ Get Identity Provider import time import gooddata_api_client from gooddata_api_client.api import entities_api -from gooddata_api_client.model.json_api_identity_provider_out_document import JsonApiIdentityProviderOutDocument +from gooddata_api_client.model.json_api_ip_allowlist_policy_out_document import JsonApiIpAllowlistPolicyOutDocument 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. @@ -12382,24 +12756,27 @@ with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = entities_api.EntitiesApi(api_client) id = "/6bUUGjjNSwg0_bs" # str | - filter = "identifiers==v1,v2,v3;customClaimMapping==MapValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + filter = "allowedSources==v1,v2,v3" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + include = [ + "users,userGroups", + ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) # example passing only required values which don't have defaults set try: - # Get Identity Provider - api_response = api_instance.get_entity_identity_providers(id) + # Get IpAllowlistPolicy entity + api_response = api_instance.get_entity_ip_allowlist_policies(id) pprint(api_response) except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_identity_providers: %s\n" % e) + print("Exception when calling EntitiesApi->get_entity_ip_allowlist_policies: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - # Get Identity Provider - api_response = api_instance.get_entity_identity_providers(id, filter=filter) + # Get IpAllowlistPolicy entity + api_response = api_instance.get_entity_ip_allowlist_policies(id, filter=filter, include=include) pprint(api_response) except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_identity_providers: %s\n" % e) + print("Exception when calling EntitiesApi->get_entity_ip_allowlist_policies: %s\n" % e) ``` @@ -12409,10 +12786,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **str**| | **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[str]**| Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. | [optional] ### Return type -[**JsonApiIdentityProviderOutDocument**](JsonApiIdentityProviderOutDocument.md) +[**JsonApiIpAllowlistPolicyOutDocument**](JsonApiIpAllowlistPolicyOutDocument.md) ### Authorization @@ -12678,84 +13056,6 @@ No authorization required - **Accept**: application/json, application/vnd.gooddata.api+json -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Request successfully processed | - | - -[[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) - -# **get_entity_llm_endpoints** -> JsonApiLlmEndpointOutDocument get_entity_llm_endpoints(id) - -Get LLM endpoint entity - -Will be soon removed and replaced by LlmProvider. - -### Example - - -```python -import time -import gooddata_api_client -from gooddata_api_client.api import entities_api -from gooddata_api_client.model.json_api_llm_endpoint_out_document import JsonApiLlmEndpointOutDocument -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 = entities_api.EntitiesApi(api_client) - id = "/6bUUGjjNSwg0_bs" # str | - filter = "title==someString;provider==LlmEndpointProviderValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) - - # example passing only required values which don't have defaults set - try: - # Get LLM endpoint entity - api_response = api_instance.get_entity_llm_endpoints(id) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_llm_endpoints: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Get LLM endpoint entity - api_response = api_instance.get_entity_llm_endpoints(id, filter=filter) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->get_entity_llm_endpoints: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] - -### Return type - -[**JsonApiLlmEndpointOutDocument**](JsonApiLlmEndpointOutDocument.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/vnd.gooddata.api+json - - ### HTTP response details | Status code | Description | Response headers | @@ -14402,6 +14702,71 @@ 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) +# **patch_entity** +> patch_entity(id) + +Patch LLM endpoint entity (Removed) + +Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_api +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 = entities_api.EntitiesApi(api_client) + id = "id_example" # str | + + # example passing only required values which don't have defaults set + try: + # Patch LLM endpoint entity (Removed) + api_instance.patch_entity(id) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->patch_entity: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**410** | Gone | - | + +[[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) + # **patch_entity_agents** > JsonApiAgentOutDocument patch_entity_agents(id, json_api_agent_patch_document) @@ -14887,11 +15252,27 @@ with gooddata_api_client.ApiClient() as api_client: DashboardFilter(), ], dashboard_id="761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0", + dashboard_parameters_override=[ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], dashboard_tabs_filters_overrides={ "key": [ DashboardFilter(), ], }, + dashboard_tabs_parameters_overrides={ + "key": [ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], + }, file_name="result", format="XLSX", settings=DashboardExportSettings( @@ -16806,109 +17187,10 @@ 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) -# **patch_entity_labels** -> JsonApiLabelOutDocument patch_entity_labels(workspace_id, object_id, json_api_label_patch_document) - -Patch a Label (beta) - -### Example - - -```python -import time -import gooddata_api_client -from gooddata_api_client.api import entities_api -from gooddata_api_client.model.json_api_label_patch_document import JsonApiLabelPatchDocument -from gooddata_api_client.model.json_api_label_out_document import JsonApiLabelOutDocument -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 = entities_api.EntitiesApi(api_client) - workspace_id = "workspaceId_example" # str | - object_id = "objectId_example" # str | - json_api_label_patch_document = JsonApiLabelPatchDocument( - data=JsonApiLabelPatch( - attributes=JsonApiAttributePatchAttributes( - description="description_example", - tags=[ - "tags_example", - ], - title="title_example", - ), - id="id1", - type="label", - ), - ) # JsonApiLabelPatchDocument | - filter = "title==someString;description==someString;attribute.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) - include = [ - "attribute", - ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) - - # example passing only required values which don't have defaults set - try: - # Patch a Label (beta) - api_response = api_instance.patch_entity_labels(workspace_id, object_id, json_api_label_patch_document) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_labels: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Patch a Label (beta) - api_response = api_instance.patch_entity_labels(workspace_id, object_id, json_api_label_patch_document, filter=filter, include=include) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_labels: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **workspace_id** | **str**| | - **object_id** | **str**| | - **json_api_label_patch_document** | [**JsonApiLabelPatchDocument**](JsonApiLabelPatchDocument.md)| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] - **include** | **[str]**| Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. | [optional] - -### Return type - -[**JsonApiLabelOutDocument**](JsonApiLabelOutDocument.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/vnd.gooddata.api+json - - **Accept**: application/json, application/vnd.gooddata.api+json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Request successfully processed | - | - -[[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) - -# **patch_entity_llm_endpoints** -> JsonApiLlmEndpointOutDocument patch_entity_llm_endpoints(id, json_api_llm_endpoint_patch_document) - -Patch LLM endpoint entity +# **patch_entity_labels** +> JsonApiLabelOutDocument patch_entity_labels(workspace_id, object_id, json_api_label_patch_document) -Will be soon removed and replaced by LlmProvider. +Patch a Label (beta) ### Example @@ -16917,8 +17199,8 @@ Will be soon removed and replaced by LlmProvider. import time import gooddata_api_client from gooddata_api_client.api import entities_api -from gooddata_api_client.model.json_api_llm_endpoint_out_document import JsonApiLlmEndpointOutDocument -from gooddata_api_client.model.json_api_llm_endpoint_patch_document import JsonApiLlmEndpointPatchDocument +from gooddata_api_client.model.json_api_label_patch_document import JsonApiLabelPatchDocument +from gooddata_api_client.model.json_api_label_out_document import JsonApiLabelOutDocument 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. @@ -16931,39 +17213,42 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = entities_api.EntitiesApi(api_client) - id = "/6bUUGjjNSwg0_bs" # str | - json_api_llm_endpoint_patch_document = JsonApiLlmEndpointPatchDocument( - data=JsonApiLlmEndpointPatch( - attributes=JsonApiLlmEndpointPatchAttributes( - base_url="base_url_example", - llm_model="llm_model_example", - llm_organization="llm_organization_example", - provider="OPENAI", + workspace_id = "workspaceId_example" # str | + object_id = "objectId_example" # str | + json_api_label_patch_document = JsonApiLabelPatchDocument( + data=JsonApiLabelPatch( + attributes=JsonApiAttributePatchAttributes( + description="description_example", + tags=[ + "tags_example", + ], title="title_example", - token="token_example", ), id="id1", - type="llmEndpoint", + type="label", ), - ) # JsonApiLlmEndpointPatchDocument | - filter = "title==someString;provider==LlmEndpointProviderValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + ) # JsonApiLabelPatchDocument | + filter = "title==someString;description==someString;attribute.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + include = [ + "attribute", + ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) # example passing only required values which don't have defaults set try: - # Patch LLM endpoint entity - api_response = api_instance.patch_entity_llm_endpoints(id, json_api_llm_endpoint_patch_document) + # Patch a Label (beta) + api_response = api_instance.patch_entity_labels(workspace_id, object_id, json_api_label_patch_document) pprint(api_response) except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_llm_endpoints: %s\n" % e) + print("Exception when calling EntitiesApi->patch_entity_labels: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - # Patch LLM endpoint entity - api_response = api_instance.patch_entity_llm_endpoints(id, json_api_llm_endpoint_patch_document, filter=filter) + # Patch a Label (beta) + api_response = api_instance.patch_entity_labels(workspace_id, object_id, json_api_label_patch_document, filter=filter, include=include) pprint(api_response) except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->patch_entity_llm_endpoints: %s\n" % e) + print("Exception when calling EntitiesApi->patch_entity_labels: %s\n" % e) ``` @@ -16971,13 +17256,15 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **id** | **str**| | - **json_api_llm_endpoint_patch_document** | [**JsonApiLlmEndpointPatchDocument**](JsonApiLlmEndpointPatchDocument.md)| | + **workspace_id** | **str**| | + **object_id** | **str**| | + **json_api_label_patch_document** | [**JsonApiLabelPatchDocument**](JsonApiLabelPatchDocument.md)| | **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[str]**| Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. | [optional] ### Return type -[**JsonApiLlmEndpointOutDocument**](JsonApiLlmEndpointOutDocument.md) +[**JsonApiLabelOutDocument**](JsonApiLabelOutDocument.md) ### Authorization @@ -17036,7 +17323,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ], name="name_example", - provider_config=JsonApiLlmProviderInAttributesProviderConfig(None), + provider_config=JsonApiLlmProviderInAttributesProviderConfig(), ), id="id1", type="llmProvider", @@ -17620,9 +17907,7 @@ with gooddata_api_client.ApiClient() as api_client: data=JsonApiParameterPatch( attributes=JsonApiParameterPatchAttributes( are_relations_valid=True, - definition=JsonApiParameterInAttributesDefinition( - type="type_example", - ), + definition=JsonApiParameterInAttributesDefinition(), description="description_example", tags=[ "tags_example", @@ -18023,6 +18308,7 @@ with gooddata_api_client.ApiClient() as api_client: email="email_example", firstname="firstname_example", lastname="lastname_example", + system_account=True, ), id="id1", relationships=JsonApiAgentInRelationships( @@ -20878,6 +21164,71 @@ 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) +# **update_entity** +> update_entity(id) + +PUT LLM endpoint entity (Removed) + +Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone. + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_api +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 = entities_api.EntitiesApi(api_client) + id = "id_example" # str | + + # example passing only required values which don't have defaults set + try: + # PUT LLM endpoint entity (Removed) + api_instance.update_entity(id) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->update_entity: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**410** | Gone | - | + +[[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) + # **update_entity_agents** > JsonApiAgentOutDocument update_entity_agents(id, json_api_agent_in_document) @@ -21261,11 +21612,27 @@ with gooddata_api_client.ApiClient() as api_client: DashboardFilter(), ], dashboard_id="761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0", + dashboard_parameters_override=[ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], dashboard_tabs_filters_overrides={ "key": [ DashboardFilter(), ], }, + dashboard_tabs_parameters_overrides={ + "key": [ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], + }, file_name="result", format="XLSX", settings=DashboardExportSettings( @@ -22861,6 +23228,117 @@ No authorization required - **Accept**: application/json, application/vnd.gooddata.api+json +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[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) + +# **update_entity_ip_allowlist_policies** +> JsonApiIpAllowlistPolicyOutDocument update_entity_ip_allowlist_policies(id, json_api_ip_allowlist_policy_in_document) + +Put IpAllowlistPolicy entity + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import entities_api +from gooddata_api_client.model.json_api_ip_allowlist_policy_out_document import JsonApiIpAllowlistPolicyOutDocument +from gooddata_api_client.model.json_api_ip_allowlist_policy_in_document import JsonApiIpAllowlistPolicyInDocument +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 = entities_api.EntitiesApi(api_client) + id = "/6bUUGjjNSwg0_bs" # str | + json_api_ip_allowlist_policy_in_document = JsonApiIpAllowlistPolicyInDocument( + data=JsonApiIpAllowlistPolicyIn( + attributes=JsonApiIpAllowlistPolicyInAttributes( + allowed_sources=[ + "allowed_sources_example", + ], + ), + id="id1", + relationships=JsonApiIpAllowlistPolicyInRelationships( + user_groups=JsonApiAgentInRelationshipsUserGroups( + data=JsonApiUserGroupToManyLinkage([ + JsonApiUserGroupLinkage( + id="id_example", + type="userGroup", + ), + ]), + ), + users=JsonApiAutomationInRelationshipsRecipients( + data=JsonApiUserToManyLinkage([ + JsonApiUserLinkage( + id="id_example", + type="user", + ), + ]), + ), + ), + type="ipAllowlistPolicy", + ), + ) # JsonApiIpAllowlistPolicyInDocument | + filter = "allowedSources==v1,v2,v3" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + include = [ + "users,userGroups", + ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) + + # example passing only required values which don't have defaults set + try: + # Put IpAllowlistPolicy entity + api_response = api_instance.update_entity_ip_allowlist_policies(id, json_api_ip_allowlist_policy_in_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->update_entity_ip_allowlist_policies: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Put IpAllowlistPolicy entity + api_response = api_instance.update_entity_ip_allowlist_policies(id, json_api_ip_allowlist_policy_in_document, filter=filter, include=include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling EntitiesApi->update_entity_ip_allowlist_policies: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **json_api_ip_allowlist_policy_in_document** | [**JsonApiIpAllowlistPolicyInDocument**](JsonApiIpAllowlistPolicyInDocument.md)| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[str]**| Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. | [optional] + +### Return type + +[**JsonApiIpAllowlistPolicyOutDocument**](JsonApiIpAllowlistPolicyOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + ### HTTP response details | Status code | Description | Response headers | @@ -23069,100 +23547,6 @@ No authorization required - **Accept**: application/json, application/vnd.gooddata.api+json -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Request successfully processed | - | - -[[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) - -# **update_entity_llm_endpoints** -> JsonApiLlmEndpointOutDocument update_entity_llm_endpoints(id, json_api_llm_endpoint_in_document) - -PUT LLM endpoint entity - -Will be soon removed and replaced by LlmProvider. - -### Example - - -```python -import time -import gooddata_api_client -from gooddata_api_client.api import entities_api -from gooddata_api_client.model.json_api_llm_endpoint_in_document import JsonApiLlmEndpointInDocument -from gooddata_api_client.model.json_api_llm_endpoint_out_document import JsonApiLlmEndpointOutDocument -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 = entities_api.EntitiesApi(api_client) - id = "/6bUUGjjNSwg0_bs" # str | - json_api_llm_endpoint_in_document = JsonApiLlmEndpointInDocument( - data=JsonApiLlmEndpointIn( - attributes=JsonApiLlmEndpointInAttributes( - base_url="base_url_example", - llm_model="llm_model_example", - llm_organization="llm_organization_example", - provider="OPENAI", - title="title_example", - token="token_example", - ), - id="id1", - type="llmEndpoint", - ), - ) # JsonApiLlmEndpointInDocument | - filter = "title==someString;provider==LlmEndpointProviderValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) - - # example passing only required values which don't have defaults set - try: - # PUT LLM endpoint entity - api_response = api_instance.update_entity_llm_endpoints(id, json_api_llm_endpoint_in_document) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_llm_endpoints: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # PUT LLM endpoint entity - api_response = api_instance.update_entity_llm_endpoints(id, json_api_llm_endpoint_in_document, filter=filter) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_llm_endpoints: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| | - **json_api_llm_endpoint_in_document** | [**JsonApiLlmEndpointInDocument**](JsonApiLlmEndpointInDocument.md)| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] - -### Return type - -[**JsonApiLlmEndpointOutDocument**](JsonApiLlmEndpointOutDocument.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/vnd.gooddata.api+json - - **Accept**: application/json, application/vnd.gooddata.api+json - - ### HTTP response details | Status code | Description | Response headers | @@ -23210,7 +23594,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ], name="name_example", - provider_config=JsonApiLlmProviderInAttributesProviderConfig(None), + provider_config=JsonApiLlmProviderInAttributesProviderConfig(), ), id="id1", type="llmProvider", @@ -23794,9 +24178,7 @@ with gooddata_api_client.ApiClient() as api_client: data=JsonApiParameterIn( attributes=JsonApiParameterInAttributes( are_relations_valid=True, - definition=JsonApiParameterInAttributesDefinition( - type="type_example", - ), + definition=JsonApiParameterInAttributesDefinition(), description="description_example", tags=[ "tags_example", @@ -24287,6 +24669,7 @@ with gooddata_api_client.ApiClient() as api_client: email="email_example", firstname="firstname_example", lastname="lastname_example", + system_account=True, ), id="id1", relationships=JsonApiAgentInRelationships( diff --git a/gooddata-api-client/docs/ExecutionResultLimitBreak.md b/gooddata-api-client/docs/ExecutionResultLimitBreak.md new file mode 100644 index 000000000..8bffca3d0 --- /dev/null +++ b/gooddata-api-client/docs/ExecutionResultLimitBreak.md @@ -0,0 +1,15 @@ +# ExecutionResultLimitBreak + +Describes a limit that was broken, resulting in partial data being returned. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**limit** | **int** | The configured threshold value. | +**limit_type** | **str** | Type of the limit that was broken, e.g. \"rowCount\". | +**value** | **int** | The actual value that triggered the limit; null when it cannot be determined exactly. | [optional] +**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) + + diff --git a/gooddata-api-client/docs/ExecutionResultMetadata.md b/gooddata-api-client/docs/ExecutionResultMetadata.md index feef9ca88..f11916e52 100644 --- a/gooddata-api-client/docs/ExecutionResultMetadata.md +++ b/gooddata-api-client/docs/ExecutionResultMetadata.md @@ -6,6 +6,7 @@ Additional metadata for the particular execution result. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data_source_messages** | [**[ExecutionResultDataSourceMessage]**](ExecutionResultDataSourceMessage.md) | Additional information sent by the underlying data source. | +**limit_breaks** | [**[ExecutionResultLimitBreak]**](ExecutionResultLimitBreak.md) | Limits that were broken during result computation, causing the result to be partial. Absent when the result is complete. | [optional] **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) diff --git a/gooddata-api-client/docs/FailedOperation.md b/gooddata-api-client/docs/FailedOperation.md index 3e5b74124..aa4537b8a 100644 --- a/gooddata-api-client/docs/FailedOperation.md +++ b/gooddata-api-client/docs/FailedOperation.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **error** | [**OperationError**](OperationError.md) | | **id** | **str** | Id of the operation | -**kind** | **str** | Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. | +**kind** | **str** | Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. * `refresh-partition` — Refreshing a specific Hive partition (delete + re-load from S3). | **status** | **str** | | **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] diff --git a/gooddata-api-client/docs/GetAiLakeOperation200Response.md b/gooddata-api-client/docs/GetAiLakeOperation200Response.md index 604aa9c3f..8bbc39fb4 100644 --- a/gooddata-api-client/docs/GetAiLakeOperation200Response.md +++ b/gooddata-api-client/docs/GetAiLakeOperation200Response.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **status** | **str** | | **result** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | Operation-specific result payload, can be missing for operations like delete | [optional] **id** | **str** | Id of the operation | [optional] -**kind** | **str** | Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. | [optional] +**kind** | **str** | Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. * `refresh-partition` — Refreshing a specific Hive partition (delete + re-load from S3). | [optional] **error** | [**OperationError**](OperationError.md) | | [optional] **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] diff --git a/gooddata-api-client/docs/IpAllowlistPolicyControllerApi.md b/gooddata-api-client/docs/IpAllowlistPolicyControllerApi.md new file mode 100644 index 000000000..65d3c4bd5 --- /dev/null +++ b/gooddata-api-client/docs/IpAllowlistPolicyControllerApi.md @@ -0,0 +1,456 @@ +# gooddata_api_client.IpAllowlistPolicyControllerApi + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_entity_ip_allowlist_policies**](IpAllowlistPolicyControllerApi.md#create_entity_ip_allowlist_policies) | **POST** /api/v1/entities/ipAllowlistPolicies | Post IpAllowlistPolicy entities +[**delete_entity_ip_allowlist_policies**](IpAllowlistPolicyControllerApi.md#delete_entity_ip_allowlist_policies) | **DELETE** /api/v1/entities/ipAllowlistPolicies/{id} | Delete IpAllowlistPolicy entity +[**get_all_entities_ip_allowlist_policies**](IpAllowlistPolicyControllerApi.md#get_all_entities_ip_allowlist_policies) | **GET** /api/v1/entities/ipAllowlistPolicies | Get all IpAllowlistPolicy entities +[**get_entity_ip_allowlist_policies**](IpAllowlistPolicyControllerApi.md#get_entity_ip_allowlist_policies) | **GET** /api/v1/entities/ipAllowlistPolicies/{id} | Get IpAllowlistPolicy entity +[**update_entity_ip_allowlist_policies**](IpAllowlistPolicyControllerApi.md#update_entity_ip_allowlist_policies) | **PUT** /api/v1/entities/ipAllowlistPolicies/{id} | Put IpAllowlistPolicy entity + + +# **create_entity_ip_allowlist_policies** +> JsonApiIpAllowlistPolicyOutDocument create_entity_ip_allowlist_policies(json_api_ip_allowlist_policy_in_document) + +Post IpAllowlistPolicy entities + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import ip_allowlist_policy_controller_api +from gooddata_api_client.model.json_api_ip_allowlist_policy_out_document import JsonApiIpAllowlistPolicyOutDocument +from gooddata_api_client.model.json_api_ip_allowlist_policy_in_document import JsonApiIpAllowlistPolicyInDocument +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 = ip_allowlist_policy_controller_api.IpAllowlistPolicyControllerApi(api_client) + json_api_ip_allowlist_policy_in_document = JsonApiIpAllowlistPolicyInDocument( + data=JsonApiIpAllowlistPolicyIn( + attributes=JsonApiIpAllowlistPolicyInAttributes( + allowed_sources=[ + "allowed_sources_example", + ], + ), + id="id1", + relationships=JsonApiIpAllowlistPolicyInRelationships( + user_groups=JsonApiAgentInRelationshipsUserGroups( + data=JsonApiUserGroupToManyLinkage([ + JsonApiUserGroupLinkage( + id="id_example", + type="userGroup", + ), + ]), + ), + users=JsonApiAutomationInRelationshipsRecipients( + data=JsonApiUserToManyLinkage([ + JsonApiUserLinkage( + id="id_example", + type="user", + ), + ]), + ), + ), + type="ipAllowlistPolicy", + ), + ) # JsonApiIpAllowlistPolicyInDocument | + include = [ + "users,userGroups", + ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) + + # example passing only required values which don't have defaults set + try: + # Post IpAllowlistPolicy entities + api_response = api_instance.create_entity_ip_allowlist_policies(json_api_ip_allowlist_policy_in_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling IpAllowlistPolicyControllerApi->create_entity_ip_allowlist_policies: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Post IpAllowlistPolicy entities + api_response = api_instance.create_entity_ip_allowlist_policies(json_api_ip_allowlist_policy_in_document, include=include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling IpAllowlistPolicyControllerApi->create_entity_ip_allowlist_policies: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **json_api_ip_allowlist_policy_in_document** | [**JsonApiIpAllowlistPolicyInDocument**](JsonApiIpAllowlistPolicyInDocument.md)| | + **include** | **[str]**| Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. | [optional] + +### Return type + +[**JsonApiIpAllowlistPolicyOutDocument**](JsonApiIpAllowlistPolicyOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Request successfully processed | - | + +[[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) + +# **delete_entity_ip_allowlist_policies** +> delete_entity_ip_allowlist_policies(id) + +Delete IpAllowlistPolicy entity + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import ip_allowlist_policy_controller_api +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 = ip_allowlist_policy_controller_api.IpAllowlistPolicyControllerApi(api_client) + id = "/6bUUGjjNSwg0_bs" # str | + + # example passing only required values which don't have defaults set + try: + # Delete IpAllowlistPolicy entity + api_instance.delete_entity_ip_allowlist_policies(id) + except gooddata_api_client.ApiException as e: + print("Exception when calling IpAllowlistPolicyControllerApi->delete_entity_ip_allowlist_policies: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | Successfully deleted | - | + +[[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) + +# **get_all_entities_ip_allowlist_policies** +> JsonApiIpAllowlistPolicyOutList get_all_entities_ip_allowlist_policies() + +Get all IpAllowlistPolicy entities + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import ip_allowlist_policy_controller_api +from gooddata_api_client.model.json_api_ip_allowlist_policy_out_list import JsonApiIpAllowlistPolicyOutList +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 = ip_allowlist_policy_controller_api.IpAllowlistPolicyControllerApi(api_client) + filter = "allowedSources==v1,v2,v3" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + include = [ + "users,userGroups", + ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) + page = 0 # int | Zero-based page index (0..N) (optional) if omitted the server will use the default value of 0 + size = 20 # int | The size of the page to be returned (optional) if omitted the server will use the default value of 20 + sort = [ + "sort_example", + ] # [str] | Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) + meta_include = [ + "metaInclude=page,all", + ] # [str] | Include Meta objects. (optional) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get all IpAllowlistPolicy entities + api_response = api_instance.get_all_entities_ip_allowlist_policies(filter=filter, include=include, page=page, size=size, sort=sort, meta_include=meta_include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling IpAllowlistPolicyControllerApi->get_all_entities_ip_allowlist_policies: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[str]**| Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. | [optional] + **page** | **int**| Zero-based page index (0..N) | [optional] if omitted the server will use the default value of 0 + **size** | **int**| The size of the page to be returned | [optional] if omitted the server will use the default value of 20 + **sort** | **[str]**| Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | [optional] + **meta_include** | **[str]**| Include Meta objects. | [optional] + +### Return type + +[**JsonApiIpAllowlistPolicyOutList**](JsonApiIpAllowlistPolicyOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[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) + +# **get_entity_ip_allowlist_policies** +> JsonApiIpAllowlistPolicyOutDocument get_entity_ip_allowlist_policies(id) + +Get IpAllowlistPolicy entity + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import ip_allowlist_policy_controller_api +from gooddata_api_client.model.json_api_ip_allowlist_policy_out_document import JsonApiIpAllowlistPolicyOutDocument +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 = ip_allowlist_policy_controller_api.IpAllowlistPolicyControllerApi(api_client) + id = "/6bUUGjjNSwg0_bs" # str | + filter = "allowedSources==v1,v2,v3" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + include = [ + "users,userGroups", + ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) + + # example passing only required values which don't have defaults set + try: + # Get IpAllowlistPolicy entity + api_response = api_instance.get_entity_ip_allowlist_policies(id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling IpAllowlistPolicyControllerApi->get_entity_ip_allowlist_policies: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get IpAllowlistPolicy entity + api_response = api_instance.get_entity_ip_allowlist_policies(id, filter=filter, include=include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling IpAllowlistPolicyControllerApi->get_entity_ip_allowlist_policies: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[str]**| Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. | [optional] + +### Return type + +[**JsonApiIpAllowlistPolicyOutDocument**](JsonApiIpAllowlistPolicyOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[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) + +# **update_entity_ip_allowlist_policies** +> JsonApiIpAllowlistPolicyOutDocument update_entity_ip_allowlist_policies(id, json_api_ip_allowlist_policy_in_document) + +Put IpAllowlistPolicy entity + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import ip_allowlist_policy_controller_api +from gooddata_api_client.model.json_api_ip_allowlist_policy_out_document import JsonApiIpAllowlistPolicyOutDocument +from gooddata_api_client.model.json_api_ip_allowlist_policy_in_document import JsonApiIpAllowlistPolicyInDocument +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 = ip_allowlist_policy_controller_api.IpAllowlistPolicyControllerApi(api_client) + id = "/6bUUGjjNSwg0_bs" # str | + json_api_ip_allowlist_policy_in_document = JsonApiIpAllowlistPolicyInDocument( + data=JsonApiIpAllowlistPolicyIn( + attributes=JsonApiIpAllowlistPolicyInAttributes( + allowed_sources=[ + "allowed_sources_example", + ], + ), + id="id1", + relationships=JsonApiIpAllowlistPolicyInRelationships( + user_groups=JsonApiAgentInRelationshipsUserGroups( + data=JsonApiUserGroupToManyLinkage([ + JsonApiUserGroupLinkage( + id="id_example", + type="userGroup", + ), + ]), + ), + users=JsonApiAutomationInRelationshipsRecipients( + data=JsonApiUserToManyLinkage([ + JsonApiUserLinkage( + id="id_example", + type="user", + ), + ]), + ), + ), + type="ipAllowlistPolicy", + ), + ) # JsonApiIpAllowlistPolicyInDocument | + filter = "allowedSources==v1,v2,v3" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + include = [ + "users,userGroups", + ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) + + # example passing only required values which don't have defaults set + try: + # Put IpAllowlistPolicy entity + api_response = api_instance.update_entity_ip_allowlist_policies(id, json_api_ip_allowlist_policy_in_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling IpAllowlistPolicyControllerApi->update_entity_ip_allowlist_policies: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Put IpAllowlistPolicy entity + api_response = api_instance.update_entity_ip_allowlist_policies(id, json_api_ip_allowlist_policy_in_document, filter=filter, include=include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling IpAllowlistPolicyControllerApi->update_entity_ip_allowlist_policies: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **json_api_ip_allowlist_policy_in_document** | [**JsonApiIpAllowlistPolicyInDocument**](JsonApiIpAllowlistPolicyInDocument.md)| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[str]**| Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. | [optional] + +### Return type + +[**JsonApiIpAllowlistPolicyOutDocument**](JsonApiIpAllowlistPolicyOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[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) + diff --git a/gooddata-api-client/docs/DashboardCompoundComparisonConditionAllOf.md b/gooddata-api-client/docs/IpAllowlistPolicyTargets.md similarity index 75% rename from gooddata-api-client/docs/DashboardCompoundComparisonConditionAllOf.md rename to gooddata-api-client/docs/IpAllowlistPolicyTargets.md index 650773869..fbf8e2a9a 100644 --- a/gooddata-api-client/docs/DashboardCompoundComparisonConditionAllOf.md +++ b/gooddata-api-client/docs/IpAllowlistPolicyTargets.md @@ -1,11 +1,11 @@ -# DashboardCompoundComparisonConditionAllOf +# IpAllowlistPolicyTargets +Target delta for IP allowlist policy actions. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**operator** | **str** | | [optional] -**value** | **float** | | [optional] +**targets** | [**[AssigneeIdentifier]**](AssigneeIdentifier.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) diff --git a/gooddata-api-client/docs/JsonApiDocumentDatabaseInstance.md b/gooddata-api-client/docs/JsonApiDocumentDatabaseInstance.md new file mode 100644 index 000000000..2ec59c216 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiDocumentDatabaseInstance.md @@ -0,0 +1,14 @@ +# JsonApiDocumentDatabaseInstance + +JSON:API-compatible single-resource response envelope + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**JsonApiItemDatabaseInstance**](JsonApiItemDatabaseInstance.md) | | +**links** | [**JsonApiListLinks**](JsonApiListLinks.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) + + diff --git a/gooddata-api-client/docs/JsonApiDocumentPipeTable.md b/gooddata-api-client/docs/JsonApiDocumentPipeTable.md new file mode 100644 index 000000000..882d7491b --- /dev/null +++ b/gooddata-api-client/docs/JsonApiDocumentPipeTable.md @@ -0,0 +1,14 @@ +# JsonApiDocumentPipeTable + +JSON:API-compatible single-resource response envelope + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**JsonApiItemPipeTable**](JsonApiItemPipeTable.md) | | +**links** | [**JsonApiListLinks**](JsonApiListLinks.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) + + diff --git a/gooddata-api-client/docs/JsonApiLlmEndpointOut.md b/gooddata-api-client/docs/JsonApiIpAllowlistPolicyIn.md similarity index 56% rename from gooddata-api-client/docs/JsonApiLlmEndpointOut.md rename to gooddata-api-client/docs/JsonApiIpAllowlistPolicyIn.md index e24cc3e41..76ac839e7 100644 --- a/gooddata-api-client/docs/JsonApiLlmEndpointOut.md +++ b/gooddata-api-client/docs/JsonApiIpAllowlistPolicyIn.md @@ -1,13 +1,14 @@ -# JsonApiLlmEndpointOut +# JsonApiIpAllowlistPolicyIn -Will be soon removed and replaced by LlmProvider. +JSON:API representation of ipAllowlistPolicy entity. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attributes** | [**JsonApiLlmEndpointOutAttributes**](JsonApiLlmEndpointOutAttributes.md) | | +**attributes** | [**JsonApiIpAllowlistPolicyInAttributes**](JsonApiIpAllowlistPolicyInAttributes.md) | | **id** | **str** | API identifier of an object | -**type** | **str** | Object type | defaults to "llmEndpoint" +**type** | **str** | Object type | defaults to "ipAllowlistPolicy" +**relationships** | [**JsonApiIpAllowlistPolicyInRelationships**](JsonApiIpAllowlistPolicyInRelationships.md) | | [optional] **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) diff --git a/gooddata-api-client/docs/JsonApiIpAllowlistPolicyInAttributes.md b/gooddata-api-client/docs/JsonApiIpAllowlistPolicyInAttributes.md new file mode 100644 index 000000000..d747c0b37 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiIpAllowlistPolicyInAttributes.md @@ -0,0 +1,12 @@ +# JsonApiIpAllowlistPolicyInAttributes + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**allowed_sources** | **[str], none_type** | Allowed source IPv4 addresses or CIDR ranges. Only IPv4 is supported; IPv6 are rejected. The /0 prefix is not allowed. | +**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) + + diff --git a/gooddata-api-client/docs/JsonApiLlmEndpointInDocument.md b/gooddata-api-client/docs/JsonApiIpAllowlistPolicyInDocument.md similarity index 79% rename from gooddata-api-client/docs/JsonApiLlmEndpointInDocument.md rename to gooddata-api-client/docs/JsonApiIpAllowlistPolicyInDocument.md index 926ffde18..28aaa21f9 100644 --- a/gooddata-api-client/docs/JsonApiLlmEndpointInDocument.md +++ b/gooddata-api-client/docs/JsonApiIpAllowlistPolicyInDocument.md @@ -1,10 +1,10 @@ -# JsonApiLlmEndpointInDocument +# JsonApiIpAllowlistPolicyInDocument ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**JsonApiLlmEndpointIn**](JsonApiLlmEndpointIn.md) | | +**data** | [**JsonApiIpAllowlistPolicyIn**](JsonApiIpAllowlistPolicyIn.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) diff --git a/gooddata-api-client/docs/JsonApiLlmEndpointIn.md b/gooddata-api-client/docs/JsonApiIpAllowlistPolicyInRelationships.md similarity index 60% rename from gooddata-api-client/docs/JsonApiLlmEndpointIn.md rename to gooddata-api-client/docs/JsonApiIpAllowlistPolicyInRelationships.md index edc1e97b3..abc83b924 100644 --- a/gooddata-api-client/docs/JsonApiLlmEndpointIn.md +++ b/gooddata-api-client/docs/JsonApiIpAllowlistPolicyInRelationships.md @@ -1,13 +1,11 @@ -# JsonApiLlmEndpointIn +# JsonApiIpAllowlistPolicyInRelationships -Will be soon removed and replaced by LlmProvider. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attributes** | [**JsonApiLlmEndpointInAttributes**](JsonApiLlmEndpointInAttributes.md) | | -**id** | **str** | API identifier of an object | -**type** | **str** | Object type | defaults to "llmEndpoint" +**user_groups** | [**JsonApiAgentInRelationshipsUserGroups**](JsonApiAgentInRelationshipsUserGroups.md) | | [optional] +**users** | [**JsonApiAutomationInRelationshipsRecipients**](JsonApiAutomationInRelationshipsRecipients.md) | | [optional] **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) diff --git a/gooddata-api-client/docs/JsonApiLlmEndpointPatch.md b/gooddata-api-client/docs/JsonApiIpAllowlistPolicyOut.md similarity index 56% rename from gooddata-api-client/docs/JsonApiLlmEndpointPatch.md rename to gooddata-api-client/docs/JsonApiIpAllowlistPolicyOut.md index 565c4f8fb..f30dafdee 100644 --- a/gooddata-api-client/docs/JsonApiLlmEndpointPatch.md +++ b/gooddata-api-client/docs/JsonApiIpAllowlistPolicyOut.md @@ -1,13 +1,14 @@ -# JsonApiLlmEndpointPatch +# JsonApiIpAllowlistPolicyOut -Will be soon removed and replaced by LlmProvider. +JSON:API representation of ipAllowlistPolicy entity. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attributes** | [**JsonApiLlmEndpointPatchAttributes**](JsonApiLlmEndpointPatchAttributes.md) | | +**attributes** | [**JsonApiIpAllowlistPolicyInAttributes**](JsonApiIpAllowlistPolicyInAttributes.md) | | **id** | **str** | API identifier of an object | -**type** | **str** | Object type | defaults to "llmEndpoint" +**type** | **str** | Object type | defaults to "ipAllowlistPolicy" +**relationships** | [**JsonApiIpAllowlistPolicyInRelationships**](JsonApiIpAllowlistPolicyInRelationships.md) | | [optional] **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) diff --git a/gooddata-api-client/docs/JsonApiLlmEndpointOutWithLinks.md b/gooddata-api-client/docs/JsonApiIpAllowlistPolicyOutDocument.md similarity index 66% rename from gooddata-api-client/docs/JsonApiLlmEndpointOutWithLinks.md rename to gooddata-api-client/docs/JsonApiIpAllowlistPolicyOutDocument.md index 8dbd65202..59a6ee8a5 100644 --- a/gooddata-api-client/docs/JsonApiLlmEndpointOutWithLinks.md +++ b/gooddata-api-client/docs/JsonApiIpAllowlistPolicyOutDocument.md @@ -1,12 +1,11 @@ -# JsonApiLlmEndpointOutWithLinks +# JsonApiIpAllowlistPolicyOutDocument ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attributes** | [**JsonApiLlmEndpointOutAttributes**](JsonApiLlmEndpointOutAttributes.md) | | -**id** | **str** | API identifier of an object | -**type** | **str** | Object type | defaults to "llmEndpoint" +**data** | [**JsonApiIpAllowlistPolicyOut**](JsonApiIpAllowlistPolicyOut.md) | | +**included** | [**[JsonApiIpAllowlistPolicyOutIncludes]**](JsonApiIpAllowlistPolicyOutIncludes.md) | Included resources | [optional] **links** | [**ObjectLinks**](ObjectLinks.md) | | [optional] **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] diff --git a/gooddata-api-client/docs/JsonApiIpAllowlistPolicyOutIncludes.md b/gooddata-api-client/docs/JsonApiIpAllowlistPolicyOutIncludes.md new file mode 100644 index 000000000..cd875bc87 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiIpAllowlistPolicyOutIncludes.md @@ -0,0 +1,16 @@ +# JsonApiIpAllowlistPolicyOutIncludes + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiUserGroupInAttributes**](JsonApiUserGroupInAttributes.md) | | [optional] +**relationships** | [**JsonApiUserGroupInRelationships**](JsonApiUserGroupInRelationships.md) | | [optional] +**links** | [**ObjectLinks**](ObjectLinks.md) | | [optional] +**id** | **str** | API identifier of an object | [optional] +**type** | **str** | Object type | [optional] if omitted the server will use the default value of "userGroup" +**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) + + diff --git a/gooddata-api-client/docs/JsonApiLlmEndpointOutList.md b/gooddata-api-client/docs/JsonApiIpAllowlistPolicyOutList.md similarity index 70% rename from gooddata-api-client/docs/JsonApiLlmEndpointOutList.md rename to gooddata-api-client/docs/JsonApiIpAllowlistPolicyOutList.md index 0e3d92ac9..86b19327e 100644 --- a/gooddata-api-client/docs/JsonApiLlmEndpointOutList.md +++ b/gooddata-api-client/docs/JsonApiIpAllowlistPolicyOutList.md @@ -1,11 +1,12 @@ -# JsonApiLlmEndpointOutList +# JsonApiIpAllowlistPolicyOutList A JSON:API document with a list of resources ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**[JsonApiLlmEndpointOutWithLinks]**](JsonApiLlmEndpointOutWithLinks.md) | | +**data** | [**[JsonApiIpAllowlistPolicyOutWithLinks]**](JsonApiIpAllowlistPolicyOutWithLinks.md) | | +**included** | [**[JsonApiIpAllowlistPolicyOutIncludes]**](JsonApiIpAllowlistPolicyOutIncludes.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] **meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.md) | | [optional] **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] diff --git a/gooddata-api-client/docs/JsonApiIpAllowlistPolicyOutWithLinks.md b/gooddata-api-client/docs/JsonApiIpAllowlistPolicyOutWithLinks.md new file mode 100644 index 000000000..19fc00080 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiIpAllowlistPolicyOutWithLinks.md @@ -0,0 +1,16 @@ +# JsonApiIpAllowlistPolicyOutWithLinks + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiIpAllowlistPolicyInAttributes**](JsonApiIpAllowlistPolicyInAttributes.md) | | +**id** | **str** | API identifier of an object | +**type** | **str** | Object type | defaults to "ipAllowlistPolicy" +**relationships** | [**JsonApiIpAllowlistPolicyInRelationships**](JsonApiIpAllowlistPolicyInRelationships.md) | | [optional] +**links** | [**ObjectLinks**](ObjectLinks.md) | | [optional] +**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) + + diff --git a/gooddata-api-client/docs/JsonApiItemDataSourceInfo.md b/gooddata-api-client/docs/JsonApiItemDataSourceInfo.md new file mode 100644 index 000000000..ad76621e9 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiItemDataSourceInfo.md @@ -0,0 +1,15 @@ +# JsonApiItemDataSourceInfo + +A single JSON:API resource item + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**DataSourceInfo**](DataSourceInfo.md) | | +**id** | **str** | Resource identifier | +**type** | **str** | Resource type | +**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) + + diff --git a/gooddata-api-client/docs/JsonApiItemDatabaseInstance.md b/gooddata-api-client/docs/JsonApiItemDatabaseInstance.md new file mode 100644 index 000000000..89a593f47 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiItemDatabaseInstance.md @@ -0,0 +1,15 @@ +# JsonApiItemDatabaseInstance + +A single JSON:API resource item + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**DatabaseInstance**](DatabaseInstance.md) | | +**id** | **str** | Resource identifier | +**type** | **str** | Resource type | +**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) + + diff --git a/gooddata-api-client/docs/JsonApiItemObjectStorageInfo.md b/gooddata-api-client/docs/JsonApiItemObjectStorageInfo.md new file mode 100644 index 000000000..eff031f96 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiItemObjectStorageInfo.md @@ -0,0 +1,15 @@ +# JsonApiItemObjectStorageInfo + +A single JSON:API resource item + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**ObjectStorageInfo**](ObjectStorageInfo.md) | | +**id** | **str** | Resource identifier | +**type** | **str** | Resource type | +**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) + + diff --git a/gooddata-api-client/docs/JsonApiItemPipeTable.md b/gooddata-api-client/docs/JsonApiItemPipeTable.md new file mode 100644 index 000000000..6f61e4b2e --- /dev/null +++ b/gooddata-api-client/docs/JsonApiItemPipeTable.md @@ -0,0 +1,15 @@ +# JsonApiItemPipeTable + +A single JSON:API resource item + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**PipeTable**](PipeTable.md) | | +**id** | **str** | Resource identifier | +**type** | **str** | Resource type | +**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) + + diff --git a/gooddata-api-client/docs/JsonApiItemPipeTableSummary.md b/gooddata-api-client/docs/JsonApiItemPipeTableSummary.md new file mode 100644 index 000000000..3f09a28f3 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiItemPipeTableSummary.md @@ -0,0 +1,15 @@ +# JsonApiItemPipeTableSummary + +A single JSON:API resource item + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**PipeTableSummary**](PipeTableSummary.md) | | +**id** | **str** | Resource identifier | +**type** | **str** | Resource type | +**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) + + diff --git a/gooddata-api-client/docs/JsonApiItemServiceInfo.md b/gooddata-api-client/docs/JsonApiItemServiceInfo.md new file mode 100644 index 000000000..027f05fde --- /dev/null +++ b/gooddata-api-client/docs/JsonApiItemServiceInfo.md @@ -0,0 +1,15 @@ +# JsonApiItemServiceInfo + +A single JSON:API resource item + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**ServiceInfo**](ServiceInfo.md) | | +**id** | **str** | Resource identifier | +**type** | **str** | Resource type | +**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) + + diff --git a/gooddata-api-client/docs/JsonApiListDocumentDataSourceInfo.md b/gooddata-api-client/docs/JsonApiListDocumentDataSourceInfo.md new file mode 100644 index 000000000..821611b15 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiListDocumentDataSourceInfo.md @@ -0,0 +1,15 @@ +# JsonApiListDocumentDataSourceInfo + +JSON:API-compatible list response envelope + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**[JsonApiItemDataSourceInfo]**](JsonApiItemDataSourceInfo.md) | Array of resource items | +**links** | [**JsonApiListLinks**](JsonApiListLinks.md) | | +**meta** | [**JsonApiListMeta**](JsonApiListMeta.md) | | [optional] +**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) + + diff --git a/gooddata-api-client/docs/JsonApiListDocumentDatabaseInstance.md b/gooddata-api-client/docs/JsonApiListDocumentDatabaseInstance.md new file mode 100644 index 000000000..bc74f7976 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiListDocumentDatabaseInstance.md @@ -0,0 +1,15 @@ +# JsonApiListDocumentDatabaseInstance + +JSON:API-compatible list response envelope + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**[JsonApiItemDatabaseInstance]**](JsonApiItemDatabaseInstance.md) | Array of resource items | +**links** | [**JsonApiListLinks**](JsonApiListLinks.md) | | +**meta** | [**JsonApiListMeta**](JsonApiListMeta.md) | | [optional] +**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) + + diff --git a/gooddata-api-client/docs/JsonApiListDocumentObjectStorageInfo.md b/gooddata-api-client/docs/JsonApiListDocumentObjectStorageInfo.md new file mode 100644 index 000000000..7b9c743fe --- /dev/null +++ b/gooddata-api-client/docs/JsonApiListDocumentObjectStorageInfo.md @@ -0,0 +1,15 @@ +# JsonApiListDocumentObjectStorageInfo + +JSON:API-compatible list response envelope + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**[JsonApiItemObjectStorageInfo]**](JsonApiItemObjectStorageInfo.md) | Array of resource items | +**links** | [**JsonApiListLinks**](JsonApiListLinks.md) | | +**meta** | [**JsonApiListMeta**](JsonApiListMeta.md) | | [optional] +**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) + + diff --git a/gooddata-api-client/docs/JsonApiListDocumentPipeTableSummary.md b/gooddata-api-client/docs/JsonApiListDocumentPipeTableSummary.md new file mode 100644 index 000000000..160470d6d --- /dev/null +++ b/gooddata-api-client/docs/JsonApiListDocumentPipeTableSummary.md @@ -0,0 +1,15 @@ +# JsonApiListDocumentPipeTableSummary + +JSON:API-compatible list response envelope + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**[JsonApiItemPipeTableSummary]**](JsonApiItemPipeTableSummary.md) | Array of resource items | +**links** | [**JsonApiListLinks**](JsonApiListLinks.md) | | +**meta** | [**JsonApiListMeta**](JsonApiListMeta.md) | | [optional] +**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) + + diff --git a/gooddata-api-client/docs/JsonApiListDocumentServiceInfo.md b/gooddata-api-client/docs/JsonApiListDocumentServiceInfo.md new file mode 100644 index 000000000..9ce516cda --- /dev/null +++ b/gooddata-api-client/docs/JsonApiListDocumentServiceInfo.md @@ -0,0 +1,15 @@ +# JsonApiListDocumentServiceInfo + +JSON:API-compatible list response envelope + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**[JsonApiItemServiceInfo]**](JsonApiItemServiceInfo.md) | Array of resource items | +**links** | [**JsonApiListLinks**](JsonApiListLinks.md) | | +**meta** | [**JsonApiListMeta**](JsonApiListMeta.md) | | [optional] +**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) + + diff --git a/gooddata-api-client/docs/ResolvedLlmEndpoint.md b/gooddata-api-client/docs/JsonApiListLinks.md similarity index 81% rename from gooddata-api-client/docs/ResolvedLlmEndpoint.md rename to gooddata-api-client/docs/JsonApiListLinks.md index e17eecb17..d29e68901 100644 --- a/gooddata-api-client/docs/ResolvedLlmEndpoint.md +++ b/gooddata-api-client/docs/JsonApiListLinks.md @@ -1,11 +1,11 @@ -# ResolvedLlmEndpoint +# JsonApiListLinks +Links object for a list response ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | Endpoint Id | -**title** | **str** | Endpoint Title | +**_self** | **str** | The URL of this response | **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) diff --git a/gooddata-api-client/docs/ResolvedLlmEndpoints.md b/gooddata-api-client/docs/JsonApiListMeta.md similarity index 79% rename from gooddata-api-client/docs/ResolvedLlmEndpoints.md rename to gooddata-api-client/docs/JsonApiListMeta.md index bab5355ac..c545d6339 100644 --- a/gooddata-api-client/docs/ResolvedLlmEndpoints.md +++ b/gooddata-api-client/docs/JsonApiListMeta.md @@ -1,10 +1,11 @@ -# ResolvedLlmEndpoints +# JsonApiListMeta +Metadata for a paginated list response ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**[ResolvedLlmEndpoint]**](ResolvedLlmEndpoint.md) | | +**page** | [**JsonApiPageInfo**](JsonApiPageInfo.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) diff --git a/gooddata-api-client/docs/JsonApiLlmEndpointInAttributes.md b/gooddata-api-client/docs/JsonApiLlmEndpointInAttributes.md deleted file mode 100644 index d2a0dd9f3..000000000 --- a/gooddata-api-client/docs/JsonApiLlmEndpointInAttributes.md +++ /dev/null @@ -1,17 +0,0 @@ -# JsonApiLlmEndpointInAttributes - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **str** | User-facing title of the LLM Provider. | -**token** | **str** | The token to use to connect to the LLM provider. | -**base_url** | **str, none_type** | Custom LLM endpoint. | [optional] -**llm_model** | **str** | LLM Model. We provide a default model for each provider, but you can override it here. | [optional] -**llm_organization** | **str, none_type** | Organization in LLM provider. | [optional] -**provider** | **str** | LLM Provider. | [optional] -**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) - - diff --git a/gooddata-api-client/docs/JsonApiLlmEndpointOutAttributes.md b/gooddata-api-client/docs/JsonApiLlmEndpointOutAttributes.md deleted file mode 100644 index d2f81eaa6..000000000 --- a/gooddata-api-client/docs/JsonApiLlmEndpointOutAttributes.md +++ /dev/null @@ -1,16 +0,0 @@ -# JsonApiLlmEndpointOutAttributes - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **str** | User-facing title of the LLM Provider. | -**base_url** | **str, none_type** | Custom LLM endpoint. | [optional] -**llm_model** | **str** | LLM Model. We provide a default model for each provider, but you can override it here. | [optional] -**llm_organization** | **str, none_type** | Organization in LLM provider. | [optional] -**provider** | **str** | LLM Provider. | [optional] -**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) - - diff --git a/gooddata-api-client/docs/JsonApiLlmEndpointPatchAttributes.md b/gooddata-api-client/docs/JsonApiLlmEndpointPatchAttributes.md deleted file mode 100644 index e08b20742..000000000 --- a/gooddata-api-client/docs/JsonApiLlmEndpointPatchAttributes.md +++ /dev/null @@ -1,17 +0,0 @@ -# JsonApiLlmEndpointPatchAttributes - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**base_url** | **str, none_type** | Custom LLM endpoint. | [optional] -**llm_model** | **str** | LLM Model. We provide a default model for each provider, but you can override it here. | [optional] -**llm_organization** | **str, none_type** | Organization in LLM provider. | [optional] -**provider** | **str** | LLM Provider. | [optional] -**title** | **str** | User-facing title of the LLM Provider. | [optional] -**token** | **str** | The token to use to connect to the LLM provider. | [optional] -**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) - - diff --git a/gooddata-api-client/docs/JsonApiLlmProviderInAttributesProviderConfig.md b/gooddata-api-client/docs/JsonApiLlmProviderInAttributesProviderConfig.md index 1b2158c42..8ffabfb63 100644 --- a/gooddata-api-client/docs/JsonApiLlmProviderInAttributesProviderConfig.md +++ b/gooddata-api-client/docs/JsonApiLlmProviderInAttributesProviderConfig.md @@ -5,12 +5,12 @@ Provider-specific configuration including authentication. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**base_url** | **str** | Custom base URL for OpenAI API. | [optional] if omitted the server will use the default value of "https://api.openai.com/v1" +**base_url** | **str** | Custom base URL for the Anthropic API. Defaults to the official endpoint; override only for enterprise proxies or compatible gateways. | [optional] if omitted the server will use the default value of "https://api.anthropic.com" **organization** | **str, none_type** | OpenAI organization ID. | [optional] -**auth** | [**OpenAiProviderAuth**](OpenAiProviderAuth.md) | | [optional] -**region** | **str** | AWS region for Bedrock. | [optional] -**type** | **str** | Provider type. | [optional] if omitted the server will use the default value of "OPENAI" +**auth** | [**AnthropicProviderAuth**](AnthropicProviderAuth.md) | | [optional] +**type** | **str** | Provider type. | [optional] if omitted the server will use the default value of "ANTHROPIC" **endpoint** | **str** | Azure OpenAI endpoint URL. | [optional] +**region** | **str** | AWS region for Bedrock. | [optional] **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) diff --git a/gooddata-api-client/docs/JsonApiPageInfo.md b/gooddata-api-client/docs/JsonApiPageInfo.md new file mode 100644 index 000000000..1d2597729 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiPageInfo.md @@ -0,0 +1,16 @@ +# JsonApiPageInfo + +Pagination information + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**number** | **int** | Zero-based page number | +**size** | **int** | Page size | +**total_elements** | **int** | Total number of elements; only present when metaInclude=page was requested | [optional] +**total_pages** | **int** | Total number of pages; only present when metaInclude=page was requested | [optional] +**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) + + diff --git a/gooddata-api-client/docs/JsonApiParameterInAttributesDefinition.md b/gooddata-api-client/docs/JsonApiParameterInAttributesDefinition.md index e395e36ab..bdcabf6d8 100644 --- a/gooddata-api-client/docs/JsonApiParameterInAttributesDefinition.md +++ b/gooddata-api-client/docs/JsonApiParameterInAttributesDefinition.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | | -**default_value** | **str** | | **constraints** | [**StringConstraints**](StringConstraints.md) | | [optional] +**default_value** | **str** | | [optional] +**type** | **str** | The parameter type. | [optional] if omitted the server will use the default value of "STRING" **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) diff --git a/gooddata-api-client/docs/JsonApiUserInAttributes.md b/gooddata-api-client/docs/JsonApiUserInAttributes.md index c69d9120a..eeecebec3 100644 --- a/gooddata-api-client/docs/JsonApiUserInAttributes.md +++ b/gooddata-api-client/docs/JsonApiUserInAttributes.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **email** | **str** | | [optional] **firstname** | **str** | | [optional] **lastname** | **str** | | [optional] +**system_account** | **bool** | | [optional] **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) diff --git a/gooddata-api-client/docs/LLMEndpointsApi.md b/gooddata-api-client/docs/LLMEndpointsApi.md index 431621169..c9180d6a0 100644 --- a/gooddata-api-client/docs/LLMEndpointsApi.md +++ b/gooddata-api-client/docs/LLMEndpointsApi.md @@ -4,20 +4,20 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**create_entity_llm_endpoints**](LLMEndpointsApi.md#create_entity_llm_endpoints) | **POST** /api/v1/entities/llmEndpoints | Post LLM endpoint entities -[**delete_entity_llm_endpoints**](LLMEndpointsApi.md#delete_entity_llm_endpoints) | **DELETE** /api/v1/entities/llmEndpoints/{id} | Delete LLM endpoint entity -[**get_all_entities_llm_endpoints**](LLMEndpointsApi.md#get_all_entities_llm_endpoints) | **GET** /api/v1/entities/llmEndpoints | Get all LLM endpoint entities -[**get_entity_llm_endpoints**](LLMEndpointsApi.md#get_entity_llm_endpoints) | **GET** /api/v1/entities/llmEndpoints/{id} | Get LLM endpoint entity -[**patch_entity_llm_endpoints**](LLMEndpointsApi.md#patch_entity_llm_endpoints) | **PATCH** /api/v1/entities/llmEndpoints/{id} | Patch LLM endpoint entity -[**update_entity_llm_endpoints**](LLMEndpointsApi.md#update_entity_llm_endpoints) | **PUT** /api/v1/entities/llmEndpoints/{id} | PUT LLM endpoint entity +[**create_entity**](LLMEndpointsApi.md#create_entity) | **POST** /api/v1/entities/llmEndpoints | Post LLM endpoint entities (Removed) +[**delete_entity**](LLMEndpointsApi.md#delete_entity) | **DELETE** /api/v1/entities/llmEndpoints/{id} | Delete LLM endpoint entity (Removed) +[**get_all_entities**](LLMEndpointsApi.md#get_all_entities) | **GET** /api/v1/entities/llmEndpoints | Get all LLM endpoint entities (Removed) +[**get_entity**](LLMEndpointsApi.md#get_entity) | **GET** /api/v1/entities/llmEndpoints/{id} | Get LLM endpoint entity (Removed) +[**patch_entity**](LLMEndpointsApi.md#patch_entity) | **PATCH** /api/v1/entities/llmEndpoints/{id} | Patch LLM endpoint entity (Removed) +[**update_entity**](LLMEndpointsApi.md#update_entity) | **PUT** /api/v1/entities/llmEndpoints/{id} | PUT LLM endpoint entity (Removed) -# **create_entity_llm_endpoints** -> JsonApiLlmEndpointOutDocument create_entity_llm_endpoints(json_api_llm_endpoint_in_document) +# **create_entity** +> create_entity() -Post LLM endpoint entities +Post LLM endpoint entities (Removed) -Will be soon removed and replaced by LlmProvider. +Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone. ### Example @@ -26,8 +26,6 @@ Will be soon removed and replaced by LlmProvider. import time import gooddata_api_client from gooddata_api_client.api import llm_endpoints_api -from gooddata_api_client.model.json_api_llm_endpoint_in_document import JsonApiLlmEndpointInDocument -from gooddata_api_client.model.json_api_llm_endpoint_out_document import JsonApiLlmEndpointOutDocument 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. @@ -40,40 +38,22 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = llm_endpoints_api.LLMEndpointsApi(api_client) - json_api_llm_endpoint_in_document = JsonApiLlmEndpointInDocument( - data=JsonApiLlmEndpointIn( - attributes=JsonApiLlmEndpointInAttributes( - base_url="base_url_example", - llm_model="llm_model_example", - llm_organization="llm_organization_example", - provider="OPENAI", - title="title_example", - token="token_example", - ), - id="id1", - type="llmEndpoint", - ), - ) # JsonApiLlmEndpointInDocument | - # example passing only required values which don't have defaults set + # example, this endpoint has no required or optional parameters try: - # Post LLM endpoint entities - api_response = api_instance.create_entity_llm_endpoints(json_api_llm_endpoint_in_document) - pprint(api_response) + # Post LLM endpoint entities (Removed) + api_instance.create_entity() except gooddata_api_client.ApiException as e: - print("Exception when calling LLMEndpointsApi->create_entity_llm_endpoints: %s\n" % e) + print("Exception when calling LLMEndpointsApi->create_entity: %s\n" % e) ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **json_api_llm_endpoint_in_document** | [**JsonApiLlmEndpointInDocument**](JsonApiLlmEndpointInDocument.md)| | +This endpoint does not need any parameter. ### Return type -[**JsonApiLlmEndpointOutDocument**](JsonApiLlmEndpointOutDocument.md) +void (empty response body) ### Authorization @@ -81,24 +61,24 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json, application/vnd.gooddata.api+json - - **Accept**: application/json, application/vnd.gooddata.api+json + - **Content-Type**: Not defined + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Request successfully processed | - | +**410** | Gone | - | [[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) -# **delete_entity_llm_endpoints** -> delete_entity_llm_endpoints(id) +# **delete_entity** +> delete_entity(id) -Delete LLM endpoint entity +Delete LLM endpoint entity (Removed) -Will be soon removed and replaced by LlmProvider. +Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone. ### Example @@ -119,14 +99,14 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = llm_endpoints_api.LLMEndpointsApi(api_client) - id = "/6bUUGjjNSwg0_bs" # str | + id = "id_example" # str | # example passing only required values which don't have defaults set try: - # Delete LLM endpoint entity - api_instance.delete_entity_llm_endpoints(id) + # Delete LLM endpoint entity (Removed) + api_instance.delete_entity(id) except gooddata_api_client.ApiException as e: - print("Exception when calling LLMEndpointsApi->delete_entity_llm_endpoints: %s\n" % e) + print("Exception when calling LLMEndpointsApi->delete_entity: %s\n" % e) ``` @@ -154,16 +134,16 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | Successfully deleted | - | +**410** | Gone | - | [[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) -# **get_all_entities_llm_endpoints** -> JsonApiLlmEndpointOutList get_all_entities_llm_endpoints() +# **get_all_entities** +> get_all_entities() -Get all LLM endpoint entities +Get all LLM endpoint entities (Removed) -Will be soon removed and replaced by LlmProvider. +Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone. ### Example @@ -172,7 +152,6 @@ Will be soon removed and replaced by LlmProvider. import time import gooddata_api_client from gooddata_api_client.api import llm_endpoints_api -from gooddata_api_client.model.json_api_llm_endpoint_out_list import JsonApiLlmEndpointOutList 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. @@ -185,40 +164,22 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = llm_endpoints_api.LLMEndpointsApi(api_client) - filter = "title==someString;provider==LlmEndpointProviderValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) - page = 0 # int | Zero-based page index (0..N) (optional) if omitted the server will use the default value of 0 - size = 20 # int | The size of the page to be returned (optional) if omitted the server will use the default value of 20 - sort = [ - "sort_example", - ] # [str] | Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) - meta_include = [ - "metaInclude=page,all", - ] # [str] | Include Meta objects. (optional) - # example passing only required values which don't have defaults set - # and optional values + # example, this endpoint has no required or optional parameters try: - # Get all LLM endpoint entities - api_response = api_instance.get_all_entities_llm_endpoints(filter=filter, page=page, size=size, sort=sort, meta_include=meta_include) - pprint(api_response) + # Get all LLM endpoint entities (Removed) + api_instance.get_all_entities() except gooddata_api_client.ApiException as e: - print("Exception when calling LLMEndpointsApi->get_all_entities_llm_endpoints: %s\n" % e) + print("Exception when calling LLMEndpointsApi->get_all_entities: %s\n" % e) ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] - **page** | **int**| Zero-based page index (0..N) | [optional] if omitted the server will use the default value of 0 - **size** | **int**| The size of the page to be returned | [optional] if omitted the server will use the default value of 20 - **sort** | **[str]**| Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | [optional] - **meta_include** | **[str]**| Include Meta objects. | [optional] +This endpoint does not need any parameter. ### Return type -[**JsonApiLlmEndpointOutList**](JsonApiLlmEndpointOutList.md) +void (empty response body) ### Authorization @@ -227,23 +188,23 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/vnd.gooddata.api+json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Request successfully processed | - | +**410** | Gone | - | [[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) -# **get_entity_llm_endpoints** -> JsonApiLlmEndpointOutDocument get_entity_llm_endpoints(id) +# **get_entity** +> get_entity(id) -Get LLM endpoint entity +Get LLM endpoint entity (Removed) -Will be soon removed and replaced by LlmProvider. +Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone. ### Example @@ -252,7 +213,6 @@ Will be soon removed and replaced by LlmProvider. import time import gooddata_api_client from gooddata_api_client.api import llm_endpoints_api -from gooddata_api_client.model.json_api_llm_endpoint_out_document import JsonApiLlmEndpointOutDocument 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. @@ -265,25 +225,14 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = llm_endpoints_api.LLMEndpointsApi(api_client) - id = "/6bUUGjjNSwg0_bs" # str | - filter = "title==someString;provider==LlmEndpointProviderValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) - - # example passing only required values which don't have defaults set - try: - # Get LLM endpoint entity - api_response = api_instance.get_entity_llm_endpoints(id) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LLMEndpointsApi->get_entity_llm_endpoints: %s\n" % e) + id = "id_example" # str | # example passing only required values which don't have defaults set - # and optional values try: - # Get LLM endpoint entity - api_response = api_instance.get_entity_llm_endpoints(id, filter=filter) - pprint(api_response) + # Get LLM endpoint entity (Removed) + api_instance.get_entity(id) except gooddata_api_client.ApiException as e: - print("Exception when calling LLMEndpointsApi->get_entity_llm_endpoints: %s\n" % e) + print("Exception when calling LLMEndpointsApi->get_entity: %s\n" % e) ``` @@ -292,11 +241,10 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type -[**JsonApiLlmEndpointOutDocument**](JsonApiLlmEndpointOutDocument.md) +void (empty response body) ### Authorization @@ -305,23 +253,23 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/vnd.gooddata.api+json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Request successfully processed | - | +**410** | Gone | - | [[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) -# **patch_entity_llm_endpoints** -> JsonApiLlmEndpointOutDocument patch_entity_llm_endpoints(id, json_api_llm_endpoint_patch_document) +# **patch_entity** +> patch_entity(id) -Patch LLM endpoint entity +Patch LLM endpoint entity (Removed) -Will be soon removed and replaced by LlmProvider. +Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone. ### Example @@ -330,8 +278,6 @@ Will be soon removed and replaced by LlmProvider. import time import gooddata_api_client from gooddata_api_client.api import llm_endpoints_api -from gooddata_api_client.model.json_api_llm_endpoint_out_document import JsonApiLlmEndpointOutDocument -from gooddata_api_client.model.json_api_llm_endpoint_patch_document import JsonApiLlmEndpointPatchDocument 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. @@ -344,39 +290,14 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = llm_endpoints_api.LLMEndpointsApi(api_client) - id = "/6bUUGjjNSwg0_bs" # str | - json_api_llm_endpoint_patch_document = JsonApiLlmEndpointPatchDocument( - data=JsonApiLlmEndpointPatch( - attributes=JsonApiLlmEndpointPatchAttributes( - base_url="base_url_example", - llm_model="llm_model_example", - llm_organization="llm_organization_example", - provider="OPENAI", - title="title_example", - token="token_example", - ), - id="id1", - type="llmEndpoint", - ), - ) # JsonApiLlmEndpointPatchDocument | - filter = "title==someString;provider==LlmEndpointProviderValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) - - # example passing only required values which don't have defaults set - try: - # Patch LLM endpoint entity - api_response = api_instance.patch_entity_llm_endpoints(id, json_api_llm_endpoint_patch_document) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LLMEndpointsApi->patch_entity_llm_endpoints: %s\n" % e) + id = "id_example" # str | # example passing only required values which don't have defaults set - # and optional values try: - # Patch LLM endpoint entity - api_response = api_instance.patch_entity_llm_endpoints(id, json_api_llm_endpoint_patch_document, filter=filter) - pprint(api_response) + # Patch LLM endpoint entity (Removed) + api_instance.patch_entity(id) except gooddata_api_client.ApiException as e: - print("Exception when calling LLMEndpointsApi->patch_entity_llm_endpoints: %s\n" % e) + print("Exception when calling LLMEndpointsApi->patch_entity: %s\n" % e) ``` @@ -385,12 +306,10 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **str**| | - **json_api_llm_endpoint_patch_document** | [**JsonApiLlmEndpointPatchDocument**](JsonApiLlmEndpointPatchDocument.md)| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type -[**JsonApiLlmEndpointOutDocument**](JsonApiLlmEndpointOutDocument.md) +void (empty response body) ### Authorization @@ -398,24 +317,24 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json, application/vnd.gooddata.api+json - - **Accept**: application/json, application/vnd.gooddata.api+json + - **Content-Type**: Not defined + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Request successfully processed | - | +**410** | Gone | - | [[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) -# **update_entity_llm_endpoints** -> JsonApiLlmEndpointOutDocument update_entity_llm_endpoints(id, json_api_llm_endpoint_in_document) +# **update_entity** +> update_entity(id) -PUT LLM endpoint entity +PUT LLM endpoint entity (Removed) -Will be soon removed and replaced by LlmProvider. +Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone. ### Example @@ -424,8 +343,6 @@ Will be soon removed and replaced by LlmProvider. import time import gooddata_api_client from gooddata_api_client.api import llm_endpoints_api -from gooddata_api_client.model.json_api_llm_endpoint_in_document import JsonApiLlmEndpointInDocument -from gooddata_api_client.model.json_api_llm_endpoint_out_document import JsonApiLlmEndpointOutDocument 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. @@ -438,39 +355,14 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = llm_endpoints_api.LLMEndpointsApi(api_client) - id = "/6bUUGjjNSwg0_bs" # str | - json_api_llm_endpoint_in_document = JsonApiLlmEndpointInDocument( - data=JsonApiLlmEndpointIn( - attributes=JsonApiLlmEndpointInAttributes( - base_url="base_url_example", - llm_model="llm_model_example", - llm_organization="llm_organization_example", - provider="OPENAI", - title="title_example", - token="token_example", - ), - id="id1", - type="llmEndpoint", - ), - ) # JsonApiLlmEndpointInDocument | - filter = "title==someString;provider==LlmEndpointProviderValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) - - # example passing only required values which don't have defaults set - try: - # PUT LLM endpoint entity - api_response = api_instance.update_entity_llm_endpoints(id, json_api_llm_endpoint_in_document) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LLMEndpointsApi->update_entity_llm_endpoints: %s\n" % e) + id = "id_example" # str | # example passing only required values which don't have defaults set - # and optional values try: - # PUT LLM endpoint entity - api_response = api_instance.update_entity_llm_endpoints(id, json_api_llm_endpoint_in_document, filter=filter) - pprint(api_response) + # PUT LLM endpoint entity (Removed) + api_instance.update_entity(id) except gooddata_api_client.ApiException as e: - print("Exception when calling LLMEndpointsApi->update_entity_llm_endpoints: %s\n" % e) + print("Exception when calling LLMEndpointsApi->update_entity: %s\n" % e) ``` @@ -479,12 +371,10 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **str**| | - **json_api_llm_endpoint_in_document** | [**JsonApiLlmEndpointInDocument**](JsonApiLlmEndpointInDocument.md)| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type -[**JsonApiLlmEndpointOutDocument**](JsonApiLlmEndpointOutDocument.md) +void (empty response body) ### Authorization @@ -492,15 +382,15 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json, application/vnd.gooddata.api+json - - **Accept**: application/json, application/vnd.gooddata.api+json + - **Content-Type**: Not defined + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Request successfully processed | - | +**410** | Gone | - | [[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) diff --git a/gooddata-api-client/docs/LLMProvidersApi.md b/gooddata-api-client/docs/LLMProvidersApi.md index c97f7cb1a..47cacff4d 100644 --- a/gooddata-api-client/docs/LLMProvidersApi.md +++ b/gooddata-api-client/docs/LLMProvidersApi.md @@ -52,7 +52,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ], name="name_example", - provider_config=JsonApiLlmProviderInAttributesProviderConfig(None), + provider_config=JsonApiLlmProviderInAttributesProviderConfig(), ), id="id1", type="llmProvider", @@ -353,7 +353,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ], name="name_example", - provider_config=JsonApiLlmProviderInAttributesProviderConfig(None), + provider_config=JsonApiLlmProviderInAttributesProviderConfig(), ), id="id1", type="llmProvider", @@ -449,7 +449,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ], name="name_example", - provider_config=JsonApiLlmProviderInAttributesProviderConfig(None), + provider_config=JsonApiLlmProviderInAttributesProviderConfig(), ), id="id1", type="llmProvider", diff --git a/gooddata-api-client/docs/LayoutApi.md b/gooddata-api-client/docs/LayoutApi.md index 8f6828387..7b9a18fa7 100644 --- a/gooddata-api-client/docs/LayoutApi.md +++ b/gooddata-api-client/docs/LayoutApi.md @@ -3167,11 +3167,27 @@ with gooddata_api_client.ApiClient() as api_client: DashboardFilter(), ], dashboard_id="761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0", + dashboard_parameters_override=[ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], dashboard_tabs_filters_overrides={ "key": [ DashboardFilter(), ], }, + dashboard_tabs_parameters_overrides={ + "key": [ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], + }, file_name="result", format="XLSX", settings=DashboardExportSettings( @@ -4656,11 +4672,27 @@ with gooddata_api_client.ApiClient() as api_client: DashboardFilter(), ], dashboard_id="761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0", + dashboard_parameters_override=[ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], dashboard_tabs_filters_overrides={ "key": [ DashboardFilter(), ], }, + dashboard_tabs_parameters_overrides={ + "key": [ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], + }, file_name="result", format="XLSX", settings=DashboardExportSettings( @@ -6003,11 +6035,27 @@ with gooddata_api_client.ApiClient() as api_client: DashboardFilter(), ], dashboard_id="761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0", + dashboard_parameters_override=[ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], dashboard_tabs_filters_overrides={ "key": [ DashboardFilter(), ], }, + dashboard_tabs_parameters_overrides={ + "key": [ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], + }, file_name="result", format="XLSX", settings=DashboardExportSettings( diff --git a/gooddata-api-client/docs/LdmObjectPermissions.md b/gooddata-api-client/docs/LdmObjectPermissions.md new file mode 100644 index 000000000..f04e87231 --- /dev/null +++ b/gooddata-api-client/docs/LdmObjectPermissions.md @@ -0,0 +1,14 @@ +# LdmObjectPermissions + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**rules** | [**[RulePermission]**](RulePermission.md) | List of rules | +**user_groups** | [**[UserGroupPermission]**](UserGroupPermission.md) | List of user groups | +**users** | [**[UserPermission]**](UserPermission.md) | List of users | +**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) + + diff --git a/gooddata-api-client/docs/JsonApiLlmEndpointPatchDocument.md b/gooddata-api-client/docs/LdmObjectPermissionsAssignment.md similarity index 74% rename from gooddata-api-client/docs/JsonApiLlmEndpointPatchDocument.md rename to gooddata-api-client/docs/LdmObjectPermissionsAssignment.md index 8712dada6..c70d691d9 100644 --- a/gooddata-api-client/docs/JsonApiLlmEndpointPatchDocument.md +++ b/gooddata-api-client/docs/LdmObjectPermissionsAssignment.md @@ -1,10 +1,11 @@ -# JsonApiLlmEndpointPatchDocument +# LdmObjectPermissionsAssignment +Desired levels of permissions on an LDM object (attribute, label, fact) for an assignee. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**JsonApiLlmEndpointPatch**](JsonApiLlmEndpointPatch.md) | | +**permissions** | **[str]** | | **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) diff --git a/gooddata-api-client/docs/LdmObjectPermissionsForAssignee.md b/gooddata-api-client/docs/LdmObjectPermissionsForAssignee.md new file mode 100644 index 000000000..b51f9dc93 --- /dev/null +++ b/gooddata-api-client/docs/LdmObjectPermissionsForAssignee.md @@ -0,0 +1,14 @@ +# LdmObjectPermissionsForAssignee + +Desired levels of LDM-object permissions for an assignee identified by an identifier. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**permissions** | **[str]** | | +**assignee_identifier** | [**AssigneeIdentifier**](AssigneeIdentifier.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) + + diff --git a/gooddata-api-client/docs/PermissionsForAssigneeAllOf.md b/gooddata-api-client/docs/LdmObjectPermissionsForAssigneeAllOf.md similarity index 93% rename from gooddata-api-client/docs/PermissionsForAssigneeAllOf.md rename to gooddata-api-client/docs/LdmObjectPermissionsForAssigneeAllOf.md index 91f1bf02b..cc329a9dc 100644 --- a/gooddata-api-client/docs/PermissionsForAssigneeAllOf.md +++ b/gooddata-api-client/docs/LdmObjectPermissionsForAssigneeAllOf.md @@ -1,4 +1,4 @@ -# PermissionsForAssigneeAllOf +# LdmObjectPermissionsForAssigneeAllOf ## Properties diff --git a/gooddata-api-client/docs/LdmObjectPermissionsForAssigneeRule.md b/gooddata-api-client/docs/LdmObjectPermissionsForAssigneeRule.md new file mode 100644 index 000000000..0bfd9e95e --- /dev/null +++ b/gooddata-api-client/docs/LdmObjectPermissionsForAssigneeRule.md @@ -0,0 +1,14 @@ +# LdmObjectPermissionsForAssigneeRule + +Desired levels of LDM-object permissions for a collection of assignees identified by a rule. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**permissions** | **[str]** | | +**assignee_rule** | [**AssigneeRule**](AssigneeRule.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) + + diff --git a/gooddata-api-client/docs/ListDatabaseDataSourcesResponse.md b/gooddata-api-client/docs/ListDatabaseDataSourcesResponse.md deleted file mode 100644 index 74d70b214..000000000 --- a/gooddata-api-client/docs/ListDatabaseDataSourcesResponse.md +++ /dev/null @@ -1,13 +0,0 @@ -# ListDatabaseDataSourcesResponse - -All data source associations for an AI Lake Database instance - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data_sources** | [**[DataSourceInfo]**](DataSourceInfo.md) | List of data source associations. | -**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) - - diff --git a/gooddata-api-client/docs/ListDatabaseInstancesResponse.md b/gooddata-api-client/docs/ListDatabaseInstancesResponse.md deleted file mode 100644 index d9c4f53d3..000000000 --- a/gooddata-api-client/docs/ListDatabaseInstancesResponse.md +++ /dev/null @@ -1,14 +0,0 @@ -# ListDatabaseInstancesResponse - -Paged response for listing AI Lake database instances - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**databases** | [**[DatabaseInstance]**](DatabaseInstance.md) | List of database instances | -**total_count** | **int** | Total count of items (only set when metaInclude=page) | [optional] -**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) - - diff --git a/gooddata-api-client/docs/ListLlmProviderModelsRequestProviderConfig.md b/gooddata-api-client/docs/ListLlmProviderModelsRequestProviderConfig.md index 7c86d8997..1119c6461 100644 --- a/gooddata-api-client/docs/ListLlmProviderModelsRequestProviderConfig.md +++ b/gooddata-api-client/docs/ListLlmProviderModelsRequestProviderConfig.md @@ -7,8 +7,8 @@ Name | Type | Description | Notes **base_url** | **str** | Custom base URL for OpenAI API. | [optional] if omitted the server will use the default value of "https://api.openai.com/v1" **organization** | **str, none_type** | OpenAI organization ID. | [optional] **auth** | [**OpenAiProviderAuth**](OpenAiProviderAuth.md) | | [optional] -**region** | **str** | AWS region for Bedrock. | [optional] **type** | **str** | Provider type. | [optional] if omitted the server will use the default value of "OPENAI" +**region** | **str** | AWS region for Bedrock. | [optional] **endpoint** | **str** | Azure OpenAI endpoint URL. | [optional] **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] diff --git a/gooddata-api-client/docs/ListObjectStoragesResponse.md b/gooddata-api-client/docs/ListObjectStoragesResponse.md deleted file mode 100644 index 1d994b782..000000000 --- a/gooddata-api-client/docs/ListObjectStoragesResponse.md +++ /dev/null @@ -1,13 +0,0 @@ -# ListObjectStoragesResponse - -Response for listing ObjectStorages registered for the organization. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**storages** | [**[ObjectStorageInfo]**](ObjectStorageInfo.md) | Registered storages, ordered by name. | -**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) - - diff --git a/gooddata-api-client/docs/ListPipeTablesResponse.md b/gooddata-api-client/docs/ListPipeTablesResponse.md deleted file mode 100644 index a0584f5b0..000000000 --- a/gooddata-api-client/docs/ListPipeTablesResponse.md +++ /dev/null @@ -1,13 +0,0 @@ -# ListPipeTablesResponse - -List of pipe tables for a database instance - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pipe_tables** | [**[PipeTableSummary]**](PipeTableSummary.md) | Pipe tables in the requested database | -**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) - - diff --git a/gooddata-api-client/docs/ListServicesResponse.md b/gooddata-api-client/docs/ListServicesResponse.md deleted file mode 100644 index 3ff4a9565..000000000 --- a/gooddata-api-client/docs/ListServicesResponse.md +++ /dev/null @@ -1,14 +0,0 @@ -# ListServicesResponse - -Paged response for listing AI Lake services - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**services** | [**[ServiceInfo]**](ServiceInfo.md) | List of services | -**total_count** | **int** | Total count of items (only set when metaInclude=page) | [optional] -**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) - - diff --git a/gooddata-api-client/docs/LlmEndpointControllerApi.md b/gooddata-api-client/docs/LlmEndpointControllerApi.md deleted file mode 100644 index 5f2a51d52..000000000 --- a/gooddata-api-client/docs/LlmEndpointControllerApi.md +++ /dev/null @@ -1,506 +0,0 @@ -# gooddata_api_client.LlmEndpointControllerApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_entity_llm_endpoints**](LlmEndpointControllerApi.md#create_entity_llm_endpoints) | **POST** /api/v1/entities/llmEndpoints | Post LLM endpoint entities -[**delete_entity_llm_endpoints**](LlmEndpointControllerApi.md#delete_entity_llm_endpoints) | **DELETE** /api/v1/entities/llmEndpoints/{id} | Delete LLM endpoint entity -[**get_all_entities_llm_endpoints**](LlmEndpointControllerApi.md#get_all_entities_llm_endpoints) | **GET** /api/v1/entities/llmEndpoints | Get all LLM endpoint entities -[**get_entity_llm_endpoints**](LlmEndpointControllerApi.md#get_entity_llm_endpoints) | **GET** /api/v1/entities/llmEndpoints/{id} | Get LLM endpoint entity -[**patch_entity_llm_endpoints**](LlmEndpointControllerApi.md#patch_entity_llm_endpoints) | **PATCH** /api/v1/entities/llmEndpoints/{id} | Patch LLM endpoint entity -[**update_entity_llm_endpoints**](LlmEndpointControllerApi.md#update_entity_llm_endpoints) | **PUT** /api/v1/entities/llmEndpoints/{id} | PUT LLM endpoint entity - - -# **create_entity_llm_endpoints** -> JsonApiLlmEndpointOutDocument create_entity_llm_endpoints(json_api_llm_endpoint_in_document) - -Post LLM endpoint entities - -Will be soon removed and replaced by LlmProvider. - -### Example - - -```python -import time -import gooddata_api_client -from gooddata_api_client.api import llm_endpoint_controller_api -from gooddata_api_client.model.json_api_llm_endpoint_in_document import JsonApiLlmEndpointInDocument -from gooddata_api_client.model.json_api_llm_endpoint_out_document import JsonApiLlmEndpointOutDocument -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 = llm_endpoint_controller_api.LlmEndpointControllerApi(api_client) - json_api_llm_endpoint_in_document = JsonApiLlmEndpointInDocument( - data=JsonApiLlmEndpointIn( - attributes=JsonApiLlmEndpointInAttributes( - base_url="base_url_example", - llm_model="llm_model_example", - llm_organization="llm_organization_example", - provider="OPENAI", - title="title_example", - token="token_example", - ), - id="id1", - type="llmEndpoint", - ), - ) # JsonApiLlmEndpointInDocument | - - # example passing only required values which don't have defaults set - try: - # Post LLM endpoint entities - api_response = api_instance.create_entity_llm_endpoints(json_api_llm_endpoint_in_document) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LlmEndpointControllerApi->create_entity_llm_endpoints: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **json_api_llm_endpoint_in_document** | [**JsonApiLlmEndpointInDocument**](JsonApiLlmEndpointInDocument.md)| | - -### Return type - -[**JsonApiLlmEndpointOutDocument**](JsonApiLlmEndpointOutDocument.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/vnd.gooddata.api+json - - **Accept**: application/json, application/vnd.gooddata.api+json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Request successfully processed | - | - -[[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) - -# **delete_entity_llm_endpoints** -> delete_entity_llm_endpoints(id) - -Delete LLM endpoint entity - -Will be soon removed and replaced by LlmProvider. - -### Example - - -```python -import time -import gooddata_api_client -from gooddata_api_client.api import llm_endpoint_controller_api -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 = llm_endpoint_controller_api.LlmEndpointControllerApi(api_client) - id = "/6bUUGjjNSwg0_bs" # str | - - # example passing only required values which don't have defaults set - try: - # Delete LLM endpoint entity - api_instance.delete_entity_llm_endpoints(id) - except gooddata_api_client.ApiException as e: - print("Exception when calling LlmEndpointControllerApi->delete_entity_llm_endpoints: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | Successfully deleted | - | - -[[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) - -# **get_all_entities_llm_endpoints** -> JsonApiLlmEndpointOutList get_all_entities_llm_endpoints() - -Get all LLM endpoint entities - -Will be soon removed and replaced by LlmProvider. - -### Example - - -```python -import time -import gooddata_api_client -from gooddata_api_client.api import llm_endpoint_controller_api -from gooddata_api_client.model.json_api_llm_endpoint_out_list import JsonApiLlmEndpointOutList -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 = llm_endpoint_controller_api.LlmEndpointControllerApi(api_client) - filter = "title==someString;provider==LlmEndpointProviderValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) - page = 0 # int | Zero-based page index (0..N) (optional) if omitted the server will use the default value of 0 - size = 20 # int | The size of the page to be returned (optional) if omitted the server will use the default value of 20 - sort = [ - "sort_example", - ] # [str] | Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) - meta_include = [ - "metaInclude=page,all", - ] # [str] | Include Meta objects. (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Get all LLM endpoint entities - api_response = api_instance.get_all_entities_llm_endpoints(filter=filter, page=page, size=size, sort=sort, meta_include=meta_include) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LlmEndpointControllerApi->get_all_entities_llm_endpoints: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] - **page** | **int**| Zero-based page index (0..N) | [optional] if omitted the server will use the default value of 0 - **size** | **int**| The size of the page to be returned | [optional] if omitted the server will use the default value of 20 - **sort** | **[str]**| Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | [optional] - **meta_include** | **[str]**| Include Meta objects. | [optional] - -### Return type - -[**JsonApiLlmEndpointOutList**](JsonApiLlmEndpointOutList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/vnd.gooddata.api+json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Request successfully processed | - | - -[[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) - -# **get_entity_llm_endpoints** -> JsonApiLlmEndpointOutDocument get_entity_llm_endpoints(id) - -Get LLM endpoint entity - -Will be soon removed and replaced by LlmProvider. - -### Example - - -```python -import time -import gooddata_api_client -from gooddata_api_client.api import llm_endpoint_controller_api -from gooddata_api_client.model.json_api_llm_endpoint_out_document import JsonApiLlmEndpointOutDocument -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 = llm_endpoint_controller_api.LlmEndpointControllerApi(api_client) - id = "/6bUUGjjNSwg0_bs" # str | - filter = "title==someString;provider==LlmEndpointProviderValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) - - # example passing only required values which don't have defaults set - try: - # Get LLM endpoint entity - api_response = api_instance.get_entity_llm_endpoints(id) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LlmEndpointControllerApi->get_entity_llm_endpoints: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Get LLM endpoint entity - api_response = api_instance.get_entity_llm_endpoints(id, filter=filter) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LlmEndpointControllerApi->get_entity_llm_endpoints: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] - -### Return type - -[**JsonApiLlmEndpointOutDocument**](JsonApiLlmEndpointOutDocument.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/vnd.gooddata.api+json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Request successfully processed | - | - -[[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) - -# **patch_entity_llm_endpoints** -> JsonApiLlmEndpointOutDocument patch_entity_llm_endpoints(id, json_api_llm_endpoint_patch_document) - -Patch LLM endpoint entity - -Will be soon removed and replaced by LlmProvider. - -### Example - - -```python -import time -import gooddata_api_client -from gooddata_api_client.api import llm_endpoint_controller_api -from gooddata_api_client.model.json_api_llm_endpoint_out_document import JsonApiLlmEndpointOutDocument -from gooddata_api_client.model.json_api_llm_endpoint_patch_document import JsonApiLlmEndpointPatchDocument -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 = llm_endpoint_controller_api.LlmEndpointControllerApi(api_client) - id = "/6bUUGjjNSwg0_bs" # str | - json_api_llm_endpoint_patch_document = JsonApiLlmEndpointPatchDocument( - data=JsonApiLlmEndpointPatch( - attributes=JsonApiLlmEndpointPatchAttributes( - base_url="base_url_example", - llm_model="llm_model_example", - llm_organization="llm_organization_example", - provider="OPENAI", - title="title_example", - token="token_example", - ), - id="id1", - type="llmEndpoint", - ), - ) # JsonApiLlmEndpointPatchDocument | - filter = "title==someString;provider==LlmEndpointProviderValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) - - # example passing only required values which don't have defaults set - try: - # Patch LLM endpoint entity - api_response = api_instance.patch_entity_llm_endpoints(id, json_api_llm_endpoint_patch_document) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LlmEndpointControllerApi->patch_entity_llm_endpoints: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Patch LLM endpoint entity - api_response = api_instance.patch_entity_llm_endpoints(id, json_api_llm_endpoint_patch_document, filter=filter) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LlmEndpointControllerApi->patch_entity_llm_endpoints: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| | - **json_api_llm_endpoint_patch_document** | [**JsonApiLlmEndpointPatchDocument**](JsonApiLlmEndpointPatchDocument.md)| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] - -### Return type - -[**JsonApiLlmEndpointOutDocument**](JsonApiLlmEndpointOutDocument.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/vnd.gooddata.api+json - - **Accept**: application/json, application/vnd.gooddata.api+json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Request successfully processed | - | - -[[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) - -# **update_entity_llm_endpoints** -> JsonApiLlmEndpointOutDocument update_entity_llm_endpoints(id, json_api_llm_endpoint_in_document) - -PUT LLM endpoint entity - -Will be soon removed and replaced by LlmProvider. - -### Example - - -```python -import time -import gooddata_api_client -from gooddata_api_client.api import llm_endpoint_controller_api -from gooddata_api_client.model.json_api_llm_endpoint_in_document import JsonApiLlmEndpointInDocument -from gooddata_api_client.model.json_api_llm_endpoint_out_document import JsonApiLlmEndpointOutDocument -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 = llm_endpoint_controller_api.LlmEndpointControllerApi(api_client) - id = "/6bUUGjjNSwg0_bs" # str | - json_api_llm_endpoint_in_document = JsonApiLlmEndpointInDocument( - data=JsonApiLlmEndpointIn( - attributes=JsonApiLlmEndpointInAttributes( - base_url="base_url_example", - llm_model="llm_model_example", - llm_organization="llm_organization_example", - provider="OPENAI", - title="title_example", - token="token_example", - ), - id="id1", - type="llmEndpoint", - ), - ) # JsonApiLlmEndpointInDocument | - filter = "title==someString;provider==LlmEndpointProviderValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) - - # example passing only required values which don't have defaults set - try: - # PUT LLM endpoint entity - api_response = api_instance.update_entity_llm_endpoints(id, json_api_llm_endpoint_in_document) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LlmEndpointControllerApi->update_entity_llm_endpoints: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # PUT LLM endpoint entity - api_response = api_instance.update_entity_llm_endpoints(id, json_api_llm_endpoint_in_document, filter=filter) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling LlmEndpointControllerApi->update_entity_llm_endpoints: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| | - **json_api_llm_endpoint_in_document** | [**JsonApiLlmEndpointInDocument**](JsonApiLlmEndpointInDocument.md)| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] - -### Return type - -[**JsonApiLlmEndpointOutDocument**](JsonApiLlmEndpointOutDocument.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/vnd.gooddata.api+json - - **Accept**: application/json, application/vnd.gooddata.api+json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Request successfully processed | - | - -[[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) - diff --git a/gooddata-api-client/docs/LlmProviderConfig.md b/gooddata-api-client/docs/LlmProviderConfig.md index c30bbc77a..9e7fbdc0b 100644 --- a/gooddata-api-client/docs/LlmProviderConfig.md +++ b/gooddata-api-client/docs/LlmProviderConfig.md @@ -8,8 +8,8 @@ Name | Type | Description | Notes **base_url** | **str** | Custom base URL for OpenAI API. | [optional] if omitted the server will use the default value of "https://api.openai.com/v1" **organization** | **str, none_type** | OpenAI organization ID. | [optional] **auth** | [**OpenAiProviderAuth**](OpenAiProviderAuth.md) | | [optional] -**region** | **str** | AWS region for Bedrock. | [optional] **type** | **str** | Provider type. | [optional] if omitted the server will use the default value of "OPENAI" +**region** | **str** | AWS region for Bedrock. | [optional] **endpoint** | **str** | Azure OpenAI endpoint URL. | [optional] **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] diff --git a/gooddata-api-client/docs/LlmProviderControllerApi.md b/gooddata-api-client/docs/LlmProviderControllerApi.md index 860983d2f..08ba7e725 100644 --- a/gooddata-api-client/docs/LlmProviderControllerApi.md +++ b/gooddata-api-client/docs/LlmProviderControllerApi.md @@ -52,7 +52,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ], name="name_example", - provider_config=JsonApiLlmProviderInAttributesProviderConfig(None), + provider_config=JsonApiLlmProviderInAttributesProviderConfig(), ), id="id1", type="llmProvider", @@ -353,7 +353,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ], name="name_example", - provider_config=JsonApiLlmProviderInAttributesProviderConfig(None), + provider_config=JsonApiLlmProviderInAttributesProviderConfig(), ), id="id1", type="llmProvider", @@ -449,7 +449,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ], name="name_example", - provider_config=JsonApiLlmProviderInAttributesProviderConfig(None), + provider_config=JsonApiLlmProviderInAttributesProviderConfig(), ), id="id1", type="llmProvider", diff --git a/gooddata-api-client/docs/ManageAttributePermissionsRequestInner.md b/gooddata-api-client/docs/ManageAttributePermissionsRequestInner.md new file mode 100644 index 000000000..ed4eb26f2 --- /dev/null +++ b/gooddata-api-client/docs/ManageAttributePermissionsRequestInner.md @@ -0,0 +1,14 @@ +# ManageAttributePermissionsRequestInner + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**permissions** | **[str]** | | [optional] +**assignee_identifier** | [**AssigneeIdentifier**](AssigneeIdentifier.md) | | [optional] +**assignee_rule** | [**AssigneeRule**](AssigneeRule.md) | | [optional] +**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) + + diff --git a/gooddata-api-client/docs/NotificationChannelDestination.md b/gooddata-api-client/docs/NotificationChannelDestination.md index 4b7b60f3c..1000d4df9 100644 --- a/gooddata-api-client/docs/NotificationChannelDestination.md +++ b/gooddata-api-client/docs/NotificationChannelDestination.md @@ -4,7 +4,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | | **has_secret_key** | **bool, none_type** | Flag indicating if webhook has a hmac secret key. | [optional] [readonly] **has_token** | **bool, none_type** | Flag indicating if webhook has a token. | [optional] [readonly] **secret_key** | **str, none_type** | Hmac secret key for the webhook signature. | [optional] @@ -16,6 +15,7 @@ Name | Type | Description | Notes **password** | **str** | The SMTP server password. | [optional] **port** | **int** | The SMTP server port. | [optional] **username** | **str** | The SMTP server username. | [optional] +**type** | **str** | The destination type. | [optional] if omitted the server will use the default value of "IN_PLATFORM" **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) diff --git a/gooddata-api-client/docs/Operation.md b/gooddata-api-client/docs/Operation.md index 210cc0d4e..bbf2e0ffc 100644 --- a/gooddata-api-client/docs/Operation.md +++ b/gooddata-api-client/docs/Operation.md @@ -6,7 +6,7 @@ Represents a Long-Running Operation: a process that takes some time to complete. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | Id of the operation | -**kind** | **str** | Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. | +**kind** | **str** | Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. * `refresh-partition` — Refreshing a specific Hive partition (delete + re-load from S3). | **status** | **str** | | **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] diff --git a/gooddata-api-client/docs/OrganizationDeclarativeAPIsApi.md b/gooddata-api-client/docs/OrganizationDeclarativeAPIsApi.md index 7c4ef6863..dbbbc7a05 100644 --- a/gooddata-api-client/docs/OrganizationDeclarativeAPIsApi.md +++ b/gooddata-api-client/docs/OrganizationDeclarativeAPIsApi.md @@ -803,11 +803,27 @@ with gooddata_api_client.ApiClient() as api_client: DashboardFilter(), ], dashboard_id="761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0", + dashboard_parameters_override=[ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], dashboard_tabs_filters_overrides={ "key": [ DashboardFilter(), ], }, + dashboard_tabs_parameters_overrides={ + "key": [ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], + }, file_name="result", format="XLSX", settings=DashboardExportSettings( diff --git a/gooddata-api-client/docs/OrganizationEntityAPIsApi.md b/gooddata-api-client/docs/OrganizationEntityAPIsApi.md index 36d22d728..10eac79c0 100644 --- a/gooddata-api-client/docs/OrganizationEntityAPIsApi.md +++ b/gooddata-api-client/docs/OrganizationEntityAPIsApi.md @@ -4,18 +4,205 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- +[**add_targets**](OrganizationEntityAPIsApi.md#add_targets) | **POST** /api/v1/actions/ipAllowlistPolicies/{id}/addTargets | Add targets to IP allowlist policy +[**create_entity_ip_allowlist_policies**](OrganizationEntityAPIsApi.md#create_entity_ip_allowlist_policies) | **POST** /api/v1/entities/ipAllowlistPolicies | Post IpAllowlistPolicy entities [**create_entity_organization_settings**](OrganizationEntityAPIsApi.md#create_entity_organization_settings) | **POST** /api/v1/entities/organizationSettings | Post Organization Setting entities +[**delete_entity_ip_allowlist_policies**](OrganizationEntityAPIsApi.md#delete_entity_ip_allowlist_policies) | **DELETE** /api/v1/entities/ipAllowlistPolicies/{id} | Delete IpAllowlistPolicy entity [**delete_entity_organization_settings**](OrganizationEntityAPIsApi.md#delete_entity_organization_settings) | **DELETE** /api/v1/entities/organizationSettings/{id} | Delete Organization Setting entity +[**get_all_entities_ip_allowlist_policies**](OrganizationEntityAPIsApi.md#get_all_entities_ip_allowlist_policies) | **GET** /api/v1/entities/ipAllowlistPolicies | Get all IpAllowlistPolicy entities [**get_all_entities_organization_settings**](OrganizationEntityAPIsApi.md#get_all_entities_organization_settings) | **GET** /api/v1/entities/organizationSettings | Get Organization Setting entities +[**get_entity_ip_allowlist_policies**](OrganizationEntityAPIsApi.md#get_entity_ip_allowlist_policies) | **GET** /api/v1/entities/ipAllowlistPolicies/{id} | Get IpAllowlistPolicy entity [**get_entity_organization_settings**](OrganizationEntityAPIsApi.md#get_entity_organization_settings) | **GET** /api/v1/entities/organizationSettings/{id} | Get Organization Setting entity [**get_entity_organizations**](OrganizationEntityAPIsApi.md#get_entity_organizations) | **GET** /api/v1/entities/admin/organizations/{id} | Get Organizations [**get_organization**](OrganizationEntityAPIsApi.md#get_organization) | **GET** /api/v1/entities/organization | Get current organization info [**patch_entity_organization_settings**](OrganizationEntityAPIsApi.md#patch_entity_organization_settings) | **PATCH** /api/v1/entities/organizationSettings/{id} | Patch Organization Setting entity [**patch_entity_organizations**](OrganizationEntityAPIsApi.md#patch_entity_organizations) | **PATCH** /api/v1/entities/admin/organizations/{id} | Patch Organization +[**remove_targets**](OrganizationEntityAPIsApi.md#remove_targets) | **POST** /api/v1/actions/ipAllowlistPolicies/{id}/removeTargets | Remove targets from IP allowlist policy +[**update_entity_ip_allowlist_policies**](OrganizationEntityAPIsApi.md#update_entity_ip_allowlist_policies) | **PUT** /api/v1/entities/ipAllowlistPolicies/{id} | Put IpAllowlistPolicy entity [**update_entity_organization_settings**](OrganizationEntityAPIsApi.md#update_entity_organization_settings) | **PUT** /api/v1/entities/organizationSettings/{id} | Put Organization Setting entity [**update_entity_organizations**](OrganizationEntityAPIsApi.md#update_entity_organizations) | **PUT** /api/v1/entities/admin/organizations/{id} | Put Organization +# **add_targets** +> add_targets(id, ip_allowlist_policy_targets) + +Add targets to IP allowlist policy + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import organization_entity_apis_api +from gooddata_api_client.model.ip_allowlist_policy_targets import IpAllowlistPolicyTargets +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 = organization_entity_apis_api.OrganizationEntityAPIsApi(api_client) + id = "id_example" # str | + ip_allowlist_policy_targets = IpAllowlistPolicyTargets( + targets=[ + AssigneeIdentifier( + id="id_example", + type="user", + ), + ], + ) # IpAllowlistPolicyTargets | + + # example passing only required values which don't have defaults set + try: + # Add targets to IP allowlist policy + api_instance.add_targets(id, ip_allowlist_policy_targets) + except gooddata_api_client.ApiException as e: + print("Exception when calling OrganizationEntityAPIsApi->add_targets: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **ip_allowlist_policy_targets** | [**IpAllowlistPolicyTargets**](IpAllowlistPolicyTargets.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) + +# **create_entity_ip_allowlist_policies** +> JsonApiIpAllowlistPolicyOutDocument create_entity_ip_allowlist_policies(json_api_ip_allowlist_policy_in_document) + +Post IpAllowlistPolicy entities + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import organization_entity_apis_api +from gooddata_api_client.model.json_api_ip_allowlist_policy_out_document import JsonApiIpAllowlistPolicyOutDocument +from gooddata_api_client.model.json_api_ip_allowlist_policy_in_document import JsonApiIpAllowlistPolicyInDocument +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 = organization_entity_apis_api.OrganizationEntityAPIsApi(api_client) + json_api_ip_allowlist_policy_in_document = JsonApiIpAllowlistPolicyInDocument( + data=JsonApiIpAllowlistPolicyIn( + attributes=JsonApiIpAllowlistPolicyInAttributes( + allowed_sources=[ + "allowed_sources_example", + ], + ), + id="id1", + relationships=JsonApiIpAllowlistPolicyInRelationships( + user_groups=JsonApiAgentInRelationshipsUserGroups( + data=JsonApiUserGroupToManyLinkage([ + JsonApiUserGroupLinkage( + id="id_example", + type="userGroup", + ), + ]), + ), + users=JsonApiAutomationInRelationshipsRecipients( + data=JsonApiUserToManyLinkage([ + JsonApiUserLinkage( + id="id_example", + type="user", + ), + ]), + ), + ), + type="ipAllowlistPolicy", + ), + ) # JsonApiIpAllowlistPolicyInDocument | + include = [ + "users,userGroups", + ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) + + # example passing only required values which don't have defaults set + try: + # Post IpAllowlistPolicy entities + api_response = api_instance.create_entity_ip_allowlist_policies(json_api_ip_allowlist_policy_in_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OrganizationEntityAPIsApi->create_entity_ip_allowlist_policies: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Post IpAllowlistPolicy entities + api_response = api_instance.create_entity_ip_allowlist_policies(json_api_ip_allowlist_policy_in_document, include=include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OrganizationEntityAPIsApi->create_entity_ip_allowlist_policies: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **json_api_ip_allowlist_policy_in_document** | [**JsonApiIpAllowlistPolicyInDocument**](JsonApiIpAllowlistPolicyInDocument.md)| | + **include** | **[str]**| Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. | [optional] + +### Return type + +[**JsonApiIpAllowlistPolicyOutDocument**](JsonApiIpAllowlistPolicyOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Request successfully processed | - | + +[[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) + # **create_entity_organization_settings** > JsonApiOrganizationSettingOutDocument create_entity_organization_settings(json_api_organization_setting_in_document) @@ -91,6 +278,69 @@ 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) +# **delete_entity_ip_allowlist_policies** +> delete_entity_ip_allowlist_policies(id) + +Delete IpAllowlistPolicy entity + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import organization_entity_apis_api +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 = organization_entity_apis_api.OrganizationEntityAPIsApi(api_client) + id = "/6bUUGjjNSwg0_bs" # str | + + # example passing only required values which don't have defaults set + try: + # Delete IpAllowlistPolicy entity + api_instance.delete_entity_ip_allowlist_policies(id) + except gooddata_api_client.ApiException as e: + print("Exception when calling OrganizationEntityAPIsApi->delete_entity_ip_allowlist_policies: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | Successfully deleted | - | + +[[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) + # **delete_entity_organization_settings** > delete_entity_organization_settings(id) @@ -154,6 +404,88 @@ 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) +# **get_all_entities_ip_allowlist_policies** +> JsonApiIpAllowlistPolicyOutList get_all_entities_ip_allowlist_policies() + +Get all IpAllowlistPolicy entities + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import organization_entity_apis_api +from gooddata_api_client.model.json_api_ip_allowlist_policy_out_list import JsonApiIpAllowlistPolicyOutList +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 = organization_entity_apis_api.OrganizationEntityAPIsApi(api_client) + filter = "allowedSources==v1,v2,v3" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + include = [ + "users,userGroups", + ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) + page = 0 # int | Zero-based page index (0..N) (optional) if omitted the server will use the default value of 0 + size = 20 # int | The size of the page to be returned (optional) if omitted the server will use the default value of 20 + sort = [ + "sort_example", + ] # [str] | Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) + meta_include = [ + "metaInclude=page,all", + ] # [str] | Include Meta objects. (optional) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get all IpAllowlistPolicy entities + api_response = api_instance.get_all_entities_ip_allowlist_policies(filter=filter, include=include, page=page, size=size, sort=sort, meta_include=meta_include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OrganizationEntityAPIsApi->get_all_entities_ip_allowlist_policies: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[str]**| Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. | [optional] + **page** | **int**| Zero-based page index (0..N) | [optional] if omitted the server will use the default value of 0 + **size** | **int**| The size of the page to be returned | [optional] if omitted the server will use the default value of 20 + **sort** | **[str]**| Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | [optional] + **meta_include** | **[str]**| Include Meta objects. | [optional] + +### Return type + +[**JsonApiIpAllowlistPolicyOutList**](JsonApiIpAllowlistPolicyOutList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/vnd.gooddata.api+json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[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) + # **get_all_entities_organization_settings** > JsonApiOrganizationSettingOutList get_all_entities_organization_settings() @@ -224,6 +556,86 @@ No authorization required - **Accept**: application/json, application/vnd.gooddata.api+json +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[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) + +# **get_entity_ip_allowlist_policies** +> JsonApiIpAllowlistPolicyOutDocument get_entity_ip_allowlist_policies(id) + +Get IpAllowlistPolicy entity + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import organization_entity_apis_api +from gooddata_api_client.model.json_api_ip_allowlist_policy_out_document import JsonApiIpAllowlistPolicyOutDocument +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 = organization_entity_apis_api.OrganizationEntityAPIsApi(api_client) + id = "/6bUUGjjNSwg0_bs" # str | + filter = "allowedSources==v1,v2,v3" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + include = [ + "users,userGroups", + ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) + + # example passing only required values which don't have defaults set + try: + # Get IpAllowlistPolicy entity + api_response = api_instance.get_entity_ip_allowlist_policies(id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OrganizationEntityAPIsApi->get_entity_ip_allowlist_policies: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get IpAllowlistPolicy entity + api_response = api_instance.get_entity_ip_allowlist_policies(id, filter=filter, include=include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OrganizationEntityAPIsApi->get_entity_ip_allowlist_policies: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[str]**| Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. | [optional] + +### Return type + +[**JsonApiIpAllowlistPolicyOutDocument**](JsonApiIpAllowlistPolicyOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/vnd.gooddata.api+json + + ### HTTP response details | Status code | Description | Response headers | @@ -644,6 +1056,190 @@ No authorization required - **Accept**: application/json, application/vnd.gooddata.api+json +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Request successfully processed | - | + +[[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) + +# **remove_targets** +> remove_targets(id, ip_allowlist_policy_targets) + +Remove targets from IP allowlist policy + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import organization_entity_apis_api +from gooddata_api_client.model.ip_allowlist_policy_targets import IpAllowlistPolicyTargets +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 = organization_entity_apis_api.OrganizationEntityAPIsApi(api_client) + id = "id_example" # str | + ip_allowlist_policy_targets = IpAllowlistPolicyTargets( + targets=[ + AssigneeIdentifier( + id="id_example", + type="user", + ), + ], + ) # IpAllowlistPolicyTargets | + + # example passing only required values which don't have defaults set + try: + # Remove targets from IP allowlist policy + api_instance.remove_targets(id, ip_allowlist_policy_targets) + except gooddata_api_client.ApiException as e: + print("Exception when calling OrganizationEntityAPIsApi->remove_targets: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **ip_allowlist_policy_targets** | [**IpAllowlistPolicyTargets**](IpAllowlistPolicyTargets.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) + +# **update_entity_ip_allowlist_policies** +> JsonApiIpAllowlistPolicyOutDocument update_entity_ip_allowlist_policies(id, json_api_ip_allowlist_policy_in_document) + +Put IpAllowlistPolicy entity + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import organization_entity_apis_api +from gooddata_api_client.model.json_api_ip_allowlist_policy_out_document import JsonApiIpAllowlistPolicyOutDocument +from gooddata_api_client.model.json_api_ip_allowlist_policy_in_document import JsonApiIpAllowlistPolicyInDocument +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 = organization_entity_apis_api.OrganizationEntityAPIsApi(api_client) + id = "/6bUUGjjNSwg0_bs" # str | + json_api_ip_allowlist_policy_in_document = JsonApiIpAllowlistPolicyInDocument( + data=JsonApiIpAllowlistPolicyIn( + attributes=JsonApiIpAllowlistPolicyInAttributes( + allowed_sources=[ + "allowed_sources_example", + ], + ), + id="id1", + relationships=JsonApiIpAllowlistPolicyInRelationships( + user_groups=JsonApiAgentInRelationshipsUserGroups( + data=JsonApiUserGroupToManyLinkage([ + JsonApiUserGroupLinkage( + id="id_example", + type="userGroup", + ), + ]), + ), + users=JsonApiAutomationInRelationshipsRecipients( + data=JsonApiUserToManyLinkage([ + JsonApiUserLinkage( + id="id_example", + type="user", + ), + ]), + ), + ), + type="ipAllowlistPolicy", + ), + ) # JsonApiIpAllowlistPolicyInDocument | + filter = "allowedSources==v1,v2,v3" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) + include = [ + "users,userGroups", + ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) + + # example passing only required values which don't have defaults set + try: + # Put IpAllowlistPolicy entity + api_response = api_instance.update_entity_ip_allowlist_policies(id, json_api_ip_allowlist_policy_in_document) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OrganizationEntityAPIsApi->update_entity_ip_allowlist_policies: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Put IpAllowlistPolicy entity + api_response = api_instance.update_entity_ip_allowlist_policies(id, json_api_ip_allowlist_policy_in_document, filter=filter, include=include) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling OrganizationEntityAPIsApi->update_entity_ip_allowlist_policies: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **json_api_ip_allowlist_policy_in_document** | [**JsonApiIpAllowlistPolicyInDocument**](JsonApiIpAllowlistPolicyInDocument.md)| | + **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] + **include** | **[str]**| Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. | [optional] + +### Return type + +[**JsonApiIpAllowlistPolicyOutDocument**](JsonApiIpAllowlistPolicyOutDocument.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json, application/vnd.gooddata.api+json + - **Accept**: application/json, application/vnd.gooddata.api+json + + ### HTTP response details | Status code | Description | Response headers | diff --git a/gooddata-api-client/docs/ParameterControllerApi.md b/gooddata-api-client/docs/ParameterControllerApi.md index bf2704a81..0ae50c9b6 100644 --- a/gooddata-api-client/docs/ParameterControllerApi.md +++ b/gooddata-api-client/docs/ParameterControllerApi.md @@ -44,9 +44,7 @@ with gooddata_api_client.ApiClient() as api_client: data=JsonApiParameterPostOptionalId( attributes=JsonApiParameterInAttributes( are_relations_valid=True, - definition=JsonApiParameterInAttributesDefinition( - type="type_example", - ), + definition=JsonApiParameterInAttributesDefinition(), description="description_example", tags=[ "tags_example", @@ -395,9 +393,7 @@ with gooddata_api_client.ApiClient() as api_client: data=JsonApiParameterPatch( attributes=JsonApiParameterPatchAttributes( are_relations_valid=True, - definition=JsonApiParameterInAttributesDefinition( - type="type_example", - ), + definition=JsonApiParameterInAttributesDefinition(), description="description_example", tags=[ "tags_example", @@ -595,9 +591,7 @@ with gooddata_api_client.ApiClient() as api_client: data=JsonApiParameterIn( attributes=JsonApiParameterInAttributes( are_relations_valid=True, - definition=JsonApiParameterInAttributesDefinition( - type="type_example", - ), + definition=JsonApiParameterInAttributesDefinition(), description="description_example", tags=[ "tags_example", diff --git a/gooddata-api-client/docs/ParameterDefinition.md b/gooddata-api-client/docs/ParameterDefinition.md index 2ccb3e1ce..1be282403 100644 --- a/gooddata-api-client/docs/ParameterDefinition.md +++ b/gooddata-api-client/docs/ParameterDefinition.md @@ -5,9 +5,9 @@ Parameter content (type-discriminated). ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | | -**default_value** | **str** | | **constraints** | [**StringConstraints**](StringConstraints.md) | | [optional] +**default_value** | **str** | | [optional] +**type** | **str** | The parameter type. | [optional] if omitted the server will use the default value of "STRING" **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) diff --git a/gooddata-api-client/docs/ParametersApi.md b/gooddata-api-client/docs/ParametersApi.md index 54888ac13..9aa29f5e3 100644 --- a/gooddata-api-client/docs/ParametersApi.md +++ b/gooddata-api-client/docs/ParametersApi.md @@ -44,9 +44,7 @@ with gooddata_api_client.ApiClient() as api_client: data=JsonApiParameterPostOptionalId( attributes=JsonApiParameterInAttributes( are_relations_valid=True, - definition=JsonApiParameterInAttributesDefinition( - type="type_example", - ), + definition=JsonApiParameterInAttributesDefinition(), description="description_example", tags=[ "tags_example", @@ -395,9 +393,7 @@ with gooddata_api_client.ApiClient() as api_client: data=JsonApiParameterPatch( attributes=JsonApiParameterPatchAttributes( are_relations_valid=True, - definition=JsonApiParameterInAttributesDefinition( - type="type_example", - ), + definition=JsonApiParameterInAttributesDefinition(), description="description_example", tags=[ "tags_example", @@ -595,9 +591,7 @@ with gooddata_api_client.ApiClient() as api_client: data=JsonApiParameterIn( attributes=JsonApiParameterInAttributes( are_relations_valid=True, - definition=JsonApiParameterInAttributesDefinition( - type="type_example", - ), + definition=JsonApiParameterInAttributesDefinition(), description="description_example", tags=[ "tags_example", diff --git a/gooddata-api-client/docs/PendingOperation.md b/gooddata-api-client/docs/PendingOperation.md index e5a305da2..36fd9644c 100644 --- a/gooddata-api-client/docs/PendingOperation.md +++ b/gooddata-api-client/docs/PendingOperation.md @@ -6,7 +6,7 @@ Operation that is still pending Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | Id of the operation | -**kind** | **str** | Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. | +**kind** | **str** | Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. * `refresh-partition` — Refreshing a specific Hive partition (delete + re-load from S3). | **status** | **str** | | **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] diff --git a/gooddata-api-client/docs/PermissionsApi.md b/gooddata-api-client/docs/PermissionsApi.md index 0583fb23a..a6effb196 100644 --- a/gooddata-api-client/docs/PermissionsApi.md +++ b/gooddata-api-client/docs/PermissionsApi.md @@ -4,14 +4,20 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- +[**attribute_permissions**](PermissionsApi.md#attribute_permissions) | **GET** /api/v1/actions/workspaces/{workspaceId}/attributes/{attributeId}/permissions | Get Attribute Permissions [**available_assignees**](PermissionsApi.md#available_assignees) | **GET** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/availableAssignees | Get Available Assignees [**dashboard_permissions**](PermissionsApi.md#dashboard_permissions) | **GET** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/permissions | Get Dashboard Permissions +[**fact_permissions**](PermissionsApi.md#fact_permissions) | **GET** /api/v1/actions/workspaces/{workspaceId}/facts/{factId}/permissions | Get Fact Permissions [**get_organization_permissions**](PermissionsApi.md#get_organization_permissions) | **GET** /api/v1/layout/organization/permissions | Get organization permissions [**get_user_group_permissions**](PermissionsApi.md#get_user_group_permissions) | **GET** /api/v1/layout/userGroups/{userGroupId}/permissions | Get permissions for the user-group [**get_user_permissions**](PermissionsApi.md#get_user_permissions) | **GET** /api/v1/layout/users/{userId}/permissions | Get permissions for the user [**get_workspace_permissions**](PermissionsApi.md#get_workspace_permissions) | **GET** /api/v1/layout/workspaces/{workspaceId}/permissions | Get permissions for the workspace +[**label_permissions**](PermissionsApi.md#label_permissions) | **GET** /api/v1/actions/workspaces/{workspaceId}/labels/{labelId}/permissions | Get Label Permissions +[**manage_attribute_permissions**](PermissionsApi.md#manage_attribute_permissions) | **POST** /api/v1/actions/workspaces/{workspaceId}/attributes/{attributeId}/managePermissions | Manage Permissions for an Attribute [**manage_dashboard_permissions**](PermissionsApi.md#manage_dashboard_permissions) | **POST** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/managePermissions | Manage Permissions for a Dashboard [**manage_data_source_permissions**](PermissionsApi.md#manage_data_source_permissions) | **POST** /api/v1/actions/dataSources/{dataSourceId}/managePermissions | Manage Permissions for a Data Source +[**manage_fact_permissions**](PermissionsApi.md#manage_fact_permissions) | **POST** /api/v1/actions/workspaces/{workspaceId}/facts/{factId}/managePermissions | Manage Permissions for a Fact +[**manage_label_permissions**](PermissionsApi.md#manage_label_permissions) | **POST** /api/v1/actions/workspaces/{workspaceId}/labels/{labelId}/managePermissions | Manage Permissions for a Label [**manage_organization_permissions**](PermissionsApi.md#manage_organization_permissions) | **POST** /api/v1/actions/organization/managePermissions | Manage Permissions for a Organization [**manage_workspace_permissions**](PermissionsApi.md#manage_workspace_permissions) | **POST** /api/v1/actions/workspaces/{workspaceId}/managePermissions | Manage Permissions for a Workspace [**set_organization_permissions**](PermissionsApi.md#set_organization_permissions) | **PUT** /api/v1/layout/organization/permissions | Set organization permissions @@ -20,6 +26,73 @@ Method | HTTP request | Description [**set_workspace_permissions**](PermissionsApi.md#set_workspace_permissions) | **PUT** /api/v1/layout/workspaces/{workspaceId}/permissions | Set permissions for the workspace +# **attribute_permissions** +> LdmObjectPermissions attribute_permissions(workspace_id, attribute_id) + +Get Attribute Permissions + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import permissions_api +from gooddata_api_client.model.ldm_object_permissions import LdmObjectPermissions +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 = permissions_api.PermissionsApi(api_client) + workspace_id = "workspaceId_example" # str | + attribute_id = "attributeId_example" # str | + + # example passing only required values which don't have defaults set + try: + # Get Attribute Permissions + api_response = api_instance.attribute_permissions(workspace_id, attribute_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling PermissionsApi->attribute_permissions: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **attribute_id** | **str**| | + +### Return type + +[**LdmObjectPermissions**](LdmObjectPermissions.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + # **available_assignees** > AvailableAssignees available_assignees(workspace_id, dashboard_id) @@ -146,6 +219,73 @@ No authorization required - **Accept**: application/json +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + +# **fact_permissions** +> LdmObjectPermissions fact_permissions(workspace_id, fact_id) + +Get Fact Permissions + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import permissions_api +from gooddata_api_client.model.ldm_object_permissions import LdmObjectPermissions +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 = permissions_api.PermissionsApi(api_client) + workspace_id = "workspaceId_example" # str | + fact_id = "factId_example" # str | + + # example passing only required values which don't have defaults set + try: + # Get Fact Permissions + api_response = api_instance.fact_permissions(workspace_id, fact_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling PermissionsApi->fact_permissions: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **fact_id** | **str**| | + +### Return type + +[**LdmObjectPermissions**](LdmObjectPermissions.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + ### HTTP response details | Status code | Description | Response headers | @@ -418,6 +558,143 @@ 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) +# **label_permissions** +> LdmObjectPermissions label_permissions(workspace_id, label_id) + +Get Label Permissions + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import permissions_api +from gooddata_api_client.model.ldm_object_permissions import LdmObjectPermissions +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 = permissions_api.PermissionsApi(api_client) + workspace_id = "workspaceId_example" # str | + label_id = "labelId_example" # str | + + # example passing only required values which don't have defaults set + try: + # Get Label Permissions + api_response = api_instance.label_permissions(workspace_id, label_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling PermissionsApi->label_permissions: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **label_id** | **str**| | + +### Return type + +[**LdmObjectPermissions**](LdmObjectPermissions.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + +# **manage_attribute_permissions** +> manage_attribute_permissions(workspace_id, attribute_id, manage_attribute_permissions_request_inner) + +Manage Permissions for an Attribute + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import permissions_api +from gooddata_api_client.model.manage_attribute_permissions_request_inner import ManageAttributePermissionsRequestInner +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 = permissions_api.PermissionsApi(api_client) + workspace_id = "workspaceId_example" # str | + attribute_id = "attributeId_example" # str | + manage_attribute_permissions_request_inner = [ + ManageAttributePermissionsRequestInner(None), + ] # [ManageAttributePermissionsRequestInner] | + + # example passing only required values which don't have defaults set + try: + # Manage Permissions for an Attribute + api_instance.manage_attribute_permissions(workspace_id, attribute_id, manage_attribute_permissions_request_inner) + except gooddata_api_client.ApiException as e: + print("Exception when calling PermissionsApi->manage_attribute_permissions: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **attribute_id** | **str**| | + **manage_attribute_permissions_request_inner** | [**[ManageAttributePermissionsRequestInner]**](ManageAttributePermissionsRequestInner.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) + # **manage_dashboard_permissions** > manage_dashboard_permissions(workspace_id, dashboard_id, manage_dashboard_permissions_request_inner) @@ -558,6 +835,146 @@ No authorization required - **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) + +# **manage_fact_permissions** +> manage_fact_permissions(workspace_id, fact_id, manage_attribute_permissions_request_inner) + +Manage Permissions for a Fact + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import permissions_api +from gooddata_api_client.model.manage_attribute_permissions_request_inner import ManageAttributePermissionsRequestInner +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 = permissions_api.PermissionsApi(api_client) + workspace_id = "workspaceId_example" # str | + fact_id = "factId_example" # str | + manage_attribute_permissions_request_inner = [ + ManageAttributePermissionsRequestInner(None), + ] # [ManageAttributePermissionsRequestInner] | + + # example passing only required values which don't have defaults set + try: + # Manage Permissions for a Fact + api_instance.manage_fact_permissions(workspace_id, fact_id, manage_attribute_permissions_request_inner) + except gooddata_api_client.ApiException as e: + print("Exception when calling PermissionsApi->manage_fact_permissions: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **fact_id** | **str**| | + **manage_attribute_permissions_request_inner** | [**[ManageAttributePermissionsRequestInner]**](ManageAttributePermissionsRequestInner.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) + +# **manage_label_permissions** +> manage_label_permissions(workspace_id, label_id, manage_attribute_permissions_request_inner) + +Manage Permissions for a Label + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import permissions_api +from gooddata_api_client.model.manage_attribute_permissions_request_inner import ManageAttributePermissionsRequestInner +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 = permissions_api.PermissionsApi(api_client) + workspace_id = "workspaceId_example" # str | + label_id = "labelId_example" # str | + manage_attribute_permissions_request_inner = [ + ManageAttributePermissionsRequestInner(None), + ] # [ManageAttributePermissionsRequestInner] | + + # example passing only required values which don't have defaults set + try: + # Manage Permissions for a Label + api_instance.manage_label_permissions(workspace_id, label_id, manage_attribute_permissions_request_inner) + except gooddata_api_client.ApiException as e: + print("Exception when calling PermissionsApi->manage_label_permissions: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| | + **label_id** | **str**| | + **manage_attribute_permissions_request_inner** | [**[ManageAttributePermissionsRequestInner]**](ManageAttributePermissionsRequestInner.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 | diff --git a/gooddata-api-client/docs/RefreshPartitionRequest.md b/gooddata-api-client/docs/RefreshPartitionRequest.md new file mode 100644 index 000000000..853753266 --- /dev/null +++ b/gooddata-api-client/docs/RefreshPartitionRequest.md @@ -0,0 +1,13 @@ +# RefreshPartitionRequest + +Request to refresh a specific Hive partition in a pipe-backed OLAP table + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**partition_spec** | **{str: (str,)}** | Partition column values identifying the partition to refresh. Keys must match the table's partition_columns exactly. Example: {\"date\": \"2026-01-01\"} | +**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) + + diff --git a/gooddata-api-client/docs/ResolvedLlmEndpointAllOf.md b/gooddata-api-client/docs/ResolvedLlmEndpointAllOf.md deleted file mode 100644 index c12aff4c7..000000000 --- a/gooddata-api-client/docs/ResolvedLlmEndpointAllOf.md +++ /dev/null @@ -1,13 +0,0 @@ -# ResolvedLlmEndpointAllOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | Endpoint Id | [optional] -**title** | **str** | Endpoint Title | [optional] -**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) - - diff --git a/gooddata-api-client/docs/RichTextWidgetDescriptor.md b/gooddata-api-client/docs/RichTextWidgetDescriptor.md index b2cf0eba3..2689d820e 100644 --- a/gooddata-api-client/docs/RichTextWidgetDescriptor.md +++ b/gooddata-api-client/docs/RichTextWidgetDescriptor.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **title** | **str** | Widget title as displayed on the dashboard. | **widget_id** | **str** | Widget object ID. | +**content** | **str** | Markdown/text content of the rich text widget. | [optional] **filters** | [**[FilterDefinition]**](FilterDefinition.md) | Filters currently applied to the dashboard. | [optional] **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] diff --git a/gooddata-api-client/docs/SmartFunctionsApi.md b/gooddata-api-client/docs/SmartFunctionsApi.md index 94171e0a0..94371a59f 100644 --- a/gooddata-api-client/docs/SmartFunctionsApi.md +++ b/gooddata-api-client/docs/SmartFunctionsApi.md @@ -23,15 +23,15 @@ Method | HTTP request | Description [**list_llm_provider_models**](SmartFunctionsApi.md#list_llm_provider_models) | **POST** /api/v1/actions/ai/llmProvider/listModels | List LLM Provider Models [**list_llm_provider_models_by_id**](SmartFunctionsApi.md#list_llm_provider_models_by_id) | **POST** /api/v1/actions/ai/llmProvider/{llmProviderId}/listModels | List LLM Provider Models By Id [**memory_created_by_users**](SmartFunctionsApi.md#memory_created_by_users) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/memory/createdBy | Get AI Memory CreatedBy Users -[**resolve_llm_endpoints**](SmartFunctionsApi.md#resolve_llm_endpoints) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmEndpoints | Get Active LLM Endpoints for this workspace +[**resolve_llm_endpoints**](SmartFunctionsApi.md#resolve_llm_endpoints) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmEndpoints | Get Active LLM Endpoints for this workspace (Removed) [**resolve_llm_providers**](SmartFunctionsApi.md#resolve_llm_providers) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmProviders | Get Active LLM configuration for this workspace [**tags**](SmartFunctionsApi.md#tags) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/tags | Get Analytics Catalog Tags [**test_llm_provider**](SmartFunctionsApi.md#test_llm_provider) | **POST** /api/v1/actions/ai/llmProvider/test | Test LLM Provider [**test_llm_provider_by_id**](SmartFunctionsApi.md#test_llm_provider_by_id) | **POST** /api/v1/actions/ai/llmProvider/{llmProviderId}/test | Test LLM Provider By Id [**trending_objects**](SmartFunctionsApi.md#trending_objects) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/trendingObjects | Get Trending Analytics Catalog Objects [**trigger_quality_issues_calculation**](SmartFunctionsApi.md#trigger_quality_issues_calculation) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/issues/triggerCheck | Trigger Quality Issues Calculation -[**validate_llm_endpoint**](SmartFunctionsApi.md#validate_llm_endpoint) | **POST** /api/v1/actions/ai/llmEndpoint/test | Validate LLM Endpoint -[**validate_llm_endpoint_by_id**](SmartFunctionsApi.md#validate_llm_endpoint_by_id) | **POST** /api/v1/actions/ai/llmEndpoint/{llmEndpointId}/test | Validate LLM Endpoint By Id +[**validate_llm_endpoint**](SmartFunctionsApi.md#validate_llm_endpoint) | **POST** /api/v1/actions/ai/llmEndpoint/test | Validate LLM Endpoint (Removed) +[**validate_llm_endpoint_by_id**](SmartFunctionsApi.md#validate_llm_endpoint_by_id) | **POST** /api/v1/actions/ai/llmEndpoint/{llmEndpointId}/test | Validate LLM Endpoint By Id (Removed) # **ai_chat** @@ -1585,11 +1585,11 @@ 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) # **resolve_llm_endpoints** -> ResolvedLlmEndpoints resolve_llm_endpoints(workspace_id) +> resolve_llm_endpoints(workspace_id) -Get Active LLM Endpoints for this workspace +Get Active LLM Endpoints for this workspace (Removed) -Will be soon removed and replaced by LlmProvider-based resolution. +Permanently removed. Use GET /api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmProviders instead. Always returns 410 Gone. ### Example @@ -1598,7 +1598,6 @@ Will be soon removed and replaced by LlmProvider-based resolution. import time import gooddata_api_client from gooddata_api_client.api import smart_functions_api -from gooddata_api_client.model.resolved_llm_endpoints import ResolvedLlmEndpoints 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. @@ -1615,9 +1614,8 @@ with gooddata_api_client.ApiClient() as api_client: # example passing only required values which don't have defaults set try: - # Get Active LLM Endpoints for this workspace - api_response = api_instance.resolve_llm_endpoints(workspace_id) - pprint(api_response) + # Get Active LLM Endpoints for this workspace (Removed) + api_instance.resolve_llm_endpoints(workspace_id) except gooddata_api_client.ApiException as e: print("Exception when calling SmartFunctionsApi->resolve_llm_endpoints: %s\n" % e) ``` @@ -1631,7 +1629,7 @@ Name | Type | Description | Notes ### Return type -[**ResolvedLlmEndpoints**](ResolvedLlmEndpoints.md) +void (empty response body) ### Authorization @@ -1640,14 +1638,14 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**410** | Gone | - | [[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) @@ -1656,7 +1654,7 @@ No authorization required Get Active LLM configuration for this workspace -Resolves the active LLM configuration for the given workspace. When the ENABLE_LLM_ENDPOINT_REPLACEMENT feature flag is enabled, returns LLM Providers with their associated models. Otherwise, falls back to the legacy LLM Endpoints. +Resolves the active LLM provider configuration for the given workspace. ### Example @@ -2083,11 +2081,11 @@ 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) # **validate_llm_endpoint** -> ValidateLLMEndpointResponse validate_llm_endpoint(validate_llm_endpoint_request) +> validate_llm_endpoint() -Validate LLM Endpoint +Validate LLM Endpoint (Removed) -Will be soon removed and replaced by testLlmProvider. +Permanently removed. Use POST /api/v1/actions/ai/llmProvider/test instead. Always returns 410 Gone. ### Example @@ -2096,8 +2094,6 @@ Will be soon removed and replaced by testLlmProvider. import time import gooddata_api_client from gooddata_api_client.api import smart_functions_api -from gooddata_api_client.model.validate_llm_endpoint_response import ValidateLLMEndpointResponse -from gooddata_api_client.model.validate_llm_endpoint_request import ValidateLLMEndpointRequest 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. @@ -2110,33 +2106,22 @@ configuration = gooddata_api_client.Configuration( with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = smart_functions_api.SmartFunctionsApi(api_client) - validate_llm_endpoint_request = ValidateLLMEndpointRequest( - base_url="base_url_example", - llm_model="llm_model_example", - llm_organization="llm_organization_example", - provider="provider_example", - token="token_example", - ) # ValidateLLMEndpointRequest | - # example passing only required values which don't have defaults set + # example, this endpoint has no required or optional parameters try: - # Validate LLM Endpoint - api_response = api_instance.validate_llm_endpoint(validate_llm_endpoint_request) - pprint(api_response) + # Validate LLM Endpoint (Removed) + api_instance.validate_llm_endpoint() except gooddata_api_client.ApiException as e: print("Exception when calling SmartFunctionsApi->validate_llm_endpoint: %s\n" % e) ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **validate_llm_endpoint_request** | [**ValidateLLMEndpointRequest**](ValidateLLMEndpointRequest.md)| | +This endpoint does not need any parameter. ### Return type -[**ValidateLLMEndpointResponse**](ValidateLLMEndpointResponse.md) +void (empty response body) ### Authorization @@ -2144,24 +2129,24 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json + - **Content-Type**: Not defined + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**410** | Gone | - | [[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) # **validate_llm_endpoint_by_id** -> ValidateLLMEndpointResponse validate_llm_endpoint_by_id(llm_endpoint_id) +> validate_llm_endpoint_by_id(llm_endpoint_id) -Validate LLM Endpoint By Id +Validate LLM Endpoint By Id (Removed) -Will be soon removed and replaced by testLlmProviderById. +Permanently removed. Use POST /api/v1/actions/ai/llmProvider/{llmProviderId}/test instead. Always returns 410 Gone. ### Example @@ -2170,8 +2155,6 @@ Will be soon removed and replaced by testLlmProviderById. import time import gooddata_api_client from gooddata_api_client.api import smart_functions_api -from gooddata_api_client.model.validate_llm_endpoint_response import ValidateLLMEndpointResponse -from gooddata_api_client.model.validate_llm_endpoint_by_id_request import ValidateLLMEndpointByIdRequest 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. @@ -2185,28 +2168,11 @@ with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = smart_functions_api.SmartFunctionsApi(api_client) llm_endpoint_id = "llmEndpointId_example" # str | - validate_llm_endpoint_by_id_request = ValidateLLMEndpointByIdRequest( - base_url="base_url_example", - llm_model="llm_model_example", - llm_organization="llm_organization_example", - provider="provider_example", - token="token_example", - ) # ValidateLLMEndpointByIdRequest | (optional) # example passing only required values which don't have defaults set try: - # Validate LLM Endpoint By Id - api_response = api_instance.validate_llm_endpoint_by_id(llm_endpoint_id) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling SmartFunctionsApi->validate_llm_endpoint_by_id: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Validate LLM Endpoint By Id - api_response = api_instance.validate_llm_endpoint_by_id(llm_endpoint_id, validate_llm_endpoint_by_id_request=validate_llm_endpoint_by_id_request) - pprint(api_response) + # Validate LLM Endpoint By Id (Removed) + api_instance.validate_llm_endpoint_by_id(llm_endpoint_id) except gooddata_api_client.ApiException as e: print("Exception when calling SmartFunctionsApi->validate_llm_endpoint_by_id: %s\n" % e) ``` @@ -2217,11 +2183,10 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **llm_endpoint_id** | **str**| | - **validate_llm_endpoint_by_id_request** | [**ValidateLLMEndpointByIdRequest**](ValidateLLMEndpointByIdRequest.md)| | [optional] ### Return type -[**ValidateLLMEndpointResponse**](ValidateLLMEndpointResponse.md) +void (empty response body) ### Authorization @@ -2229,15 +2194,15 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json + - **Content-Type**: Not defined + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**410** | Gone | - | [[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) diff --git a/gooddata-api-client/docs/SucceededOperation.md b/gooddata-api-client/docs/SucceededOperation.md index e1dc4db7e..fddf0864d 100644 --- a/gooddata-api-client/docs/SucceededOperation.md +++ b/gooddata-api-client/docs/SucceededOperation.md @@ -6,7 +6,7 @@ Operation that has succeeded Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | Id of the operation | -**kind** | **str** | Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. | +**kind** | **str** | Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. * `refresh-partition` — Refreshing a specific Hive partition (delete + re-load from S3). | **status** | **str** | | **result** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | Operation-specific result payload, can be missing for operations like delete | [optional] **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] diff --git a/gooddata-api-client/docs/TabularExportApi.md b/gooddata-api-client/docs/TabularExportApi.md index 68fe5e1eb..f40a97dcd 100644 --- a/gooddata-api-client/docs/TabularExportApi.md +++ b/gooddata-api-client/docs/TabularExportApi.md @@ -43,11 +43,27 @@ with gooddata_api_client.ApiClient() as api_client: dashboard_filters_override=[ DashboardFilter(), ], + dashboard_parameters_override=[ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], dashboard_tabs_filters_overrides={ "key": [ DashboardFilter(), ], }, + dashboard_tabs_parameters_overrides={ + "key": [ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], + }, file_name="result", format="XLSX", settings=DashboardExportSettings( diff --git a/gooddata-api-client/docs/ToolCallEventResult.md b/gooddata-api-client/docs/ToolCallEventResult.md deleted file mode 100644 index 692f44653..000000000 --- a/gooddata-api-client/docs/ToolCallEventResult.md +++ /dev/null @@ -1,15 +0,0 @@ -# ToolCallEventResult - -Tool call events emitted during the agentic loop (only present when GEN_AI_YIELD_TOOL_CALL_EVENTS is enabled). - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**function_arguments** | **str** | JSON-encoded arguments passed to the tool function. | -**function_name** | **str** | Name of the tool function that was called. | -**result** | **str** | Result returned by the tool function. | -**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) - - diff --git a/gooddata-api-client/docs/UserControllerApi.md b/gooddata-api-client/docs/UserControllerApi.md index afb13570f..9263aee51 100644 --- a/gooddata-api-client/docs/UserControllerApi.md +++ b/gooddata-api-client/docs/UserControllerApi.md @@ -47,6 +47,7 @@ with gooddata_api_client.ApiClient() as api_client: email="email_example", firstname="firstname_example", lastname="lastname_example", + system_account=True, ), id="id1", relationships=JsonApiAgentInRelationships( @@ -381,6 +382,7 @@ with gooddata_api_client.ApiClient() as api_client: email="email_example", firstname="firstname_example", lastname="lastname_example", + system_account=True, ), id="id1", relationships=JsonApiAgentInRelationships( @@ -487,6 +489,7 @@ with gooddata_api_client.ApiClient() as api_client: email="email_example", firstname="firstname_example", lastname="lastname_example", + system_account=True, ), id="id1", relationships=JsonApiAgentInRelationships( diff --git a/gooddata-api-client/docs/UserManagementUsersItem.md b/gooddata-api-client/docs/UserManagementUsersItem.md index 00544790f..258d1e46e 100644 --- a/gooddata-api-client/docs/UserManagementUsersItem.md +++ b/gooddata-api-client/docs/UserManagementUsersItem.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **data_sources** | [**[UserManagementDataSourcePermissionAssignment]**](UserManagementDataSourcePermissionAssignment.md) | | **id** | **str** | | **organization_admin** | **bool** | Is user organization admin | +**system_account** | **bool** | Is user system account | **user_groups** | [**[UserGroupIdentifier]**](UserGroupIdentifier.md) | | **workspaces** | [**[UserManagementWorkspacePermissionAssignment]**](UserManagementWorkspacePermissionAssignment.md) | | **email** | **str** | User email address | [optional] diff --git a/gooddata-api-client/docs/UsersEntityAPIsApi.md b/gooddata-api-client/docs/UsersEntityAPIsApi.md index f11fdf3bc..3694110ab 100644 --- a/gooddata-api-client/docs/UsersEntityAPIsApi.md +++ b/gooddata-api-client/docs/UsersEntityAPIsApi.md @@ -47,6 +47,7 @@ with gooddata_api_client.ApiClient() as api_client: email="email_example", firstname="firstname_example", lastname="lastname_example", + system_account=True, ), id="id1", relationships=JsonApiAgentInRelationships( @@ -381,6 +382,7 @@ with gooddata_api_client.ApiClient() as api_client: email="email_example", firstname="firstname_example", lastname="lastname_example", + system_account=True, ), id="id1", relationships=JsonApiAgentInRelationships( @@ -487,6 +489,7 @@ with gooddata_api_client.ApiClient() as api_client: email="email_example", firstname="firstname_example", lastname="lastname_example", + system_account=True, ), id="id1", relationships=JsonApiAgentInRelationships( diff --git a/gooddata-api-client/docs/ValidateLLMEndpointByIdRequest.md b/gooddata-api-client/docs/ValidateLLMEndpointByIdRequest.md deleted file mode 100644 index bec19e758..000000000 --- a/gooddata-api-client/docs/ValidateLLMEndpointByIdRequest.md +++ /dev/null @@ -1,16 +0,0 @@ -# ValidateLLMEndpointByIdRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**base_url** | **str** | Base URL for the LLM endpoint validation | [optional] -**llm_model** | **str** | LLM model for the LLM endpoint validation | [optional] -**llm_organization** | **str** | Organization name for the LLM endpoint validation | [optional] -**provider** | **str** | Provider for the LLM endpoint validation | [optional] -**token** | **str** | Token for the LLM endpoint validation | [optional] -**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) - - diff --git a/gooddata-api-client/docs/ValidateLLMEndpointRequest.md b/gooddata-api-client/docs/ValidateLLMEndpointRequest.md deleted file mode 100644 index 95b7b3c7a..000000000 --- a/gooddata-api-client/docs/ValidateLLMEndpointRequest.md +++ /dev/null @@ -1,16 +0,0 @@ -# ValidateLLMEndpointRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**provider** | **str** | Provider for the LLM endpoint validation | -**token** | **str** | Token for the LLM endpoint validation | -**base_url** | **str** | Base URL for the LLM endpoint validation | [optional] -**llm_model** | **str** | LLM model for the LLM endpoint validation | [optional] -**llm_organization** | **str** | Organization name for the LLM endpoint validation | [optional] -**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) - - diff --git a/gooddata-api-client/docs/ValidateLLMEndpointResponse.md b/gooddata-api-client/docs/ValidateLLMEndpointResponse.md deleted file mode 100644 index ac0f3534f..000000000 --- a/gooddata-api-client/docs/ValidateLLMEndpointResponse.md +++ /dev/null @@ -1,13 +0,0 @@ -# ValidateLLMEndpointResponse - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | Additional message about the LLM endpoint validation | -**successful** | **bool** | Whether the LLM endpoint validation was successful | -**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) - - diff --git a/gooddata-api-client/docs/WorkspacesDeclarativeAPIsApi.md b/gooddata-api-client/docs/WorkspacesDeclarativeAPIsApi.md index 204342059..849e1782b 100644 --- a/gooddata-api-client/docs/WorkspacesDeclarativeAPIsApi.md +++ b/gooddata-api-client/docs/WorkspacesDeclarativeAPIsApi.md @@ -716,11 +716,27 @@ with gooddata_api_client.ApiClient() as api_client: DashboardFilter(), ], dashboard_id="761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0", + dashboard_parameters_override=[ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], dashboard_tabs_filters_overrides={ "key": [ DashboardFilter(), ], }, + dashboard_tabs_parameters_overrides={ + "key": [ + DashboardParameterValue( + id="year", + title="Year", + value="2026", + ), + ], + }, file_name="result", format="XLSX", settings=DashboardExportSettings( diff --git a/gooddata-api-client/gooddata_api_client/api/actions_api.py b/gooddata-api-client/gooddata_api_client/api/actions_api.py index b0db88390..c40e4d6b1 100644 --- a/gooddata-api-client/gooddata_api_client/api/actions_api.py +++ b/gooddata-api-client/gooddata_api_client/api/actions_api.py @@ -82,12 +82,15 @@ from gooddata_api_client.model.import_csv_response import ImportCsvResponse from gooddata_api_client.model.import_geo_collection_request import ImportGeoCollectionRequest from gooddata_api_client.model.import_geo_collection_response import ImportGeoCollectionResponse +from gooddata_api_client.model.ip_allowlist_policy_targets import IpAllowlistPolicyTargets from gooddata_api_client.model.key_drivers_request import KeyDriversRequest from gooddata_api_client.model.key_drivers_response import KeyDriversResponse from gooddata_api_client.model.key_drivers_result import KeyDriversResult +from gooddata_api_client.model.ldm_object_permissions import LdmObjectPermissions from gooddata_api_client.model.list_llm_provider_models_request import ListLlmProviderModelsRequest from gooddata_api_client.model.list_llm_provider_models_response import ListLlmProviderModelsResponse from gooddata_api_client.model.locale_request import LocaleRequest +from gooddata_api_client.model.manage_attribute_permissions_request_inner import ManageAttributePermissionsRequestInner from gooddata_api_client.model.manage_dashboard_permissions_request_inner import ManageDashboardPermissionsRequestInner from gooddata_api_client.model.memory_item_created_by_users import MemoryItemCreatedByUsers from gooddata_api_client.model.notifications import Notifications @@ -103,7 +106,6 @@ from gooddata_api_client.model.read_csv_file_manifests_request import ReadCsvFileManifestsRequest from gooddata_api_client.model.read_csv_file_manifests_response import ReadCsvFileManifestsResponse from gooddata_api_client.model.resolve_settings_request import ResolveSettingsRequest -from gooddata_api_client.model.resolved_llm_endpoints import ResolvedLlmEndpoints from gooddata_api_client.model.resolved_llms import ResolvedLlms from gooddata_api_client.model.resolved_setting import ResolvedSetting from gooddata_api_client.model.result_cache_metadata import ResultCacheMetadata @@ -132,9 +134,6 @@ from gooddata_api_client.model.trigger_quality_issues_calculation_response import TriggerQualityIssuesCalculationResponse from gooddata_api_client.model.upload_file_response import UploadFileResponse from gooddata_api_client.model.upload_geo_collection_file_response import UploadGeoCollectionFileResponse -from gooddata_api_client.model.validate_llm_endpoint_by_id_request import ValidateLLMEndpointByIdRequest -from gooddata_api_client.model.validate_llm_endpoint_request import ValidateLLMEndpointRequest -from gooddata_api_client.model.validate_llm_endpoint_response import ValidateLLMEndpointResponse from gooddata_api_client.model.visual_export_request import VisualExportRequest from gooddata_api_client.model.visualization_object_execution import VisualizationObjectExecution from gooddata_api_client.model.workflow_dashboard_summary_request_dto import WorkflowDashboardSummaryRequestDto @@ -158,6 +157,60 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client + self.add_targets_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/actions/ipAllowlistPolicies/{id}/addTargets', + 'operation_id': 'add_targets', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'ip_allowlist_policy_targets', + ], + 'required': [ + 'id', + 'ip_allowlist_policy_targets', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'id': + (str,), + 'ip_allowlist_policy_targets': + (IpAllowlistPolicyTargets,), + }, + 'attribute_map': { + 'id': 'id', + }, + 'location_map': { + 'id': 'path', + 'ip_allowlist_policy_targets': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.ai_chat_endpoint = _Endpoint( settings={ 'response_type': (ChatResult,), @@ -704,6 +757,61 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.attribute_permissions_endpoint = _Endpoint( + settings={ + 'response_type': (LdmObjectPermissions,), + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/attributes/{attributeId}/permissions', + 'operation_id': 'attribute_permissions', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'attribute_id', + ], + 'required': [ + 'workspace_id', + 'attribute_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'attribute_id': + (str,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'attribute_id': 'attributeId', + }, + 'location_map': { + 'workspace_id': 'path', + 'attribute_id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) self.available_assignees_endpoint = _Endpoint( settings={ 'response_type': (AvailableAssignees,), @@ -2533,6 +2641,61 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.fact_permissions_endpoint = _Endpoint( + settings={ + 'response_type': (LdmObjectPermissions,), + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/facts/{factId}/permissions', + 'operation_id': 'fact_permissions', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'fact_id', + ], + 'required': [ + 'workspace_id', + 'fact_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'fact_id': + (str,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'fact_id': 'factId', + }, + 'location_map': { + 'workspace_id': 'path', + 'fact_id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) self.forecast_endpoint = _Endpoint( settings={ 'response_type': (SmartFunctionResponse,), @@ -4199,6 +4362,61 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.label_permissions_endpoint = _Endpoint( + settings={ + 'response_type': (LdmObjectPermissions,), + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/labels/{labelId}/permissions', + 'operation_id': 'label_permissions', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'label_id', + ], + 'required': [ + 'workspace_id', + 'label_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'label_id': + (str,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'label_id': 'labelId', + }, + 'location_map': { + 'workspace_id': 'path', + 'label_id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) self.list_files_endpoint = _Endpoint( settings={ 'response_type': ([GdStorageFile],), @@ -4475,6 +4693,66 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.manage_attribute_permissions_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/attributes/{attributeId}/managePermissions', + 'operation_id': 'manage_attribute_permissions', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'attribute_id', + 'manage_attribute_permissions_request_inner', + ], + 'required': [ + 'workspace_id', + 'attribute_id', + 'manage_attribute_permissions_request_inner', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'attribute_id': + (str,), + 'manage_attribute_permissions_request_inner': + ([ManageAttributePermissionsRequestInner],), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'attribute_id': 'attributeId', + }, + 'location_map': { + 'workspace_id': 'path', + 'attribute_id': 'path', + 'manage_attribute_permissions_request_inner': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.manage_dashboard_permissions_endpoint = _Endpoint( settings={ 'response_type': None, @@ -4589,21 +4867,25 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.manage_organization_permissions_endpoint = _Endpoint( + self.manage_fact_permissions_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': [], - 'endpoint_path': '/api/v1/actions/organization/managePermissions', - 'operation_id': 'manage_organization_permissions', + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/facts/{factId}/managePermissions', + 'operation_id': 'manage_fact_permissions', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'organization_permission_assignment', + 'workspace_id', + 'fact_id', + 'manage_attribute_permissions_request_inner', ], 'required': [ - 'organization_permission_assignment', + 'workspace_id', + 'fact_id', + 'manage_attribute_permissions_request_inner', ], 'nullable': [ ], @@ -4618,13 +4900,21 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'organization_permission_assignment': - ([OrganizationPermissionAssignment],), + 'workspace_id': + (str,), + 'fact_id': + (str,), + 'manage_attribute_permissions_request_inner': + ([ManageAttributePermissionsRequestInner],), }, 'attribute_map': { + 'workspace_id': 'workspaceId', + 'fact_id': 'factId', }, 'location_map': { - 'organization_permission_assignment': 'body', + 'workspace_id': 'path', + 'fact_id': 'path', + 'manage_attribute_permissions_request_inner': 'body', }, 'collection_format_map': { } @@ -4637,23 +4927,25 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.manage_workspace_permissions_endpoint = _Endpoint( + self.manage_label_permissions_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': [], - 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/managePermissions', - 'operation_id': 'manage_workspace_permissions', + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/labels/{labelId}/managePermissions', + 'operation_id': 'manage_label_permissions', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'workspace_id', - 'workspace_permission_assignment', + 'label_id', + 'manage_attribute_permissions_request_inner', ], 'required': [ 'workspace_id', - 'workspace_permission_assignment', + 'label_id', + 'manage_attribute_permissions_request_inner', ], 'nullable': [ ], @@ -4670,15 +4962,19 @@ def __init__(self, api_client=None): 'openapi_types': { 'workspace_id': (str,), - 'workspace_permission_assignment': - ([WorkspacePermissionAssignment],), + 'label_id': + (str,), + 'manage_attribute_permissions_request_inner': + ([ManageAttributePermissionsRequestInner],), }, 'attribute_map': { 'workspace_id': 'workspaceId', + 'label_id': 'labelId', }, 'location_map': { 'workspace_id': 'path', - 'workspace_permission_assignment': 'body', + 'label_id': 'path', + 'manage_attribute_permissions_request_inner': 'body', }, 'collection_format_map': { } @@ -4691,12 +4987,114 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.mark_as_read_notification_endpoint = _Endpoint( + self.manage_organization_permissions_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': [], - 'endpoint_path': '/api/v1/actions/notifications/{notificationId}/markAsRead', - 'operation_id': 'mark_as_read_notification', + 'endpoint_path': '/api/v1/actions/organization/managePermissions', + 'operation_id': 'manage_organization_permissions', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'organization_permission_assignment', + ], + 'required': [ + 'organization_permission_assignment', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'organization_permission_assignment': + ([OrganizationPermissionAssignment],), + }, + 'attribute_map': { + }, + 'location_map': { + 'organization_permission_assignment': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.manage_workspace_permissions_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/managePermissions', + 'operation_id': 'manage_workspace_permissions', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'workspace_permission_assignment', + ], + 'required': [ + 'workspace_id', + 'workspace_permission_assignment', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'workspace_permission_assignment': + ([WorkspacePermissionAssignment],), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + }, + 'location_map': { + 'workspace_id': 'path', + 'workspace_permission_assignment': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.mark_as_read_notification_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/actions/notifications/{notificationId}/markAsRead', + 'operation_id': 'mark_as_read_notification', 'http_method': 'POST', 'servers': None, }, @@ -5417,6 +5815,60 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.remove_targets_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/actions/ipAllowlistPolicies/{id}/removeTargets', + 'operation_id': 'remove_targets', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'ip_allowlist_policy_targets', + ], + 'required': [ + 'id', + 'ip_allowlist_policy_targets', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'id': + (str,), + 'ip_allowlist_policy_targets': + (IpAllowlistPolicyTargets,), + }, + 'attribute_map': { + 'id': 'id', + }, + 'location_map': { + 'id': 'path', + 'ip_allowlist_policy_targets': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.resolve_all_entitlements_endpoint = _Endpoint( settings={ 'response_type': ([ApiEntitlement],), @@ -5508,7 +5960,7 @@ def __init__(self, api_client=None): ) self.resolve_llm_endpoints_endpoint = _Endpoint( settings={ - 'response_type': (ResolvedLlmEndpoints,), + 'response_type': None, 'auth': [], 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmEndpoints', 'operation_id': 'resolve_llm_endpoints', @@ -5555,9 +6007,7 @@ def __init__(self, api_client=None): } }, headers_map={ - 'accept': [ - 'application/json' - ], + 'accept': [], 'content_type': [], }, api_client=api_client @@ -7327,7 +7777,7 @@ def __init__(self, api_client=None): ) self.validate_llm_endpoint_endpoint = _Endpoint( settings={ - 'response_type': (ValidateLLMEndpointResponse,), + 'response_type': None, 'auth': [], 'endpoint_path': '/api/v1/actions/ai/llmEndpoint/test', 'operation_id': 'validate_llm_endpoint', @@ -7336,11 +7786,8 @@ def __init__(self, api_client=None): }, params_map={ 'all': [ - 'validate_llm_endpoint_request', - ], - 'required': [ - 'validate_llm_endpoint_request', ], + 'required': [], 'nullable': [ ], 'enum': [ @@ -7354,30 +7801,23 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'validate_llm_endpoint_request': - (ValidateLLMEndpointRequest,), }, 'attribute_map': { }, 'location_map': { - 'validate_llm_endpoint_request': 'body', }, 'collection_format_map': { } }, headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] + 'accept': [], + 'content_type': [], }, api_client=api_client ) self.validate_llm_endpoint_by_id_endpoint = _Endpoint( settings={ - 'response_type': (ValidateLLMEndpointResponse,), + 'response_type': None, 'auth': [], 'endpoint_path': '/api/v1/actions/ai/llmEndpoint/{llmEndpointId}/test', 'operation_id': 'validate_llm_endpoint_by_id', @@ -7387,7 +7827,6 @@ def __init__(self, api_client=None): params_map={ 'all': [ 'llm_endpoint_id', - 'validate_llm_endpoint_by_id_request', ], 'required': [ 'llm_endpoint_id', @@ -7407,26 +7846,19 @@ def __init__(self, api_client=None): 'openapi_types': { 'llm_endpoint_id': (str,), - 'validate_llm_endpoint_by_id_request': - (ValidateLLMEndpointByIdRequest,), }, 'attribute_map': { 'llm_endpoint_id': 'llmEndpointId', }, 'location_map': { 'llm_endpoint_id': 'path', - 'validate_llm_endpoint_by_id_request': 'body', }, 'collection_format_map': { } }, headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] + 'accept': [], + 'content_type': [], }, api_client=api_client ) @@ -7546,6 +7978,92 @@ def __init__(self, api_client=None): api_client=api_client ) + def add_targets( + self, + id, + ip_allowlist_policy_targets, + **kwargs + ): + """Add targets to IP allowlist policy # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.add_targets(id, ip_allowlist_policy_targets, async_req=True) + >>> result = thread.get() + + Args: + id (str): + ip_allowlist_policy_targets (IpAllowlistPolicyTargets): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['id'] = \ + id + kwargs['ip_allowlist_policy_targets'] = \ + ip_allowlist_policy_targets + return self.add_targets_endpoint.call_with_http_info(**kwargs) + def ai_chat( self, workspace_id, @@ -8319,23 +8837,23 @@ def anomaly_detection_result( result_id return self.anomaly_detection_result_endpoint.call_with_http_info(**kwargs) - def available_assignees( + def attribute_permissions( self, workspace_id, - dashboard_id, + attribute_id, **kwargs ): - """Get Available Assignees # noqa: E501 + """Get Attribute Permissions # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.available_assignees(workspace_id, dashboard_id, async_req=True) + >>> thread = api.attribute_permissions(workspace_id, attribute_id, async_req=True) >>> result = thread.get() Args: workspace_id (str): - dashboard_id (str): + attribute_id (str): Keyword Args: _return_http_data_only (bool): response data without head status @@ -8370,7 +8888,7 @@ def available_assignees( async_req (bool): execute request asynchronously Returns: - AvailableAssignees + LdmObjectPermissions If the method is called asynchronously, returns the request thread. """ @@ -8401,14 +8919,100 @@ def available_assignees( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - kwargs['dashboard_id'] = \ - dashboard_id - return self.available_assignees_endpoint.call_with_http_info(**kwargs) + kwargs['attribute_id'] = \ + attribute_id + return self.attribute_permissions_endpoint.call_with_http_info(**kwargs) - def cancel_executions( + def available_assignees( self, workspace_id, - afm_cancel_tokens, + dashboard_id, + **kwargs + ): + """Get Available Assignees # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.available_assignees(workspace_id, dashboard_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + dashboard_id (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + AvailableAssignees + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['dashboard_id'] = \ + dashboard_id + return self.available_assignees_endpoint.call_with_http_info(**kwargs) + + def cancel_executions( + self, + workspace_id, + afm_cancel_tokens, **kwargs ): """Applies all the given cancel tokens. # noqa: E501 @@ -10920,6 +11524,92 @@ def explain_afm( afm_execution return self.explain_afm_endpoint.call_with_http_info(**kwargs) + def fact_permissions( + self, + workspace_id, + fact_id, + **kwargs + ): + """Get Fact Permissions # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.fact_permissions(workspace_id, fact_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + fact_id (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + LdmObjectPermissions + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['fact_id'] = \ + fact_id + return self.fact_permissions_endpoint.call_with_http_info(**kwargs) + def forecast( self, workspace_id, @@ -13171,15 +13861,358 @@ def key_driver_analysis( This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.key_driver_analysis(workspace_id, key_drivers_request, async_req=True) + >>> thread = api.key_driver_analysis(workspace_id, key_drivers_request, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): Workspace identifier + key_drivers_request (KeyDriversRequest): + + Keyword Args: + skip_cache (bool): Ignore all caches during execution of current request.. [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + KeyDriversResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['key_drivers_request'] = \ + key_drivers_request + return self.key_driver_analysis_endpoint.call_with_http_info(**kwargs) + + def key_driver_analysis_result( + self, + workspace_id, + result_id, + **kwargs + ): + """(EXPERIMENTAL) Get key driver analysis result # noqa: E501 + + (EXPERIMENTAL) Gets key driver analysis. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.key_driver_analysis_result(workspace_id, result_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): Workspace identifier + result_id (str): Result ID + + Keyword Args: + offset (int): [optional] + limit (int): [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + KeyDriversResult + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['result_id'] = \ + result_id + return self.key_driver_analysis_result_endpoint.call_with_http_info(**kwargs) + + def label_permissions( + self, + workspace_id, + label_id, + **kwargs + ): + """Get Label Permissions # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.label_permissions(workspace_id, label_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + label_id (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + LdmObjectPermissions + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['label_id'] = \ + label_id + return self.label_permissions_endpoint.call_with_http_info(**kwargs) + + def list_files( + self, + data_source_id, + **kwargs + ): + """List datasource files # noqa: E501 + + List all the files in the given data source. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.list_files(data_source_id, async_req=True) + >>> result = thread.get() + + Args: + data_source_id (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + [GdStorageFile] + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['data_source_id'] = \ + data_source_id + return self.list_files_endpoint.call_with_http_info(**kwargs) + + def list_llm_provider_models( + self, + list_llm_provider_models_request, + **kwargs + ): + """List LLM Provider Models # noqa: E501 + + Lists models available on an LLM provider with a full definition. For Azure AI Foundry providers, the model family will be set to UNKNOWN because the endpoint does not expose the family. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.list_llm_provider_models(list_llm_provider_models_request, async_req=True) >>> result = thread.get() Args: - workspace_id (str): Workspace identifier - key_drivers_request (KeyDriversRequest): + list_llm_provider_models_request (ListLlmProviderModelsRequest): Keyword Args: - skip_cache (bool): Ignore all caches during execution of current request.. [optional] if omitted the server will use the default value of False _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -13212,7 +14245,7 @@ def key_driver_analysis( async_req (bool): execute request asynchronously Returns: - KeyDriversResponse + ListLlmProviderModelsResponse If the method is called asynchronously, returns the request thread. """ @@ -13241,34 +14274,28 @@ def key_driver_analysis( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['workspace_id'] = \ - workspace_id - kwargs['key_drivers_request'] = \ - key_drivers_request - return self.key_driver_analysis_endpoint.call_with_http_info(**kwargs) + kwargs['list_llm_provider_models_request'] = \ + list_llm_provider_models_request + return self.list_llm_provider_models_endpoint.call_with_http_info(**kwargs) - def key_driver_analysis_result( + def list_llm_provider_models_by_id( self, - workspace_id, - result_id, + llm_provider_id, **kwargs ): - """(EXPERIMENTAL) Get key driver analysis result # noqa: E501 + """List LLM Provider Models By Id # noqa: E501 - (EXPERIMENTAL) Gets key driver analysis. # noqa: E501 + Lists models available on an existing LLM provider by its ID. For Azure AI Foundry providers, the model family will be set to UNKNOWN because the endpoint does not expose the family. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.key_driver_analysis_result(workspace_id, result_id, async_req=True) + >>> thread = api.list_llm_provider_models_by_id(llm_provider_id, async_req=True) >>> result = thread.get() Args: - workspace_id (str): Workspace identifier - result_id (str): Result ID + llm_provider_id (str): Keyword Args: - offset (int): [optional] - limit (int): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -13301,7 +14328,7 @@ def key_driver_analysis_result( async_req (bool): execute request asynchronously Returns: - KeyDriversResult + ListLlmProviderModelsResponse If the method is called asynchronously, returns the request thread. """ @@ -13330,30 +14357,30 @@ def key_driver_analysis_result( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['workspace_id'] = \ - workspace_id - kwargs['result_id'] = \ - result_id - return self.key_driver_analysis_result_endpoint.call_with_http_info(**kwargs) + kwargs['llm_provider_id'] = \ + llm_provider_id + return self.list_llm_provider_models_by_id_endpoint.call_with_http_info(**kwargs) - def list_files( + def list_workspace_user_groups( self, - data_source_id, + workspace_id, **kwargs ): - """List datasource files # noqa: E501 + """list_workspace_user_groups # noqa: E501 - List all the files in the given data source. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_files(data_source_id, async_req=True) + >>> thread = api.list_workspace_user_groups(workspace_id, async_req=True) >>> result = thread.get() Args: - data_source_id (str): + workspace_id (str): Keyword Args: + page (int): Zero-based page index (0..N). [optional] if omitted the server will use the default value of 0 + size (int): The size of the page to be returned.. [optional] if omitted the server will use the default value of 20 + name (str): Filter by user name. Note that user name is case insensitive.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -13386,7 +14413,7 @@ def list_files( async_req (bool): execute request asynchronously Returns: - [GdStorageFile] + WorkspaceUserGroups If the method is called asynchronously, returns the request thread. """ @@ -13415,28 +14442,30 @@ def list_files( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['data_source_id'] = \ - data_source_id - return self.list_files_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + return self.list_workspace_user_groups_endpoint.call_with_http_info(**kwargs) - def list_llm_provider_models( + def list_workspace_users( self, - list_llm_provider_models_request, + workspace_id, **kwargs ): - """List LLM Provider Models # noqa: E501 + """list_workspace_users # noqa: E501 - Lists models available on an LLM provider with a full definition. For Azure AI Foundry providers, the model family will be set to UNKNOWN because the endpoint does not expose the family. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_llm_provider_models(list_llm_provider_models_request, async_req=True) + >>> thread = api.list_workspace_users(workspace_id, async_req=True) >>> result = thread.get() Args: - list_llm_provider_models_request (ListLlmProviderModelsRequest): + workspace_id (str): Keyword Args: + page (int): Zero-based page index (0..N). [optional] if omitted the server will use the default value of 0 + size (int): The size of the page to be returned.. [optional] if omitted the server will use the default value of 20 + name (str): Filter by user name. Note that user name is case insensitive.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -13469,7 +14498,7 @@ def list_llm_provider_models( async_req (bool): execute request asynchronously Returns: - ListLlmProviderModelsResponse + WorkspaceUsers If the method is called asynchronously, returns the request thread. """ @@ -13498,26 +14527,29 @@ def list_llm_provider_models( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['list_llm_provider_models_request'] = \ - list_llm_provider_models_request - return self.list_llm_provider_models_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + return self.list_workspace_users_endpoint.call_with_http_info(**kwargs) - def list_llm_provider_models_by_id( + def manage_attribute_permissions( self, - llm_provider_id, + workspace_id, + attribute_id, + manage_attribute_permissions_request_inner, **kwargs ): - """List LLM Provider Models By Id # noqa: E501 + """Manage Permissions for an Attribute # noqa: E501 - Lists models available on an existing LLM provider by its ID. For Azure AI Foundry providers, the model family will be set to UNKNOWN because the endpoint does not expose the family. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_llm_provider_models_by_id(llm_provider_id, async_req=True) + >>> thread = api.manage_attribute_permissions(workspace_id, attribute_id, manage_attribute_permissions_request_inner, async_req=True) >>> result = thread.get() Args: - llm_provider_id (str): + workspace_id (str): + attribute_id (str): + manage_attribute_permissions_request_inner ([ManageAttributePermissionsRequestInner]): Keyword Args: _return_http_data_only (bool): response data without head status @@ -13552,7 +14584,7 @@ def list_llm_provider_models_by_id( async_req (bool): execute request asynchronously Returns: - ListLlmProviderModelsResponse + None If the method is called asynchronously, returns the request thread. """ @@ -13581,30 +14613,35 @@ def list_llm_provider_models_by_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['llm_provider_id'] = \ - llm_provider_id - return self.list_llm_provider_models_by_id_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['attribute_id'] = \ + attribute_id + kwargs['manage_attribute_permissions_request_inner'] = \ + manage_attribute_permissions_request_inner + return self.manage_attribute_permissions_endpoint.call_with_http_info(**kwargs) - def list_workspace_user_groups( + def manage_dashboard_permissions( self, workspace_id, + dashboard_id, + manage_dashboard_permissions_request_inner, **kwargs ): - """list_workspace_user_groups # noqa: E501 + """Manage Permissions for a Dashboard # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_workspace_user_groups(workspace_id, async_req=True) + >>> thread = api.manage_dashboard_permissions(workspace_id, dashboard_id, manage_dashboard_permissions_request_inner, async_req=True) >>> result = thread.get() Args: workspace_id (str): + dashboard_id (str): + manage_dashboard_permissions_request_inner ([ManageDashboardPermissionsRequestInner]): Keyword Args: - page (int): Zero-based page index (0..N). [optional] if omitted the server will use the default value of 0 - size (int): The size of the page to be returned.. [optional] if omitted the server will use the default value of 20 - name (str): Filter by user name. Note that user name is case insensitive.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -13637,7 +14674,7 @@ def list_workspace_user_groups( async_req (bool): execute request asynchronously Returns: - WorkspaceUserGroups + None If the method is called asynchronously, returns the request thread. """ @@ -13668,28 +14705,32 @@ def list_workspace_user_groups( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - return self.list_workspace_user_groups_endpoint.call_with_http_info(**kwargs) + kwargs['dashboard_id'] = \ + dashboard_id + kwargs['manage_dashboard_permissions_request_inner'] = \ + manage_dashboard_permissions_request_inner + return self.manage_dashboard_permissions_endpoint.call_with_http_info(**kwargs) - def list_workspace_users( + def manage_data_source_permissions( self, - workspace_id, + data_source_id, + data_source_permission_assignment, **kwargs ): - """list_workspace_users # noqa: E501 + """Manage Permissions for a Data Source # noqa: E501 + Manage Permissions for a Data Source # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_workspace_users(workspace_id, async_req=True) + >>> thread = api.manage_data_source_permissions(data_source_id, data_source_permission_assignment, async_req=True) >>> result = thread.get() Args: - workspace_id (str): + data_source_id (str): + data_source_permission_assignment ([DataSourcePermissionAssignment]): Keyword Args: - page (int): Zero-based page index (0..N). [optional] if omitted the server will use the default value of 0 - size (int): The size of the page to be returned.. [optional] if omitted the server will use the default value of 20 - name (str): Filter by user name. Note that user name is case insensitive.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -13722,7 +14763,7 @@ def list_workspace_users( async_req (bool): execute request asynchronously Returns: - WorkspaceUsers + None If the method is called asynchronously, returns the request thread. """ @@ -13751,29 +14792,31 @@ def list_workspace_users( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['workspace_id'] = \ - workspace_id - return self.list_workspace_users_endpoint.call_with_http_info(**kwargs) + kwargs['data_source_id'] = \ + data_source_id + kwargs['data_source_permission_assignment'] = \ + data_source_permission_assignment + return self.manage_data_source_permissions_endpoint.call_with_http_info(**kwargs) - def manage_dashboard_permissions( + def manage_fact_permissions( self, workspace_id, - dashboard_id, - manage_dashboard_permissions_request_inner, + fact_id, + manage_attribute_permissions_request_inner, **kwargs ): - """Manage Permissions for a Dashboard # noqa: E501 + """Manage Permissions for a Fact # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.manage_dashboard_permissions(workspace_id, dashboard_id, manage_dashboard_permissions_request_inner, async_req=True) + >>> thread = api.manage_fact_permissions(workspace_id, fact_id, manage_attribute_permissions_request_inner, async_req=True) >>> result = thread.get() Args: workspace_id (str): - dashboard_id (str): - manage_dashboard_permissions_request_inner ([ManageDashboardPermissionsRequestInner]): + fact_id (str): + manage_attribute_permissions_request_inner ([ManageAttributePermissionsRequestInner]): Keyword Args: _return_http_data_only (bool): response data without head status @@ -13839,30 +14882,31 @@ def manage_dashboard_permissions( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - kwargs['dashboard_id'] = \ - dashboard_id - kwargs['manage_dashboard_permissions_request_inner'] = \ - manage_dashboard_permissions_request_inner - return self.manage_dashboard_permissions_endpoint.call_with_http_info(**kwargs) + kwargs['fact_id'] = \ + fact_id + kwargs['manage_attribute_permissions_request_inner'] = \ + manage_attribute_permissions_request_inner + return self.manage_fact_permissions_endpoint.call_with_http_info(**kwargs) - def manage_data_source_permissions( + def manage_label_permissions( self, - data_source_id, - data_source_permission_assignment, + workspace_id, + label_id, + manage_attribute_permissions_request_inner, **kwargs ): - """Manage Permissions for a Data Source # noqa: E501 + """Manage Permissions for a Label # noqa: E501 - Manage Permissions for a Data Source # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.manage_data_source_permissions(data_source_id, data_source_permission_assignment, async_req=True) + >>> thread = api.manage_label_permissions(workspace_id, label_id, manage_attribute_permissions_request_inner, async_req=True) >>> result = thread.get() Args: - data_source_id (str): - data_source_permission_assignment ([DataSourcePermissionAssignment]): + workspace_id (str): + label_id (str): + manage_attribute_permissions_request_inner ([ManageAttributePermissionsRequestInner]): Keyword Args: _return_http_data_only (bool): response data without head status @@ -13926,11 +14970,13 @@ def manage_data_source_permissions( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['data_source_id'] = \ - data_source_id - kwargs['data_source_permission_assignment'] = \ - data_source_permission_assignment - return self.manage_data_source_permissions_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['label_id'] = \ + label_id + kwargs['manage_attribute_permissions_request_inner'] = \ + manage_attribute_permissions_request_inner + return self.manage_label_permissions_endpoint.call_with_http_info(**kwargs) def manage_organization_permissions( self, @@ -15272,6 +16318,92 @@ def register_workspace_upload_notification( workspace_id return self.register_workspace_upload_notification_endpoint.call_with_http_info(**kwargs) + def remove_targets( + self, + id, + ip_allowlist_policy_targets, + **kwargs + ): + """Remove targets from IP allowlist policy # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.remove_targets(id, ip_allowlist_policy_targets, async_req=True) + >>> result = thread.get() + + Args: + id (str): + ip_allowlist_policy_targets (IpAllowlistPolicyTargets): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['id'] = \ + id + kwargs['ip_allowlist_policy_targets'] = \ + ip_allowlist_policy_targets + return self.remove_targets_endpoint.call_with_http_info(**kwargs) + def resolve_all_entitlements( self, **kwargs @@ -15434,9 +16566,9 @@ def resolve_llm_endpoints( workspace_id, **kwargs ): - """Get Active LLM Endpoints for this workspace # noqa: E501 + """Get Active LLM Endpoints for this workspace (Removed) # noqa: E501 - Will be soon removed and replaced by LlmProvider-based resolution. # noqa: E501 + Permanently removed. Use GET /api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmProviders instead. Always returns 410 Gone. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -15479,7 +16611,7 @@ def resolve_llm_endpoints( async_req (bool): execute request asynchronously Returns: - ResolvedLlmEndpoints + None If the method is called asynchronously, returns the request thread. """ @@ -15519,7 +16651,7 @@ def resolve_llm_providers( ): """Get Active LLM configuration for this workspace # noqa: E501 - Resolves the active LLM configuration for the given workspace. When the ENABLE_LLM_ENDPOINT_REPLACEMENT feature flag is enabled, returns LLM Providers with their associated models. Otherwise, falls back to the legacy LLM Endpoints. # noqa: E501 + Resolves the active LLM provider configuration for the given workspace. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -18226,20 +19358,17 @@ def unsubscribe_workspace_automations( def validate_llm_endpoint( self, - validate_llm_endpoint_request, **kwargs ): - """Validate LLM Endpoint # noqa: E501 + """Validate LLM Endpoint (Removed) # noqa: E501 - Will be soon removed and replaced by testLlmProvider. # noqa: E501 + Permanently removed. Use POST /api/v1/actions/ai/llmProvider/test instead. Always returns 410 Gone. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.validate_llm_endpoint(validate_llm_endpoint_request, async_req=True) + >>> thread = api.validate_llm_endpoint(async_req=True) >>> result = thread.get() - Args: - validate_llm_endpoint_request (ValidateLLMEndpointRequest): Keyword Args: _return_http_data_only (bool): response data without head status @@ -18274,7 +19403,7 @@ def validate_llm_endpoint( async_req (bool): execute request asynchronously Returns: - ValidateLLMEndpointResponse + None If the method is called asynchronously, returns the request thread. """ @@ -18303,8 +19432,6 @@ def validate_llm_endpoint( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['validate_llm_endpoint_request'] = \ - validate_llm_endpoint_request return self.validate_llm_endpoint_endpoint.call_with_http_info(**kwargs) def validate_llm_endpoint_by_id( @@ -18312,9 +19439,9 @@ def validate_llm_endpoint_by_id( llm_endpoint_id, **kwargs ): - """Validate LLM Endpoint By Id # noqa: E501 + """Validate LLM Endpoint By Id (Removed) # noqa: E501 - Will be soon removed and replaced by testLlmProviderById. # noqa: E501 + Permanently removed. Use POST /api/v1/actions/ai/llmProvider/{llmProviderId}/test instead. Always returns 410 Gone. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -18325,7 +19452,6 @@ def validate_llm_endpoint_by_id( llm_endpoint_id (str): Keyword Args: - validate_llm_endpoint_by_id_request (ValidateLLMEndpointByIdRequest): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -18358,7 +19484,7 @@ def validate_llm_endpoint_by_id( async_req (bool): execute request asynchronously Returns: - ValidateLLMEndpointResponse + None If the method is called asynchronously, returns the request thread. """ diff --git a/gooddata-api-client/gooddata_api_client/api/ai_lake_api.py b/gooddata-api-client/gooddata_api_client/api/ai_lake_api.py index b154e45b5..76ae893f0 100644 --- a/gooddata-api-client/gooddata_api_client/api/ai_lake_api.py +++ b/gooddata-api-client/gooddata_api_client/api/ai_lake_api.py @@ -26,16 +26,17 @@ from gooddata_api_client.model.add_database_data_source_response import AddDatabaseDataSourceResponse from gooddata_api_client.model.analyze_statistics_request import AnalyzeStatisticsRequest from gooddata_api_client.model.create_pipe_table_request import CreatePipeTableRequest -from gooddata_api_client.model.database_instance import DatabaseInstance from gooddata_api_client.model.get_ai_lake_operation200_response import GetAiLakeOperation200Response from gooddata_api_client.model.get_service_status_response import GetServiceStatusResponse -from gooddata_api_client.model.list_database_data_sources_response import ListDatabaseDataSourcesResponse -from gooddata_api_client.model.list_database_instances_response import ListDatabaseInstancesResponse -from gooddata_api_client.model.list_object_storages_response import ListObjectStoragesResponse -from gooddata_api_client.model.list_pipe_tables_response import ListPipeTablesResponse -from gooddata_api_client.model.list_services_response import ListServicesResponse -from gooddata_api_client.model.pipe_table import PipeTable +from gooddata_api_client.model.json_api_document_database_instance import JsonApiDocumentDatabaseInstance +from gooddata_api_client.model.json_api_document_pipe_table import JsonApiDocumentPipeTable +from gooddata_api_client.model.json_api_list_document_data_source_info import JsonApiListDocumentDataSourceInfo +from gooddata_api_client.model.json_api_list_document_database_instance import JsonApiListDocumentDatabaseInstance +from gooddata_api_client.model.json_api_list_document_object_storage_info import JsonApiListDocumentObjectStorageInfo +from gooddata_api_client.model.json_api_list_document_pipe_table_summary import JsonApiListDocumentPipeTableSummary +from gooddata_api_client.model.json_api_list_document_service_info import JsonApiListDocumentServiceInfo from gooddata_api_client.model.provision_database_instance_request import ProvisionDatabaseInstanceRequest +from gooddata_api_client.model.refresh_partition_request import RefreshPartitionRequest from gooddata_api_client.model.remove_database_data_source_response import RemoveDatabaseDataSourceResponse from gooddata_api_client.model.run_service_command_request import RunServiceCommandRequest from gooddata_api_client.model.update_database_data_source_request import UpdateDatabaseDataSourceRequest @@ -347,7 +348,7 @@ def __init__(self, api_client=None): ) self.get_ai_lake_database_instance_endpoint = _Endpoint( settings={ - 'response_type': (DatabaseInstance,), + 'response_type': (JsonApiDocumentDatabaseInstance,), 'auth': [], 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}', 'operation_id': 'get_ai_lake_database_instance', @@ -445,7 +446,7 @@ def __init__(self, api_client=None): ) self.get_ai_lake_pipe_table_endpoint = _Endpoint( settings={ - 'response_type': (PipeTable,), + 'response_type': (JsonApiDocumentPipeTable,), 'auth': [], 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName}', 'operation_id': 'get_ai_lake_pipe_table', @@ -549,7 +550,7 @@ def __init__(self, api_client=None): ) self.list_ai_lake_database_data_sources_endpoint = _Endpoint( settings={ - 'response_type': (ListDatabaseDataSourcesResponse,), + 'response_type': (JsonApiListDocumentDataSourceInfo,), 'auth': [], 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}/dataSources', 'operation_id': 'list_ai_lake_database_data_sources', @@ -559,6 +560,9 @@ def __init__(self, api_client=None): params_map={ 'all': [ 'instance_id', + 'page', + 'size', + 'meta_include', ], 'required': [ 'instance_id', @@ -568,24 +572,49 @@ def __init__(self, api_client=None): 'enum': [ ], 'validation': [ + 'page', + 'size', + 'meta_include', ] }, root_map={ 'validations': { + ('page',): { + + }, + ('size',): { + + }, + ('meta_include',): { + + }, }, 'allowed_values': { }, 'openapi_types': { 'instance_id': (str,), + 'page': + (str,), + 'size': + (str,), + 'meta_include': + ([str],), }, 'attribute_map': { 'instance_id': 'instanceId', + 'page': 'page', + 'size': 'size', + 'meta_include': 'metaInclude', }, 'location_map': { 'instance_id': 'path', + 'page': 'query', + 'size': 'query', + 'meta_include': 'query', }, 'collection_format_map': { + 'meta_include': 'multi', } }, headers_map={ @@ -598,7 +627,7 @@ def __init__(self, api_client=None): ) self.list_ai_lake_database_instances_endpoint = _Endpoint( settings={ - 'response_type': (ListDatabaseInstancesResponse,), + 'response_type': (JsonApiListDocumentDatabaseInstance,), 'auth': [], 'endpoint_path': '/api/v1/ailake/database/instances', 'operation_id': 'list_ai_lake_database_instances', @@ -607,8 +636,8 @@ def __init__(self, api_client=None): }, params_map={ 'all': [ + 'page', 'size', - 'offset', 'meta_include', ], 'required': [], @@ -617,11 +646,19 @@ def __init__(self, api_client=None): 'enum': [ ], 'validation': [ + 'page', + 'size', 'meta_include', ] }, root_map={ 'validations': { + ('page',): { + + }, + ('size',): { + + }, ('meta_include',): { }, @@ -629,21 +666,21 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { + 'page': + (str,), 'size': - (int,), - 'offset': - (int,), + (str,), 'meta_include': ([str],), }, 'attribute_map': { + 'page': 'page', 'size': 'size', - 'offset': 'offset', 'meta_include': 'metaInclude', }, 'location_map': { + 'page': 'query', 'size': 'query', - 'offset': 'query', 'meta_include': 'query', }, 'collection_format_map': { @@ -660,15 +697,18 @@ def __init__(self, api_client=None): ) self.list_ai_lake_object_storages_endpoint = _Endpoint( settings={ - 'response_type': (ListObjectStoragesResponse,), + 'response_type': (JsonApiListDocumentObjectStorageInfo,), 'auth': [], - 'endpoint_path': '/api/v1/ailake/object-storages', + 'endpoint_path': '/api/v1/ailake/objectStorages', 'operation_id': 'list_ai_lake_object_storages', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ + 'page', + 'size', + 'meta_include', ], 'required': [], 'nullable': [ @@ -676,20 +716,45 @@ def __init__(self, api_client=None): 'enum': [ ], 'validation': [ + 'page', + 'size', + 'meta_include', ] }, root_map={ 'validations': { + ('page',): { + + }, + ('size',): { + + }, + ('meta_include',): { + + }, }, 'allowed_values': { }, 'openapi_types': { + 'page': + (str,), + 'size': + (str,), + 'meta_include': + ([str],), }, 'attribute_map': { + 'page': 'page', + 'size': 'size', + 'meta_include': 'metaInclude', }, 'location_map': { + 'page': 'query', + 'size': 'query', + 'meta_include': 'query', }, 'collection_format_map': { + 'meta_include': 'multi', } }, headers_map={ @@ -702,7 +767,7 @@ def __init__(self, api_client=None): ) self.list_ai_lake_pipe_tables_endpoint = _Endpoint( settings={ - 'response_type': (ListPipeTablesResponse,), + 'response_type': (JsonApiListDocumentPipeTableSummary,), 'auth': [], 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}/pipeTables', 'operation_id': 'list_ai_lake_pipe_tables', @@ -712,6 +777,9 @@ def __init__(self, api_client=None): params_map={ 'all': [ 'instance_id', + 'page', + 'size', + 'meta_include', ], 'required': [ 'instance_id', @@ -721,24 +789,49 @@ def __init__(self, api_client=None): 'enum': [ ], 'validation': [ + 'page', + 'size', + 'meta_include', ] }, root_map={ 'validations': { + ('page',): { + + }, + ('size',): { + + }, + ('meta_include',): { + + }, }, 'allowed_values': { }, 'openapi_types': { 'instance_id': (str,), + 'page': + (str,), + 'size': + (str,), + 'meta_include': + ([str],), }, 'attribute_map': { 'instance_id': 'instanceId', + 'page': 'page', + 'size': 'size', + 'meta_include': 'metaInclude', }, 'location_map': { 'instance_id': 'path', + 'page': 'query', + 'size': 'query', + 'meta_include': 'query', }, 'collection_format_map': { + 'meta_include': 'multi', } }, headers_map={ @@ -751,7 +844,7 @@ def __init__(self, api_client=None): ) self.list_ai_lake_services_endpoint = _Endpoint( settings={ - 'response_type': (ListServicesResponse,), + 'response_type': (JsonApiListDocumentServiceInfo,), 'auth': [], 'endpoint_path': '/api/v1/ailake/services', 'operation_id': 'list_ai_lake_services', @@ -760,8 +853,8 @@ def __init__(self, api_client=None): }, params_map={ 'all': [ + 'page', 'size', - 'offset', 'meta_include', ], 'required': [], @@ -770,11 +863,19 @@ def __init__(self, api_client=None): 'enum': [ ], 'validation': [ + 'page', + 'size', 'meta_include', ] }, root_map={ 'validations': { + ('page',): { + + }, + ('size',): { + + }, ('meta_include',): { }, @@ -782,21 +883,21 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { + 'page': + (str,), 'size': - (int,), - 'offset': - (int,), + (str,), 'meta_include': ([str],), }, 'attribute_map': { + 'page': 'page', 'size': 'size', - 'offset': 'offset', 'meta_include': 'metaInclude', }, 'location_map': { + 'page': 'query', 'size': 'query', - 'offset': 'query', 'meta_include': 'query', }, 'collection_format_map': { @@ -866,6 +967,73 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.refresh_ai_lake_pipe_table_partition_endpoint = _Endpoint( + settings={ + 'response_type': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), + 'auth': [], + 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName}/refresh', + 'operation_id': 'refresh_ai_lake_pipe_table_partition', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'instance_id', + 'table_name', + 'refresh_partition_request', + 'operation_id', + ], + 'required': [ + 'instance_id', + 'table_name', + 'refresh_partition_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'instance_id': + (str,), + 'table_name': + (str,), + 'refresh_partition_request': + (RefreshPartitionRequest,), + 'operation_id': + (str,), + }, + 'attribute_map': { + 'instance_id': 'instanceId', + 'table_name': 'tableName', + 'operation_id': 'operation-id', + }, + 'location_map': { + 'instance_id': 'path', + 'table_name': 'path', + 'refresh_partition_request': 'body', + 'operation_id': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.remove_ai_lake_database_data_source_endpoint = _Endpoint( settings={ 'response_type': (RemoveDatabaseDataSourceResponse,), @@ -1530,7 +1698,7 @@ def get_ai_lake_database_instance( async_req (bool): execute request asynchronously Returns: - DatabaseInstance + JsonApiDocumentDatabaseInstance If the method is called asynchronously, returns the request thread. """ @@ -1698,7 +1866,7 @@ def get_ai_lake_pipe_table( async_req (bool): execute request asynchronously Returns: - PipeTable + JsonApiDocumentPipeTable If the method is called asynchronously, returns the request thread. """ @@ -1823,7 +1991,7 @@ def list_ai_lake_database_data_sources( ): """(BETA) List data sources of an AILake Database instance # noqa: E501 - (BETA) Returns all data source associations for the specified AI Lake database instance. # noqa: E501 + (BETA) Returns data source associations for the specified AI Lake database instance. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1834,6 +2002,9 @@ def list_ai_lake_database_data_sources( instance_id (str): Database instance identifier. Accepts the database name (preferred) or UUID. Keyword Args: + page (str): Zero-based page number.. [optional] if omitted the server will use the default value of "0" + size (str): Number of items per page.. [optional] if omitted the server will use the default value of "50" + meta_include ([str]): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -1866,7 +2037,7 @@ def list_ai_lake_database_data_sources( async_req (bool): execute request asynchronously Returns: - ListDatabaseDataSourcesResponse + JsonApiListDocumentDataSourceInfo If the method is called asynchronously, returns the request thread. """ @@ -1905,7 +2076,7 @@ def list_ai_lake_database_instances( ): """(BETA) List AI Lake Database instances # noqa: E501 - (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. # noqa: E501 + (BETA) Lists database instances in the organization's AI Lake. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1914,8 +2085,8 @@ def list_ai_lake_database_instances( Keyword Args: - size (int): [optional] if omitted the server will use the default value of 50 - offset (int): [optional] if omitted the server will use the default value of 0 + page (str): Zero-based page number.. [optional] if omitted the server will use the default value of "0" + size (str): Number of items per page.. [optional] if omitted the server will use the default value of "50" meta_include ([str]): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. @@ -1949,7 +2120,7 @@ def list_ai_lake_database_instances( async_req (bool): execute request asynchronously Returns: - ListDatabaseInstancesResponse + JsonApiListDocumentDatabaseInstance If the method is called asynchronously, returns the request thread. """ @@ -1995,6 +2166,9 @@ def list_ai_lake_object_storages( Keyword Args: + page (str): Zero-based page number.. [optional] if omitted the server will use the default value of "0" + size (str): Number of items per page.. [optional] if omitted the server will use the default value of "50" + meta_include ([str]): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -2027,7 +2201,7 @@ def list_ai_lake_object_storages( async_req (bool): execute request asynchronously Returns: - ListObjectStoragesResponse + JsonApiListDocumentObjectStorageInfo If the method is called asynchronously, returns the request thread. """ @@ -2065,7 +2239,7 @@ def list_ai_lake_pipe_tables( ): """(BETA) List AI Lake pipe tables # noqa: E501 - (BETA) Lists all active pipe tables in the given AI Lake database instance. # noqa: E501 + (BETA) Lists active pipe tables in the given AI Lake database instance. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2076,6 +2250,9 @@ def list_ai_lake_pipe_tables( instance_id (str): Database instance identifier. Accepts the database name (preferred) or UUID. Keyword Args: + page (str): Zero-based page number.. [optional] if omitted the server will use the default value of "0" + size (str): Number of items per page.. [optional] if omitted the server will use the default value of "50" + meta_include ([str]): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -2108,7 +2285,7 @@ def list_ai_lake_pipe_tables( async_req (bool): execute request asynchronously Returns: - ListPipeTablesResponse + JsonApiListDocumentPipeTableSummary If the method is called asynchronously, returns the request thread. """ @@ -2147,7 +2324,7 @@ def list_ai_lake_services( ): """(BETA) List AI Lake services # noqa: E501 - (BETA) Lists services configured for the organization's AI Lake. Returns only non-sensitive fields (id, name). Supports paging via size and offset query parameters. Use metaInclude=page to get total count. # noqa: E501 + (BETA) Lists services configured for the organization's AI Lake. Returns only non-sensitive fields (id, name). # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2156,8 +2333,8 @@ def list_ai_lake_services( Keyword Args: - size (int): [optional] if omitted the server will use the default value of 50 - offset (int): [optional] if omitted the server will use the default value of 0 + page (str): Zero-based page number.. [optional] if omitted the server will use the default value of "0" + size (str): Number of items per page.. [optional] if omitted the server will use the default value of "50" meta_include ([str]): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. @@ -2191,7 +2368,7 @@ def list_ai_lake_services( async_req (bool): execute request asynchronously Returns: - ListServicesResponse + JsonApiListDocumentServiceInfo If the method is called asynchronously, returns the request thread. """ @@ -2306,6 +2483,98 @@ def provision_ai_lake_database_instance( provision_database_instance_request return self.provision_ai_lake_database_instance_endpoint.call_with_http_info(**kwargs) + def refresh_ai_lake_pipe_table_partition( + self, + instance_id, + table_name, + refresh_partition_request, + **kwargs + ): + """(BETA) Refresh a pipe table partition # noqa: E501 + + (BETA) Deletes all rows for the specified Hive partition and re-loads them from S3. Use after overwriting a partition file in object storage with corrected data. Returns an operation-id header the client can use to poll for progress. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.refresh_ai_lake_pipe_table_partition(instance_id, table_name, refresh_partition_request, async_req=True) + >>> result = thread.get() + + Args: + instance_id (str): Database instance identifier. Accepts the database name (preferred) or UUID. + table_name (str): Pipe table name. + refresh_partition_request (RefreshPartitionRequest): + + Keyword Args: + operation_id (str): [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + {str: (bool, date, datetime, dict, float, int, list, str, none_type)} + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['instance_id'] = \ + instance_id + kwargs['table_name'] = \ + table_name + kwargs['refresh_partition_request'] = \ + refresh_partition_request + return self.refresh_ai_lake_pipe_table_partition_endpoint.call_with_http_info(**kwargs) + def remove_ai_lake_database_data_source( self, instance_id, diff --git a/gooddata-api-client/gooddata_api_client/api/ai_lake_databases_api.py b/gooddata-api-client/gooddata_api_client/api/ai_lake_databases_api.py index 35aee09c8..0922a00de 100644 --- a/gooddata-api-client/gooddata_api_client/api/ai_lake_databases_api.py +++ b/gooddata-api-client/gooddata_api_client/api/ai_lake_databases_api.py @@ -24,10 +24,10 @@ ) from gooddata_api_client.model.add_database_data_source_request import AddDatabaseDataSourceRequest from gooddata_api_client.model.add_database_data_source_response import AddDatabaseDataSourceResponse -from gooddata_api_client.model.database_instance import DatabaseInstance -from gooddata_api_client.model.list_database_data_sources_response import ListDatabaseDataSourcesResponse -from gooddata_api_client.model.list_database_instances_response import ListDatabaseInstancesResponse -from gooddata_api_client.model.list_object_storages_response import ListObjectStoragesResponse +from gooddata_api_client.model.json_api_document_database_instance import JsonApiDocumentDatabaseInstance +from gooddata_api_client.model.json_api_list_document_data_source_info import JsonApiListDocumentDataSourceInfo +from gooddata_api_client.model.json_api_list_document_database_instance import JsonApiListDocumentDatabaseInstance +from gooddata_api_client.model.json_api_list_document_object_storage_info import JsonApiListDocumentObjectStorageInfo from gooddata_api_client.model.provision_database_instance_request import ProvisionDatabaseInstanceRequest from gooddata_api_client.model.remove_database_data_source_response import RemoveDatabaseDataSourceResponse from gooddata_api_client.model.update_database_data_source_request import UpdateDatabaseDataSourceRequest @@ -157,7 +157,7 @@ def __init__(self, api_client=None): ) self.get_ai_lake_database_instance_endpoint = _Endpoint( settings={ - 'response_type': (DatabaseInstance,), + 'response_type': (JsonApiDocumentDatabaseInstance,), 'auth': [], 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}', 'operation_id': 'get_ai_lake_database_instance', @@ -206,7 +206,7 @@ def __init__(self, api_client=None): ) self.list_ai_lake_database_data_sources_endpoint = _Endpoint( settings={ - 'response_type': (ListDatabaseDataSourcesResponse,), + 'response_type': (JsonApiListDocumentDataSourceInfo,), 'auth': [], 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}/dataSources', 'operation_id': 'list_ai_lake_database_data_sources', @@ -216,6 +216,9 @@ def __init__(self, api_client=None): params_map={ 'all': [ 'instance_id', + 'page', + 'size', + 'meta_include', ], 'required': [ 'instance_id', @@ -225,24 +228,49 @@ def __init__(self, api_client=None): 'enum': [ ], 'validation': [ + 'page', + 'size', + 'meta_include', ] }, root_map={ 'validations': { + ('page',): { + + }, + ('size',): { + + }, + ('meta_include',): { + + }, }, 'allowed_values': { }, 'openapi_types': { 'instance_id': (str,), + 'page': + (str,), + 'size': + (str,), + 'meta_include': + ([str],), }, 'attribute_map': { 'instance_id': 'instanceId', + 'page': 'page', + 'size': 'size', + 'meta_include': 'metaInclude', }, 'location_map': { 'instance_id': 'path', + 'page': 'query', + 'size': 'query', + 'meta_include': 'query', }, 'collection_format_map': { + 'meta_include': 'multi', } }, headers_map={ @@ -255,7 +283,7 @@ def __init__(self, api_client=None): ) self.list_ai_lake_database_instances_endpoint = _Endpoint( settings={ - 'response_type': (ListDatabaseInstancesResponse,), + 'response_type': (JsonApiListDocumentDatabaseInstance,), 'auth': [], 'endpoint_path': '/api/v1/ailake/database/instances', 'operation_id': 'list_ai_lake_database_instances', @@ -264,8 +292,8 @@ def __init__(self, api_client=None): }, params_map={ 'all': [ + 'page', 'size', - 'offset', 'meta_include', ], 'required': [], @@ -274,11 +302,19 @@ def __init__(self, api_client=None): 'enum': [ ], 'validation': [ + 'page', + 'size', 'meta_include', ] }, root_map={ 'validations': { + ('page',): { + + }, + ('size',): { + + }, ('meta_include',): { }, @@ -286,21 +322,21 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { + 'page': + (str,), 'size': - (int,), - 'offset': - (int,), + (str,), 'meta_include': ([str],), }, 'attribute_map': { + 'page': 'page', 'size': 'size', - 'offset': 'offset', 'meta_include': 'metaInclude', }, 'location_map': { + 'page': 'query', 'size': 'query', - 'offset': 'query', 'meta_include': 'query', }, 'collection_format_map': { @@ -317,15 +353,18 @@ def __init__(self, api_client=None): ) self.list_ai_lake_object_storages_endpoint = _Endpoint( settings={ - 'response_type': (ListObjectStoragesResponse,), + 'response_type': (JsonApiListDocumentObjectStorageInfo,), 'auth': [], - 'endpoint_path': '/api/v1/ailake/object-storages', + 'endpoint_path': '/api/v1/ailake/objectStorages', 'operation_id': 'list_ai_lake_object_storages', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ + 'page', + 'size', + 'meta_include', ], 'required': [], 'nullable': [ @@ -333,20 +372,45 @@ def __init__(self, api_client=None): 'enum': [ ], 'validation': [ + 'page', + 'size', + 'meta_include', ] }, root_map={ 'validations': { + ('page',): { + + }, + ('size',): { + + }, + ('meta_include',): { + + }, }, 'allowed_values': { }, 'openapi_types': { + 'page': + (str,), + 'size': + (str,), + 'meta_include': + ([str],), }, 'attribute_map': { + 'page': 'page', + 'size': 'size', + 'meta_include': 'metaInclude', }, 'location_map': { + 'page': 'query', + 'size': 'query', + 'meta_include': 'query', }, 'collection_format_map': { + 'meta_include': 'multi', } }, headers_map={ @@ -745,7 +809,7 @@ def get_ai_lake_database_instance( async_req (bool): execute request asynchronously Returns: - DatabaseInstance + JsonApiDocumentDatabaseInstance If the method is called asynchronously, returns the request thread. """ @@ -785,7 +849,7 @@ def list_ai_lake_database_data_sources( ): """(BETA) List data sources of an AILake Database instance # noqa: E501 - (BETA) Returns all data source associations for the specified AI Lake database instance. # noqa: E501 + (BETA) Returns data source associations for the specified AI Lake database instance. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -796,6 +860,9 @@ def list_ai_lake_database_data_sources( instance_id (str): Database instance identifier. Accepts the database name (preferred) or UUID. Keyword Args: + page (str): Zero-based page number.. [optional] if omitted the server will use the default value of "0" + size (str): Number of items per page.. [optional] if omitted the server will use the default value of "50" + meta_include ([str]): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -828,7 +895,7 @@ def list_ai_lake_database_data_sources( async_req (bool): execute request asynchronously Returns: - ListDatabaseDataSourcesResponse + JsonApiListDocumentDataSourceInfo If the method is called asynchronously, returns the request thread. """ @@ -867,7 +934,7 @@ def list_ai_lake_database_instances( ): """(BETA) List AI Lake Database instances # noqa: E501 - (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. # noqa: E501 + (BETA) Lists database instances in the organization's AI Lake. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -876,8 +943,8 @@ def list_ai_lake_database_instances( Keyword Args: - size (int): [optional] if omitted the server will use the default value of 50 - offset (int): [optional] if omitted the server will use the default value of 0 + page (str): Zero-based page number.. [optional] if omitted the server will use the default value of "0" + size (str): Number of items per page.. [optional] if omitted the server will use the default value of "50" meta_include ([str]): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. @@ -911,7 +978,7 @@ def list_ai_lake_database_instances( async_req (bool): execute request asynchronously Returns: - ListDatabaseInstancesResponse + JsonApiListDocumentDatabaseInstance If the method is called asynchronously, returns the request thread. """ @@ -957,6 +1024,9 @@ def list_ai_lake_object_storages( Keyword Args: + page (str): Zero-based page number.. [optional] if omitted the server will use the default value of "0" + size (str): Number of items per page.. [optional] if omitted the server will use the default value of "50" + meta_include ([str]): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -989,7 +1059,7 @@ def list_ai_lake_object_storages( async_req (bool): execute request asynchronously Returns: - ListObjectStoragesResponse + JsonApiListDocumentObjectStorageInfo If the method is called asynchronously, returns the request thread. """ diff --git a/gooddata-api-client/gooddata_api_client/api/ai_lake_pipe_tables_api.py b/gooddata-api-client/gooddata_api_client/api/ai_lake_pipe_tables_api.py index 813de64e1..959cc5a9e 100644 --- a/gooddata-api-client/gooddata_api_client/api/ai_lake_pipe_tables_api.py +++ b/gooddata-api-client/gooddata_api_client/api/ai_lake_pipe_tables_api.py @@ -24,8 +24,9 @@ ) from gooddata_api_client.model.analyze_statistics_request import AnalyzeStatisticsRequest from gooddata_api_client.model.create_pipe_table_request import CreatePipeTableRequest -from gooddata_api_client.model.list_pipe_tables_response import ListPipeTablesResponse -from gooddata_api_client.model.pipe_table import PipeTable +from gooddata_api_client.model.json_api_document_pipe_table import JsonApiDocumentPipeTable +from gooddata_api_client.model.json_api_list_document_pipe_table_summary import JsonApiListDocumentPipeTableSummary +from gooddata_api_client.model.refresh_partition_request import RefreshPartitionRequest class AILakePipeTablesApi(object): @@ -223,7 +224,7 @@ def __init__(self, api_client=None): ) self.get_ai_lake_pipe_table_endpoint = _Endpoint( settings={ - 'response_type': (PipeTable,), + 'response_type': (JsonApiDocumentPipeTable,), 'auth': [], 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName}', 'operation_id': 'get_ai_lake_pipe_table', @@ -278,7 +279,7 @@ def __init__(self, api_client=None): ) self.list_ai_lake_pipe_tables_endpoint = _Endpoint( settings={ - 'response_type': (ListPipeTablesResponse,), + 'response_type': (JsonApiListDocumentPipeTableSummary,), 'auth': [], 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}/pipeTables', 'operation_id': 'list_ai_lake_pipe_tables', @@ -288,6 +289,9 @@ def __init__(self, api_client=None): params_map={ 'all': [ 'instance_id', + 'page', + 'size', + 'meta_include', ], 'required': [ 'instance_id', @@ -297,24 +301,49 @@ def __init__(self, api_client=None): 'enum': [ ], 'validation': [ + 'page', + 'size', + 'meta_include', ] }, root_map={ 'validations': { + ('page',): { + + }, + ('size',): { + + }, + ('meta_include',): { + + }, }, 'allowed_values': { }, 'openapi_types': { 'instance_id': (str,), + 'page': + (str,), + 'size': + (str,), + 'meta_include': + ([str],), }, 'attribute_map': { 'instance_id': 'instanceId', + 'page': 'page', + 'size': 'size', + 'meta_include': 'metaInclude', }, 'location_map': { 'instance_id': 'path', + 'page': 'query', + 'size': 'query', + 'meta_include': 'query', }, 'collection_format_map': { + 'meta_include': 'multi', } }, headers_map={ @@ -325,6 +354,73 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.refresh_ai_lake_pipe_table_partition_endpoint = _Endpoint( + settings={ + 'response_type': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), + 'auth': [], + 'endpoint_path': '/api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName}/refresh', + 'operation_id': 'refresh_ai_lake_pipe_table_partition', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'instance_id', + 'table_name', + 'refresh_partition_request', + 'operation_id', + ], + 'required': [ + 'instance_id', + 'table_name', + 'refresh_partition_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'instance_id': + (str,), + 'table_name': + (str,), + 'refresh_partition_request': + (RefreshPartitionRequest,), + 'operation_id': + (str,), + }, + 'attribute_map': { + 'instance_id': 'instanceId', + 'table_name': 'tableName', + 'operation_id': 'operation-id', + }, + 'location_map': { + 'instance_id': 'path', + 'table_name': 'path', + 'refresh_partition_request': 'body', + 'operation_id': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) def analyze_statistics( self, @@ -642,7 +738,7 @@ def get_ai_lake_pipe_table( async_req (bool): execute request asynchronously Returns: - PipeTable + JsonApiDocumentPipeTable If the method is called asynchronously, returns the request thread. """ @@ -684,7 +780,7 @@ def list_ai_lake_pipe_tables( ): """(BETA) List AI Lake pipe tables # noqa: E501 - (BETA) Lists all active pipe tables in the given AI Lake database instance. # noqa: E501 + (BETA) Lists active pipe tables in the given AI Lake database instance. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -695,6 +791,9 @@ def list_ai_lake_pipe_tables( instance_id (str): Database instance identifier. Accepts the database name (preferred) or UUID. Keyword Args: + page (str): Zero-based page number.. [optional] if omitted the server will use the default value of "0" + size (str): Number of items per page.. [optional] if omitted the server will use the default value of "50" + meta_include ([str]): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -727,7 +826,7 @@ def list_ai_lake_pipe_tables( async_req (bool): execute request asynchronously Returns: - ListPipeTablesResponse + JsonApiListDocumentPipeTableSummary If the method is called asynchronously, returns the request thread. """ @@ -760,3 +859,95 @@ def list_ai_lake_pipe_tables( instance_id return self.list_ai_lake_pipe_tables_endpoint.call_with_http_info(**kwargs) + def refresh_ai_lake_pipe_table_partition( + self, + instance_id, + table_name, + refresh_partition_request, + **kwargs + ): + """(BETA) Refresh a pipe table partition # noqa: E501 + + (BETA) Deletes all rows for the specified Hive partition and re-loads them from S3. Use after overwriting a partition file in object storage with corrected data. Returns an operation-id header the client can use to poll for progress. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.refresh_ai_lake_pipe_table_partition(instance_id, table_name, refresh_partition_request, async_req=True) + >>> result = thread.get() + + Args: + instance_id (str): Database instance identifier. Accepts the database name (preferred) or UUID. + table_name (str): Pipe table name. + refresh_partition_request (RefreshPartitionRequest): + + Keyword Args: + operation_id (str): [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + {str: (bool, date, datetime, dict, float, int, list, str, none_type)} + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['instance_id'] = \ + instance_id + kwargs['table_name'] = \ + table_name + kwargs['refresh_partition_request'] = \ + refresh_partition_request + return self.refresh_ai_lake_pipe_table_partition_endpoint.call_with_http_info(**kwargs) + diff --git a/gooddata-api-client/gooddata_api_client/api/ai_lake_services_operations_api.py b/gooddata-api-client/gooddata_api_client/api/ai_lake_services_operations_api.py index 450446219..86675ee24 100644 --- a/gooddata-api-client/gooddata_api_client/api/ai_lake_services_operations_api.py +++ b/gooddata-api-client/gooddata_api_client/api/ai_lake_services_operations_api.py @@ -24,7 +24,7 @@ ) from gooddata_api_client.model.get_ai_lake_operation200_response import GetAiLakeOperation200Response from gooddata_api_client.model.get_service_status_response import GetServiceStatusResponse -from gooddata_api_client.model.list_services_response import ListServicesResponse +from gooddata_api_client.model.json_api_list_document_service_info import JsonApiListDocumentServiceInfo from gooddata_api_client.model.run_service_command_request import RunServiceCommandRequest @@ -139,7 +139,7 @@ def __init__(self, api_client=None): ) self.list_ai_lake_services_endpoint = _Endpoint( settings={ - 'response_type': (ListServicesResponse,), + 'response_type': (JsonApiListDocumentServiceInfo,), 'auth': [], 'endpoint_path': '/api/v1/ailake/services', 'operation_id': 'list_ai_lake_services', @@ -148,8 +148,8 @@ def __init__(self, api_client=None): }, params_map={ 'all': [ + 'page', 'size', - 'offset', 'meta_include', ], 'required': [], @@ -158,11 +158,19 @@ def __init__(self, api_client=None): 'enum': [ ], 'validation': [ + 'page', + 'size', 'meta_include', ] }, root_map={ 'validations': { + ('page',): { + + }, + ('size',): { + + }, ('meta_include',): { }, @@ -170,21 +178,21 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { + 'page': + (str,), 'size': - (int,), - 'offset': - (int,), + (str,), 'meta_include': ([str],), }, 'attribute_map': { + 'page': 'page', 'size': 'size', - 'offset': 'offset', 'meta_include': 'metaInclude', }, 'location_map': { + 'page': 'query', 'size': 'query', - 'offset': 'query', 'meta_include': 'query', }, 'collection_format_map': { @@ -439,7 +447,7 @@ def list_ai_lake_services( ): """(BETA) List AI Lake services # noqa: E501 - (BETA) Lists services configured for the organization's AI Lake. Returns only non-sensitive fields (id, name). Supports paging via size and offset query parameters. Use metaInclude=page to get total count. # noqa: E501 + (BETA) Lists services configured for the organization's AI Lake. Returns only non-sensitive fields (id, name). # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -448,8 +456,8 @@ def list_ai_lake_services( Keyword Args: - size (int): [optional] if omitted the server will use the default value of 50 - offset (int): [optional] if omitted the server will use the default value of 0 + page (str): Zero-based page number.. [optional] if omitted the server will use the default value of "0" + size (str): Number of items per page.. [optional] if omitted the server will use the default value of "50" meta_include ([str]): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. @@ -483,7 +491,7 @@ def list_ai_lake_services( async_req (bool): execute request asynchronously Returns: - ListServicesResponse + JsonApiListDocumentServiceInfo If the method is called asynchronously, returns the request thread. """ diff --git a/gooddata-api-client/gooddata_api_client/api/entities_api.py b/gooddata-api-client/gooddata_api_client/api/entities_api.py index 5da4541ed..e556068b2 100644 --- a/gooddata-api-client/gooddata_api_client/api/entities_api.py +++ b/gooddata-api-client/gooddata_api_client/api/entities_api.py @@ -115,6 +115,9 @@ from gooddata_api_client.model.json_api_identity_provider_out_document import JsonApiIdentityProviderOutDocument from gooddata_api_client.model.json_api_identity_provider_out_list import JsonApiIdentityProviderOutList from gooddata_api_client.model.json_api_identity_provider_patch_document import JsonApiIdentityProviderPatchDocument +from gooddata_api_client.model.json_api_ip_allowlist_policy_in_document import JsonApiIpAllowlistPolicyInDocument +from gooddata_api_client.model.json_api_ip_allowlist_policy_out_document import JsonApiIpAllowlistPolicyOutDocument +from gooddata_api_client.model.json_api_ip_allowlist_policy_out_list import JsonApiIpAllowlistPolicyOutList from gooddata_api_client.model.json_api_jwk_in_document import JsonApiJwkInDocument from gooddata_api_client.model.json_api_jwk_out_document import JsonApiJwkOutDocument from gooddata_api_client.model.json_api_jwk_out_list import JsonApiJwkOutList @@ -127,10 +130,6 @@ from gooddata_api_client.model.json_api_label_out_document import JsonApiLabelOutDocument from gooddata_api_client.model.json_api_label_out_list import JsonApiLabelOutList from gooddata_api_client.model.json_api_label_patch_document import JsonApiLabelPatchDocument -from gooddata_api_client.model.json_api_llm_endpoint_in_document import JsonApiLlmEndpointInDocument -from gooddata_api_client.model.json_api_llm_endpoint_out_document import JsonApiLlmEndpointOutDocument -from gooddata_api_client.model.json_api_llm_endpoint_out_list import JsonApiLlmEndpointOutList -from gooddata_api_client.model.json_api_llm_endpoint_patch_document import JsonApiLlmEndpointPatchDocument from gooddata_api_client.model.json_api_llm_provider_in_document import JsonApiLlmProviderInDocument from gooddata_api_client.model.json_api_llm_provider_out_document import JsonApiLlmProviderOutDocument from gooddata_api_client.model.json_api_llm_provider_out_list import JsonApiLlmProviderOutList @@ -222,6 +221,46 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client + self.create_entity_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/entities/llmEndpoints', + 'operation_id': 'create_entity', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + ], + 'required': [], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + }, + 'attribute_map': { + }, + 'location_map': { + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [], + }, + api_client=api_client + ) self.create_entity_agents_endpoint = _Endpoint( settings={ 'response_type': (JsonApiAgentOutDocument,), @@ -1442,6 +1481,71 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.create_entity_ip_allowlist_policies_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiIpAllowlistPolicyOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/ipAllowlistPolicies', + 'operation_id': 'create_entity_ip_allowlist_policies', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'json_api_ip_allowlist_policy_in_document', + 'include', + ], + 'required': [ + 'json_api_ip_allowlist_policy_in_document', + ], + 'nullable': [ + ], + 'enum': [ + 'include', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('include',): { + + "USERS": "users", + "USERGROUPS": "userGroups", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'json_api_ip_allowlist_policy_in_document': + (JsonApiIpAllowlistPolicyInDocument,), + 'include': + ([str],), + }, + 'attribute_map': { + 'include': 'include', + }, + 'location_map': { + 'json_api_ip_allowlist_policy_in_document': 'body', + 'include': 'query', + }, + 'collection_format_map': { + 'include': 'csv', + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ] + }, + api_client=api_client + ) self.create_entity_jwks_endpoint = _Endpoint( settings={ 'response_type': (JsonApiJwkOutDocument,), @@ -1584,58 +1688,6 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.create_entity_llm_endpoints_endpoint = _Endpoint( - settings={ - 'response_type': (JsonApiLlmEndpointOutDocument,), - 'auth': [], - 'endpoint_path': '/api/v1/entities/llmEndpoints', - 'operation_id': 'create_entity_llm_endpoints', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'json_api_llm_endpoint_in_document', - ], - 'required': [ - 'json_api_llm_endpoint_in_document', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'json_api_llm_endpoint_in_document': - (JsonApiLlmEndpointInDocument,), - }, - 'attribute_map': { - }, - 'location_map': { - 'json_api_llm_endpoint_in_document': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json', - 'application/vnd.gooddata.api+json' - ], - 'content_type': [ - 'application/json', - 'application/vnd.gooddata.api+json' - ] - }, - api_client=api_client - ) self.create_entity_llm_providers_endpoint = _Endpoint( settings={ 'response_type': (JsonApiLlmProviderOutDocument,), @@ -2833,6 +2885,53 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.delete_entity_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/entities/llmEndpoints/{id}', + 'operation_id': 'delete_entity', + 'http_method': 'DELETE', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + ], + 'required': [ + 'id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'id': + (str,), + }, + 'attribute_map': { + 'id': 'id', + }, + 'location_map': { + 'id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [], + }, + api_client=api_client + ) self.delete_entity_agents_endpoint = _Endpoint( settings={ 'response_type': None, @@ -3755,6 +3854,60 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.delete_entity_ip_allowlist_policies_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/entities/ipAllowlistPolicies/{id}', + 'operation_id': 'delete_entity_ip_allowlist_policies', + 'http_method': 'DELETE', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + ], + 'required': [ + 'id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'id', + ] + }, + root_map={ + 'validations': { + ('id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'id': + (str,), + }, + 'attribute_map': { + 'id': 'id', + }, + 'location_map': { + 'id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [], + }, + api_client=api_client + ) self.delete_entity_jwks_endpoint = _Endpoint( settings={ 'response_type': None, @@ -3862,12 +4015,12 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.delete_entity_llm_endpoints_endpoint = _Endpoint( + self.delete_entity_llm_providers_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': [], - 'endpoint_path': '/api/v1/entities/llmEndpoints/{id}', - 'operation_id': 'delete_entity_llm_endpoints', + 'endpoint_path': '/api/v1/entities/llmProviders/{id}', + 'operation_id': 'delete_entity_llm_providers', 'http_method': 'DELETE', 'servers': None, }, @@ -3916,50 +4069,49 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.delete_entity_llm_providers_endpoint = _Endpoint( + self.delete_entity_memory_items_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': [], - 'endpoint_path': '/api/v1/entities/llmProviders/{id}', - 'operation_id': 'delete_entity_llm_providers', + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId}', + 'operation_id': 'delete_entity_memory_items', 'http_method': 'DELETE', 'servers': None, }, params_map={ 'all': [ - 'id', + 'workspace_id', + 'object_id', ], 'required': [ - 'id', + 'workspace_id', + 'object_id', ], 'nullable': [ ], 'enum': [ ], 'validation': [ - 'id', ] }, root_map={ 'validations': { - ('id',): { - - 'regex': { - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }, - }, }, 'allowed_values': { }, 'openapi_types': { - 'id': + 'workspace_id': + (str,), + 'object_id': (str,), }, 'attribute_map': { - 'id': 'id', + 'workspace_id': 'workspaceId', + 'object_id': 'objectId', }, 'location_map': { - 'id': 'path', + 'workspace_id': 'path', + 'object_id': 'path', }, 'collection_format_map': { } @@ -3970,65 +4122,12 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.delete_entity_memory_items_endpoint = _Endpoint( + self.delete_entity_metrics_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': [], - 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId}', - 'operation_id': 'delete_entity_memory_items', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'workspace_id', - 'object_id', - ], - 'required': [ - 'workspace_id', - 'object_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'workspace_id': - (str,), - 'object_id': - (str,), - }, - 'attribute_map': { - 'workspace_id': 'workspaceId', - 'object_id': 'objectId', - }, - 'location_map': { - 'workspace_id': 'path', - 'object_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_entity_metrics_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [], - 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/metrics/{objectId}', - 'operation_id': 'delete_entity_metrics', + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/metrics/{objectId}', + 'operation_id': 'delete_entity_metrics', 'http_method': 'DELETE', 'servers': None, }, @@ -4883,6 +4982,46 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.get_all_entities_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/entities/llmEndpoints', + 'operation_id': 'get_all_entities', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + ], + 'required': [], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + }, + 'attribute_map': { + }, + 'location_map': { + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [], + }, + api_client=api_client + ) self.get_all_entities_agents_endpoint = _Endpoint( settings={ 'response_type': (JsonApiAgentOutList,), @@ -7264,18 +7403,19 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_all_entities_jwks_endpoint = _Endpoint( + self.get_all_entities_ip_allowlist_policies_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiJwkOutList,), + 'response_type': (JsonApiIpAllowlistPolicyOutList,), 'auth': [], - 'endpoint_path': '/api/v1/entities/jwks', - 'operation_id': 'get_all_entities_jwks', + 'endpoint_path': '/api/v1/entities/ipAllowlistPolicies', + 'operation_id': 'get_all_entities_ip_allowlist_policies', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'filter', + 'include', 'page', 'size', 'sort', @@ -7285,6 +7425,7 @@ def __init__(self, api_client=None): 'nullable': [ ], 'enum': [ + 'include', 'meta_include', ], 'validation': [ @@ -7298,6 +7439,12 @@ def __init__(self, api_client=None): }, }, 'allowed_values': { + ('include',): { + + "USERS": "users", + "USERGROUPS": "userGroups", + "ALL": "ALL" + }, ('meta_include',): { "PAGE": "page", @@ -7308,6 +7455,8 @@ def __init__(self, api_client=None): 'openapi_types': { 'filter': (str,), + 'include': + ([str],), 'page': (int,), 'size': @@ -7319,6 +7468,7 @@ def __init__(self, api_client=None): }, 'attribute_map': { 'filter': 'filter', + 'include': 'include', 'page': 'page', 'size': 'size', 'sort': 'sort', @@ -7326,12 +7476,14 @@ def __init__(self, api_client=None): }, 'location_map': { 'filter': 'query', + 'include': 'query', 'page': 'query', 'size': 'query', 'sort': 'query', 'meta_include': 'query', }, 'collection_format_map': { + 'include': 'csv', 'sort': 'multi', 'meta_include': 'csv', } @@ -7345,35 +7497,27 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_all_entities_knowledge_recommendations_endpoint = _Endpoint( + self.get_all_entities_jwks_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiKnowledgeRecommendationOutList,), + 'response_type': (JsonApiJwkOutList,), 'auth': [], - 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations', - 'operation_id': 'get_all_entities_knowledge_recommendations', + 'endpoint_path': '/api/v1/entities/jwks', + 'operation_id': 'get_all_entities_jwks', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ - 'workspace_id', - 'origin', 'filter', - 'include', 'page', 'size', 'sort', - 'x_gdc_validate_relations', 'meta_include', ], - 'required': [ - 'workspace_id', - ], + 'required': [], 'nullable': [ ], 'enum': [ - 'origin', - 'include', 'meta_include', ], 'validation': [ @@ -7387,72 +7531,40 @@ def __init__(self, api_client=None): }, }, 'allowed_values': { - ('origin',): { - - "ALL": "ALL", - "PARENTS": "PARENTS", - "NATIVE": "NATIVE" - }, - ('include',): { - - "METRICS": "metrics", - "ANALYTICALDASHBOARDS": "analyticalDashboards", - "METRIC": "metric", - "ANALYTICALDASHBOARD": "analyticalDashboard", - "ALL": "ALL" - }, ('meta_include',): { - "ORIGIN": "origin", "PAGE": "page", "ALL": "all", "ALL": "ALL" }, }, 'openapi_types': { - 'workspace_id': - (str,), - 'origin': - (str,), 'filter': (str,), - 'include': - ([str],), 'page': (int,), 'size': (int,), 'sort': ([str],), - 'x_gdc_validate_relations': - (bool,), 'meta_include': ([str],), }, 'attribute_map': { - 'workspace_id': 'workspaceId', - 'origin': 'origin', 'filter': 'filter', - 'include': 'include', 'page': 'page', 'size': 'size', 'sort': 'sort', - 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', 'meta_include': 'metaInclude', }, 'location_map': { - 'workspace_id': 'path', - 'origin': 'query', 'filter': 'query', - 'include': 'query', 'page': 'query', 'size': 'query', 'sort': 'query', - 'x_gdc_validate_relations': 'header', 'meta_include': 'query', }, 'collection_format_map': { - 'include': 'csv', 'sort': 'multi', 'meta_include': 'csv', } @@ -7466,12 +7578,12 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_all_entities_labels_endpoint = _Endpoint( + self.get_all_entities_knowledge_recommendations_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiLabelOutList,), + 'response_type': (JsonApiKnowledgeRecommendationOutList,), 'auth': [], - 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/labels', - 'operation_id': 'get_all_entities_labels', + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations', + 'operation_id': 'get_all_entities_knowledge_recommendations', 'http_method': 'GET', 'servers': None, }, @@ -7516,8 +7628,10 @@ def __init__(self, api_client=None): }, ('include',): { - "ATTRIBUTES": "attributes", - "ATTRIBUTE": "attribute", + "METRICS": "metrics", + "ANALYTICALDASHBOARDS": "analyticalDashboards", + "METRIC": "metric", + "ANALYTICALDASHBOARD": "analyticalDashboard", "ALL": "ALL" }, ('meta_include',): { @@ -7585,27 +7699,35 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_all_entities_llm_endpoints_endpoint = _Endpoint( + self.get_all_entities_labels_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiLlmEndpointOutList,), + 'response_type': (JsonApiLabelOutList,), 'auth': [], - 'endpoint_path': '/api/v1/entities/llmEndpoints', - 'operation_id': 'get_all_entities_llm_endpoints', + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/labels', + 'operation_id': 'get_all_entities_labels', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ + 'workspace_id', + 'origin', 'filter', + 'include', 'page', 'size', 'sort', + 'x_gdc_validate_relations', 'meta_include', ], - 'required': [], + 'required': [ + 'workspace_id', + ], 'nullable': [ ], 'enum': [ + 'origin', + 'include', 'meta_include', ], 'validation': [ @@ -7619,40 +7741,70 @@ def __init__(self, api_client=None): }, }, 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + ('include',): { + + "ATTRIBUTES": "attributes", + "ATTRIBUTE": "attribute", + "ALL": "ALL" + }, ('meta_include',): { + "ORIGIN": "origin", "PAGE": "page", "ALL": "all", "ALL": "ALL" }, }, 'openapi_types': { + 'workspace_id': + (str,), + 'origin': + (str,), 'filter': (str,), + 'include': + ([str],), 'page': (int,), 'size': (int,), 'sort': ([str],), + 'x_gdc_validate_relations': + (bool,), 'meta_include': ([str],), }, 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', 'filter': 'filter', + 'include': 'include', 'page': 'page', 'size': 'size', 'sort': 'sort', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', 'meta_include': 'metaInclude', }, 'location_map': { + 'workspace_id': 'path', + 'origin': 'query', 'filter': 'query', + 'include': 'query', 'page': 'query', 'size': 'query', 'sort': 'query', + 'x_gdc_validate_relations': 'header', 'meta_include': 'query', }, 'collection_format_map': { + 'include': 'csv', 'sort': 'multi', 'meta_include': 'csv', } @@ -9574,6 +9726,53 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.get_entity_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/entities/llmEndpoints/{id}', + 'operation_id': 'get_entity', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + ], + 'required': [ + 'id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'id': + (str,), + }, + 'attribute_map': { + 'id': 'id', + }, + 'location_map': { + 'id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [], + }, + api_client=api_client + ) self.get_entity_agents_endpoint = _Endpoint( settings={ 'response_type': (JsonApiAgentOutDocument,), @@ -11546,6 +11745,81 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.get_entity_ip_allowlist_policies_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiIpAllowlistPolicyOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/ipAllowlistPolicies/{id}', + 'operation_id': 'get_entity_ip_allowlist_policies', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'filter', + 'include', + ], + 'required': [ + 'id', + ], + 'nullable': [ + ], + 'enum': [ + 'include', + ], + 'validation': [ + 'id', + ] + }, + root_map={ + 'validations': { + ('id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + ('include',): { + + "USERS": "users", + "USERGROUPS": "userGroups", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'id': + (str,), + 'filter': + (str,), + 'include': + ([str],), + }, + 'attribute_map': { + 'id': 'id', + 'filter': 'filter', + 'include': 'include', + }, + 'location_map': { + 'id': 'path', + 'filter': 'query', + 'include': 'query', + }, + 'collection_format_map': { + 'include': 'csv', + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [], + }, + api_client=api_client + ) self.get_entity_jwks_endpoint = _Endpoint( settings={ 'response_type': (JsonApiJwkOutDocument,), @@ -11802,68 +12076,6 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_entity_llm_endpoints_endpoint = _Endpoint( - settings={ - 'response_type': (JsonApiLlmEndpointOutDocument,), - 'auth': [], - 'endpoint_path': '/api/v1/entities/llmEndpoints/{id}', - 'operation_id': 'get_entity_llm_endpoints', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'id', - 'filter', - ], - 'required': [ - 'id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'id', - ] - }, - root_map={ - 'validations': { - ('id',): { - - 'regex': { - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'id': - (str,), - 'filter': - (str,), - }, - 'attribute_map': { - 'id': 'id', - 'filter': 'filter', - }, - 'location_map': { - 'id': 'path', - 'filter': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json', - 'application/vnd.gooddata.api+json' - ], - 'content_type': [], - }, - api_client=api_client - ) self.get_entity_llm_providers_endpoint = _Endpoint( settings={ 'response_type': (JsonApiLlmProviderOutDocument,), @@ -13481,6 +13693,53 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.patch_entity_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/entities/llmEndpoints/{id}', + 'operation_id': 'patch_entity', + 'http_method': 'PATCH', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + ], + 'required': [ + 'id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'id': + (str,), + }, + 'attribute_map': { + 'id': 'id', + }, + 'location_map': { + 'id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [], + }, + api_client=api_client + ) self.patch_entity_agents_endpoint = _Endpoint( settings={ 'response_type': (JsonApiAgentOutDocument,), @@ -15220,76 +15479,6 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.patch_entity_llm_endpoints_endpoint = _Endpoint( - settings={ - 'response_type': (JsonApiLlmEndpointOutDocument,), - 'auth': [], - 'endpoint_path': '/api/v1/entities/llmEndpoints/{id}', - 'operation_id': 'patch_entity_llm_endpoints', - 'http_method': 'PATCH', - 'servers': None, - }, - params_map={ - 'all': [ - 'id', - 'json_api_llm_endpoint_patch_document', - 'filter', - ], - 'required': [ - 'id', - 'json_api_llm_endpoint_patch_document', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'id', - ] - }, - root_map={ - 'validations': { - ('id',): { - - 'regex': { - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'id': - (str,), - 'json_api_llm_endpoint_patch_document': - (JsonApiLlmEndpointPatchDocument,), - 'filter': - (str,), - }, - 'attribute_map': { - 'id': 'id', - 'filter': 'filter', - }, - 'location_map': { - 'id': 'path', - 'json_api_llm_endpoint_patch_document': 'body', - 'filter': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json', - 'application/vnd.gooddata.api+json' - ], - 'content_type': [ - 'application/json', - 'application/vnd.gooddata.api+json' - ] - }, - api_client=api_client - ) self.patch_entity_llm_providers_endpoint = _Endpoint( settings={ 'response_type': (JsonApiLlmProviderOutDocument,), @@ -18128,12 +18317,86 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.search_entities_workspace_data_filters_endpoint = _Endpoint( + self.search_entities_workspace_data_filters_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiWorkspaceDataFilterOutList,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/search', + 'operation_id': 'search_entities_workspace_data_filters', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'entity_search_body', + 'origin', + 'x_gdc_validate_relations', + ], + 'required': [ + 'workspace_id', + 'entity_search_body', + ], + 'nullable': [ + ], + 'enum': [ + 'origin', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('origin',): { + + "ALL": "ALL", + "PARENTS": "PARENTS", + "NATIVE": "NATIVE" + }, + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'entity_search_body': + (EntitySearchBody,), + 'origin': + (str,), + 'x_gdc_validate_relations': + (bool,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'origin': 'origin', + 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + }, + 'location_map': { + 'workspace_id': 'path', + 'entity_search_body': 'body', + 'origin': 'query', + 'x_gdc_validate_relations': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.search_entities_workspace_settings_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiWorkspaceDataFilterOutList,), + 'response_type': (JsonApiWorkspaceSettingOutList,), 'auth': [], - 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/search', - 'operation_id': 'search_entities_workspace_data_filters', + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/workspaceSettings/search', + 'operation_id': 'search_entities_workspace_settings', 'http_method': 'POST', 'servers': None, }, @@ -18202,30 +18465,25 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.search_entities_workspace_settings_endpoint = _Endpoint( + self.update_entity_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiWorkspaceSettingOutList,), + 'response_type': None, 'auth': [], - 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/workspaceSettings/search', - 'operation_id': 'search_entities_workspace_settings', - 'http_method': 'POST', + 'endpoint_path': '/api/v1/entities/llmEndpoints/{id}', + 'operation_id': 'update_entity', + 'http_method': 'PUT', 'servers': None, }, params_map={ 'all': [ - 'workspace_id', - 'entity_search_body', - 'origin', - 'x_gdc_validate_relations', + 'id', ], 'required': [ - 'workspace_id', - 'entity_search_body', + 'id', ], 'nullable': [ ], 'enum': [ - 'origin', ], 'validation': [ ] @@ -18234,45 +18492,23 @@ def __init__(self, api_client=None): 'validations': { }, 'allowed_values': { - ('origin',): { - - "ALL": "ALL", - "PARENTS": "PARENTS", - "NATIVE": "NATIVE" - }, }, 'openapi_types': { - 'workspace_id': - (str,), - 'entity_search_body': - (EntitySearchBody,), - 'origin': + 'id': (str,), - 'x_gdc_validate_relations': - (bool,), }, 'attribute_map': { - 'workspace_id': 'workspaceId', - 'origin': 'origin', - 'x_gdc_validate_relations': 'X-GDC-VALIDATE-RELATIONS', + 'id': 'id', }, 'location_map': { - 'workspace_id': 'path', - 'entity_search_body': 'body', - 'origin': 'query', - 'x_gdc_validate_relations': 'header', + 'id': 'path', }, 'collection_format_map': { } }, headers_map={ - 'accept': [ - 'application/json', - 'application/vnd.gooddata.api+json' - ], - 'content_type': [ - 'application/json' - ] + 'accept': [], + 'content_type': [], }, api_client=api_client ) @@ -19602,28 +19838,30 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.update_entity_jwks_endpoint = _Endpoint( + self.update_entity_ip_allowlist_policies_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiJwkOutDocument,), + 'response_type': (JsonApiIpAllowlistPolicyOutDocument,), 'auth': [], - 'endpoint_path': '/api/v1/entities/jwks/{id}', - 'operation_id': 'update_entity_jwks', + 'endpoint_path': '/api/v1/entities/ipAllowlistPolicies/{id}', + 'operation_id': 'update_entity_ip_allowlist_policies', 'http_method': 'PUT', 'servers': None, }, params_map={ 'all': [ 'id', - 'json_api_jwk_in_document', + 'json_api_ip_allowlist_policy_in_document', 'filter', + 'include', ], 'required': [ 'id', - 'json_api_jwk_in_document', + 'json_api_ip_allowlist_policy_in_document', ], 'nullable': [ ], 'enum': [ + 'include', ], 'validation': [ 'id', @@ -19639,25 +19877,36 @@ def __init__(self, api_client=None): }, }, 'allowed_values': { + ('include',): { + + "USERS": "users", + "USERGROUPS": "userGroups", + "ALL": "ALL" + }, }, 'openapi_types': { 'id': (str,), - 'json_api_jwk_in_document': - (JsonApiJwkInDocument,), + 'json_api_ip_allowlist_policy_in_document': + (JsonApiIpAllowlistPolicyInDocument,), 'filter': (str,), + 'include': + ([str],), }, 'attribute_map': { 'id': 'id', 'filter': 'filter', + 'include': 'include', }, 'location_map': { 'id': 'path', - 'json_api_jwk_in_document': 'body', + 'json_api_ip_allowlist_policy_in_document': 'body', 'filter': 'query', + 'include': 'query', }, 'collection_format_map': { + 'include': 'csv', } }, headers_map={ @@ -19672,76 +19921,62 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.update_entity_knowledge_recommendations_endpoint = _Endpoint( + self.update_entity_jwks_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiKnowledgeRecommendationOutDocument,), + 'response_type': (JsonApiJwkOutDocument,), 'auth': [], - 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId}', - 'operation_id': 'update_entity_knowledge_recommendations', + 'endpoint_path': '/api/v1/entities/jwks/{id}', + 'operation_id': 'update_entity_jwks', 'http_method': 'PUT', 'servers': None, }, params_map={ 'all': [ - 'workspace_id', - 'object_id', - 'json_api_knowledge_recommendation_in_document', + 'id', + 'json_api_jwk_in_document', 'filter', - 'include', ], 'required': [ - 'workspace_id', - 'object_id', - 'json_api_knowledge_recommendation_in_document', + 'id', + 'json_api_jwk_in_document', ], 'nullable': [ ], 'enum': [ - 'include', ], 'validation': [ + 'id', ] }, root_map={ 'validations': { - }, - 'allowed_values': { - ('include',): { + ('id',): { - "METRICS": "metrics", - "ANALYTICALDASHBOARDS": "analyticalDashboards", - "METRIC": "metric", - "ANALYTICALDASHBOARD": "analyticalDashboard", - "ALL": "ALL" + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, }, }, + 'allowed_values': { + }, 'openapi_types': { - 'workspace_id': - (str,), - 'object_id': + 'id': (str,), - 'json_api_knowledge_recommendation_in_document': - (JsonApiKnowledgeRecommendationInDocument,), + 'json_api_jwk_in_document': + (JsonApiJwkInDocument,), 'filter': (str,), - 'include': - ([str],), }, 'attribute_map': { - 'workspace_id': 'workspaceId', - 'object_id': 'objectId', + 'id': 'id', 'filter': 'filter', - 'include': 'include', }, 'location_map': { - 'workspace_id': 'path', - 'object_id': 'path', - 'json_api_knowledge_recommendation_in_document': 'body', + 'id': 'path', + 'json_api_jwk_in_document': 'body', 'filter': 'query', - 'include': 'query', }, 'collection_format_map': { - 'include': 'csv', } }, headers_map={ @@ -19756,62 +19991,76 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.update_entity_llm_endpoints_endpoint = _Endpoint( + self.update_entity_knowledge_recommendations_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiLlmEndpointOutDocument,), + 'response_type': (JsonApiKnowledgeRecommendationOutDocument,), 'auth': [], - 'endpoint_path': '/api/v1/entities/llmEndpoints/{id}', - 'operation_id': 'update_entity_llm_endpoints', + 'endpoint_path': '/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId}', + 'operation_id': 'update_entity_knowledge_recommendations', 'http_method': 'PUT', 'servers': None, }, params_map={ 'all': [ - 'id', - 'json_api_llm_endpoint_in_document', + 'workspace_id', + 'object_id', + 'json_api_knowledge_recommendation_in_document', 'filter', + 'include', ], 'required': [ - 'id', - 'json_api_llm_endpoint_in_document', + 'workspace_id', + 'object_id', + 'json_api_knowledge_recommendation_in_document', ], 'nullable': [ ], 'enum': [ + 'include', ], 'validation': [ - 'id', ] }, root_map={ 'validations': { - ('id',): { - - 'regex': { - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }, - }, }, 'allowed_values': { + ('include',): { + + "METRICS": "metrics", + "ANALYTICALDASHBOARDS": "analyticalDashboards", + "METRIC": "metric", + "ANALYTICALDASHBOARD": "analyticalDashboard", + "ALL": "ALL" + }, }, 'openapi_types': { - 'id': + 'workspace_id': (str,), - 'json_api_llm_endpoint_in_document': - (JsonApiLlmEndpointInDocument,), + 'object_id': + (str,), + 'json_api_knowledge_recommendation_in_document': + (JsonApiKnowledgeRecommendationInDocument,), 'filter': (str,), + 'include': + ([str],), }, 'attribute_map': { - 'id': 'id', + 'workspace_id': 'workspaceId', + 'object_id': 'objectId', 'filter': 'filter', + 'include': 'include', }, 'location_map': { - 'id': 'path', - 'json_api_llm_endpoint_in_document': 'body', + 'workspace_id': 'path', + 'object_id': 'path', + 'json_api_knowledge_recommendation_in_document': 'body', 'filter': 'query', + 'include': 'query', }, 'collection_format_map': { + 'include': 'csv', } }, headers_map={ @@ -21187,6 +21436,84 @@ def __init__(self, api_client=None): api_client=api_client ) + def create_entity( + self, + **kwargs + ): + """Post LLM endpoint entities (Removed) # noqa: E501 + + Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_entity(async_req=True) + >>> result = thread.get() + + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + return self.create_entity_endpoint.call_with_http_info(**kwargs) + def create_entity_agents( self, json_api_agent_in_document, @@ -22640,24 +22967,24 @@ def create_entity_identity_providers( json_api_identity_provider_in_document return self.create_entity_identity_providers_endpoint.call_with_http_info(**kwargs) - def create_entity_jwks( + def create_entity_ip_allowlist_policies( self, - json_api_jwk_in_document, + json_api_ip_allowlist_policy_in_document, **kwargs ): - """Post Jwks # noqa: E501 + """Post IpAllowlistPolicy entities # noqa: E501 - Creates JSON web key - used to verify JSON web tokens (Jwts) # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_entity_jwks(json_api_jwk_in_document, async_req=True) + >>> thread = api.create_entity_ip_allowlist_policies(json_api_ip_allowlist_policy_in_document, async_req=True) >>> result = thread.get() Args: - json_api_jwk_in_document (JsonApiJwkInDocument): + json_api_ip_allowlist_policy_in_document (JsonApiIpAllowlistPolicyInDocument): Keyword Args: + include ([str]): Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -22690,7 +23017,7 @@ def create_entity_jwks( async_req (bool): execute request asynchronously Returns: - JsonApiJwkOutDocument + JsonApiIpAllowlistPolicyOutDocument If the method is called asynchronously, returns the request thread. """ @@ -22719,31 +23046,28 @@ def create_entity_jwks( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['json_api_jwk_in_document'] = \ - json_api_jwk_in_document - return self.create_entity_jwks_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_ip_allowlist_policy_in_document'] = \ + json_api_ip_allowlist_policy_in_document + return self.create_entity_ip_allowlist_policies_endpoint.call_with_http_info(**kwargs) - def create_entity_knowledge_recommendations( + def create_entity_jwks( self, - workspace_id, - json_api_knowledge_recommendation_post_optional_id_document, + json_api_jwk_in_document, **kwargs ): - """Post Knowledge Recommendations # noqa: E501 + """Post Jwks # noqa: E501 + Creates JSON web key - used to verify JSON web tokens (Jwts) # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_entity_knowledge_recommendations(workspace_id, json_api_knowledge_recommendation_post_optional_id_document, async_req=True) + >>> thread = api.create_entity_jwks(json_api_jwk_in_document, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - json_api_knowledge_recommendation_post_optional_id_document (JsonApiKnowledgeRecommendationPostOptionalIdDocument): + json_api_jwk_in_document (JsonApiJwkInDocument): Keyword Args: - include ([str]): Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.. [optional] - meta_include ([str]): Include Meta objects.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -22776,7 +23100,7 @@ def create_entity_knowledge_recommendations( async_req (bool): execute request asynchronously Returns: - JsonApiKnowledgeRecommendationOutDocument + JsonApiJwkOutDocument If the method is called asynchronously, returns the request thread. """ @@ -22805,30 +23129,31 @@ def create_entity_knowledge_recommendations( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['workspace_id'] = \ - workspace_id - kwargs['json_api_knowledge_recommendation_post_optional_id_document'] = \ - json_api_knowledge_recommendation_post_optional_id_document - return self.create_entity_knowledge_recommendations_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_jwk_in_document'] = \ + json_api_jwk_in_document + return self.create_entity_jwks_endpoint.call_with_http_info(**kwargs) - def create_entity_llm_endpoints( + def create_entity_knowledge_recommendations( self, - json_api_llm_endpoint_in_document, + workspace_id, + json_api_knowledge_recommendation_post_optional_id_document, **kwargs ): - """Post LLM endpoint entities # noqa: E501 + """Post Knowledge Recommendations # noqa: E501 - Will be soon removed and replaced by LlmProvider. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_entity_llm_endpoints(json_api_llm_endpoint_in_document, async_req=True) + >>> thread = api.create_entity_knowledge_recommendations(workspace_id, json_api_knowledge_recommendation_post_optional_id_document, async_req=True) >>> result = thread.get() Args: - json_api_llm_endpoint_in_document (JsonApiLlmEndpointInDocument): + workspace_id (str): + json_api_knowledge_recommendation_post_optional_id_document (JsonApiKnowledgeRecommendationPostOptionalIdDocument): Keyword Args: + include ([str]): Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.. [optional] + meta_include ([str]): Include Meta objects.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -22861,7 +23186,7 @@ def create_entity_llm_endpoints( async_req (bool): execute request asynchronously Returns: - JsonApiLlmEndpointOutDocument + JsonApiKnowledgeRecommendationOutDocument If the method is called asynchronously, returns the request thread. """ @@ -22890,9 +23215,11 @@ def create_entity_llm_endpoints( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['json_api_llm_endpoint_in_document'] = \ - json_api_llm_endpoint_in_document - return self.create_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['json_api_knowledge_recommendation_post_optional_id_document'] = \ + json_api_knowledge_recommendation_post_optional_id_document + return self.create_entity_knowledge_recommendations_endpoint.call_with_http_info(**kwargs) def create_entity_llm_providers( self, @@ -24265,6 +24592,89 @@ def create_entity_workspaces( json_api_workspace_in_document return self.create_entity_workspaces_endpoint.call_with_http_info(**kwargs) + def delete_entity( + self, + id, + **kwargs + ): + """Delete LLM endpoint entity (Removed) # noqa: E501 + + Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_entity(id, async_req=True) + >>> result = thread.get() + + Args: + id (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['id'] = \ + id + return self.delete_entity_endpoint.call_with_http_info(**kwargs) + def delete_entity_agents( self, id, @@ -25701,18 +26111,17 @@ def delete_entity_identity_providers( id return self.delete_entity_identity_providers_endpoint.call_with_http_info(**kwargs) - def delete_entity_jwks( + def delete_entity_ip_allowlist_policies( self, id, **kwargs ): - """Delete Jwk # noqa: E501 + """Delete IpAllowlistPolicy entity # noqa: E501 - Deletes JSON web key - used to verify JSON web tokens (Jwts) # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_entity_jwks(id, async_req=True) + >>> thread = api.delete_entity_ip_allowlist_policies(id, async_req=True) >>> result = thread.get() Args: @@ -25782,25 +26191,24 @@ def delete_entity_jwks( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - return self.delete_entity_jwks_endpoint.call_with_http_info(**kwargs) + return self.delete_entity_ip_allowlist_policies_endpoint.call_with_http_info(**kwargs) - def delete_entity_knowledge_recommendations( + def delete_entity_jwks( self, - workspace_id, - object_id, + id, **kwargs ): - """Delete a Knowledge Recommendation # noqa: E501 + """Delete Jwk # noqa: E501 + Deletes JSON web key - used to verify JSON web tokens (Jwts) # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_entity_knowledge_recommendations(workspace_id, object_id, async_req=True) + >>> thread = api.delete_entity_jwks(id, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - object_id (str): + id (str): Keyword Args: _return_http_data_only (bool): response data without head status @@ -25864,28 +26272,27 @@ def delete_entity_knowledge_recommendations( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['workspace_id'] = \ - workspace_id - kwargs['object_id'] = \ - object_id - return self.delete_entity_knowledge_recommendations_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.delete_entity_jwks_endpoint.call_with_http_info(**kwargs) - def delete_entity_llm_endpoints( + def delete_entity_knowledge_recommendations( self, - id, + workspace_id, + object_id, **kwargs ): - """Delete LLM endpoint entity # noqa: E501 + """Delete a Knowledge Recommendation # noqa: E501 - Will be soon removed and replaced by LlmProvider. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_entity_llm_endpoints(id, async_req=True) + >>> thread = api.delete_entity_knowledge_recommendations(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: - id (str): + workspace_id (str): + object_id (str): Keyword Args: _return_http_data_only (bool): response data without head status @@ -25949,9 +26356,11 @@ def delete_entity_llm_endpoints( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.delete_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.delete_entity_knowledge_recommendations_endpoint.call_with_http_info(**kwargs) def delete_entity_llm_providers( self, @@ -27387,6 +27796,84 @@ def get_all_automations_workspace_automations( kwargs['_request_auths'] = kwargs.get('_request_auths', None) return self.get_all_automations_workspace_automations_endpoint.call_with_http_info(**kwargs) + def get_all_entities( + self, + **kwargs + ): + """Get all LLM endpoint entities (Removed) # noqa: E501 + + Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_all_entities(async_req=True) + >>> result = thread.get() + + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + return self.get_all_entities_endpoint.call_with_http_info(**kwargs) + def get_all_entities_agents( self, **kwargs @@ -29382,22 +29869,22 @@ def get_all_entities_identity_providers( kwargs['_request_auths'] = kwargs.get('_request_auths', None) return self.get_all_entities_identity_providers_endpoint.call_with_http_info(**kwargs) - def get_all_entities_jwks( + def get_all_entities_ip_allowlist_policies( self, **kwargs ): - """Get all Jwks # noqa: E501 + """Get all IpAllowlistPolicy entities # noqa: E501 - Returns all JSON web keys - used to verify JSON web tokens (Jwts) # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_all_entities_jwks(async_req=True) + >>> thread = api.get_all_entities_ip_allowlist_policies(async_req=True) >>> result = thread.get() Keyword Args: filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([str]): Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.. [optional] page (int): Zero-based page index (0..N). [optional] if omitted the server will use the default value of 0 size (int): The size of the page to be returned. [optional] if omitted the server will use the default value of 20 sort ([str]): Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.. [optional] @@ -29434,7 +29921,7 @@ def get_all_entities_jwks( async_req (bool): execute request asynchronously Returns: - JsonApiJwkOutList + JsonApiIpAllowlistPolicyOutList If the method is called asynchronously, returns the request thread. """ @@ -29463,32 +29950,27 @@ def get_all_entities_jwks( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_all_entities_jwks_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_ip_allowlist_policies_endpoint.call_with_http_info(**kwargs) - def get_all_entities_knowledge_recommendations( + def get_all_entities_jwks( self, - workspace_id, **kwargs ): - """Get all Knowledge Recommendations # noqa: E501 + """Get all Jwks # noqa: E501 + Returns all JSON web keys - used to verify JSON web tokens (Jwts) # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_all_entities_knowledge_recommendations(workspace_id, async_req=True) + >>> thread = api.get_all_entities_jwks(async_req=True) >>> result = thread.get() - Args: - workspace_id (str): Keyword Args: - origin (str): [optional] if omitted the server will use the default value of "ALL" filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] - include ([str]): Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.. [optional] page (int): Zero-based page index (0..N). [optional] if omitted the server will use the default value of 0 size (int): The size of the page to be returned. [optional] if omitted the server will use the default value of 20 sort ([str]): Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.. [optional] - x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False meta_include ([str]): Include Meta objects.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. @@ -29522,7 +30004,7 @@ def get_all_entities_knowledge_recommendations( async_req (bool): execute request asynchronously Returns: - JsonApiKnowledgeRecommendationOutList + JsonApiJwkOutList If the method is called asynchronously, returns the request thread. """ @@ -29551,21 +30033,19 @@ def get_all_entities_knowledge_recommendations( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['workspace_id'] = \ - workspace_id - return self.get_all_entities_knowledge_recommendations_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_jwks_endpoint.call_with_http_info(**kwargs) - def get_all_entities_labels( + def get_all_entities_knowledge_recommendations( self, workspace_id, **kwargs ): - """Get all Labels # noqa: E501 + """Get all Knowledge Recommendations # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_all_entities_labels(workspace_id, async_req=True) + >>> thread = api.get_all_entities_knowledge_recommendations(workspace_id, async_req=True) >>> result = thread.get() Args: @@ -29612,7 +30092,7 @@ def get_all_entities_labels( async_req (bool): execute request asynchronously Returns: - JsonApiLabelOutList + JsonApiKnowledgeRecommendationOutList If the method is called asynchronously, returns the request thread. """ @@ -29643,27 +30123,32 @@ def get_all_entities_labels( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - return self.get_all_entities_labels_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_knowledge_recommendations_endpoint.call_with_http_info(**kwargs) - def get_all_entities_llm_endpoints( + def get_all_entities_labels( self, + workspace_id, **kwargs ): - """Get all LLM endpoint entities # noqa: E501 + """Get all Labels # noqa: E501 - Will be soon removed and replaced by LlmProvider. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_all_entities_llm_endpoints(async_req=True) + >>> thread = api.get_all_entities_labels(workspace_id, async_req=True) >>> result = thread.get() + Args: + workspace_id (str): Keyword Args: + origin (str): [optional] if omitted the server will use the default value of "ALL" filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([str]): Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.. [optional] page (int): Zero-based page index (0..N). [optional] if omitted the server will use the default value of 0 size (int): The size of the page to be returned. [optional] if omitted the server will use the default value of 20 sort ([str]): Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.. [optional] + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False meta_include ([str]): Include Meta objects.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. @@ -29697,7 +30182,7 @@ def get_all_entities_llm_endpoints( async_req (bool): execute request asynchronously Returns: - JsonApiLlmEndpointOutList + JsonApiLabelOutList If the method is called asynchronously, returns the request thread. """ @@ -29726,7 +30211,9 @@ def get_all_entities_llm_endpoints( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_all_entities_llm_endpoints_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + return self.get_all_entities_labels_endpoint.call_with_http_info(**kwargs) def get_all_entities_llm_providers( self, @@ -31435,6 +31922,89 @@ def get_data_source_drivers( kwargs['_request_auths'] = kwargs.get('_request_auths', None) return self.get_data_source_drivers_endpoint.call_with_http_info(**kwargs) + def get_entity( + self, + id, + **kwargs + ): + """Get LLM endpoint entity (Removed) # noqa: E501 + + Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_entity(id, async_req=True) + >>> result = thread.get() + + Args: + id (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['id'] = \ + id + return self.get_entity_endpoint.call_with_http_info(**kwargs) + def get_entity_agents( self, id, @@ -33523,18 +34093,17 @@ def get_entity_identity_providers( id return self.get_entity_identity_providers_endpoint.call_with_http_info(**kwargs) - def get_entity_jwks( + def get_entity_ip_allowlist_policies( self, id, **kwargs ): - """Get Jwk # noqa: E501 + """Get IpAllowlistPolicy entity # noqa: E501 - Returns JSON web key - used to verify JSON web tokens (Jwts) # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_entity_jwks(id, async_req=True) + >>> thread = api.get_entity_ip_allowlist_policies(id, async_req=True) >>> result = thread.get() Args: @@ -33542,6 +34111,7 @@ def get_entity_jwks( Keyword Args: filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([str]): Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -33574,7 +34144,7 @@ def get_entity_jwks( async_req (bool): execute request asynchronously Returns: - JsonApiJwkOutDocument + JsonApiIpAllowlistPolicyOutDocument If the method is called asynchronously, returns the request thread. """ @@ -33605,31 +34175,27 @@ def get_entity_jwks( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - return self.get_entity_jwks_endpoint.call_with_http_info(**kwargs) + return self.get_entity_ip_allowlist_policies_endpoint.call_with_http_info(**kwargs) - def get_entity_knowledge_recommendations( + def get_entity_jwks( self, - workspace_id, - object_id, + id, **kwargs ): - """Get a Knowledge Recommendation # noqa: E501 + """Get Jwk # noqa: E501 + Returns JSON web key - used to verify JSON web tokens (Jwts) # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_entity_knowledge_recommendations(workspace_id, object_id, async_req=True) + >>> thread = api.get_entity_jwks(id, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - object_id (str): + id (str): Keyword Args: filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] - include ([str]): Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.. [optional] - x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False - meta_include ([str]): Include Meta objects.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -33662,7 +34228,7 @@ def get_entity_knowledge_recommendations( async_req (bool): execute request asynchronously Returns: - JsonApiKnowledgeRecommendationOutDocument + JsonApiJwkOutDocument If the method is called asynchronously, returns the request thread. """ @@ -33691,24 +34257,22 @@ def get_entity_knowledge_recommendations( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['workspace_id'] = \ - workspace_id - kwargs['object_id'] = \ - object_id - return self.get_entity_knowledge_recommendations_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.get_entity_jwks_endpoint.call_with_http_info(**kwargs) - def get_entity_labels( + def get_entity_knowledge_recommendations( self, workspace_id, object_id, **kwargs ): - """Get a Label # noqa: E501 + """Get a Knowledge Recommendation # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_entity_labels(workspace_id, object_id, async_req=True) + >>> thread = api.get_entity_knowledge_recommendations(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: @@ -33752,7 +34316,7 @@ def get_entity_labels( async_req (bool): execute request asynchronously Returns: - JsonApiLabelOutDocument + JsonApiKnowledgeRecommendationOutDocument If the method is called asynchronously, returns the request thread. """ @@ -33785,27 +34349,31 @@ def get_entity_labels( workspace_id kwargs['object_id'] = \ object_id - return self.get_entity_labels_endpoint.call_with_http_info(**kwargs) + return self.get_entity_knowledge_recommendations_endpoint.call_with_http_info(**kwargs) - def get_entity_llm_endpoints( + def get_entity_labels( self, - id, + workspace_id, + object_id, **kwargs ): - """Get LLM endpoint entity # noqa: E501 + """Get a Label # noqa: E501 - Will be soon removed and replaced by LlmProvider. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_entity_llm_endpoints(id, async_req=True) + >>> thread = api.get_entity_labels(workspace_id, object_id, async_req=True) >>> result = thread.get() Args: - id (str): + workspace_id (str): + object_id (str): Keyword Args: filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([str]): Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.. [optional] + x_gdc_validate_relations (bool): [optional] if omitted the server will use the default value of False + meta_include ([str]): Include Meta objects.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -33838,7 +34406,7 @@ def get_entity_llm_endpoints( async_req (bool): execute request asynchronously Returns: - JsonApiLlmEndpointOutDocument + JsonApiLabelOutDocument If the method is called asynchronously, returns the request thread. """ @@ -33867,9 +34435,11 @@ def get_entity_llm_endpoints( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.get_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.get_entity_labels_endpoint.call_with_http_info(**kwargs) def get_entity_llm_providers( self, @@ -35425,33 +35995,114 @@ def get_entity_workspace_settings( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['workspace_id'] = \ - workspace_id - kwargs['object_id'] = \ - object_id - return self.get_entity_workspace_settings_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + return self.get_entity_workspace_settings_endpoint.call_with_http_info(**kwargs) + + def get_entity_workspaces( + self, + id, + **kwargs + ): + """Get Workspace entity # noqa: E501 + + Space of the shared interest # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_entity_workspaces(id, async_req=True) + >>> result = thread.get() + + Args: + id (str): + + Keyword Args: + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([str]): Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.. [optional] + meta_include ([str]): Include Meta objects.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiWorkspaceOutDocument + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['id'] = \ + id + return self.get_entity_workspaces_endpoint.call_with_http_info(**kwargs) - def get_entity_workspaces( + def get_organization( self, - id, **kwargs ): - """Get Workspace entity # noqa: E501 + """Get current organization info # noqa: E501 - Space of the shared interest # noqa: E501 + Gets a basic information about organization. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_entity_workspaces(id, async_req=True) + >>> thread = api.get_organization(async_req=True) >>> result = thread.get() - Args: - id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] - include ([str]): Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.. [optional] - meta_include ([str]): Include Meta objects.. [optional] + meta_include ([str]): Return list of permissions available to logged user.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -35484,7 +36135,7 @@ def get_entity_workspaces( async_req (bool): execute request asynchronously Returns: - JsonApiWorkspaceOutDocument + None If the method is called asynchronously, returns the request thread. """ @@ -35513,26 +36164,26 @@ def get_entity_workspaces( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.get_entity_workspaces_endpoint.call_with_http_info(**kwargs) + return self.get_organization_endpoint.call_with_http_info(**kwargs) - def get_organization( + def patch_entity( self, + id, **kwargs ): - """Get current organization info # noqa: E501 + """Patch LLM endpoint entity (Removed) # noqa: E501 - Gets a basic information about organization. # noqa: E501 + Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_organization(async_req=True) + >>> thread = api.patch_entity(id, async_req=True) >>> result = thread.get() + Args: + id (str): Keyword Args: - meta_include ([str]): Return list of permissions available to logged user.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -35594,7 +36245,9 @@ def get_organization( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_organization_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.patch_entity_endpoint.call_with_http_info(**kwargs) def patch_entity_agents( self, @@ -37578,94 +38231,6 @@ def patch_entity_labels( json_api_label_patch_document return self.patch_entity_labels_endpoint.call_with_http_info(**kwargs) - def patch_entity_llm_endpoints( - self, - id, - json_api_llm_endpoint_patch_document, - **kwargs - ): - """Patch LLM endpoint entity # noqa: E501 - - Will be soon removed and replaced by LlmProvider. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.patch_entity_llm_endpoints(id, json_api_llm_endpoint_patch_document, async_req=True) - >>> result = thread.get() - - Args: - id (str): - json_api_llm_endpoint_patch_document (JsonApiLlmEndpointPatchDocument): - - Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - JsonApiLlmEndpointOutDocument - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - kwargs['json_api_llm_endpoint_patch_document'] = \ - json_api_llm_endpoint_patch_document - return self.patch_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) - def patch_entity_llm_providers( self, id, @@ -41128,6 +41693,89 @@ def search_entities_workspace_settings( entity_search_body return self.search_entities_workspace_settings_endpoint.call_with_http_info(**kwargs) + def update_entity( + self, + id, + **kwargs + ): + """PUT LLM endpoint entity (Removed) # noqa: E501 + + Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_entity(id, async_req=True) + >>> result = thread.get() + + Args: + id (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['id'] = \ + id + return self.update_entity_endpoint.call_with_http_info(**kwargs) + def update_entity_agents( self, id, @@ -42653,27 +43301,27 @@ def update_entity_identity_providers( json_api_identity_provider_in_document return self.update_entity_identity_providers_endpoint.call_with_http_info(**kwargs) - def update_entity_jwks( + def update_entity_ip_allowlist_policies( self, id, - json_api_jwk_in_document, + json_api_ip_allowlist_policy_in_document, **kwargs ): - """Put Jwk # noqa: E501 + """Put IpAllowlistPolicy entity # noqa: E501 - Updates JSON web key - used to verify JSON web tokens (Jwts) # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_entity_jwks(id, json_api_jwk_in_document, async_req=True) + >>> thread = api.update_entity_ip_allowlist_policies(id, json_api_ip_allowlist_policy_in_document, async_req=True) >>> result = thread.get() Args: id (str): - json_api_jwk_in_document (JsonApiJwkInDocument): + json_api_ip_allowlist_policy_in_document (JsonApiIpAllowlistPolicyInDocument): Keyword Args: filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([str]): Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -42706,7 +43354,7 @@ def update_entity_jwks( async_req (bool): execute request asynchronously Returns: - JsonApiJwkOutDocument + JsonApiIpAllowlistPolicyOutDocument If the method is called asynchronously, returns the request thread. """ @@ -42737,33 +43385,31 @@ def update_entity_jwks( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - kwargs['json_api_jwk_in_document'] = \ - json_api_jwk_in_document - return self.update_entity_jwks_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_ip_allowlist_policy_in_document'] = \ + json_api_ip_allowlist_policy_in_document + return self.update_entity_ip_allowlist_policies_endpoint.call_with_http_info(**kwargs) - def update_entity_knowledge_recommendations( + def update_entity_jwks( self, - workspace_id, - object_id, - json_api_knowledge_recommendation_in_document, + id, + json_api_jwk_in_document, **kwargs ): - """Put a Knowledge Recommendation # noqa: E501 + """Put Jwk # noqa: E501 + Updates JSON web key - used to verify JSON web tokens (Jwts) # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_entity_knowledge_recommendations(workspace_id, object_id, json_api_knowledge_recommendation_in_document, async_req=True) + >>> thread = api.update_entity_jwks(id, json_api_jwk_in_document, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - object_id (str): - json_api_knowledge_recommendation_in_document (JsonApiKnowledgeRecommendationInDocument): + id (str): + json_api_jwk_in_document (JsonApiJwkInDocument): Keyword Args: filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] - include ([str]): Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -42796,7 +43442,7 @@ def update_entity_knowledge_recommendations( async_req (bool): execute request asynchronously Returns: - JsonApiKnowledgeRecommendationOutDocument + JsonApiJwkOutDocument If the method is called asynchronously, returns the request thread. """ @@ -42825,35 +43471,35 @@ def update_entity_knowledge_recommendations( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['workspace_id'] = \ - workspace_id - kwargs['object_id'] = \ - object_id - kwargs['json_api_knowledge_recommendation_in_document'] = \ - json_api_knowledge_recommendation_in_document - return self.update_entity_knowledge_recommendations_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + kwargs['json_api_jwk_in_document'] = \ + json_api_jwk_in_document + return self.update_entity_jwks_endpoint.call_with_http_info(**kwargs) - def update_entity_llm_endpoints( + def update_entity_knowledge_recommendations( self, - id, - json_api_llm_endpoint_in_document, + workspace_id, + object_id, + json_api_knowledge_recommendation_in_document, **kwargs ): - """PUT LLM endpoint entity # noqa: E501 + """Put a Knowledge Recommendation # noqa: E501 - Will be soon removed and replaced by LlmProvider. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_entity_llm_endpoints(id, json_api_llm_endpoint_in_document, async_req=True) + >>> thread = api.update_entity_knowledge_recommendations(workspace_id, object_id, json_api_knowledge_recommendation_in_document, async_req=True) >>> result = thread.get() Args: - id (str): - json_api_llm_endpoint_in_document (JsonApiLlmEndpointInDocument): + workspace_id (str): + object_id (str): + json_api_knowledge_recommendation_in_document (JsonApiKnowledgeRecommendationInDocument): Keyword Args: filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([str]): Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -42886,7 +43532,7 @@ def update_entity_llm_endpoints( async_req (bool): execute request asynchronously Returns: - JsonApiLlmEndpointOutDocument + JsonApiKnowledgeRecommendationOutDocument If the method is called asynchronously, returns the request thread. """ @@ -42915,11 +43561,13 @@ def update_entity_llm_endpoints( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - kwargs['json_api_llm_endpoint_in_document'] = \ - json_api_llm_endpoint_in_document - return self.update_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['object_id'] = \ + object_id + kwargs['json_api_knowledge_recommendation_in_document'] = \ + json_api_knowledge_recommendation_in_document + return self.update_entity_knowledge_recommendations_endpoint.call_with_http_info(**kwargs) def update_entity_llm_providers( self, diff --git a/gooddata-api-client/gooddata_api_client/api/llm_endpoint_controller_api.py b/gooddata-api-client/gooddata_api_client/api/ip_allowlist_policy_controller_api.py similarity index 70% rename from gooddata-api-client/gooddata_api_client/api/llm_endpoint_controller_api.py rename to gooddata-api-client/gooddata_api_client/api/ip_allowlist_policy_controller_api.py index 3f35d205e..4f2622518 100644 --- a/gooddata-api-client/gooddata_api_client/api/llm_endpoint_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/ip_allowlist_policy_controller_api.py @@ -22,13 +22,12 @@ none_type, validate_and_convert_types ) -from gooddata_api_client.model.json_api_llm_endpoint_in_document import JsonApiLlmEndpointInDocument -from gooddata_api_client.model.json_api_llm_endpoint_out_document import JsonApiLlmEndpointOutDocument -from gooddata_api_client.model.json_api_llm_endpoint_out_list import JsonApiLlmEndpointOutList -from gooddata_api_client.model.json_api_llm_endpoint_patch_document import JsonApiLlmEndpointPatchDocument +from gooddata_api_client.model.json_api_ip_allowlist_policy_in_document import JsonApiIpAllowlistPolicyInDocument +from gooddata_api_client.model.json_api_ip_allowlist_policy_out_document import JsonApiIpAllowlistPolicyOutDocument +from gooddata_api_client.model.json_api_ip_allowlist_policy_out_list import JsonApiIpAllowlistPolicyOutList -class LlmEndpointControllerApi(object): +class IpAllowlistPolicyControllerApi(object): """NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech @@ -39,25 +38,27 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.create_entity_llm_endpoints_endpoint = _Endpoint( + self.create_entity_ip_allowlist_policies_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiLlmEndpointOutDocument,), + 'response_type': (JsonApiIpAllowlistPolicyOutDocument,), 'auth': [], - 'endpoint_path': '/api/v1/entities/llmEndpoints', - 'operation_id': 'create_entity_llm_endpoints', + 'endpoint_path': '/api/v1/entities/ipAllowlistPolicies', + 'operation_id': 'create_entity_ip_allowlist_policies', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'json_api_llm_endpoint_in_document', + 'json_api_ip_allowlist_policy_in_document', + 'include', ], 'required': [ - 'json_api_llm_endpoint_in_document', + 'json_api_ip_allowlist_policy_in_document', ], 'nullable': [ ], 'enum': [ + 'include', ], 'validation': [ ] @@ -66,17 +67,28 @@ def __init__(self, api_client=None): 'validations': { }, 'allowed_values': { + ('include',): { + + "USERS": "users", + "USERGROUPS": "userGroups", + "ALL": "ALL" + }, }, 'openapi_types': { - 'json_api_llm_endpoint_in_document': - (JsonApiLlmEndpointInDocument,), + 'json_api_ip_allowlist_policy_in_document': + (JsonApiIpAllowlistPolicyInDocument,), + 'include': + ([str],), }, 'attribute_map': { + 'include': 'include', }, 'location_map': { - 'json_api_llm_endpoint_in_document': 'body', + 'json_api_ip_allowlist_policy_in_document': 'body', + 'include': 'query', }, 'collection_format_map': { + 'include': 'csv', } }, headers_map={ @@ -91,12 +103,12 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.delete_entity_llm_endpoints_endpoint = _Endpoint( + self.delete_entity_ip_allowlist_policies_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': [], - 'endpoint_path': '/api/v1/entities/llmEndpoints/{id}', - 'operation_id': 'delete_entity_llm_endpoints', + 'endpoint_path': '/api/v1/entities/ipAllowlistPolicies/{id}', + 'operation_id': 'delete_entity_ip_allowlist_policies', 'http_method': 'DELETE', 'servers': None, }, @@ -145,18 +157,19 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_all_entities_llm_endpoints_endpoint = _Endpoint( + self.get_all_entities_ip_allowlist_policies_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiLlmEndpointOutList,), + 'response_type': (JsonApiIpAllowlistPolicyOutList,), 'auth': [], - 'endpoint_path': '/api/v1/entities/llmEndpoints', - 'operation_id': 'get_all_entities_llm_endpoints', + 'endpoint_path': '/api/v1/entities/ipAllowlistPolicies', + 'operation_id': 'get_all_entities_ip_allowlist_policies', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'filter', + 'include', 'page', 'size', 'sort', @@ -166,6 +179,7 @@ def __init__(self, api_client=None): 'nullable': [ ], 'enum': [ + 'include', 'meta_include', ], 'validation': [ @@ -179,6 +193,12 @@ def __init__(self, api_client=None): }, }, 'allowed_values': { + ('include',): { + + "USERS": "users", + "USERGROUPS": "userGroups", + "ALL": "ALL" + }, ('meta_include',): { "PAGE": "page", @@ -189,6 +209,8 @@ def __init__(self, api_client=None): 'openapi_types': { 'filter': (str,), + 'include': + ([str],), 'page': (int,), 'size': @@ -200,6 +222,7 @@ def __init__(self, api_client=None): }, 'attribute_map': { 'filter': 'filter', + 'include': 'include', 'page': 'page', 'size': 'size', 'sort': 'sort', @@ -207,12 +230,14 @@ def __init__(self, api_client=None): }, 'location_map': { 'filter': 'query', + 'include': 'query', 'page': 'query', 'size': 'query', 'sort': 'query', 'meta_include': 'query', }, 'collection_format_map': { + 'include': 'csv', 'sort': 'multi', 'meta_include': 'csv', } @@ -226,12 +251,12 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_entity_llm_endpoints_endpoint = _Endpoint( + self.get_entity_ip_allowlist_policies_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiLlmEndpointOutDocument,), + 'response_type': (JsonApiIpAllowlistPolicyOutDocument,), 'auth': [], - 'endpoint_path': '/api/v1/entities/llmEndpoints/{id}', - 'operation_id': 'get_entity_llm_endpoints', + 'endpoint_path': '/api/v1/entities/ipAllowlistPolicies/{id}', + 'operation_id': 'get_entity_ip_allowlist_policies', 'http_method': 'GET', 'servers': None, }, @@ -239,6 +264,7 @@ def __init__(self, api_client=None): 'all': [ 'id', 'filter', + 'include', ], 'required': [ 'id', @@ -246,6 +272,7 @@ def __init__(self, api_client=None): 'nullable': [ ], 'enum': [ + 'include', ], 'validation': [ 'id', @@ -261,89 +288,33 @@ def __init__(self, api_client=None): }, }, 'allowed_values': { - }, - 'openapi_types': { - 'id': - (str,), - 'filter': - (str,), - }, - 'attribute_map': { - 'id': 'id', - 'filter': 'filter', - }, - 'location_map': { - 'id': 'path', - 'filter': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json', - 'application/vnd.gooddata.api+json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.patch_entity_llm_endpoints_endpoint = _Endpoint( - settings={ - 'response_type': (JsonApiLlmEndpointOutDocument,), - 'auth': [], - 'endpoint_path': '/api/v1/entities/llmEndpoints/{id}', - 'operation_id': 'patch_entity_llm_endpoints', - 'http_method': 'PATCH', - 'servers': None, - }, - params_map={ - 'all': [ - 'id', - 'json_api_llm_endpoint_patch_document', - 'filter', - ], - 'required': [ - 'id', - 'json_api_llm_endpoint_patch_document', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'id', - ] - }, - root_map={ - 'validations': { - ('id',): { + ('include',): { - 'regex': { - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }, + "USERS": "users", + "USERGROUPS": "userGroups", + "ALL": "ALL" }, }, - 'allowed_values': { - }, 'openapi_types': { 'id': (str,), - 'json_api_llm_endpoint_patch_document': - (JsonApiLlmEndpointPatchDocument,), 'filter': (str,), + 'include': + ([str],), }, 'attribute_map': { 'id': 'id', 'filter': 'filter', + 'include': 'include', }, 'location_map': { 'id': 'path', - 'json_api_llm_endpoint_patch_document': 'body', 'filter': 'query', + 'include': 'query', }, 'collection_format_map': { + 'include': 'csv', } }, headers_map={ @@ -351,35 +322,34 @@ def __init__(self, api_client=None): 'application/json', 'application/vnd.gooddata.api+json' ], - 'content_type': [ - 'application/json', - 'application/vnd.gooddata.api+json' - ] + 'content_type': [], }, api_client=api_client ) - self.update_entity_llm_endpoints_endpoint = _Endpoint( + self.update_entity_ip_allowlist_policies_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiLlmEndpointOutDocument,), + 'response_type': (JsonApiIpAllowlistPolicyOutDocument,), 'auth': [], - 'endpoint_path': '/api/v1/entities/llmEndpoints/{id}', - 'operation_id': 'update_entity_llm_endpoints', + 'endpoint_path': '/api/v1/entities/ipAllowlistPolicies/{id}', + 'operation_id': 'update_entity_ip_allowlist_policies', 'http_method': 'PUT', 'servers': None, }, params_map={ 'all': [ 'id', - 'json_api_llm_endpoint_in_document', + 'json_api_ip_allowlist_policy_in_document', 'filter', + 'include', ], 'required': [ 'id', - 'json_api_llm_endpoint_in_document', + 'json_api_ip_allowlist_policy_in_document', ], 'nullable': [ ], 'enum': [ + 'include', ], 'validation': [ 'id', @@ -395,25 +365,36 @@ def __init__(self, api_client=None): }, }, 'allowed_values': { + ('include',): { + + "USERS": "users", + "USERGROUPS": "userGroups", + "ALL": "ALL" + }, }, 'openapi_types': { 'id': (str,), - 'json_api_llm_endpoint_in_document': - (JsonApiLlmEndpointInDocument,), + 'json_api_ip_allowlist_policy_in_document': + (JsonApiIpAllowlistPolicyInDocument,), 'filter': (str,), + 'include': + ([str],), }, 'attribute_map': { 'id': 'id', 'filter': 'filter', + 'include': 'include', }, 'location_map': { 'id': 'path', - 'json_api_llm_endpoint_in_document': 'body', + 'json_api_ip_allowlist_policy_in_document': 'body', 'filter': 'query', + 'include': 'query', }, 'collection_format_map': { + 'include': 'csv', } }, headers_map={ @@ -429,24 +410,24 @@ def __init__(self, api_client=None): api_client=api_client ) - def create_entity_llm_endpoints( + def create_entity_ip_allowlist_policies( self, - json_api_llm_endpoint_in_document, + json_api_ip_allowlist_policy_in_document, **kwargs ): - """Post LLM endpoint entities # noqa: E501 + """Post IpAllowlistPolicy entities # noqa: E501 - Will be soon removed and replaced by LlmProvider. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_entity_llm_endpoints(json_api_llm_endpoint_in_document, async_req=True) + >>> thread = api.create_entity_ip_allowlist_policies(json_api_ip_allowlist_policy_in_document, async_req=True) >>> result = thread.get() Args: - json_api_llm_endpoint_in_document (JsonApiLlmEndpointInDocument): + json_api_ip_allowlist_policy_in_document (JsonApiIpAllowlistPolicyInDocument): Keyword Args: + include ([str]): Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -479,7 +460,7 @@ def create_entity_llm_endpoints( async_req (bool): execute request asynchronously Returns: - JsonApiLlmEndpointOutDocument + JsonApiIpAllowlistPolicyOutDocument If the method is called asynchronously, returns the request thread. """ @@ -508,22 +489,21 @@ def create_entity_llm_endpoints( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['json_api_llm_endpoint_in_document'] = \ - json_api_llm_endpoint_in_document - return self.create_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_ip_allowlist_policy_in_document'] = \ + json_api_ip_allowlist_policy_in_document + return self.create_entity_ip_allowlist_policies_endpoint.call_with_http_info(**kwargs) - def delete_entity_llm_endpoints( + def delete_entity_ip_allowlist_policies( self, id, **kwargs ): - """Delete LLM endpoint entity # noqa: E501 + """Delete IpAllowlistPolicy entity # noqa: E501 - Will be soon removed and replaced by LlmProvider. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_entity_llm_endpoints(id, async_req=True) + >>> thread = api.delete_entity_ip_allowlist_policies(id, async_req=True) >>> result = thread.get() Args: @@ -593,24 +573,24 @@ def delete_entity_llm_endpoints( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - return self.delete_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) + return self.delete_entity_ip_allowlist_policies_endpoint.call_with_http_info(**kwargs) - def get_all_entities_llm_endpoints( + def get_all_entities_ip_allowlist_policies( self, **kwargs ): - """Get all LLM endpoint entities # noqa: E501 + """Get all IpAllowlistPolicy entities # noqa: E501 - Will be soon removed and replaced by LlmProvider. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_all_entities_llm_endpoints(async_req=True) + >>> thread = api.get_all_entities_ip_allowlist_policies(async_req=True) >>> result = thread.get() Keyword Args: filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([str]): Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.. [optional] page (int): Zero-based page index (0..N). [optional] if omitted the server will use the default value of 0 size (int): The size of the page to be returned. [optional] if omitted the server will use the default value of 20 sort ([str]): Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.. [optional] @@ -647,89 +627,7 @@ def get_all_entities_llm_endpoints( async_req (bool): execute request asynchronously Returns: - JsonApiLlmEndpointOutList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_all_entities_llm_endpoints_endpoint.call_with_http_info(**kwargs) - - def get_entity_llm_endpoints( - self, - id, - **kwargs - ): - """Get LLM endpoint entity # noqa: E501 - - Will be soon removed and replaced by LlmProvider. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_entity_llm_endpoints(id, async_req=True) - >>> result = thread.get() - - Args: - id (str): - - Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - JsonApiLlmEndpointOutDocument + JsonApiIpAllowlistPolicyOutList If the method is called asynchronously, returns the request thread. """ @@ -758,31 +656,27 @@ def get_entity_llm_endpoints( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.get_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_ip_allowlist_policies_endpoint.call_with_http_info(**kwargs) - def patch_entity_llm_endpoints( + def get_entity_ip_allowlist_policies( self, id, - json_api_llm_endpoint_patch_document, **kwargs ): - """Patch LLM endpoint entity # noqa: E501 + """Get IpAllowlistPolicy entity # noqa: E501 - Will be soon removed and replaced by LlmProvider. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.patch_entity_llm_endpoints(id, json_api_llm_endpoint_patch_document, async_req=True) + >>> thread = api.get_entity_ip_allowlist_policies(id, async_req=True) >>> result = thread.get() Args: id (str): - json_api_llm_endpoint_patch_document (JsonApiLlmEndpointPatchDocument): Keyword Args: filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([str]): Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -815,7 +709,7 @@ def patch_entity_llm_endpoints( async_req (bool): execute request asynchronously Returns: - JsonApiLlmEndpointOutDocument + JsonApiIpAllowlistPolicyOutDocument If the method is called asynchronously, returns the request thread. """ @@ -846,31 +740,29 @@ def patch_entity_llm_endpoints( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - kwargs['json_api_llm_endpoint_patch_document'] = \ - json_api_llm_endpoint_patch_document - return self.patch_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) + return self.get_entity_ip_allowlist_policies_endpoint.call_with_http_info(**kwargs) - def update_entity_llm_endpoints( + def update_entity_ip_allowlist_policies( self, id, - json_api_llm_endpoint_in_document, + json_api_ip_allowlist_policy_in_document, **kwargs ): - """PUT LLM endpoint entity # noqa: E501 + """Put IpAllowlistPolicy entity # noqa: E501 - Will be soon removed and replaced by LlmProvider. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_entity_llm_endpoints(id, json_api_llm_endpoint_in_document, async_req=True) + >>> thread = api.update_entity_ip_allowlist_policies(id, json_api_ip_allowlist_policy_in_document, async_req=True) >>> result = thread.get() Args: id (str): - json_api_llm_endpoint_in_document (JsonApiLlmEndpointInDocument): + json_api_ip_allowlist_policy_in_document (JsonApiIpAllowlistPolicyInDocument): Keyword Args: filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([str]): Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -903,7 +795,7 @@ def update_entity_llm_endpoints( async_req (bool): execute request asynchronously Returns: - JsonApiLlmEndpointOutDocument + JsonApiIpAllowlistPolicyOutDocument If the method is called asynchronously, returns the request thread. """ @@ -934,7 +826,7 @@ def update_entity_llm_endpoints( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - kwargs['json_api_llm_endpoint_in_document'] = \ - json_api_llm_endpoint_in_document - return self.update_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) + kwargs['json_api_ip_allowlist_policy_in_document'] = \ + json_api_ip_allowlist_policy_in_document + return self.update_entity_ip_allowlist_policies_endpoint.call_with_http_info(**kwargs) diff --git a/gooddata-api-client/gooddata_api_client/api/llm_endpoints_api.py b/gooddata-api-client/gooddata_api_client/api/llm_endpoints_api.py index e3d6106c3..6729a7453 100644 --- a/gooddata-api-client/gooddata_api_client/api/llm_endpoints_api.py +++ b/gooddata-api-client/gooddata_api_client/api/llm_endpoints_api.py @@ -22,10 +22,6 @@ none_type, validate_and_convert_types ) -from gooddata_api_client.model.json_api_llm_endpoint_in_document import JsonApiLlmEndpointInDocument -from gooddata_api_client.model.json_api_llm_endpoint_out_document import JsonApiLlmEndpointOutDocument -from gooddata_api_client.model.json_api_llm_endpoint_out_list import JsonApiLlmEndpointOutList -from gooddata_api_client.model.json_api_llm_endpoint_patch_document import JsonApiLlmEndpointPatchDocument class LLMEndpointsApi(object): @@ -39,22 +35,19 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.create_entity_llm_endpoints_endpoint = _Endpoint( + self.create_entity_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiLlmEndpointOutDocument,), + 'response_type': None, 'auth': [], 'endpoint_path': '/api/v1/entities/llmEndpoints', - 'operation_id': 'create_entity_llm_endpoints', + 'operation_id': 'create_entity', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'json_api_llm_endpoint_in_document', - ], - 'required': [ - 'json_api_llm_endpoint_in_document', ], + 'required': [], 'nullable': [ ], 'enum': [ @@ -68,35 +61,26 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'json_api_llm_endpoint_in_document': - (JsonApiLlmEndpointInDocument,), }, 'attribute_map': { }, 'location_map': { - 'json_api_llm_endpoint_in_document': 'body', }, 'collection_format_map': { } }, headers_map={ - 'accept': [ - 'application/json', - 'application/vnd.gooddata.api+json' - ], - 'content_type': [ - 'application/json', - 'application/vnd.gooddata.api+json' - ] + 'accept': [], + 'content_type': [], }, api_client=api_client ) - self.delete_entity_llm_endpoints_endpoint = _Endpoint( + self.delete_entity_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': [], 'endpoint_path': '/api/v1/entities/llmEndpoints/{id}', - 'operation_id': 'delete_entity_llm_endpoints', + 'operation_id': 'delete_entity', 'http_method': 'DELETE', 'servers': None, }, @@ -112,17 +96,10 @@ def __init__(self, api_client=None): 'enum': [ ], 'validation': [ - 'id', ] }, root_map={ 'validations': { - ('id',): { - - 'regex': { - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }, - }, }, 'allowed_values': { }, @@ -145,100 +122,58 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_all_entities_llm_endpoints_endpoint = _Endpoint( + self.get_all_entities_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiLlmEndpointOutList,), + 'response_type': None, 'auth': [], 'endpoint_path': '/api/v1/entities/llmEndpoints', - 'operation_id': 'get_all_entities_llm_endpoints', + 'operation_id': 'get_all_entities', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ - 'filter', - 'page', - 'size', - 'sort', - 'meta_include', ], 'required': [], 'nullable': [ ], 'enum': [ - 'meta_include', ], 'validation': [ - 'meta_include', ] }, root_map={ 'validations': { - ('meta_include',): { - - }, }, 'allowed_values': { - ('meta_include',): { - - "PAGE": "page", - "ALL": "all", - "ALL": "ALL" - }, }, 'openapi_types': { - 'filter': - (str,), - 'page': - (int,), - 'size': - (int,), - 'sort': - ([str],), - 'meta_include': - ([str],), }, 'attribute_map': { - 'filter': 'filter', - 'page': 'page', - 'size': 'size', - 'sort': 'sort', - 'meta_include': 'metaInclude', }, 'location_map': { - 'filter': 'query', - 'page': 'query', - 'size': 'query', - 'sort': 'query', - 'meta_include': 'query', }, 'collection_format_map': { - 'sort': 'multi', - 'meta_include': 'csv', } }, headers_map={ - 'accept': [ - 'application/json', - 'application/vnd.gooddata.api+json' - ], + 'accept': [], 'content_type': [], }, api_client=api_client ) - self.get_entity_llm_endpoints_endpoint = _Endpoint( + self.get_entity_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiLlmEndpointOutDocument,), + 'response_type': None, 'auth': [], 'endpoint_path': '/api/v1/entities/llmEndpoints/{id}', - 'operation_id': 'get_entity_llm_endpoints', + 'operation_id': 'get_entity', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'id', - 'filter', ], 'required': [ 'id', @@ -248,203 +183,140 @@ def __init__(self, api_client=None): 'enum': [ ], 'validation': [ - 'id', ] }, root_map={ 'validations': { - ('id',): { - - 'regex': { - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }, - }, }, 'allowed_values': { }, 'openapi_types': { 'id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'id': 'id', - 'filter': 'filter', }, 'location_map': { 'id': 'path', - 'filter': 'query', }, 'collection_format_map': { } }, headers_map={ - 'accept': [ - 'application/json', - 'application/vnd.gooddata.api+json' - ], + 'accept': [], 'content_type': [], }, api_client=api_client ) - self.patch_entity_llm_endpoints_endpoint = _Endpoint( + self.patch_entity_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiLlmEndpointOutDocument,), + 'response_type': None, 'auth': [], 'endpoint_path': '/api/v1/entities/llmEndpoints/{id}', - 'operation_id': 'patch_entity_llm_endpoints', + 'operation_id': 'patch_entity', 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ 'id', - 'json_api_llm_endpoint_patch_document', - 'filter', ], 'required': [ 'id', - 'json_api_llm_endpoint_patch_document', ], 'nullable': [ ], 'enum': [ ], 'validation': [ - 'id', ] }, root_map={ 'validations': { - ('id',): { - - 'regex': { - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }, - }, }, 'allowed_values': { }, 'openapi_types': { 'id': (str,), - 'json_api_llm_endpoint_patch_document': - (JsonApiLlmEndpointPatchDocument,), - 'filter': - (str,), }, 'attribute_map': { 'id': 'id', - 'filter': 'filter', }, 'location_map': { 'id': 'path', - 'json_api_llm_endpoint_patch_document': 'body', - 'filter': 'query', }, 'collection_format_map': { } }, headers_map={ - 'accept': [ - 'application/json', - 'application/vnd.gooddata.api+json' - ], - 'content_type': [ - 'application/json', - 'application/vnd.gooddata.api+json' - ] + 'accept': [], + 'content_type': [], }, api_client=api_client ) - self.update_entity_llm_endpoints_endpoint = _Endpoint( + self.update_entity_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiLlmEndpointOutDocument,), + 'response_type': None, 'auth': [], 'endpoint_path': '/api/v1/entities/llmEndpoints/{id}', - 'operation_id': 'update_entity_llm_endpoints', + 'operation_id': 'update_entity', 'http_method': 'PUT', 'servers': None, }, params_map={ 'all': [ 'id', - 'json_api_llm_endpoint_in_document', - 'filter', ], 'required': [ 'id', - 'json_api_llm_endpoint_in_document', ], 'nullable': [ ], 'enum': [ ], 'validation': [ - 'id', ] }, root_map={ 'validations': { - ('id',): { - - 'regex': { - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }, - }, }, 'allowed_values': { }, 'openapi_types': { 'id': (str,), - 'json_api_llm_endpoint_in_document': - (JsonApiLlmEndpointInDocument,), - 'filter': - (str,), }, 'attribute_map': { 'id': 'id', - 'filter': 'filter', }, 'location_map': { 'id': 'path', - 'json_api_llm_endpoint_in_document': 'body', - 'filter': 'query', }, 'collection_format_map': { } }, headers_map={ - 'accept': [ - 'application/json', - 'application/vnd.gooddata.api+json' - ], - 'content_type': [ - 'application/json', - 'application/vnd.gooddata.api+json' - ] + 'accept': [], + 'content_type': [], }, api_client=api_client ) - def create_entity_llm_endpoints( + def create_entity( self, - json_api_llm_endpoint_in_document, **kwargs ): - """Post LLM endpoint entities # noqa: E501 + """Post LLM endpoint entities (Removed) # noqa: E501 - Will be soon removed and replaced by LlmProvider. # noqa: E501 + Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_entity_llm_endpoints(json_api_llm_endpoint_in_document, async_req=True) + >>> thread = api.create_entity(async_req=True) >>> result = thread.get() - Args: - json_api_llm_endpoint_in_document (JsonApiLlmEndpointInDocument): Keyword Args: _return_http_data_only (bool): response data without head status @@ -479,7 +351,7 @@ def create_entity_llm_endpoints( async_req (bool): execute request asynchronously Returns: - JsonApiLlmEndpointOutDocument + None If the method is called asynchronously, returns the request thread. """ @@ -508,22 +380,20 @@ def create_entity_llm_endpoints( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['json_api_llm_endpoint_in_document'] = \ - json_api_llm_endpoint_in_document - return self.create_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) + return self.create_entity_endpoint.call_with_http_info(**kwargs) - def delete_entity_llm_endpoints( + def delete_entity( self, id, **kwargs ): - """Delete LLM endpoint entity # noqa: E501 + """Delete LLM endpoint entity (Removed) # noqa: E501 - Will be soon removed and replaced by LlmProvider. # noqa: E501 + Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_entity_llm_endpoints(id, async_req=True) + >>> thread = api.delete_entity(id, async_req=True) >>> result = thread.get() Args: @@ -593,28 +463,23 @@ def delete_entity_llm_endpoints( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - return self.delete_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) + return self.delete_entity_endpoint.call_with_http_info(**kwargs) - def get_all_entities_llm_endpoints( + def get_all_entities( self, **kwargs ): - """Get all LLM endpoint entities # noqa: E501 + """Get all LLM endpoint entities (Removed) # noqa: E501 - Will be soon removed and replaced by LlmProvider. # noqa: E501 + Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_all_entities_llm_endpoints(async_req=True) + >>> thread = api.get_all_entities(async_req=True) >>> result = thread.get() Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] - page (int): Zero-based page index (0..N). [optional] if omitted the server will use the default value of 0 - size (int): The size of the page to be returned. [optional] if omitted the server will use the default value of 20 - sort ([str]): Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.. [optional] - meta_include ([str]): Include Meta objects.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -647,7 +512,7 @@ def get_all_entities_llm_endpoints( async_req (bool): execute request asynchronously Returns: - JsonApiLlmEndpointOutList + None If the method is called asynchronously, returns the request thread. """ @@ -676,27 +541,26 @@ def get_all_entities_llm_endpoints( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_all_entities_llm_endpoints_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_endpoint.call_with_http_info(**kwargs) - def get_entity_llm_endpoints( + def get_entity( self, id, **kwargs ): - """Get LLM endpoint entity # noqa: E501 + """Get LLM endpoint entity (Removed) # noqa: E501 - Will be soon removed and replaced by LlmProvider. # noqa: E501 + Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_entity_llm_endpoints(id, async_req=True) + >>> thread = api.get_entity(id, async_req=True) >>> result = thread.get() Args: id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -729,7 +593,7 @@ def get_entity_llm_endpoints( async_req (bool): execute request asynchronously Returns: - JsonApiLlmEndpointOutDocument + None If the method is called asynchronously, returns the request thread. """ @@ -760,29 +624,26 @@ def get_entity_llm_endpoints( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - return self.get_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) + return self.get_entity_endpoint.call_with_http_info(**kwargs) - def patch_entity_llm_endpoints( + def patch_entity( self, id, - json_api_llm_endpoint_patch_document, **kwargs ): - """Patch LLM endpoint entity # noqa: E501 + """Patch LLM endpoint entity (Removed) # noqa: E501 - Will be soon removed and replaced by LlmProvider. # noqa: E501 + Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.patch_entity_llm_endpoints(id, json_api_llm_endpoint_patch_document, async_req=True) + >>> thread = api.patch_entity(id, async_req=True) >>> result = thread.get() Args: id (str): - json_api_llm_endpoint_patch_document (JsonApiLlmEndpointPatchDocument): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -815,7 +676,7 @@ def patch_entity_llm_endpoints( async_req (bool): execute request asynchronously Returns: - JsonApiLlmEndpointOutDocument + None If the method is called asynchronously, returns the request thread. """ @@ -846,31 +707,26 @@ def patch_entity_llm_endpoints( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - kwargs['json_api_llm_endpoint_patch_document'] = \ - json_api_llm_endpoint_patch_document - return self.patch_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) + return self.patch_entity_endpoint.call_with_http_info(**kwargs) - def update_entity_llm_endpoints( + def update_entity( self, id, - json_api_llm_endpoint_in_document, **kwargs ): - """PUT LLM endpoint entity # noqa: E501 + """PUT LLM endpoint entity (Removed) # noqa: E501 - Will be soon removed and replaced by LlmProvider. # noqa: E501 + Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_entity_llm_endpoints(id, json_api_llm_endpoint_in_document, async_req=True) + >>> thread = api.update_entity(id, async_req=True) >>> result = thread.get() Args: id (str): - json_api_llm_endpoint_in_document (JsonApiLlmEndpointInDocument): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -903,7 +759,7 @@ def update_entity_llm_endpoints( async_req (bool): execute request asynchronously Returns: - JsonApiLlmEndpointOutDocument + None If the method is called asynchronously, returns the request thread. """ @@ -934,7 +790,5 @@ def update_entity_llm_endpoints( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['id'] = \ id - kwargs['json_api_llm_endpoint_in_document'] = \ - json_api_llm_endpoint_in_document - return self.update_entity_llm_endpoints_endpoint.call_with_http_info(**kwargs) + return self.update_entity_endpoint.call_with_http_info(**kwargs) diff --git a/gooddata-api-client/gooddata_api_client/api/organization_entity_apis_api.py b/gooddata-api-client/gooddata_api_client/api/organization_entity_apis_api.py index e24afbceb..25c9a71ac 100644 --- a/gooddata-api-client/gooddata_api_client/api/organization_entity_apis_api.py +++ b/gooddata-api-client/gooddata_api_client/api/organization_entity_apis_api.py @@ -22,6 +22,10 @@ none_type, validate_and_convert_types ) +from gooddata_api_client.model.ip_allowlist_policy_targets import IpAllowlistPolicyTargets +from gooddata_api_client.model.json_api_ip_allowlist_policy_in_document import JsonApiIpAllowlistPolicyInDocument +from gooddata_api_client.model.json_api_ip_allowlist_policy_out_document import JsonApiIpAllowlistPolicyOutDocument +from gooddata_api_client.model.json_api_ip_allowlist_policy_out_list import JsonApiIpAllowlistPolicyOutList from gooddata_api_client.model.json_api_organization_in_document import JsonApiOrganizationInDocument from gooddata_api_client.model.json_api_organization_out_document import JsonApiOrganizationOutDocument from gooddata_api_client.model.json_api_organization_patch_document import JsonApiOrganizationPatchDocument @@ -42,6 +46,125 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client + self.add_targets_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/actions/ipAllowlistPolicies/{id}/addTargets', + 'operation_id': 'add_targets', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'ip_allowlist_policy_targets', + ], + 'required': [ + 'id', + 'ip_allowlist_policy_targets', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'id': + (str,), + 'ip_allowlist_policy_targets': + (IpAllowlistPolicyTargets,), + }, + 'attribute_map': { + 'id': 'id', + }, + 'location_map': { + 'id': 'path', + 'ip_allowlist_policy_targets': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.create_entity_ip_allowlist_policies_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiIpAllowlistPolicyOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/ipAllowlistPolicies', + 'operation_id': 'create_entity_ip_allowlist_policies', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'json_api_ip_allowlist_policy_in_document', + 'include', + ], + 'required': [ + 'json_api_ip_allowlist_policy_in_document', + ], + 'nullable': [ + ], + 'enum': [ + 'include', + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + ('include',): { + + "USERS": "users", + "USERGROUPS": "userGroups", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'json_api_ip_allowlist_policy_in_document': + (JsonApiIpAllowlistPolicyInDocument,), + 'include': + ([str],), + }, + 'attribute_map': { + 'include': 'include', + }, + 'location_map': { + 'json_api_ip_allowlist_policy_in_document': 'body', + 'include': 'query', + }, + 'collection_format_map': { + 'include': 'csv', + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ] + }, + api_client=api_client + ) self.create_entity_organization_settings_endpoint = _Endpoint( settings={ 'response_type': (JsonApiOrganizationSettingOutDocument,), @@ -94,6 +217,60 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.delete_entity_ip_allowlist_policies_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/entities/ipAllowlistPolicies/{id}', + 'operation_id': 'delete_entity_ip_allowlist_policies', + 'http_method': 'DELETE', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + ], + 'required': [ + 'id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'id', + ] + }, + root_map={ + 'validations': { + ('id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'id': + (str,), + }, + 'attribute_map': { + 'id': 'id', + }, + 'location_map': { + 'id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [], + }, + api_client=api_client + ) self.delete_entity_organization_settings_endpoint = _Endpoint( settings={ 'response_type': None, @@ -148,18 +325,19 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_all_entities_organization_settings_endpoint = _Endpoint( + self.get_all_entities_ip_allowlist_policies_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiOrganizationSettingOutList,), + 'response_type': (JsonApiIpAllowlistPolicyOutList,), 'auth': [], - 'endpoint_path': '/api/v1/entities/organizationSettings', - 'operation_id': 'get_all_entities_organization_settings', + 'endpoint_path': '/api/v1/entities/ipAllowlistPolicies', + 'operation_id': 'get_all_entities_ip_allowlist_policies', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'filter', + 'include', 'page', 'size', 'sort', @@ -169,6 +347,7 @@ def __init__(self, api_client=None): 'nullable': [ ], 'enum': [ + 'include', 'meta_include', ], 'validation': [ @@ -182,6 +361,12 @@ def __init__(self, api_client=None): }, }, 'allowed_values': { + ('include',): { + + "USERS": "users", + "USERGROUPS": "userGroups", + "ALL": "ALL" + }, ('meta_include',): { "PAGE": "page", @@ -192,6 +377,8 @@ def __init__(self, api_client=None): 'openapi_types': { 'filter': (str,), + 'include': + ([str],), 'page': (int,), 'size': @@ -203,6 +390,7 @@ def __init__(self, api_client=None): }, 'attribute_map': { 'filter': 'filter', + 'include': 'include', 'page': 'page', 'size': 'size', 'sort': 'sort', @@ -210,12 +398,14 @@ def __init__(self, api_client=None): }, 'location_map': { 'filter': 'query', + 'include': 'query', 'page': 'query', 'size': 'query', 'sort': 'query', 'meta_include': 'query', }, 'collection_format_map': { + 'include': 'csv', 'sort': 'multi', 'meta_include': 'csv', } @@ -229,57 +419,76 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_entity_organization_settings_endpoint = _Endpoint( + self.get_all_entities_organization_settings_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiOrganizationSettingOutDocument,), + 'response_type': (JsonApiOrganizationSettingOutList,), 'auth': [], - 'endpoint_path': '/api/v1/entities/organizationSettings/{id}', - 'operation_id': 'get_entity_organization_settings', + 'endpoint_path': '/api/v1/entities/organizationSettings', + 'operation_id': 'get_all_entities_organization_settings', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ - 'id', 'filter', + 'page', + 'size', + 'sort', + 'meta_include', ], - 'required': [ - 'id', - ], + 'required': [], 'nullable': [ ], 'enum': [ + 'meta_include', ], 'validation': [ - 'id', + 'meta_include', ] }, root_map={ 'validations': { - ('id',): { + ('meta_include',): { - 'regex': { - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }, }, }, 'allowed_values': { + ('meta_include',): { + + "PAGE": "page", + "ALL": "all", + "ALL": "ALL" + }, }, 'openapi_types': { - 'id': - (str,), 'filter': (str,), + 'page': + (int,), + 'size': + (int,), + 'sort': + ([str],), + 'meta_include': + ([str],), }, 'attribute_map': { - 'id': 'id', 'filter': 'filter', + 'page': 'page', + 'size': 'size', + 'sort': 'sort', + 'meta_include': 'metaInclude', }, 'location_map': { - 'id': 'path', 'filter': 'query', + 'page': 'query', + 'size': 'query', + 'sort': 'query', + 'meta_include': 'query', }, 'collection_format_map': { + 'sort': 'multi', + 'meta_include': 'csv', } }, headers_map={ @@ -291,12 +500,12 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_entity_organizations_endpoint = _Endpoint( + self.get_entity_ip_allowlist_policies_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiOrganizationOutDocument,), + 'response_type': (JsonApiIpAllowlistPolicyOutDocument,), 'auth': [], - 'endpoint_path': '/api/v1/entities/admin/organizations/{id}', - 'operation_id': 'get_entity_organizations', + 'endpoint_path': '/api/v1/entities/ipAllowlistPolicies/{id}', + 'operation_id': 'get_entity_ip_allowlist_policies', 'http_method': 'GET', 'servers': None, }, @@ -305,7 +514,6 @@ def __init__(self, api_client=None): 'id', 'filter', 'include', - 'meta_include', ], 'required': [ 'id', @@ -314,11 +522,9 @@ def __init__(self, api_client=None): ], 'enum': [ 'include', - 'meta_include', ], 'validation': [ 'id', - 'meta_include', ] }, root_map={ @@ -329,25 +535,12 @@ def __init__(self, api_client=None): 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 }, }, - ('meta_include',): { - - }, }, 'allowed_values': { ('include',): { "USERS": "users", "USERGROUPS": "userGroups", - "IDENTITYPROVIDERS": "identityProviders", - "BOOTSTRAPUSER": "bootstrapUser", - "BOOTSTRAPUSERGROUP": "bootstrapUserGroup", - "IDENTITYPROVIDER": "identityProvider", - "ALL": "ALL" - }, - ('meta_include',): { - - "PERMISSIONS": "permissions", - "ALL": "all", "ALL": "ALL" }, }, @@ -358,24 +551,19 @@ def __init__(self, api_client=None): (str,), 'include': ([str],), - 'meta_include': - ([str],), }, 'attribute_map': { 'id': 'id', 'filter': 'filter', 'include': 'include', - 'meta_include': 'metaInclude', }, 'location_map': { 'id': 'path', 'filter': 'query', 'include': 'query', - 'meta_include': 'query', }, 'collection_format_map': { 'include': 'csv', - 'meta_include': 'csv', } }, headers_map={ @@ -387,18 +575,176 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_organization_endpoint = _Endpoint( + self.get_entity_organization_settings_endpoint = _Endpoint( settings={ - 'response_type': None, + 'response_type': (JsonApiOrganizationSettingOutDocument,), 'auth': [], - 'endpoint_path': '/api/v1/entities/organization', - 'operation_id': 'get_organization', + 'endpoint_path': '/api/v1/entities/organizationSettings/{id}', + 'operation_id': 'get_entity_organization_settings', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ - 'meta_include', + 'id', + 'filter', + ], + 'required': [ + 'id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'id', + ] + }, + root_map={ + 'validations': { + ('id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'id': + (str,), + 'filter': + (str,), + }, + 'attribute_map': { + 'id': 'id', + 'filter': 'filter', + }, + 'location_map': { + 'id': 'path', + 'filter': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.get_entity_organizations_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiOrganizationOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/admin/organizations/{id}', + 'operation_id': 'get_entity_organizations', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'filter', + 'include', + 'meta_include', + ], + 'required': [ + 'id', + ], + 'nullable': [ + ], + 'enum': [ + 'include', + 'meta_include', + ], + 'validation': [ + 'id', + 'meta_include', + ] + }, + root_map={ + 'validations': { + ('id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + ('meta_include',): { + + }, + }, + 'allowed_values': { + ('include',): { + + "USERS": "users", + "USERGROUPS": "userGroups", + "IDENTITYPROVIDERS": "identityProviders", + "BOOTSTRAPUSER": "bootstrapUser", + "BOOTSTRAPUSERGROUP": "bootstrapUserGroup", + "IDENTITYPROVIDER": "identityProvider", + "ALL": "ALL" + }, + ('meta_include',): { + + "PERMISSIONS": "permissions", + "ALL": "all", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'id': + (str,), + 'filter': + (str,), + 'include': + ([str],), + 'meta_include': + ([str],), + }, + 'attribute_map': { + 'id': 'id', + 'filter': 'filter', + 'include': 'include', + 'meta_include': 'metaInclude', + }, + 'location_map': { + 'id': 'path', + 'filter': 'query', + 'include': 'query', + 'meta_include': 'query', + }, + 'collection_format_map': { + 'include': 'csv', + 'meta_include': 'csv', + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.get_organization_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/entities/organization', + 'operation_id': 'get_organization', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'meta_include', ], 'required': [], 'nullable': [ @@ -600,95 +946,79 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.update_entity_organization_settings_endpoint = _Endpoint( + self.remove_targets_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiOrganizationSettingOutDocument,), + 'response_type': None, 'auth': [], - 'endpoint_path': '/api/v1/entities/organizationSettings/{id}', - 'operation_id': 'update_entity_organization_settings', - 'http_method': 'PUT', + 'endpoint_path': '/api/v1/actions/ipAllowlistPolicies/{id}/removeTargets', + 'operation_id': 'remove_targets', + 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'id', - 'json_api_organization_setting_in_document', - 'filter', + 'ip_allowlist_policy_targets', ], 'required': [ 'id', - 'json_api_organization_setting_in_document', + 'ip_allowlist_policy_targets', ], 'nullable': [ ], 'enum': [ ], 'validation': [ - 'id', ] }, root_map={ 'validations': { - ('id',): { - - 'regex': { - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }, - }, }, 'allowed_values': { }, 'openapi_types': { 'id': (str,), - 'json_api_organization_setting_in_document': - (JsonApiOrganizationSettingInDocument,), - 'filter': - (str,), + 'ip_allowlist_policy_targets': + (IpAllowlistPolicyTargets,), }, 'attribute_map': { 'id': 'id', - 'filter': 'filter', }, 'location_map': { 'id': 'path', - 'json_api_organization_setting_in_document': 'body', - 'filter': 'query', + 'ip_allowlist_policy_targets': 'body', }, 'collection_format_map': { } }, headers_map={ - 'accept': [ - 'application/json', - 'application/vnd.gooddata.api+json' - ], + 'accept': [], 'content_type': [ - 'application/json', - 'application/vnd.gooddata.api+json' + 'application/json' ] }, api_client=api_client ) - self.update_entity_organizations_endpoint = _Endpoint( + self.update_entity_ip_allowlist_policies_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiOrganizationOutDocument,), + 'response_type': (JsonApiIpAllowlistPolicyOutDocument,), 'auth': [], - 'endpoint_path': '/api/v1/entities/admin/organizations/{id}', - 'operation_id': 'update_entity_organizations', + 'endpoint_path': '/api/v1/entities/ipAllowlistPolicies/{id}', + 'operation_id': 'update_entity_ip_allowlist_policies', 'http_method': 'PUT', 'servers': None, }, params_map={ 'all': [ 'id', - 'json_api_organization_in_document', + 'json_api_ip_allowlist_policy_in_document', 'filter', 'include', ], 'required': [ 'id', - 'json_api_organization_in_document', + 'json_api_ip_allowlist_policy_in_document', ], 'nullable': [ ], @@ -713,18 +1043,14 @@ def __init__(self, api_client=None): "USERS": "users", "USERGROUPS": "userGroups", - "IDENTITYPROVIDERS": "identityProviders", - "BOOTSTRAPUSER": "bootstrapUser", - "BOOTSTRAPUSERGROUP": "bootstrapUserGroup", - "IDENTITYPROVIDER": "identityProvider", "ALL": "ALL" }, }, 'openapi_types': { 'id': (str,), - 'json_api_organization_in_document': - (JsonApiOrganizationInDocument,), + 'json_api_ip_allowlist_policy_in_document': + (JsonApiIpAllowlistPolicyInDocument,), 'filter': (str,), 'include': @@ -737,7 +1063,7 @@ def __init__(self, api_client=None): }, 'location_map': { 'id': 'path', - 'json_api_organization_in_document': 'body', + 'json_api_ip_allowlist_policy_in_document': 'body', 'filter': 'query', 'include': 'query', }, @@ -757,24 +1083,599 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.update_entity_organization_settings_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiOrganizationSettingOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/organizationSettings/{id}', + 'operation_id': 'update_entity_organization_settings', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'json_api_organization_setting_in_document', + 'filter', + ], + 'required': [ + 'id', + 'json_api_organization_setting_in_document', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'id', + ] + }, + root_map={ + 'validations': { + ('id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'id': + (str,), + 'json_api_organization_setting_in_document': + (JsonApiOrganizationSettingInDocument,), + 'filter': + (str,), + }, + 'attribute_map': { + 'id': 'id', + 'filter': 'filter', + }, + 'location_map': { + 'id': 'path', + 'json_api_organization_setting_in_document': 'body', + 'filter': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ] + }, + api_client=api_client + ) + self.update_entity_organizations_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiOrganizationOutDocument,), + 'auth': [], + 'endpoint_path': '/api/v1/entities/admin/organizations/{id}', + 'operation_id': 'update_entity_organizations', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'json_api_organization_in_document', + 'filter', + 'include', + ], + 'required': [ + 'id', + 'json_api_organization_in_document', + ], + 'nullable': [ + ], + 'enum': [ + 'include', + ], + 'validation': [ + 'id', + ] + }, + root_map={ + 'validations': { + ('id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + ('include',): { + + "USERS": "users", + "USERGROUPS": "userGroups", + "IDENTITYPROVIDERS": "identityProviders", + "BOOTSTRAPUSER": "bootstrapUser", + "BOOTSTRAPUSERGROUP": "bootstrapUserGroup", + "IDENTITYPROVIDER": "identityProvider", + "ALL": "ALL" + }, + }, + 'openapi_types': { + 'id': + (str,), + 'json_api_organization_in_document': + (JsonApiOrganizationInDocument,), + 'filter': + (str,), + 'include': + ([str],), + }, + 'attribute_map': { + 'id': 'id', + 'filter': 'filter', + 'include': 'include', + }, + 'location_map': { + 'id': 'path', + 'json_api_organization_in_document': 'body', + 'filter': 'query', + 'include': 'query', + }, + 'collection_format_map': { + 'include': 'csv', + } + }, + headers_map={ + 'accept': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ], + 'content_type': [ + 'application/json', + 'application/vnd.gooddata.api+json' + ] + }, + api_client=api_client + ) + + def add_targets( + self, + id, + ip_allowlist_policy_targets, + **kwargs + ): + """Add targets to IP allowlist policy # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.add_targets(id, ip_allowlist_policy_targets, async_req=True) + >>> result = thread.get() + + Args: + id (str): + ip_allowlist_policy_targets (IpAllowlistPolicyTargets): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['id'] = \ + id + kwargs['ip_allowlist_policy_targets'] = \ + ip_allowlist_policy_targets + return self.add_targets_endpoint.call_with_http_info(**kwargs) + + def create_entity_ip_allowlist_policies( + self, + json_api_ip_allowlist_policy_in_document, + **kwargs + ): + """Post IpAllowlistPolicy entities # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_entity_ip_allowlist_policies(json_api_ip_allowlist_policy_in_document, async_req=True) + >>> result = thread.get() + + Args: + json_api_ip_allowlist_policy_in_document (JsonApiIpAllowlistPolicyInDocument): + + Keyword Args: + include ([str]): Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiIpAllowlistPolicyOutDocument + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['json_api_ip_allowlist_policy_in_document'] = \ + json_api_ip_allowlist_policy_in_document + return self.create_entity_ip_allowlist_policies_endpoint.call_with_http_info(**kwargs) + + def create_entity_organization_settings( + self, + json_api_organization_setting_in_document, + **kwargs + ): + """Post Organization Setting entities # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_entity_organization_settings(json_api_organization_setting_in_document, async_req=True) + >>> result = thread.get() + + Args: + json_api_organization_setting_in_document (JsonApiOrganizationSettingInDocument): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiOrganizationSettingOutDocument + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['json_api_organization_setting_in_document'] = \ + json_api_organization_setting_in_document + return self.create_entity_organization_settings_endpoint.call_with_http_info(**kwargs) + + def delete_entity_ip_allowlist_policies( + self, + id, + **kwargs + ): + """Delete IpAllowlistPolicy entity # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_entity_ip_allowlist_policies(id, async_req=True) + >>> result = thread.get() + + Args: + id (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['id'] = \ + id + return self.delete_entity_ip_allowlist_policies_endpoint.call_with_http_info(**kwargs) + + def delete_entity_organization_settings( + self, + id, + **kwargs + ): + """Delete Organization Setting entity # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_entity_organization_settings(id, async_req=True) + >>> result = thread.get() + + Args: + id (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['id'] = \ + id + return self.delete_entity_organization_settings_endpoint.call_with_http_info(**kwargs) - def create_entity_organization_settings( + def get_all_entities_ip_allowlist_policies( self, - json_api_organization_setting_in_document, **kwargs ): - """Post Organization Setting entities # noqa: E501 + """Get all IpAllowlistPolicy entities # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_entity_organization_settings(json_api_organization_setting_in_document, async_req=True) + >>> thread = api.get_all_entities_ip_allowlist_policies(async_req=True) >>> result = thread.get() - Args: - json_api_organization_setting_in_document (JsonApiOrganizationSettingInDocument): Keyword Args: + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([str]): Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.. [optional] + page (int): Zero-based page index (0..N). [optional] if omitted the server will use the default value of 0 + size (int): The size of the page to be returned. [optional] if omitted the server will use the default value of 20 + sort ([str]): Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.. [optional] + meta_include ([str]): Include Meta objects.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -807,7 +1708,7 @@ def create_entity_organization_settings( async_req (bool): execute request asynchronously Returns: - JsonApiOrganizationSettingOutDocument + JsonApiIpAllowlistPolicyOutList If the method is called asynchronously, returns the request thread. """ @@ -836,27 +1737,27 @@ def create_entity_organization_settings( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['json_api_organization_setting_in_document'] = \ - json_api_organization_setting_in_document - return self.create_entity_organization_settings_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_ip_allowlist_policies_endpoint.call_with_http_info(**kwargs) - def delete_entity_organization_settings( + def get_all_entities_organization_settings( self, - id, **kwargs ): - """Delete Organization Setting entity # noqa: E501 + """Get Organization Setting entities # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_entity_organization_settings(id, async_req=True) + >>> thread = api.get_all_entities_organization_settings(async_req=True) >>> result = thread.get() - Args: - id (str): Keyword Args: + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + page (int): Zero-based page index (0..N). [optional] if omitted the server will use the default value of 0 + size (int): The size of the page to be returned. [optional] if omitted the server will use the default value of 20 + sort ([str]): Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.. [optional] + meta_include ([str]): Include Meta objects.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -889,7 +1790,7 @@ def delete_entity_organization_settings( async_req (bool): execute request asynchronously Returns: - None + JsonApiOrganizationSettingOutList If the method is called asynchronously, returns the request thread. """ @@ -918,29 +1819,27 @@ def delete_entity_organization_settings( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.delete_entity_organization_settings_endpoint.call_with_http_info(**kwargs) + return self.get_all_entities_organization_settings_endpoint.call_with_http_info(**kwargs) - def get_all_entities_organization_settings( + def get_entity_ip_allowlist_policies( self, + id, **kwargs ): - """Get Organization Setting entities # noqa: E501 + """Get IpAllowlistPolicy entity # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_all_entities_organization_settings(async_req=True) + >>> thread = api.get_entity_ip_allowlist_policies(id, async_req=True) >>> result = thread.get() + Args: + id (str): Keyword Args: filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] - page (int): Zero-based page index (0..N). [optional] if omitted the server will use the default value of 0 - size (int): The size of the page to be returned. [optional] if omitted the server will use the default value of 20 - sort ([str]): Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.. [optional] - meta_include ([str]): Include Meta objects.. [optional] + include ([str]): Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -973,7 +1872,7 @@ def get_all_entities_organization_settings( async_req (bool): execute request asynchronously Returns: - JsonApiOrganizationSettingOutList + JsonApiIpAllowlistPolicyOutDocument If the method is called asynchronously, returns the request thread. """ @@ -1002,7 +1901,9 @@ def get_all_entities_organization_settings( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_all_entities_organization_settings_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.get_entity_ip_allowlist_policies_endpoint.call_with_http_info(**kwargs) def get_entity_organization_settings( self, @@ -1426,6 +2327,180 @@ def patch_entity_organizations( json_api_organization_patch_document return self.patch_entity_organizations_endpoint.call_with_http_info(**kwargs) + def remove_targets( + self, + id, + ip_allowlist_policy_targets, + **kwargs + ): + """Remove targets from IP allowlist policy # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.remove_targets(id, ip_allowlist_policy_targets, async_req=True) + >>> result = thread.get() + + Args: + id (str): + ip_allowlist_policy_targets (IpAllowlistPolicyTargets): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['id'] = \ + id + kwargs['ip_allowlist_policy_targets'] = \ + ip_allowlist_policy_targets + return self.remove_targets_endpoint.call_with_http_info(**kwargs) + + def update_entity_ip_allowlist_policies( + self, + id, + json_api_ip_allowlist_policy_in_document, + **kwargs + ): + """Put IpAllowlistPolicy entity # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_entity_ip_allowlist_policies(id, json_api_ip_allowlist_policy_in_document, async_req=True) + >>> result = thread.get() + + Args: + id (str): + json_api_ip_allowlist_policy_in_document (JsonApiIpAllowlistPolicyInDocument): + + Keyword Args: + filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] + include ([str]): Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiIpAllowlistPolicyOutDocument + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['id'] = \ + id + kwargs['json_api_ip_allowlist_policy_in_document'] = \ + json_api_ip_allowlist_policy_in_document + return self.update_entity_ip_allowlist_policies_endpoint.call_with_http_info(**kwargs) + def update_entity_organization_settings( self, id, diff --git a/gooddata-api-client/gooddata_api_client/api/permissions_api.py b/gooddata-api-client/gooddata_api_client/api/permissions_api.py index 7baeb5e83..f42111d36 100644 --- a/gooddata-api-client/gooddata_api_client/api/permissions_api.py +++ b/gooddata-api-client/gooddata_api_client/api/permissions_api.py @@ -29,6 +29,8 @@ from gooddata_api_client.model.declarative_user_group_permissions import DeclarativeUserGroupPermissions from gooddata_api_client.model.declarative_user_permissions import DeclarativeUserPermissions from gooddata_api_client.model.declarative_workspace_permissions import DeclarativeWorkspacePermissions +from gooddata_api_client.model.ldm_object_permissions import LdmObjectPermissions +from gooddata_api_client.model.manage_attribute_permissions_request_inner import ManageAttributePermissionsRequestInner from gooddata_api_client.model.manage_dashboard_permissions_request_inner import ManageDashboardPermissionsRequestInner from gooddata_api_client.model.organization_permission_assignment import OrganizationPermissionAssignment from gooddata_api_client.model.workspace_permission_assignment import WorkspacePermissionAssignment @@ -45,6 +47,61 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client + self.attribute_permissions_endpoint = _Endpoint( + settings={ + 'response_type': (LdmObjectPermissions,), + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/attributes/{attributeId}/permissions', + 'operation_id': 'attribute_permissions', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'attribute_id', + ], + 'required': [ + 'workspace_id', + 'attribute_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'attribute_id': + (str,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'attribute_id': 'attributeId', + }, + 'location_map': { + 'workspace_id': 'path', + 'attribute_id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) self.available_assignees_endpoint = _Endpoint( settings={ 'response_type': (AvailableAssignees,), @@ -155,6 +212,61 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.fact_permissions_endpoint = _Endpoint( + settings={ + 'response_type': (LdmObjectPermissions,), + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/facts/{factId}/permissions', + 'operation_id': 'fact_permissions', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'fact_id', + ], + 'required': [ + 'workspace_id', + 'fact_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'fact_id': + (str,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'fact_id': 'factId', + }, + 'location_map': { + 'workspace_id': 'path', + 'fact_id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) self.get_organization_permissions_endpoint = _Endpoint( settings={ 'response_type': ([DeclarativeOrganizationPermission],), @@ -344,25 +456,23 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.manage_dashboard_permissions_endpoint = _Endpoint( + self.label_permissions_endpoint = _Endpoint( settings={ - 'response_type': None, + 'response_type': (LdmObjectPermissions,), 'auth': [], - 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/managePermissions', - 'operation_id': 'manage_dashboard_permissions', - 'http_method': 'POST', + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/labels/{labelId}/permissions', + 'operation_id': 'label_permissions', + 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'workspace_id', - 'dashboard_id', - 'manage_dashboard_permissions_request_inner', + 'label_id', ], 'required': [ 'workspace_id', - 'dashboard_id', - 'manage_dashboard_permissions_request_inner', + 'label_id', ], 'nullable': [ ], @@ -379,48 +489,47 @@ def __init__(self, api_client=None): 'openapi_types': { 'workspace_id': (str,), - 'dashboard_id': + 'label_id': (str,), - 'manage_dashboard_permissions_request_inner': - ([ManageDashboardPermissionsRequestInner],), }, 'attribute_map': { 'workspace_id': 'workspaceId', - 'dashboard_id': 'dashboardId', + 'label_id': 'labelId', }, 'location_map': { 'workspace_id': 'path', - 'dashboard_id': 'path', - 'manage_dashboard_permissions_request_inner': 'body', + 'label_id': 'path', }, 'collection_format_map': { } }, headers_map={ - 'accept': [], - 'content_type': [ + 'accept': [ 'application/json' - ] + ], + 'content_type': [], }, api_client=api_client ) - self.manage_data_source_permissions_endpoint = _Endpoint( + self.manage_attribute_permissions_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': [], - 'endpoint_path': '/api/v1/actions/dataSources/{dataSourceId}/managePermissions', - 'operation_id': 'manage_data_source_permissions', + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/attributes/{attributeId}/managePermissions', + 'operation_id': 'manage_attribute_permissions', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'data_source_id', - 'data_source_permission_assignment', + 'workspace_id', + 'attribute_id', + 'manage_attribute_permissions_request_inner', ], 'required': [ - 'data_source_id', - 'data_source_permission_assignment', + 'workspace_id', + 'attribute_id', + 'manage_attribute_permissions_request_inner', ], 'nullable': [ ], @@ -435,17 +544,21 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'data_source_id': + 'workspace_id': (str,), - 'data_source_permission_assignment': - ([DataSourcePermissionAssignment],), + 'attribute_id': + (str,), + 'manage_attribute_permissions_request_inner': + ([ManageAttributePermissionsRequestInner],), }, 'attribute_map': { - 'data_source_id': 'dataSourceId', + 'workspace_id': 'workspaceId', + 'attribute_id': 'attributeId', }, 'location_map': { - 'data_source_id': 'path', - 'data_source_permission_assignment': 'body', + 'workspace_id': 'path', + 'attribute_id': 'path', + 'manage_attribute_permissions_request_inner': 'body', }, 'collection_format_map': { } @@ -458,21 +571,25 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.manage_organization_permissions_endpoint = _Endpoint( + self.manage_dashboard_permissions_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': [], - 'endpoint_path': '/api/v1/actions/organization/managePermissions', - 'operation_id': 'manage_organization_permissions', + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/managePermissions', + 'operation_id': 'manage_dashboard_permissions', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'organization_permission_assignment', + 'workspace_id', + 'dashboard_id', + 'manage_dashboard_permissions_request_inner', ], 'required': [ - 'organization_permission_assignment', + 'workspace_id', + 'dashboard_id', + 'manage_dashboard_permissions_request_inner', ], 'nullable': [ ], @@ -487,13 +604,21 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'organization_permission_assignment': - ([OrganizationPermissionAssignment],), + 'workspace_id': + (str,), + 'dashboard_id': + (str,), + 'manage_dashboard_permissions_request_inner': + ([ManageDashboardPermissionsRequestInner],), }, 'attribute_map': { + 'workspace_id': 'workspaceId', + 'dashboard_id': 'dashboardId', }, 'location_map': { - 'organization_permission_assignment': 'body', + 'workspace_id': 'path', + 'dashboard_id': 'path', + 'manage_dashboard_permissions_request_inner': 'body', }, 'collection_format_map': { } @@ -506,23 +631,23 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.manage_workspace_permissions_endpoint = _Endpoint( + self.manage_data_source_permissions_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': [], - 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/managePermissions', - 'operation_id': 'manage_workspace_permissions', + 'endpoint_path': '/api/v1/actions/dataSources/{dataSourceId}/managePermissions', + 'operation_id': 'manage_data_source_permissions', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'workspace_id', - 'workspace_permission_assignment', + 'data_source_id', + 'data_source_permission_assignment', ], 'required': [ - 'workspace_id', - 'workspace_permission_assignment', + 'data_source_id', + 'data_source_permission_assignment', ], 'nullable': [ ], @@ -537,17 +662,17 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'workspace_id': + 'data_source_id': (str,), - 'workspace_permission_assignment': - ([WorkspacePermissionAssignment],), + 'data_source_permission_assignment': + ([DataSourcePermissionAssignment],), }, 'attribute_map': { - 'workspace_id': 'workspaceId', + 'data_source_id': 'dataSourceId', }, 'location_map': { - 'workspace_id': 'path', - 'workspace_permission_assignment': 'body', + 'data_source_id': 'path', + 'data_source_permission_assignment': 'body', }, 'collection_format_map': { } @@ -560,21 +685,25 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.set_organization_permissions_endpoint = _Endpoint( + self.manage_fact_permissions_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': [], - 'endpoint_path': '/api/v1/layout/organization/permissions', - 'operation_id': 'set_organization_permissions', - 'http_method': 'PUT', + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/facts/{factId}/managePermissions', + 'operation_id': 'manage_fact_permissions', + 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'declarative_organization_permission', + 'workspace_id', + 'fact_id', + 'manage_attribute_permissions_request_inner', ], 'required': [ - 'declarative_organization_permission', + 'workspace_id', + 'fact_id', + 'manage_attribute_permissions_request_inner', ], 'nullable': [ ], @@ -589,13 +718,21 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'declarative_organization_permission': - ([DeclarativeOrganizationPermission],), + 'workspace_id': + (str,), + 'fact_id': + (str,), + 'manage_attribute_permissions_request_inner': + ([ManageAttributePermissionsRequestInner],), }, 'attribute_map': { + 'workspace_id': 'workspaceId', + 'fact_id': 'factId', }, 'location_map': { - 'declarative_organization_permission': 'body', + 'workspace_id': 'path', + 'fact_id': 'path', + 'manage_attribute_permissions_request_inner': 'body', }, 'collection_format_map': { } @@ -608,23 +745,25 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.set_user_group_permissions_endpoint = _Endpoint( + self.manage_label_permissions_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': [], - 'endpoint_path': '/api/v1/layout/userGroups/{userGroupId}/permissions', - 'operation_id': 'set_user_group_permissions', - 'http_method': 'PUT', + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/labels/{labelId}/managePermissions', + 'operation_id': 'manage_label_permissions', + 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'user_group_id', - 'declarative_user_group_permissions', + 'workspace_id', + 'label_id', + 'manage_attribute_permissions_request_inner', ], 'required': [ - 'user_group_id', - 'declarative_user_group_permissions', + 'workspace_id', + 'label_id', + 'manage_attribute_permissions_request_inner', ], 'nullable': [ ], @@ -639,17 +778,21 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'user_group_id': + 'workspace_id': (str,), - 'declarative_user_group_permissions': - (DeclarativeUserGroupPermissions,), + 'label_id': + (str,), + 'manage_attribute_permissions_request_inner': + ([ManageAttributePermissionsRequestInner],), }, 'attribute_map': { - 'user_group_id': 'userGroupId', + 'workspace_id': 'workspaceId', + 'label_id': 'labelId', }, 'location_map': { - 'user_group_id': 'path', - 'declarative_user_group_permissions': 'body', + 'workspace_id': 'path', + 'label_id': 'path', + 'manage_attribute_permissions_request_inner': 'body', }, 'collection_format_map': { } @@ -662,23 +805,21 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.set_user_permissions_endpoint = _Endpoint( + self.manage_organization_permissions_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': [], - 'endpoint_path': '/api/v1/layout/users/{userId}/permissions', - 'operation_id': 'set_user_permissions', - 'http_method': 'PUT', + 'endpoint_path': '/api/v1/actions/organization/managePermissions', + 'operation_id': 'manage_organization_permissions', + 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'user_id', - 'declarative_user_permissions', + 'organization_permission_assignment', ], 'required': [ - 'user_id', - 'declarative_user_permissions', + 'organization_permission_assignment', ], 'nullable': [ ], @@ -693,17 +834,13 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'user_id': - (str,), - 'declarative_user_permissions': - (DeclarativeUserPermissions,), + 'organization_permission_assignment': + ([OrganizationPermissionAssignment],), }, 'attribute_map': { - 'user_id': 'userId', }, 'location_map': { - 'user_id': 'path', - 'declarative_user_permissions': 'body', + 'organization_permission_assignment': 'body', }, 'collection_format_map': { } @@ -716,15 +853,225 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.set_workspace_permissions_endpoint = _Endpoint( + self.manage_workspace_permissions_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': [], - 'endpoint_path': '/api/v1/layout/workspaces/{workspaceId}/permissions', - 'operation_id': 'set_workspace_permissions', - 'http_method': 'PUT', - 'servers': None, - }, + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/managePermissions', + 'operation_id': 'manage_workspace_permissions', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'workspace_permission_assignment', + ], + 'required': [ + 'workspace_id', + 'workspace_permission_assignment', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'workspace_permission_assignment': + ([WorkspacePermissionAssignment],), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + }, + 'location_map': { + 'workspace_id': 'path', + 'workspace_permission_assignment': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.set_organization_permissions_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/layout/organization/permissions', + 'operation_id': 'set_organization_permissions', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'declarative_organization_permission', + ], + 'required': [ + 'declarative_organization_permission', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'declarative_organization_permission': + ([DeclarativeOrganizationPermission],), + }, + 'attribute_map': { + }, + 'location_map': { + 'declarative_organization_permission': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.set_user_group_permissions_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/layout/userGroups/{userGroupId}/permissions', + 'operation_id': 'set_user_group_permissions', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'user_group_id', + 'declarative_user_group_permissions', + ], + 'required': [ + 'user_group_id', + 'declarative_user_group_permissions', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'user_group_id': + (str,), + 'declarative_user_group_permissions': + (DeclarativeUserGroupPermissions,), + }, + 'attribute_map': { + 'user_group_id': 'userGroupId', + }, + 'location_map': { + 'user_group_id': 'path', + 'declarative_user_group_permissions': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.set_user_permissions_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/layout/users/{userId}/permissions', + 'operation_id': 'set_user_permissions', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'user_id', + 'declarative_user_permissions', + ], + 'required': [ + 'user_id', + 'declarative_user_permissions', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'user_id': + (str,), + 'declarative_user_permissions': + (DeclarativeUserPermissions,), + }, + 'attribute_map': { + 'user_id': 'userId', + }, + 'location_map': { + 'user_id': 'path', + 'declarative_user_permissions': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.set_workspace_permissions_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [], + 'endpoint_path': '/api/v1/layout/workspaces/{workspaceId}/permissions', + 'operation_id': 'set_workspace_permissions', + 'http_method': 'PUT', + 'servers': None, + }, params_map={ 'all': [ 'workspace_id', @@ -771,23 +1118,363 @@ def __init__(self, api_client=None): api_client=api_client ) - def available_assignees( + def attribute_permissions( + self, + workspace_id, + attribute_id, + **kwargs + ): + """Get Attribute Permissions # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.attribute_permissions(workspace_id, attribute_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + attribute_id (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + LdmObjectPermissions + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['attribute_id'] = \ + attribute_id + return self.attribute_permissions_endpoint.call_with_http_info(**kwargs) + + def available_assignees( + self, + workspace_id, + dashboard_id, + **kwargs + ): + """Get Available Assignees # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.available_assignees(workspace_id, dashboard_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + dashboard_id (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + AvailableAssignees + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['dashboard_id'] = \ + dashboard_id + return self.available_assignees_endpoint.call_with_http_info(**kwargs) + + def dashboard_permissions( + self, + workspace_id, + dashboard_id, + **kwargs + ): + """Get Dashboard Permissions # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.dashboard_permissions(workspace_id, dashboard_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + dashboard_id (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + DashboardPermissions + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['dashboard_id'] = \ + dashboard_id + return self.dashboard_permissions_endpoint.call_with_http_info(**kwargs) + + def fact_permissions( + self, + workspace_id, + fact_id, + **kwargs + ): + """Get Fact Permissions # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.fact_permissions(workspace_id, fact_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + fact_id (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + LdmObjectPermissions + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['fact_id'] = \ + fact_id + return self.fact_permissions_endpoint.call_with_http_info(**kwargs) + + def get_organization_permissions( self, - workspace_id, - dashboard_id, **kwargs ): - """Get Available Assignees # noqa: E501 + """Get organization permissions # noqa: E501 + Retrieve organization permissions # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.available_assignees(workspace_id, dashboard_id, async_req=True) + >>> thread = api.get_organization_permissions(async_req=True) >>> result = thread.get() - Args: - workspace_id (str): - dashboard_id (str): Keyword Args: _return_http_data_only (bool): response data without head status @@ -822,7 +1509,7 @@ def available_assignees( async_req (bool): execute request asynchronously Returns: - AvailableAssignees + [DeclarativeOrganizationPermission] If the method is called asynchronously, returns the request thread. """ @@ -851,29 +1538,24 @@ def available_assignees( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['workspace_id'] = \ - workspace_id - kwargs['dashboard_id'] = \ - dashboard_id - return self.available_assignees_endpoint.call_with_http_info(**kwargs) + return self.get_organization_permissions_endpoint.call_with_http_info(**kwargs) - def dashboard_permissions( + def get_user_group_permissions( self, - workspace_id, - dashboard_id, + user_group_id, **kwargs ): - """Get Dashboard Permissions # noqa: E501 + """Get permissions for the user-group # noqa: E501 + Retrieve current set of permissions of the user-group in a declarative form. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.dashboard_permissions(workspace_id, dashboard_id, async_req=True) + >>> thread = api.get_user_group_permissions(user_group_id, async_req=True) >>> result = thread.get() Args: - workspace_id (str): - dashboard_id (str): + user_group_id (str): Keyword Args: _return_http_data_only (bool): response data without head status @@ -908,7 +1590,7 @@ def dashboard_permissions( async_req (bool): execute request asynchronously Returns: - DashboardPermissions + DeclarativeUserGroupPermissions If the method is called asynchronously, returns the request thread. """ @@ -937,25 +1619,26 @@ def dashboard_permissions( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['workspace_id'] = \ - workspace_id - kwargs['dashboard_id'] = \ - dashboard_id - return self.dashboard_permissions_endpoint.call_with_http_info(**kwargs) + kwargs['user_group_id'] = \ + user_group_id + return self.get_user_group_permissions_endpoint.call_with_http_info(**kwargs) - def get_organization_permissions( + def get_user_permissions( self, + user_id, **kwargs ): - """Get organization permissions # noqa: E501 + """Get permissions for the user # noqa: E501 - Retrieve organization permissions # noqa: E501 + Retrieve current set of permissions of the user in a declarative form. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_organization_permissions(async_req=True) + >>> thread = api.get_user_permissions(user_id, async_req=True) >>> result = thread.get() + Args: + user_id (str): Keyword Args: _return_http_data_only (bool): response data without head status @@ -990,7 +1673,7 @@ def get_organization_permissions( async_req (bool): execute request asynchronously Returns: - [DeclarativeOrganizationPermission] + DeclarativeUserPermissions If the method is called asynchronously, returns the request thread. """ @@ -1019,24 +1702,26 @@ def get_organization_permissions( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_organization_permissions_endpoint.call_with_http_info(**kwargs) + kwargs['user_id'] = \ + user_id + return self.get_user_permissions_endpoint.call_with_http_info(**kwargs) - def get_user_group_permissions( + def get_workspace_permissions( self, - user_group_id, + workspace_id, **kwargs ): - """Get permissions for the user-group # noqa: E501 + """Get permissions for the workspace # noqa: E501 - Retrieve current set of permissions of the user-group in a declarative form. # noqa: E501 + Retrieve current set of permissions of the workspace in a declarative form. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_group_permissions(user_group_id, async_req=True) + >>> thread = api.get_workspace_permissions(workspace_id, async_req=True) >>> result = thread.get() Args: - user_group_id (str): + workspace_id (str): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1071,7 +1756,7 @@ def get_user_group_permissions( async_req (bool): execute request asynchronously Returns: - DeclarativeUserGroupPermissions + DeclarativeWorkspacePermissions If the method is called asynchronously, returns the request thread. """ @@ -1100,26 +1785,27 @@ def get_user_group_permissions( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['user_group_id'] = \ - user_group_id - return self.get_user_group_permissions_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + return self.get_workspace_permissions_endpoint.call_with_http_info(**kwargs) - def get_user_permissions( + def label_permissions( self, - user_id, + workspace_id, + label_id, **kwargs ): - """Get permissions for the user # noqa: E501 + """Get Label Permissions # noqa: E501 - Retrieve current set of permissions of the user in a declarative form. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_user_permissions(user_id, async_req=True) + >>> thread = api.label_permissions(workspace_id, label_id, async_req=True) >>> result = thread.get() Args: - user_id (str): + workspace_id (str): + label_id (str): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1154,7 +1840,7 @@ def get_user_permissions( async_req (bool): execute request asynchronously Returns: - DeclarativeUserPermissions + LdmObjectPermissions If the method is called asynchronously, returns the request thread. """ @@ -1183,26 +1869,31 @@ def get_user_permissions( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['user_id'] = \ - user_id - return self.get_user_permissions_endpoint.call_with_http_info(**kwargs) + kwargs['workspace_id'] = \ + workspace_id + kwargs['label_id'] = \ + label_id + return self.label_permissions_endpoint.call_with_http_info(**kwargs) - def get_workspace_permissions( + def manage_attribute_permissions( self, workspace_id, + attribute_id, + manage_attribute_permissions_request_inner, **kwargs ): - """Get permissions for the workspace # noqa: E501 + """Manage Permissions for an Attribute # noqa: E501 - Retrieve current set of permissions of the workspace in a declarative form. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_workspace_permissions(workspace_id, async_req=True) + >>> thread = api.manage_attribute_permissions(workspace_id, attribute_id, manage_attribute_permissions_request_inner, async_req=True) >>> result = thread.get() Args: workspace_id (str): + attribute_id (str): + manage_attribute_permissions_request_inner ([ManageAttributePermissionsRequestInner]): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1237,7 +1928,7 @@ def get_workspace_permissions( async_req (bool): execute request asynchronously Returns: - DeclarativeWorkspacePermissions + None If the method is called asynchronously, returns the request thread. """ @@ -1268,7 +1959,11 @@ def get_workspace_permissions( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - return self.get_workspace_permissions_endpoint.call_with_http_info(**kwargs) + kwargs['attribute_id'] = \ + attribute_id + kwargs['manage_attribute_permissions_request_inner'] = \ + manage_attribute_permissions_request_inner + return self.manage_attribute_permissions_endpoint.call_with_http_info(**kwargs) def manage_dashboard_permissions( self, @@ -1447,6 +2142,186 @@ def manage_data_source_permissions( data_source_permission_assignment return self.manage_data_source_permissions_endpoint.call_with_http_info(**kwargs) + def manage_fact_permissions( + self, + workspace_id, + fact_id, + manage_attribute_permissions_request_inner, + **kwargs + ): + """Manage Permissions for a Fact # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.manage_fact_permissions(workspace_id, fact_id, manage_attribute_permissions_request_inner, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + fact_id (str): + manage_attribute_permissions_request_inner ([ManageAttributePermissionsRequestInner]): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['fact_id'] = \ + fact_id + kwargs['manage_attribute_permissions_request_inner'] = \ + manage_attribute_permissions_request_inner + return self.manage_fact_permissions_endpoint.call_with_http_info(**kwargs) + + def manage_label_permissions( + self, + workspace_id, + label_id, + manage_attribute_permissions_request_inner, + **kwargs + ): + """Manage Permissions for a Label # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.manage_label_permissions(workspace_id, label_id, manage_attribute_permissions_request_inner, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): + label_id (str): + manage_attribute_permissions_request_inner ([ManageAttributePermissionsRequestInner]): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['label_id'] = \ + label_id + kwargs['manage_attribute_permissions_request_inner'] = \ + manage_attribute_permissions_request_inner + return self.manage_label_permissions_endpoint.call_with_http_info(**kwargs) + def manage_organization_permissions( self, organization_permission_assignment, diff --git a/gooddata-api-client/gooddata_api_client/api/smart_functions_api.py b/gooddata-api-client/gooddata_api_client/api/smart_functions_api.py index 7375cdd68..30f01179f 100644 --- a/gooddata-api-client/gooddata_api_client/api/smart_functions_api.py +++ b/gooddata-api-client/gooddata_api_client/api/smart_functions_api.py @@ -44,7 +44,6 @@ from gooddata_api_client.model.list_llm_provider_models_response import ListLlmProviderModelsResponse from gooddata_api_client.model.memory_item_created_by_users import MemoryItemCreatedByUsers from gooddata_api_client.model.quality_issues_calculation_status_response import QualityIssuesCalculationStatusResponse -from gooddata_api_client.model.resolved_llm_endpoints import ResolvedLlmEndpoints from gooddata_api_client.model.resolved_llms import ResolvedLlms from gooddata_api_client.model.search_request import SearchRequest from gooddata_api_client.model.search_result import SearchResult @@ -54,9 +53,6 @@ from gooddata_api_client.model.test_llm_provider_response import TestLlmProviderResponse from gooddata_api_client.model.trending_objects_result import TrendingObjectsResult from gooddata_api_client.model.trigger_quality_issues_calculation_response import TriggerQualityIssuesCalculationResponse -from gooddata_api_client.model.validate_llm_endpoint_by_id_request import ValidateLLMEndpointByIdRequest -from gooddata_api_client.model.validate_llm_endpoint_request import ValidateLLMEndpointRequest -from gooddata_api_client.model.validate_llm_endpoint_response import ValidateLLMEndpointResponse class SmartFunctionsApi(object): @@ -1273,7 +1269,7 @@ def __init__(self, api_client=None): ) self.resolve_llm_endpoints_endpoint = _Endpoint( settings={ - 'response_type': (ResolvedLlmEndpoints,), + 'response_type': None, 'auth': [], 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmEndpoints', 'operation_id': 'resolve_llm_endpoints', @@ -1320,9 +1316,7 @@ def __init__(self, api_client=None): } }, headers_map={ - 'accept': [ - 'application/json' - ], + 'accept': [], 'content_type': [], }, api_client=api_client @@ -1658,7 +1652,7 @@ def __init__(self, api_client=None): ) self.validate_llm_endpoint_endpoint = _Endpoint( settings={ - 'response_type': (ValidateLLMEndpointResponse,), + 'response_type': None, 'auth': [], 'endpoint_path': '/api/v1/actions/ai/llmEndpoint/test', 'operation_id': 'validate_llm_endpoint', @@ -1667,11 +1661,8 @@ def __init__(self, api_client=None): }, params_map={ 'all': [ - 'validate_llm_endpoint_request', - ], - 'required': [ - 'validate_llm_endpoint_request', ], + 'required': [], 'nullable': [ ], 'enum': [ @@ -1685,30 +1676,23 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'validate_llm_endpoint_request': - (ValidateLLMEndpointRequest,), }, 'attribute_map': { }, 'location_map': { - 'validate_llm_endpoint_request': 'body', }, 'collection_format_map': { } }, headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] + 'accept': [], + 'content_type': [], }, api_client=api_client ) self.validate_llm_endpoint_by_id_endpoint = _Endpoint( settings={ - 'response_type': (ValidateLLMEndpointResponse,), + 'response_type': None, 'auth': [], 'endpoint_path': '/api/v1/actions/ai/llmEndpoint/{llmEndpointId}/test', 'operation_id': 'validate_llm_endpoint_by_id', @@ -1718,7 +1702,6 @@ def __init__(self, api_client=None): params_map={ 'all': [ 'llm_endpoint_id', - 'validate_llm_endpoint_by_id_request', ], 'required': [ 'llm_endpoint_id', @@ -1738,26 +1721,19 @@ def __init__(self, api_client=None): 'openapi_types': { 'llm_endpoint_id': (str,), - 'validate_llm_endpoint_by_id_request': - (ValidateLLMEndpointByIdRequest,), }, 'attribute_map': { 'llm_endpoint_id': 'llmEndpointId', }, 'location_map': { 'llm_endpoint_id': 'path', - 'validate_llm_endpoint_by_id_request': 'body', }, 'collection_format_map': { } }, headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] + 'accept': [], + 'content_type': [], }, api_client=api_client ) @@ -3417,9 +3393,9 @@ def resolve_llm_endpoints( workspace_id, **kwargs ): - """Get Active LLM Endpoints for this workspace # noqa: E501 + """Get Active LLM Endpoints for this workspace (Removed) # noqa: E501 - Will be soon removed and replaced by LlmProvider-based resolution. # noqa: E501 + Permanently removed. Use GET /api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmProviders instead. Always returns 410 Gone. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3462,7 +3438,7 @@ def resolve_llm_endpoints( async_req (bool): execute request asynchronously Returns: - ResolvedLlmEndpoints + None If the method is called asynchronously, returns the request thread. """ @@ -3502,7 +3478,7 @@ def resolve_llm_providers( ): """Get Active LLM configuration for this workspace # noqa: E501 - Resolves the active LLM configuration for the given workspace. When the ENABLE_LLM_ENDPOINT_REPLACEMENT feature flag is enabled, returns LLM Providers with their associated models. Otherwise, falls back to the legacy LLM Endpoints. # noqa: E501 + Resolves the active LLM provider configuration for the given workspace. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3996,20 +3972,17 @@ def trigger_quality_issues_calculation( def validate_llm_endpoint( self, - validate_llm_endpoint_request, **kwargs ): - """Validate LLM Endpoint # noqa: E501 + """Validate LLM Endpoint (Removed) # noqa: E501 - Will be soon removed and replaced by testLlmProvider. # noqa: E501 + Permanently removed. Use POST /api/v1/actions/ai/llmProvider/test instead. Always returns 410 Gone. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.validate_llm_endpoint(validate_llm_endpoint_request, async_req=True) + >>> thread = api.validate_llm_endpoint(async_req=True) >>> result = thread.get() - Args: - validate_llm_endpoint_request (ValidateLLMEndpointRequest): Keyword Args: _return_http_data_only (bool): response data without head status @@ -4044,7 +4017,7 @@ def validate_llm_endpoint( async_req (bool): execute request asynchronously Returns: - ValidateLLMEndpointResponse + None If the method is called asynchronously, returns the request thread. """ @@ -4073,8 +4046,6 @@ def validate_llm_endpoint( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['validate_llm_endpoint_request'] = \ - validate_llm_endpoint_request return self.validate_llm_endpoint_endpoint.call_with_http_info(**kwargs) def validate_llm_endpoint_by_id( @@ -4082,9 +4053,9 @@ def validate_llm_endpoint_by_id( llm_endpoint_id, **kwargs ): - """Validate LLM Endpoint By Id # noqa: E501 + """Validate LLM Endpoint By Id (Removed) # noqa: E501 - Will be soon removed and replaced by testLlmProviderById. # noqa: E501 + Permanently removed. Use POST /api/v1/actions/ai/llmProvider/{llmProviderId}/test instead. Always returns 410 Gone. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4095,7 +4066,6 @@ def validate_llm_endpoint_by_id( llm_endpoint_id (str): Keyword Args: - validate_llm_endpoint_by_id_request (ValidateLLMEndpointByIdRequest): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4128,7 +4098,7 @@ def validate_llm_endpoint_by_id( async_req (bool): execute request asynchronously Returns: - ValidateLLMEndpointResponse + None If the method is called asynchronously, returns the request thread. """ diff --git a/gooddata-api-client/gooddata_api_client/apis/__init__.py b/gooddata-api-client/gooddata_api_client/apis/__init__.py index 1284cefaa..92abedf37 100644 --- a/gooddata-api-client/gooddata_api_client/apis/__init__.py +++ b/gooddata-api-client/gooddata_api_client/apis/__init__.py @@ -125,11 +125,11 @@ from gooddata_api_client.api.filter_context_controller_api import FilterContextControllerApi from gooddata_api_client.api.filter_view_controller_api import FilterViewControllerApi from gooddata_api_client.api.identity_provider_controller_api import IdentityProviderControllerApi +from gooddata_api_client.api.ip_allowlist_policy_controller_api import IpAllowlistPolicyControllerApi from gooddata_api_client.api.jwk_controller_api import JwkControllerApi from gooddata_api_client.api.knowledge_recommendation_controller_api import KnowledgeRecommendationControllerApi from gooddata_api_client.api.label_controller_api import LabelControllerApi from gooddata_api_client.api.layout_api import LayoutApi -from gooddata_api_client.api.llm_endpoint_controller_api import LlmEndpointControllerApi from gooddata_api_client.api.llm_provider_controller_api import LlmProviderControllerApi from gooddata_api_client.api.memory_item_controller_api import MemoryItemControllerApi from gooddata_api_client.api.metric_controller_api import MetricControllerApi diff --git a/gooddata-api-client/gooddata_api_client/model/anthropic_api_key_auth.py b/gooddata-api-client/gooddata_api_client/model/anthropic_api_key_auth.py new file mode 100644 index 000000000..c865feea7 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/anthropic_api_key_auth.py @@ -0,0 +1,332 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.anthropic_api_key_auth_all_of import AnthropicApiKeyAuthAllOf + globals()['AnthropicApiKeyAuthAllOf'] = AnthropicApiKeyAuthAllOf + + +class AnthropicApiKeyAuth(ModelComposed): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('type',): { + 'API_KEY': "API_KEY", + }, + } + + validations = { + ('api_key',): { + 'max_length': 255, + }, + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'type': (str,), # noqa: E501 + 'api_key': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'type': 'type', # noqa: E501 + 'api_key': 'apiKey', # noqa: E501 + } + + read_only_vars = { + } + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """AnthropicApiKeyAuth - a model defined in OpenAPI + + Keyword Args: + type (str): Authentication type.. defaults to "API_KEY", must be one of ["API_KEY", ] # noqa: E501 + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + api_key (str, none_type): Anthropic API key.. [optional] # noqa: E501 + """ + + type = kwargs.get('type', "API_KEY") + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # discard variable. + continue + setattr(self, var_name, var_value) + + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + '_composed_instances', + '_var_name_to_model_instances', + '_additional_properties_model_instances', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """AnthropicApiKeyAuth - a model defined in OpenAPI + + Keyword Args: + type (str): Authentication type.. defaults to "API_KEY", must be one of ["API_KEY", ] # noqa: E501 + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + api_key (str, none_type): Anthropic API key.. [optional] # noqa: E501 + """ + + type = kwargs.get('type', "API_KEY") + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") + + @cached_property + def _composed_schemas(): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + lazy_import() + return { + 'anyOf': [ + ], + 'allOf': [ + AnthropicApiKeyAuthAllOf, + ], + 'oneOf': [ + ], + } diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_compound_range_condition_all_of.py b/gooddata-api-client/gooddata_api_client/model/anthropic_api_key_auth_all_of.py similarity index 92% rename from gooddata-api-client/gooddata_api_client/model/dashboard_compound_range_condition_all_of.py rename to gooddata-api-client/gooddata_api_client/model/anthropic_api_key_auth_all_of.py index 833662e79..ce9ecf477 100644 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_compound_range_condition_all_of.py +++ b/gooddata-api-client/gooddata_api_client/model/anthropic_api_key_auth_all_of.py @@ -31,7 +31,7 @@ -class DashboardCompoundRangeConditionAllOf(ModelNormal): +class AnthropicApiKeyAuthAllOf(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -56,13 +56,15 @@ class DashboardCompoundRangeConditionAllOf(ModelNormal): """ allowed_values = { - ('operator',): { - 'BETWEEN': "BETWEEN", - 'NOT_BETWEEN': "NOT_BETWEEN", + ('type',): { + 'API_KEY': "API_KEY", }, } validations = { + ('api_key',): { + 'max_length': 255, + }, } @cached_property @@ -86,9 +88,8 @@ def openapi_types(): and the value is attribute type. """ return { - '_from': (float,), # noqa: E501 - 'operator': (str,), # noqa: E501 - 'to': (float,), # noqa: E501 + 'api_key': (str, none_type,), # noqa: E501 + 'type': (str,), # noqa: E501 } @cached_property @@ -97,9 +98,8 @@ def discriminator(): attribute_map = { - '_from': 'from', # noqa: E501 - 'operator': 'operator', # noqa: E501 - 'to': 'to', # noqa: E501 + 'api_key': 'apiKey', # noqa: E501 + 'type': 'type', # noqa: E501 } read_only_vars = { @@ -110,7 +110,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """DashboardCompoundRangeConditionAllOf - a model defined in OpenAPI + """AnthropicApiKeyAuthAllOf - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -143,9 +143,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - _from (float): [optional] # noqa: E501 - operator (str): [optional] # noqa: E501 - to (float): [optional] # noqa: E501 + api_key (str, none_type): Anthropic API key.. [optional] # noqa: E501 + type (str): Authentication type.. [optional] if omitted the server will use the default value of "API_KEY" # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -198,7 +197,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """DashboardCompoundRangeConditionAllOf - a model defined in OpenAPI + """AnthropicApiKeyAuthAllOf - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -231,9 +230,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - _from (float): [optional] # noqa: E501 - operator (str): [optional] # noqa: E501 - to (float): [optional] # noqa: E501 + api_key (str, none_type): Anthropic API key.. [optional] # noqa: E501 + type (str): Authentication type.. [optional] if omitted the server will use the default value of "API_KEY" # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/resolved_llm_endpoint.py b/gooddata-api-client/gooddata_api_client/model/anthropic_provider_auth.py similarity index 92% rename from gooddata-api-client/gooddata_api_client/model/resolved_llm_endpoint.py rename to gooddata-api-client/gooddata_api_client/model/anthropic_provider_auth.py index 445ab051d..d30f70059 100644 --- a/gooddata-api-client/gooddata_api_client/model/resolved_llm_endpoint.py +++ b/gooddata-api-client/gooddata_api_client/model/anthropic_provider_auth.py @@ -31,13 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.resolved_llm import ResolvedLlm - from gooddata_api_client.model.resolved_llm_endpoint_all_of import ResolvedLlmEndpointAllOf - globals()['ResolvedLlm'] = ResolvedLlm - globals()['ResolvedLlmEndpointAllOf'] = ResolvedLlmEndpointAllOf + from gooddata_api_client.model.anthropic_api_key_auth import AnthropicApiKeyAuth + globals()['AnthropicApiKeyAuth'] = AnthropicApiKeyAuth -class ResolvedLlmEndpoint(ModelComposed): +class AnthropicProviderAuth(ModelComposed): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -62,9 +60,15 @@ class ResolvedLlmEndpoint(ModelComposed): """ allowed_values = { + ('type',): { + 'API_KEY': "API_KEY", + }, } validations = { + ('api_key',): { + 'max_length': 255, + }, } @cached_property @@ -90,8 +94,8 @@ def openapi_types(): """ lazy_import() return { - 'id': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 + 'api_key': (str, none_type,), # noqa: E501 + 'type': (str,), # noqa: E501 } @cached_property @@ -100,8 +104,8 @@ def discriminator(): attribute_map = { - 'id': 'id', # noqa: E501 - 'title': 'title', # noqa: E501 + 'api_key': 'apiKey', # noqa: E501 + 'type': 'type', # noqa: E501 } read_only_vars = { @@ -110,11 +114,9 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResolvedLlmEndpoint - a model defined in OpenAPI + """AnthropicProviderAuth - a model defined in OpenAPI Keyword Args: - id (str): Endpoint Id - title (str): Endpoint Title _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -145,6 +147,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + api_key (str, none_type): Anthropic API key.. [optional] # noqa: E501 + type (str): Authentication type.. [optional] if omitted the server will use the default value of "API_KEY" # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -215,11 +219,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """ResolvedLlmEndpoint - a model defined in OpenAPI + """AnthropicProviderAuth - a model defined in OpenAPI Keyword Args: - id (str): Endpoint Id - title (str): Endpoint Title _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -250,6 +252,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + api_key (str, none_type): Anthropic API key.. [optional] # noqa: E501 + type (str): Authentication type.. [optional] if omitted the server will use the default value of "API_KEY" # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -319,9 +323,8 @@ def _composed_schemas(): 'anyOf': [ ], 'allOf': [ - ResolvedLlm, - ResolvedLlmEndpointAllOf, ], 'oneOf': [ + AnthropicApiKeyAuth, ], } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_patch.py b/gooddata-api-client/gooddata_api_client/model/anthropic_provider_config.py similarity index 86% rename from gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_patch.py rename to gooddata-api-client/gooddata_api_client/model/anthropic_provider_config.py index 2d5a040e8..8c4348585 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/anthropic_provider_config.py @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_llm_endpoint_patch_attributes import JsonApiLlmEndpointPatchAttributes - globals()['JsonApiLlmEndpointPatchAttributes'] = JsonApiLlmEndpointPatchAttributes + from gooddata_api_client.model.anthropic_provider_auth import AnthropicProviderAuth + globals()['AnthropicProviderAuth'] = AnthropicProviderAuth -class JsonApiLlmEndpointPatch(ModelNormal): +class AnthropicProviderConfig(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -61,15 +61,13 @@ class JsonApiLlmEndpointPatch(ModelNormal): allowed_values = { ('type',): { - 'LLMENDPOINT': "llmEndpoint", + 'ANTHROPIC': "ANTHROPIC", }, } validations = { - ('id',): { - 'regex': { - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }, + ('base_url',): { + 'max_length': 255, }, } @@ -96,9 +94,9 @@ def openapi_types(): """ lazy_import() return { - 'attributes': (JsonApiLlmEndpointPatchAttributes,), # noqa: E501 - 'id': (str,), # noqa: E501 + 'auth': (AnthropicProviderAuth,), # noqa: E501 'type': (str,), # noqa: E501 + 'base_url': (str,), # noqa: E501 } @cached_property @@ -107,9 +105,9 @@ def discriminator(): attribute_map = { - 'attributes': 'attributes', # noqa: E501 - 'id': 'id', # noqa: E501 + 'auth': 'auth', # noqa: E501 'type': 'type', # noqa: E501 + 'base_url': 'baseUrl', # noqa: E501 } read_only_vars = { @@ -119,15 +117,14 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, attributes, id, *args, **kwargs): # noqa: E501 - """JsonApiLlmEndpointPatch - a model defined in OpenAPI + def _from_openapi_data(cls, auth, *args, **kwargs): # noqa: E501 + """AnthropicProviderConfig - a model defined in OpenAPI Args: - attributes (JsonApiLlmEndpointPatchAttributes): - id (str): API identifier of an object + auth (AnthropicProviderAuth): Keyword Args: - type (str): Object type. defaults to "llmEndpoint", must be one of ["llmEndpoint", ] # noqa: E501 + type (str): Provider type.. defaults to "ANTHROPIC", must be one of ["ANTHROPIC", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -158,9 +155,10 @@ def _from_openapi_data(cls, attributes, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + base_url (str): Custom base URL for the Anthropic API. Defaults to the official endpoint; override only for enterprise proxies or compatible gateways.. [optional] if omitted the server will use the default value of "https://api.anthropic.com" # noqa: E501 """ - type = kwargs.get('type', "llmEndpoint") + type = kwargs.get('type', "ANTHROPIC") _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', True) _path_to_item = kwargs.pop('_path_to_item', ()) @@ -190,8 +188,7 @@ def _from_openapi_data(cls, attributes, id, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.attributes = attributes - self.id = id + self.auth = auth self.type = type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ @@ -213,15 +210,14 @@ def _from_openapi_data(cls, attributes, id, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, attributes, id, *args, **kwargs): # noqa: E501 - """JsonApiLlmEndpointPatch - a model defined in OpenAPI + def __init__(self, auth, *args, **kwargs): # noqa: E501 + """AnthropicProviderConfig - a model defined in OpenAPI Args: - attributes (JsonApiLlmEndpointPatchAttributes): - id (str): API identifier of an object + auth (AnthropicProviderAuth): Keyword Args: - type (str): Object type. defaults to "llmEndpoint", must be one of ["llmEndpoint", ] # noqa: E501 + type (str): Provider type.. defaults to "ANTHROPIC", must be one of ["ANTHROPIC", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -252,9 +248,10 @@ def __init__(self, attributes, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + base_url (str): Custom base URL for the Anthropic API. Defaults to the official endpoint; override only for enterprise proxies or compatible gateways.. [optional] if omitted the server will use the default value of "https://api.anthropic.com" # noqa: E501 """ - type = kwargs.get('type', "llmEndpoint") + type = kwargs.get('type', "ANTHROPIC") _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', False) _path_to_item = kwargs.pop('_path_to_item', ()) @@ -282,8 +279,7 @@ def __init__(self, attributes, id, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.attributes = attributes - self.id = id + self.auth = auth self.type = type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ diff --git a/gooddata-api-client/gooddata_api_client/model/api_entitlement.py b/gooddata-api-client/gooddata_api_client/model/api_entitlement.py index 7aad935da..fe21ac29c 100644 --- a/gooddata-api-client/gooddata_api_client/model/api_entitlement.py +++ b/gooddata-api-client/gooddata_api_client/model/api_entitlement.py @@ -89,6 +89,7 @@ class ApiEntitlement(ModelNormal): 'AIQUERYLIMIT': "AiQueryLimit", 'AIKNOWLEDGESTORAGELIMIT': "AiKnowledgeStorageLimit", 'AIAGENTLIMIT': "AiAgentLimit", + 'AIWORKSPACELIMIT': "AiWorkspaceLimit", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/chat_result.py b/gooddata-api-client/gooddata_api_client/model/chat_result.py index c7084a256..9618f5b9a 100644 --- a/gooddata-api-client/gooddata_api_client/model/chat_result.py +++ b/gooddata-api-client/gooddata_api_client/model/chat_result.py @@ -38,7 +38,6 @@ def lazy_import(): from gooddata_api_client.model.reasoning import Reasoning from gooddata_api_client.model.route_result import RouteResult from gooddata_api_client.model.search_result import SearchResult - from gooddata_api_client.model.tool_call_event_result import ToolCallEventResult globals()['AiUsageMetadataItem'] = AiUsageMetadataItem globals()['ChangeAnalysisParams'] = ChangeAnalysisParams globals()['CreatedVisualizations'] = CreatedVisualizations @@ -46,7 +45,6 @@ def lazy_import(): globals()['Reasoning'] = Reasoning globals()['RouteResult'] = RouteResult globals()['SearchResult'] = SearchResult - globals()['ToolCallEventResult'] = ToolCallEventResult class ChatResult(ModelNormal): @@ -112,7 +110,6 @@ def openapi_types(): 'semantic_search': (SearchResult,), # noqa: E501 'text_response': (str,), # noqa: E501 'thread_id_suffix': (str,), # noqa: E501 - 'tool_call_events': ([ToolCallEventResult],), # noqa: E501 'usage': ([AiUsageMetadataItem],), # noqa: E501 } @@ -132,7 +129,6 @@ def discriminator(): 'semantic_search': 'semanticSearch', # noqa: E501 'text_response': 'textResponse', # noqa: E501 'thread_id_suffix': 'threadIdSuffix', # noqa: E501 - 'tool_call_events': 'toolCallEvents', # noqa: E501 'usage': 'usage', # noqa: E501 } @@ -187,7 +183,6 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 semantic_search (SearchResult): [optional] # noqa: E501 text_response (str): Text response for general questions.. [optional] # noqa: E501 thread_id_suffix (str): Chat History thread suffix appended to ID generated by backend. Enables more chat windows.. [optional] # noqa: E501 - tool_call_events ([ToolCallEventResult]): Tool call events emitted during the agentic loop (only present when GEN_AI_YIELD_TOOL_CALL_EVENTS is enabled).. [optional] # noqa: E501 usage ([AiUsageMetadataItem]): AI usage metadata returned after the interaction (e.g. current query count vs. entitlement limit).. [optional] # noqa: E501 """ @@ -284,7 +279,6 @@ def __init__(self, *args, **kwargs): # noqa: E501 semantic_search (SearchResult): [optional] # noqa: E501 text_response (str): Text response for general questions.. [optional] # noqa: E501 thread_id_suffix (str): Chat History thread suffix appended to ID generated by backend. Enables more chat windows.. [optional] # noqa: E501 - tool_call_events ([ToolCallEventResult]): Tool call events emitted during the agentic loop (only present when GEN_AI_YIELD_TOOL_CALL_EVENTS is enabled).. [optional] # noqa: E501 usage ([AiUsageMetadataItem]): AI usage metadata returned after the interaction (e.g. current query count vs. entitlement limit).. [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_compound_comparison_condition.py b/gooddata-api-client/gooddata_api_client/model/dashboard_compound_comparison_condition.py index 2b860b491..bcdbfad5c 100644 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_compound_comparison_condition.py +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_compound_comparison_condition.py @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.dashboard_compound_comparison_condition_all_of import DashboardCompoundComparisonConditionAllOf - globals()['DashboardCompoundComparisonConditionAllOf'] = DashboardCompoundComparisonConditionAllOf + from gooddata_api_client.model.dashboard_compound_comparison_condition_comparison import DashboardCompoundComparisonConditionComparison + globals()['DashboardCompoundComparisonConditionComparison'] = DashboardCompoundComparisonConditionComparison -class DashboardCompoundComparisonCondition(ModelComposed): +class DashboardCompoundComparisonCondition(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -60,14 +60,6 @@ class DashboardCompoundComparisonCondition(ModelComposed): """ allowed_values = { - ('operator',): { - 'GREATER_THAN': "GREATER_THAN", - 'GREATER_THAN_OR_EQUAL_TO': "GREATER_THAN_OR_EQUAL_TO", - 'LESS_THAN': "LESS_THAN", - 'LESS_THAN_OR_EQUAL_TO': "LESS_THAN_OR_EQUAL_TO", - 'EQUAL_TO': "EQUAL_TO", - 'NOT_EQUAL_TO': "NOT_EQUAL_TO", - }, } validations = { @@ -96,8 +88,7 @@ def openapi_types(): """ lazy_import() return { - 'operator': (str,), # noqa: E501 - 'value': (float,), # noqa: E501 + 'comparison': (DashboardCompoundComparisonConditionComparison,), # noqa: E501 } @cached_property @@ -106,21 +97,23 @@ def discriminator(): attribute_map = { - 'operator': 'operator', # noqa: E501 - 'value': 'value', # noqa: E501 + 'comparison': 'comparison', # noqa: E501 } read_only_vars = { } + _composed_schemas = {} + @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, comparison, *args, **kwargs): # noqa: E501 """DashboardCompoundComparisonCondition - a model defined in OpenAPI + Args: + comparison (DashboardCompoundComparisonConditionComparison): + Keyword Args: - operator (str): - value (float): _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -154,7 +147,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) _path_to_item = kwargs.pop('_path_to_item', ()) _configuration = kwargs.pop('_configuration', None) _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) @@ -182,29 +175,15 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - constant_args = { - '_check_type': _check_type, - '_path_to_item': _path_to_item, - '_spec_property_naming': _spec_property_naming, - '_configuration': _configuration, - '_visited_composed_classes': self._visited_composed_classes, - } - composed_info = validate_get_composed_info( - constant_args, kwargs, self) - self._composed_instances = composed_info[0] - self._var_name_to_model_instances = composed_info[1] - self._additional_properties_model_instances = composed_info[2] - discarded_args = composed_info[3] - + self.comparison = comparison for var_name, var_value in kwargs.items(): - if var_name in discarded_args and \ + if var_name not in self.attribute_map and \ self._configuration is not None and \ self._configuration.discard_unknown_keys and \ - self._additional_properties_model_instances: + self.additional_properties_type is None: # discard variable. continue setattr(self, var_name, var_value) - return self required_properties = set([ @@ -214,18 +193,16 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 '_path_to_item', '_configuration', '_visited_composed_classes', - '_composed_instances', - '_var_name_to_model_instances', - '_additional_properties_model_instances', ]) @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 + def __init__(self, comparison, *args, **kwargs): # noqa: E501 """DashboardCompoundComparisonCondition - a model defined in OpenAPI + Args: + comparison (DashboardCompoundComparisonConditionComparison): + Keyword Args: - operator (str): - value (float): _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -285,48 +262,15 @@ def __init__(self, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - constant_args = { - '_check_type': _check_type, - '_path_to_item': _path_to_item, - '_spec_property_naming': _spec_property_naming, - '_configuration': _configuration, - '_visited_composed_classes': self._visited_composed_classes, - } - composed_info = validate_get_composed_info( - constant_args, kwargs, self) - self._composed_instances = composed_info[0] - self._var_name_to_model_instances = composed_info[1] - self._additional_properties_model_instances = composed_info[2] - discarded_args = composed_info[3] - + self.comparison = comparison for var_name, var_value in kwargs.items(): - if var_name in discarded_args and \ + if var_name not in self.attribute_map and \ self._configuration is not None and \ self._configuration.discard_unknown_keys and \ - self._additional_properties_model_instances: + self.additional_properties_type is None: # discard variable. continue setattr(self, var_name, var_value) if var_name in self.read_only_vars: raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " f"class with read only attributes.") - - @cached_property - def _composed_schemas(): - # we need this here to make our import statements work - # we must store _composed_schemas in here so the code is only run - # when we invoke this method. If we kept this at the class - # level we would get an error because the class level - # code would be run when this module is imported, and these composed - # classes don't exist yet because their module has not finished - # loading - lazy_import() - return { - 'anyOf': [ - ], - 'allOf': [ - DashboardCompoundComparisonConditionAllOf, - ], - 'oneOf': [ - ], - } diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_compound_comparison_condition_all_of.py b/gooddata-api-client/gooddata_api_client/model/dashboard_compound_comparison_condition_comparison.py similarity index 92% rename from gooddata-api-client/gooddata_api_client/model/dashboard_compound_comparison_condition_all_of.py rename to gooddata-api-client/gooddata_api_client/model/dashboard_compound_comparison_condition_comparison.py index cb63501ca..bad817ad6 100644 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_compound_comparison_condition_all_of.py +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_compound_comparison_condition_comparison.py @@ -31,7 +31,7 @@ -class DashboardCompoundComparisonConditionAllOf(ModelNormal): +class DashboardCompoundComparisonConditionComparison(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -92,6 +92,7 @@ def openapi_types(): return { 'operator': (str,), # noqa: E501 'value': (float,), # noqa: E501 + 'treat_null_values_as': (float,), # noqa: E501 } @cached_property @@ -102,6 +103,7 @@ def discriminator(): attribute_map = { 'operator': 'operator', # noqa: E501 'value': 'value', # noqa: E501 + 'treat_null_values_as': 'treatNullValuesAs', # noqa: E501 } read_only_vars = { @@ -111,8 +113,12 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """DashboardCompoundComparisonConditionAllOf - a model defined in OpenAPI + def _from_openapi_data(cls, operator, value, *args, **kwargs): # noqa: E501 + """DashboardCompoundComparisonConditionComparison - a model defined in OpenAPI + + Args: + operator (str): + value (float): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -145,8 +151,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - operator (str): [optional] # noqa: E501 - value (float): [optional] # noqa: E501 + treat_null_values_as (float): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -178,6 +183,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.operator = operator + self.value = value for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -198,8 +205,12 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """DashboardCompoundComparisonConditionAllOf - a model defined in OpenAPI + def __init__(self, operator, value, *args, **kwargs): # noqa: E501 + """DashboardCompoundComparisonConditionComparison - a model defined in OpenAPI + + Args: + operator (str): + value (float): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -232,8 +243,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - operator (str): [optional] # noqa: E501 - value (float): [optional] # noqa: E501 + treat_null_values_as (float): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -263,6 +273,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.operator = operator + self.value = value for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_compound_condition_item.py b/gooddata-api-client/gooddata_api_client/model/dashboard_compound_condition_item.py index ea03ac949..c470fff5f 100644 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_compound_condition_item.py +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_compound_condition_item.py @@ -32,9 +32,13 @@ def lazy_import(): from gooddata_api_client.model.dashboard_compound_comparison_condition import DashboardCompoundComparisonCondition + from gooddata_api_client.model.dashboard_compound_comparison_condition_comparison import DashboardCompoundComparisonConditionComparison from gooddata_api_client.model.dashboard_compound_range_condition import DashboardCompoundRangeCondition + from gooddata_api_client.model.dashboard_compound_range_condition_range import DashboardCompoundRangeConditionRange globals()['DashboardCompoundComparisonCondition'] = DashboardCompoundComparisonCondition + globals()['DashboardCompoundComparisonConditionComparison'] = DashboardCompoundComparisonConditionComparison globals()['DashboardCompoundRangeCondition'] = DashboardCompoundRangeCondition + globals()['DashboardCompoundRangeConditionRange'] = DashboardCompoundRangeConditionRange class DashboardCompoundConditionItem(ModelComposed): @@ -62,10 +66,6 @@ class DashboardCompoundConditionItem(ModelComposed): """ allowed_values = { - ('operator',): { - 'BETWEEN': "BETWEEN", - 'NOT_BETWEEN': "NOT_BETWEEN", - }, } validations = { @@ -94,10 +94,8 @@ def openapi_types(): """ lazy_import() return { - 'operator': (str,), # noqa: E501 - 'value': (float,), # noqa: E501 - '_from': (float,), # noqa: E501 - 'to': (float,), # noqa: E501 + 'comparison': (DashboardCompoundComparisonConditionComparison,), # noqa: E501 + 'range': (DashboardCompoundRangeConditionRange,), # noqa: E501 } @cached_property @@ -106,10 +104,8 @@ def discriminator(): attribute_map = { - 'operator': 'operator', # noqa: E501 - 'value': 'value', # noqa: E501 - '_from': 'from', # noqa: E501 - 'to': 'to', # noqa: E501 + 'comparison': 'comparison', # noqa: E501 + 'range': 'range', # noqa: E501 } read_only_vars = { @@ -151,10 +147,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - operator (str): [optional] # noqa: E501 - value (float): [optional] # noqa: E501 - _from (float): [optional] # noqa: E501 - to (float): [optional] # noqa: E501 + comparison (DashboardCompoundComparisonConditionComparison): [optional] # noqa: E501 + range (DashboardCompoundRangeConditionRange): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -258,10 +252,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - operator (str): [optional] # noqa: E501 - value (float): [optional] # noqa: E501 - _from (float): [optional] # noqa: E501 - to (float): [optional] # noqa: E501 + comparison (DashboardCompoundComparisonConditionComparison): [optional] # noqa: E501 + range (DashboardCompoundRangeConditionRange): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_compound_range_condition.py b/gooddata-api-client/gooddata_api_client/model/dashboard_compound_range_condition.py index 6e738f235..de128ef56 100644 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_compound_range_condition.py +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_compound_range_condition.py @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.dashboard_compound_range_condition_all_of import DashboardCompoundRangeConditionAllOf - globals()['DashboardCompoundRangeConditionAllOf'] = DashboardCompoundRangeConditionAllOf + from gooddata_api_client.model.dashboard_compound_range_condition_range import DashboardCompoundRangeConditionRange + globals()['DashboardCompoundRangeConditionRange'] = DashboardCompoundRangeConditionRange -class DashboardCompoundRangeCondition(ModelComposed): +class DashboardCompoundRangeCondition(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -60,10 +60,6 @@ class DashboardCompoundRangeCondition(ModelComposed): """ allowed_values = { - ('operator',): { - 'BETWEEN': "BETWEEN", - 'NOT_BETWEEN': "NOT_BETWEEN", - }, } validations = { @@ -92,9 +88,7 @@ def openapi_types(): """ lazy_import() return { - '_from': (float,), # noqa: E501 - 'operator': (str,), # noqa: E501 - 'to': (float,), # noqa: E501 + 'range': (DashboardCompoundRangeConditionRange,), # noqa: E501 } @cached_property @@ -103,23 +97,23 @@ def discriminator(): attribute_map = { - '_from': 'from', # noqa: E501 - 'operator': 'operator', # noqa: E501 - 'to': 'to', # noqa: E501 + 'range': 'range', # noqa: E501 } read_only_vars = { } + _composed_schemas = {} + @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, range, *args, **kwargs): # noqa: E501 """DashboardCompoundRangeCondition - a model defined in OpenAPI + Args: + range (DashboardCompoundRangeConditionRange): + Keyword Args: - _from (float): - operator (str): - to (float): _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -153,7 +147,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) _path_to_item = kwargs.pop('_path_to_item', ()) _configuration = kwargs.pop('_configuration', None) _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) @@ -181,29 +175,15 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - constant_args = { - '_check_type': _check_type, - '_path_to_item': _path_to_item, - '_spec_property_naming': _spec_property_naming, - '_configuration': _configuration, - '_visited_composed_classes': self._visited_composed_classes, - } - composed_info = validate_get_composed_info( - constant_args, kwargs, self) - self._composed_instances = composed_info[0] - self._var_name_to_model_instances = composed_info[1] - self._additional_properties_model_instances = composed_info[2] - discarded_args = composed_info[3] - + self.range = range for var_name, var_value in kwargs.items(): - if var_name in discarded_args and \ + if var_name not in self.attribute_map and \ self._configuration is not None and \ self._configuration.discard_unknown_keys and \ - self._additional_properties_model_instances: + self.additional_properties_type is None: # discard variable. continue setattr(self, var_name, var_value) - return self required_properties = set([ @@ -213,19 +193,16 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 '_path_to_item', '_configuration', '_visited_composed_classes', - '_composed_instances', - '_var_name_to_model_instances', - '_additional_properties_model_instances', ]) @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 + def __init__(self, range, *args, **kwargs): # noqa: E501 """DashboardCompoundRangeCondition - a model defined in OpenAPI + Args: + range (DashboardCompoundRangeConditionRange): + Keyword Args: - _from (float): - operator (str): - to (float): _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -285,48 +262,15 @@ def __init__(self, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - constant_args = { - '_check_type': _check_type, - '_path_to_item': _path_to_item, - '_spec_property_naming': _spec_property_naming, - '_configuration': _configuration, - '_visited_composed_classes': self._visited_composed_classes, - } - composed_info = validate_get_composed_info( - constant_args, kwargs, self) - self._composed_instances = composed_info[0] - self._var_name_to_model_instances = composed_info[1] - self._additional_properties_model_instances = composed_info[2] - discarded_args = composed_info[3] - + self.range = range for var_name, var_value in kwargs.items(): - if var_name in discarded_args and \ + if var_name not in self.attribute_map and \ self._configuration is not None and \ self._configuration.discard_unknown_keys and \ - self._additional_properties_model_instances: + self.additional_properties_type is None: # discard variable. continue setattr(self, var_name, var_value) if var_name in self.read_only_vars: raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " f"class with read only attributes.") - - @cached_property - def _composed_schemas(): - # we need this here to make our import statements work - # we must store _composed_schemas in here so the code is only run - # when we invoke this method. If we kept this at the class - # level we would get an error because the class level - # code would be run when this module is imported, and these composed - # classes don't exist yet because their module has not finished - # loading - lazy_import() - return { - 'anyOf': [ - ], - 'allOf': [ - DashboardCompoundRangeConditionAllOf, - ], - 'oneOf': [ - ], - } diff --git a/gooddata-api-client/gooddata_api_client/model/validate_llm_endpoint_response.py b/gooddata-api-client/gooddata_api_client/model/dashboard_compound_range_condition_range.py similarity index 89% rename from gooddata-api-client/gooddata_api_client/model/validate_llm_endpoint_response.py rename to gooddata-api-client/gooddata_api_client/model/dashboard_compound_range_condition_range.py index 20db40776..30a97a166 100644 --- a/gooddata-api-client/gooddata_api_client/model/validate_llm_endpoint_response.py +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_compound_range_condition_range.py @@ -31,7 +31,7 @@ -class ValidateLLMEndpointResponse(ModelNormal): +class DashboardCompoundRangeConditionRange(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -56,6 +56,10 @@ class ValidateLLMEndpointResponse(ModelNormal): """ allowed_values = { + ('operator',): { + 'BETWEEN': "BETWEEN", + 'NOT_BETWEEN': "NOT_BETWEEN", + }, } validations = { @@ -82,8 +86,10 @@ def openapi_types(): and the value is attribute type. """ return { - 'message': (str,), # noqa: E501 - 'successful': (bool,), # noqa: E501 + '_from': (float,), # noqa: E501 + 'operator': (str,), # noqa: E501 + 'to': (float,), # noqa: E501 + 'treat_null_values_as': (float,), # noqa: E501 } @cached_property @@ -92,8 +98,10 @@ def discriminator(): attribute_map = { - 'message': 'message', # noqa: E501 - 'successful': 'successful', # noqa: E501 + '_from': 'from', # noqa: E501 + 'operator': 'operator', # noqa: E501 + 'to': 'to', # noqa: E501 + 'treat_null_values_as': 'treatNullValuesAs', # noqa: E501 } read_only_vars = { @@ -103,12 +111,13 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, message, successful, *args, **kwargs): # noqa: E501 - """ValidateLLMEndpointResponse - a model defined in OpenAPI + def _from_openapi_data(cls, _from, operator, to, *args, **kwargs): # noqa: E501 + """DashboardCompoundRangeConditionRange - a model defined in OpenAPI Args: - message (str): Additional message about the LLM endpoint validation - successful (bool): Whether the LLM endpoint validation was successful + _from (float): + operator (str): + to (float): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -141,6 +150,7 @@ def _from_openapi_data(cls, message, successful, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + treat_null_values_as (float): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -172,8 +182,9 @@ def _from_openapi_data(cls, message, successful, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.message = message - self.successful = successful + self._from = _from + self.operator = operator + self.to = to for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -194,12 +205,13 @@ def _from_openapi_data(cls, message, successful, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, message, successful, *args, **kwargs): # noqa: E501 - """ValidateLLMEndpointResponse - a model defined in OpenAPI + def __init__(self, _from, operator, to, *args, **kwargs): # noqa: E501 + """DashboardCompoundRangeConditionRange - a model defined in OpenAPI Args: - message (str): Additional message about the LLM endpoint validation - successful (bool): Whether the LLM endpoint validation was successful + _from (float): + operator (str): + to (float): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -232,6 +244,7 @@ def __init__(self, message, successful, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + treat_null_values_as (float): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -261,8 +274,9 @@ def __init__(self, message, successful, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.message = message - self.successful = successful + self._from = _from + self.operator = operator + self.to = to for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_filter.py b/gooddata-api-client/gooddata_api_client/model/dashboard_filter.py index 935c4a996..38ecddfc2 100644 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_filter.py @@ -40,7 +40,7 @@ def lazy_import(): from gooddata_api_client.model.dashboard_match_attribute_filter import DashboardMatchAttributeFilter from gooddata_api_client.model.dashboard_match_attribute_filter_match_attribute_filter import DashboardMatchAttributeFilterMatchAttributeFilter from gooddata_api_client.model.dashboard_measure_value_filter import DashboardMeasureValueFilter - from gooddata_api_client.model.dashboard_measure_value_filter_measure_value_filter import DashboardMeasureValueFilterMeasureValueFilter + from gooddata_api_client.model.dashboard_measure_value_filter_dashboard_measure_value_filter import DashboardMeasureValueFilterDashboardMeasureValueFilter globals()['DashboardArbitraryAttributeFilter'] = DashboardArbitraryAttributeFilter globals()['DashboardArbitraryAttributeFilterArbitraryAttributeFilter'] = DashboardArbitraryAttributeFilterArbitraryAttributeFilter globals()['DashboardAttributeFilter'] = DashboardAttributeFilter @@ -50,7 +50,7 @@ def lazy_import(): globals()['DashboardMatchAttributeFilter'] = DashboardMatchAttributeFilter globals()['DashboardMatchAttributeFilterMatchAttributeFilter'] = DashboardMatchAttributeFilterMatchAttributeFilter globals()['DashboardMeasureValueFilter'] = DashboardMeasureValueFilter - globals()['DashboardMeasureValueFilterMeasureValueFilter'] = DashboardMeasureValueFilterMeasureValueFilter + globals()['DashboardMeasureValueFilterDashboardMeasureValueFilter'] = DashboardMeasureValueFilterDashboardMeasureValueFilter class DashboardFilter(ModelComposed): @@ -110,7 +110,7 @@ def openapi_types(): 'date_filter': (DashboardDateFilterDateFilter,), # noqa: E501 'arbitrary_attribute_filter': (DashboardArbitraryAttributeFilterArbitraryAttributeFilter,), # noqa: E501 'match_attribute_filter': (DashboardMatchAttributeFilterMatchAttributeFilter,), # noqa: E501 - 'measure_value_filter': (DashboardMeasureValueFilterMeasureValueFilter,), # noqa: E501 + 'dashboard_measure_value_filter': (DashboardMeasureValueFilterDashboardMeasureValueFilter,), # noqa: E501 } @cached_property @@ -123,7 +123,7 @@ def discriminator(): 'date_filter': 'dateFilter', # noqa: E501 'arbitrary_attribute_filter': 'arbitraryAttributeFilter', # noqa: E501 'match_attribute_filter': 'matchAttributeFilter', # noqa: E501 - 'measure_value_filter': 'measureValueFilter', # noqa: E501 + 'dashboard_measure_value_filter': 'dashboardMeasureValueFilter', # noqa: E501 } read_only_vars = { @@ -169,7 +169,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 date_filter (DashboardDateFilterDateFilter): [optional] # noqa: E501 arbitrary_attribute_filter (DashboardArbitraryAttributeFilterArbitraryAttributeFilter): [optional] # noqa: E501 match_attribute_filter (DashboardMatchAttributeFilterMatchAttributeFilter): [optional] # noqa: E501 - measure_value_filter (DashboardMeasureValueFilterMeasureValueFilter): [optional] # noqa: E501 + dashboard_measure_value_filter (DashboardMeasureValueFilterDashboardMeasureValueFilter): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -277,7 +277,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 date_filter (DashboardDateFilterDateFilter): [optional] # noqa: E501 arbitrary_attribute_filter (DashboardArbitraryAttributeFilterArbitraryAttributeFilter): [optional] # noqa: E501 match_attribute_filter (DashboardMatchAttributeFilterMatchAttributeFilter): [optional] # noqa: E501 - measure_value_filter (DashboardMeasureValueFilterMeasureValueFilter): [optional] # noqa: E501 + dashboard_measure_value_filter (DashboardMeasureValueFilterDashboardMeasureValueFilter): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_measure_value_filter.py b/gooddata-api-client/gooddata_api_client/model/dashboard_measure_value_filter.py index 6df84b145..633fc09d9 100644 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_measure_value_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_measure_value_filter.py @@ -31,8 +31,8 @@ def lazy_import(): - from gooddata_api_client.model.dashboard_measure_value_filter_measure_value_filter import DashboardMeasureValueFilterMeasureValueFilter - globals()['DashboardMeasureValueFilterMeasureValueFilter'] = DashboardMeasureValueFilterMeasureValueFilter + from gooddata_api_client.model.dashboard_measure_value_filter_dashboard_measure_value_filter import DashboardMeasureValueFilterDashboardMeasureValueFilter + globals()['DashboardMeasureValueFilterDashboardMeasureValueFilter'] = DashboardMeasureValueFilterDashboardMeasureValueFilter class DashboardMeasureValueFilter(ModelNormal): @@ -88,7 +88,7 @@ def openapi_types(): """ lazy_import() return { - 'measure_value_filter': (DashboardMeasureValueFilterMeasureValueFilter,), # noqa: E501 + 'dashboard_measure_value_filter': (DashboardMeasureValueFilterDashboardMeasureValueFilter,), # noqa: E501 } @cached_property @@ -97,7 +97,7 @@ def discriminator(): attribute_map = { - 'measure_value_filter': 'measureValueFilter', # noqa: E501 + 'dashboard_measure_value_filter': 'dashboardMeasureValueFilter', # noqa: E501 } read_only_vars = { @@ -107,11 +107,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, measure_value_filter, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, dashboard_measure_value_filter, *args, **kwargs): # noqa: E501 """DashboardMeasureValueFilter - a model defined in OpenAPI Args: - measure_value_filter (DashboardMeasureValueFilterMeasureValueFilter): + dashboard_measure_value_filter (DashboardMeasureValueFilterDashboardMeasureValueFilter): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -175,7 +175,7 @@ def _from_openapi_data(cls, measure_value_filter, *args, **kwargs): # noqa: E50 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.measure_value_filter = measure_value_filter + self.dashboard_measure_value_filter = dashboard_measure_value_filter for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -196,11 +196,11 @@ def _from_openapi_data(cls, measure_value_filter, *args, **kwargs): # noqa: E50 ]) @convert_js_args_to_python_args - def __init__(self, measure_value_filter, *args, **kwargs): # noqa: E501 + def __init__(self, dashboard_measure_value_filter, *args, **kwargs): # noqa: E501 """DashboardMeasureValueFilter - a model defined in OpenAPI Args: - measure_value_filter (DashboardMeasureValueFilterMeasureValueFilter): + dashboard_measure_value_filter (DashboardMeasureValueFilterDashboardMeasureValueFilter): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -262,7 +262,7 @@ def __init__(self, measure_value_filter, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.measure_value_filter = measure_value_filter + self.dashboard_measure_value_filter = dashboard_measure_value_filter for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_measure_value_filter_measure_value_filter.py b/gooddata-api-client/gooddata_api_client/model/dashboard_measure_value_filter_dashboard_measure_value_filter.py similarity index 95% rename from gooddata-api-client/gooddata_api_client/model/dashboard_measure_value_filter_measure_value_filter.py rename to gooddata-api-client/gooddata_api_client/model/dashboard_measure_value_filter_dashboard_measure_value_filter.py index 1c44accff..08ff25145 100644 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_measure_value_filter_measure_value_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_measure_value_filter_dashboard_measure_value_filter.py @@ -37,7 +37,7 @@ def lazy_import(): globals()['IdentifierRef'] = IdentifierRef -class DashboardMeasureValueFilterMeasureValueFilter(ModelNormal): +class DashboardMeasureValueFilterDashboardMeasureValueFilter(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -92,6 +92,7 @@ def openapi_types(): return { 'conditions': ([DashboardCompoundConditionItem],), # noqa: E501 'measure': (IdentifierRef,), # noqa: E501 + 'dimensionality': ([IdentifierRef],), # noqa: E501 'local_identifier': (str,), # noqa: E501 'title': (str,), # noqa: E501 } @@ -104,6 +105,7 @@ def discriminator(): attribute_map = { 'conditions': 'conditions', # noqa: E501 'measure': 'measure', # noqa: E501 + 'dimensionality': 'dimensionality', # noqa: E501 'local_identifier': 'localIdentifier', # noqa: E501 'title': 'title', # noqa: E501 } @@ -116,7 +118,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, conditions, measure, *args, **kwargs): # noqa: E501 - """DashboardMeasureValueFilterMeasureValueFilter - a model defined in OpenAPI + """DashboardMeasureValueFilterDashboardMeasureValueFilter - a model defined in OpenAPI Args: conditions ([DashboardCompoundConditionItem]): @@ -153,6 +155,7 @@ def _from_openapi_data(cls, conditions, measure, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + dimensionality ([IdentifierRef]): [optional] # noqa: E501 local_identifier (str): [optional] # noqa: E501 title (str): [optional] # noqa: E501 """ @@ -209,7 +212,7 @@ def _from_openapi_data(cls, conditions, measure, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, conditions, measure, *args, **kwargs): # noqa: E501 - """DashboardMeasureValueFilterMeasureValueFilter - a model defined in OpenAPI + """DashboardMeasureValueFilterDashboardMeasureValueFilter - a model defined in OpenAPI Args: conditions ([DashboardCompoundConditionItem]): @@ -246,6 +249,7 @@ def __init__(self, conditions, measure, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + dimensionality ([IdentifierRef]): [optional] # noqa: E501 local_identifier (str): [optional] # noqa: E501 title (str): [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_parameter_value.py b/gooddata-api-client/gooddata_api_client/model/dashboard_parameter_value.py new file mode 100644 index 000000000..8010c51a1 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_parameter_value.py @@ -0,0 +1,282 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class DashboardParameterValue(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'id': (str,), # noqa: E501 + 'title': (str,), # noqa: E501 + 'value': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'title': 'title', # noqa: E501 + 'value': 'value', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, title, value, *args, **kwargs): # noqa: E501 + """DashboardParameterValue - a model defined in OpenAPI + + Args: + id (str): Identifier of the workspace parameter (matches the parameter entity id). + title (str): Display title of the parameter as the client wants it rendered on the info sheet. + value (str): Value to use for this parameter when executing the export. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.id = id + self.title = title + self.value = value + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, id, title, value, *args, **kwargs): # noqa: E501 + """DashboardParameterValue - a model defined in OpenAPI + + Args: + id (str): Identifier of the workspace parameter (matches the parameter entity id). + title (str): Display title of the parameter as the client wants it rendered on the info sheet. + value (str): Value to use for this parameter when executing the export. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.id = id + self.title = title + self.value = value + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_tabular_export_request.py b/gooddata-api-client/gooddata_api_client/model/dashboard_tabular_export_request.py index dc0915025..a71a99b59 100644 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_tabular_export_request.py +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_tabular_export_request.py @@ -33,8 +33,10 @@ def lazy_import(): from gooddata_api_client.model.dashboard_export_settings import DashboardExportSettings from gooddata_api_client.model.dashboard_filter import DashboardFilter + from gooddata_api_client.model.dashboard_parameter_value import DashboardParameterValue globals()['DashboardExportSettings'] = DashboardExportSettings globals()['DashboardFilter'] = DashboardFilter + globals()['DashboardParameterValue'] = DashboardParameterValue class DashboardTabularExportRequest(ModelNormal): @@ -100,7 +102,9 @@ def openapi_types(): 'file_name': (str,), # noqa: E501 'format': (str,), # noqa: E501 'dashboard_filters_override': ([DashboardFilter],), # noqa: E501 + 'dashboard_parameters_override': ([DashboardParameterValue],), # noqa: E501 'dashboard_tabs_filters_overrides': ({str: ([DashboardFilter],)},), # noqa: E501 + 'dashboard_tabs_parameters_overrides': ({str: ([DashboardParameterValue],)},), # noqa: E501 'settings': (DashboardExportSettings,), # noqa: E501 'widget_ids': ([str],), # noqa: E501 } @@ -114,7 +118,9 @@ def discriminator(): 'file_name': 'fileName', # noqa: E501 'format': 'format', # noqa: E501 'dashboard_filters_override': 'dashboardFiltersOverride', # noqa: E501 + 'dashboard_parameters_override': 'dashboardParametersOverride', # noqa: E501 'dashboard_tabs_filters_overrides': 'dashboardTabsFiltersOverrides', # noqa: E501 + 'dashboard_tabs_parameters_overrides': 'dashboardTabsParametersOverrides', # noqa: E501 'settings': 'settings', # noqa: E501 'widget_ids': 'widgetIds', # noqa: E501 } @@ -165,7 +171,9 @@ def _from_openapi_data(cls, file_name, format, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) dashboard_filters_override ([DashboardFilter]): List of filters that will be used instead of the default dashboard filters.. [optional] # noqa: E501 + dashboard_parameters_override ([DashboardParameterValue]): Parameter value overrides applied to the export's executions. Each entry carries the parameter id (used as an AFM execution override) plus the FE-supplied title for the info sheet. Applied uniformly across all tabs; use dashboardTabsParametersOverrides for tab-scoped overrides.. [optional] # noqa: E501 dashboard_tabs_filters_overrides ({str: ([DashboardFilter],)}): Map of tab-specific filter overrides. Key is tabId, value is list of filters for that tab.. [optional] # noqa: E501 + dashboard_tabs_parameters_overrides ({str: ([DashboardParameterValue],)}): Map of tab-specific parameter overrides. Key is tabId, value is a list of (id, value, title) entries that override the dashboard-level parameters for that tab only. Mirrors dashboardTabsFiltersOverrides. When a tab is present in this map, its entries take precedence over dashboardParametersOverride for that tab's executions and info-sheet display.. [optional] # noqa: E501 settings (DashboardExportSettings): [optional] # noqa: E501 widget_ids ([str]): List of widget identifiers to be exported. Note that only one widget is currently supported.. [optional] # noqa: E501 """ @@ -260,7 +268,9 @@ def __init__(self, file_name, format, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) dashboard_filters_override ([DashboardFilter]): List of filters that will be used instead of the default dashboard filters.. [optional] # noqa: E501 + dashboard_parameters_override ([DashboardParameterValue]): Parameter value overrides applied to the export's executions. Each entry carries the parameter id (used as an AFM execution override) plus the FE-supplied title for the info sheet. Applied uniformly across all tabs; use dashboardTabsParametersOverrides for tab-scoped overrides.. [optional] # noqa: E501 dashboard_tabs_filters_overrides ({str: ([DashboardFilter],)}): Map of tab-specific filter overrides. Key is tabId, value is list of filters for that tab.. [optional] # noqa: E501 + dashboard_tabs_parameters_overrides ({str: ([DashboardParameterValue],)}): Map of tab-specific parameter overrides. Key is tabId, value is a list of (id, value, title) entries that override the dashboard-level parameters for that tab only. Mirrors dashboardTabsFiltersOverrides. When a tab is present in this map, its entries take precedence over dashboardParametersOverride for that tab's executions and info-sheet display.. [optional] # noqa: E501 settings (DashboardExportSettings): [optional] # noqa: E501 widget_ids ([str]): List of widget identifiers to be exported. Note that only one widget is currently supported.. [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_tabular_export_request_v2.py b/gooddata-api-client/gooddata_api_client/model/dashboard_tabular_export_request_v2.py index d189ee2d3..efba7dca3 100644 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_tabular_export_request_v2.py +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_tabular_export_request_v2.py @@ -33,8 +33,10 @@ def lazy_import(): from gooddata_api_client.model.dashboard_export_settings import DashboardExportSettings from gooddata_api_client.model.dashboard_filter import DashboardFilter + from gooddata_api_client.model.dashboard_parameter_value import DashboardParameterValue globals()['DashboardExportSettings'] = DashboardExportSettings globals()['DashboardFilter'] = DashboardFilter + globals()['DashboardParameterValue'] = DashboardParameterValue class DashboardTabularExportRequestV2(ModelNormal): @@ -101,7 +103,9 @@ def openapi_types(): 'file_name': (str,), # noqa: E501 'format': (str,), # noqa: E501 'dashboard_filters_override': ([DashboardFilter],), # noqa: E501 + 'dashboard_parameters_override': ([DashboardParameterValue],), # noqa: E501 'dashboard_tabs_filters_overrides': ({str: ([DashboardFilter],)},), # noqa: E501 + 'dashboard_tabs_parameters_overrides': ({str: ([DashboardParameterValue],)},), # noqa: E501 'settings': (DashboardExportSettings,), # noqa: E501 'widget_ids': ([str],), # noqa: E501 } @@ -116,7 +120,9 @@ def discriminator(): 'file_name': 'fileName', # noqa: E501 'format': 'format', # noqa: E501 'dashboard_filters_override': 'dashboardFiltersOverride', # noqa: E501 + 'dashboard_parameters_override': 'dashboardParametersOverride', # noqa: E501 'dashboard_tabs_filters_overrides': 'dashboardTabsFiltersOverrides', # noqa: E501 + 'dashboard_tabs_parameters_overrides': 'dashboardTabsParametersOverrides', # noqa: E501 'settings': 'settings', # noqa: E501 'widget_ids': 'widgetIds', # noqa: E501 } @@ -168,7 +174,9 @@ def _from_openapi_data(cls, dashboard_id, file_name, format, *args, **kwargs): through its discriminator because we passed in _visited_composed_classes = (Animal,) dashboard_filters_override ([DashboardFilter]): List of filters that will be used instead of the default dashboard filters.. [optional] # noqa: E501 + dashboard_parameters_override ([DashboardParameterValue]): Parameter value overrides applied to the export's executions. Each entry carries the parameter id (used as an AFM execution override) plus the FE-supplied title for the info sheet. Applied uniformly across all tabs; use dashboardTabsParametersOverrides for tab-scoped overrides.. [optional] # noqa: E501 dashboard_tabs_filters_overrides ({str: ([DashboardFilter],)}): Map of tab-specific filter overrides. Key is tabId, value is list of filters for that tab.. [optional] # noqa: E501 + dashboard_tabs_parameters_overrides ({str: ([DashboardParameterValue],)}): Map of tab-specific parameter overrides. Key is tabId, value is a list of (id, value, title) entries that override the dashboard-level parameters for that tab only. Mirrors dashboardTabsFiltersOverrides. When a tab is present in this map, its entries take precedence over dashboardParametersOverride for that tab's executions and info-sheet display.. [optional] # noqa: E501 settings (DashboardExportSettings): [optional] # noqa: E501 widget_ids ([str]): List of widget identifiers to be exported. Note that only one widget is currently supported.. [optional] # noqa: E501 """ @@ -265,7 +273,9 @@ def __init__(self, dashboard_id, file_name, format, *args, **kwargs): # noqa: E through its discriminator because we passed in _visited_composed_classes = (Animal,) dashboard_filters_override ([DashboardFilter]): List of filters that will be used instead of the default dashboard filters.. [optional] # noqa: E501 + dashboard_parameters_override ([DashboardParameterValue]): Parameter value overrides applied to the export's executions. Each entry carries the parameter id (used as an AFM execution override) plus the FE-supplied title for the info sheet. Applied uniformly across all tabs; use dashboardTabsParametersOverrides for tab-scoped overrides.. [optional] # noqa: E501 dashboard_tabs_filters_overrides ({str: ([DashboardFilter],)}): Map of tab-specific filter overrides. Key is tabId, value is list of filters for that tab.. [optional] # noqa: E501 + dashboard_tabs_parameters_overrides ({str: ([DashboardParameterValue],)}): Map of tab-specific parameter overrides. Key is tabId, value is a list of (id, value, title) entries that override the dashboard-level parameters for that tab only. Mirrors dashboardTabsFiltersOverrides. When a tab is present in this map, its entries take precedence over dashboardParametersOverride for that tab's executions and info-sheet display.. [optional] # noqa: E501 settings (DashboardExportSettings): [optional] # noqa: E501 widget_ids ([str]): List of widget identifiers to be exported. Note that only one widget is currently supported.. [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_agent.py b/gooddata-api-client/gooddata_api_client/model/declarative_agent.py index 2e2b57142..6288da3ca 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_agent.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_agent.py @@ -63,7 +63,6 @@ class DeclarativeAgent(ModelNormal): allowed_values = { ('custom_skills',): { - 'None': None, 'ALERT': "alert", 'ANOMALY_DETECTION': "anomaly_detection", 'CLUSTERING': "clustering", @@ -125,7 +124,7 @@ def openapi_types(): 'available_to_all': (bool,), # noqa: E501 'created_at': (str, none_type,), # noqa: E501 'created_by': (DeclarativeUserIdentifier,), # noqa: E501 - 'custom_skills': ([str, none_type], none_type,), # noqa: E501 + 'custom_skills': ([str],), # noqa: E501 'description': (str,), # noqa: E501 'enabled': (bool,), # noqa: E501 'modified_at': (str, none_type,), # noqa: E501 @@ -206,7 +205,7 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 available_to_all (bool): Whether the agent is available to all users.. [optional] # noqa: E501 created_at (str, none_type): Time of the entity creation.. [optional] # noqa: E501 created_by (DeclarativeUserIdentifier): [optional] # noqa: E501 - custom_skills ([str, none_type], none_type): List of custom skills when skillsMode is CUSTOM.. [optional] # noqa: E501 + custom_skills ([str]): List of custom skills when skillsMode is CUSTOM.. [optional] # noqa: E501 description (str): Description of the agent.. [optional] # noqa: E501 enabled (bool): Whether the agent is enabled.. [optional] # noqa: E501 modified_at (str, none_type): Time of the last entity modification.. [optional] # noqa: E501 @@ -308,7 +307,7 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 available_to_all (bool): Whether the agent is available to all users.. [optional] # noqa: E501 created_at (str, none_type): Time of the entity creation.. [optional] # noqa: E501 created_by (DeclarativeUserIdentifier): [optional] # noqa: E501 - custom_skills ([str, none_type], none_type): List of custom skills when skillsMode is CUSTOM.. [optional] # noqa: E501 + custom_skills ([str]): List of custom skills when skillsMode is CUSTOM.. [optional] # noqa: E501 description (str): Description of the agent.. [optional] # noqa: E501 enabled (bool): Whether the agent is enabled.. [optional] # noqa: E501 modified_at (str, none_type): Time of the last entity modification.. [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_data_source.py b/gooddata-api-client/gooddata_api_client/model/declarative_data_source.py index 6c35df865..a4bb31bd6 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_data_source.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_data_source.py @@ -91,6 +91,7 @@ class DeclarativeDataSource(ModelNormal): 'MONGODB': "MONGODB", 'CRATEDB': "CRATEDB", 'AILAKEHOUSE': "AILAKEHOUSE", + 'DENODO': "DENODO", }, ('authentication_type',): { 'None': None, diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_ip_allowlist_policy.py b/gooddata-api-client/gooddata_api_client/model/declarative_ip_allowlist_policy.py index c6bf07056..7e0a590cc 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_ip_allowlist_policy.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_ip_allowlist_policy.py @@ -124,7 +124,7 @@ def _from_openapi_data(cls, allowed_sources, id, *args, **kwargs): # noqa: E501 """DeclarativeIpAllowlistPolicy - a model defined in OpenAPI Args: - allowed_sources ([str]): Allowed source IP addresses or CIDR ranges. + allowed_sources ([str]): Allowed source IPv4 addresses or CIDR ranges. Only IPv4 is supported; IPv6 are rejected. The /0 prefix is not allowed. id (str): Identifier of an IP allowlist policy. Keyword Args: @@ -217,7 +217,7 @@ def __init__(self, allowed_sources, id, *args, **kwargs): # noqa: E501 """DeclarativeIpAllowlistPolicy - a model defined in OpenAPI Args: - allowed_sources ([str]): Allowed source IP addresses or CIDR ranges. + allowed_sources ([str]): Allowed source IPv4 addresses or CIDR ranges. Only IPv4 is supported; IPv6 are rejected. The /0 prefix is not allowed. id (str): Identifier of an IP allowlist policy. Keyword Args: diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_setting.py b/gooddata-api-client/gooddata_api_client/model/declarative_setting.py index 9ea030adb..72dc46c00 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_setting.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_setting.py @@ -64,7 +64,6 @@ class DeclarativeSetting(ModelNormal): 'TIMEZONE': "TIMEZONE", 'ACTIVE_THEME': "ACTIVE_THEME", 'ACTIVE_COLOR_PALETTE': "ACTIVE_COLOR_PALETTE", - 'ACTIVE_LLM_ENDPOINT': "ACTIVE_LLM_ENDPOINT", 'ACTIVE_LLM_PROVIDER': "ACTIVE_LLM_PROVIDER", 'ACTIVE_CALENDARS': "ACTIVE_CALENDARS", 'WHITE_LABELING': "WHITE_LABELING", @@ -106,6 +105,7 @@ class DeclarativeSetting(ModelNormal): 'SORT_COLLATION': "SORT_COLLATION", 'METRIC_FORMAT_OVERRIDE': "METRIC_FORMAT_OVERRIDE", 'ENABLE_AI_ON_DATA': "ENABLE_AI_ON_DATA", + 'ENABLE_PARTIAL_DATA_RESULTS': "ENABLE_PARTIAL_DATA_RESULTS", 'API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE': "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", 'EXPORT_CSV_CUSTOM_DELIMITER': "EXPORT_CSV_CUSTOM_DELIMITER", 'ENABLE_QUERY_TAGS': "ENABLE_QUERY_TAGS", diff --git a/gooddata-api-client/gooddata_api_client/model/entitlements_request.py b/gooddata-api-client/gooddata_api_client/model/entitlements_request.py index 3a404afbd..e600cfa0e 100644 --- a/gooddata-api-client/gooddata_api_client/model/entitlements_request.py +++ b/gooddata-api-client/gooddata_api_client/model/entitlements_request.py @@ -89,6 +89,7 @@ class EntitlementsRequest(ModelNormal): 'AIQUERYLIMIT': "AiQueryLimit", 'AIKNOWLEDGESTORAGELIMIT': "AiKnowledgeStorageLimit", 'AIAGENTLIMIT': "AiAgentLimit", + 'AIWORKSPACELIMIT': "AiWorkspaceLimit", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/execution_result_limit_break.py b/gooddata-api-client/gooddata_api_client/model/execution_result_limit_break.py new file mode 100644 index 000000000..d2e257aae --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/execution_result_limit_break.py @@ -0,0 +1,280 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class ExecutionResultLimitBreak(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'limit': (int,), # noqa: E501 + 'limit_type': (str,), # noqa: E501 + 'value': (int,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'limit': 'limit', # noqa: E501 + 'limit_type': 'limitType', # noqa: E501 + 'value': 'value', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, limit, limit_type, *args, **kwargs): # noqa: E501 + """ExecutionResultLimitBreak - a model defined in OpenAPI + + Args: + limit (int): The configured threshold value. + limit_type (str): Type of the limit that was broken, e.g. \"rowCount\". + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + value (int): The actual value that triggered the limit; null when it cannot be determined exactly.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.limit = limit + self.limit_type = limit_type + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, limit, limit_type, *args, **kwargs): # noqa: E501 + """ExecutionResultLimitBreak - a model defined in OpenAPI + + Args: + limit (int): The configured threshold value. + limit_type (str): Type of the limit that was broken, e.g. \"rowCount\". + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + value (int): The actual value that triggered the limit; null when it cannot be determined exactly.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.limit = limit + self.limit_type = limit_type + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/execution_result_metadata.py b/gooddata-api-client/gooddata_api_client/model/execution_result_metadata.py index 92c672510..6fcb8d897 100644 --- a/gooddata-api-client/gooddata_api_client/model/execution_result_metadata.py +++ b/gooddata-api-client/gooddata_api_client/model/execution_result_metadata.py @@ -32,7 +32,9 @@ def lazy_import(): from gooddata_api_client.model.execution_result_data_source_message import ExecutionResultDataSourceMessage + from gooddata_api_client.model.execution_result_limit_break import ExecutionResultLimitBreak globals()['ExecutionResultDataSourceMessage'] = ExecutionResultDataSourceMessage + globals()['ExecutionResultLimitBreak'] = ExecutionResultLimitBreak class ExecutionResultMetadata(ModelNormal): @@ -89,6 +91,7 @@ def openapi_types(): lazy_import() return { 'data_source_messages': ([ExecutionResultDataSourceMessage],), # noqa: E501 + 'limit_breaks': ([ExecutionResultLimitBreak],), # noqa: E501 } @cached_property @@ -98,6 +101,7 @@ def discriminator(): attribute_map = { 'data_source_messages': 'dataSourceMessages', # noqa: E501 + 'limit_breaks': 'limitBreaks', # noqa: E501 } read_only_vars = { @@ -144,6 +148,7 @@ def _from_openapi_data(cls, data_source_messages, *args, **kwargs): # noqa: E50 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + limit_breaks ([ExecutionResultLimitBreak]): Limits that were broken during result computation, causing the result to be partial. Absent when the result is complete.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -233,6 +238,7 @@ def __init__(self, data_source_messages, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + limit_breaks ([ExecutionResultLimitBreak]): Limits that were broken during result computation, causing the result to be partial. Absent when the result is complete.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/failed_operation.py b/gooddata-api-client/gooddata_api_client/model/failed_operation.py index f099b8053..10f0bf243 100644 --- a/gooddata-api-client/gooddata_api_client/model/failed_operation.py +++ b/gooddata-api-client/gooddata_api_client/model/failed_operation.py @@ -71,6 +71,7 @@ class FailedOperation(ModelComposed): 'CREATE-PIPE-TABLE': "create-pipe-table", 'DELETE-PIPE-TABLE': "delete-pipe-table", 'ANALYZE-STATISTICS': "analyze-statistics", + 'REFRESH-PARTITION': "refresh-partition", }, } @@ -132,7 +133,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Keyword Args: error (OperationError): id (str): Id of the operation - kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. + kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. * `refresh-partition` — Refreshing a specific Hive partition (delete + re-load from S3). status (str): _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be @@ -239,7 +240,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Keyword Args: error (OperationError): id (str): Id of the operation - kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. + kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. * `refresh-partition` — Refreshing a specific Hive partition (delete + re-load from S3). status (str): _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be diff --git a/gooddata-api-client/gooddata_api_client/model/get_ai_lake_operation200_response.py b/gooddata-api-client/gooddata_api_client/model/get_ai_lake_operation200_response.py index 5708590db..279d56d06 100644 --- a/gooddata-api-client/gooddata_api_client/model/get_ai_lake_operation200_response.py +++ b/gooddata-api-client/gooddata_api_client/model/get_ai_lake_operation200_response.py @@ -73,6 +73,7 @@ class GetAiLakeOperation200Response(ModelComposed): 'CREATE-PIPE-TABLE': "create-pipe-table", 'DELETE-PIPE-TABLE': "delete-pipe-table", 'ANALYZE-STATISTICS': "analyze-statistics", + 'REFRESH-PARTITION': "refresh-partition", }, } @@ -174,7 +175,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) result ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Operation-specific result payload, can be missing for operations like delete. [optional] # noqa: E501 id (str): Id of the operation. [optional] # noqa: E501 - kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. . [optional] # noqa: E501 + kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. * `refresh-partition` — Refreshing a specific Hive partition (delete + re-load from S3). . [optional] # noqa: E501 error (OperationError): [optional] # noqa: E501 """ @@ -282,7 +283,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) result ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Operation-specific result payload, can be missing for operations like delete. [optional] # noqa: E501 id (str): Id of the operation. [optional] # noqa: E501 - kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. . [optional] # noqa: E501 + kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. * `refresh-partition` — Refreshing a specific Hive partition (delete + re-load from S3). . [optional] # noqa: E501 error (OperationError): [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_patch_document.py b/gooddata-api-client/gooddata_api_client/model/ip_allowlist_policy_targets.py similarity index 93% rename from gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_patch_document.py rename to gooddata-api-client/gooddata_api_client/model/ip_allowlist_policy_targets.py index af95c27d6..dd418919e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_patch_document.py +++ b/gooddata-api-client/gooddata_api_client/model/ip_allowlist_policy_targets.py @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_llm_endpoint_patch import JsonApiLlmEndpointPatch - globals()['JsonApiLlmEndpointPatch'] = JsonApiLlmEndpointPatch + from gooddata_api_client.model.assignee_identifier import AssigneeIdentifier + globals()['AssigneeIdentifier'] = AssigneeIdentifier -class JsonApiLlmEndpointPatchDocument(ModelNormal): +class IpAllowlistPolicyTargets(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -88,7 +88,7 @@ def openapi_types(): """ lazy_import() return { - 'data': (JsonApiLlmEndpointPatch,), # noqa: E501 + 'targets': ([AssigneeIdentifier],), # noqa: E501 } @cached_property @@ -97,7 +97,7 @@ def discriminator(): attribute_map = { - 'data': 'data', # noqa: E501 + 'targets': 'targets', # noqa: E501 } read_only_vars = { @@ -107,11 +107,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 - """JsonApiLlmEndpointPatchDocument - a model defined in OpenAPI + def _from_openapi_data(cls, targets, *args, **kwargs): # noqa: E501 + """IpAllowlistPolicyTargets - a model defined in OpenAPI Args: - data (JsonApiLlmEndpointPatch): + targets ([AssigneeIdentifier]): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -175,7 +175,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.data = data + self.targets = targets for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -196,11 +196,11 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, data, *args, **kwargs): # noqa: E501 - """JsonApiLlmEndpointPatchDocument - a model defined in OpenAPI + def __init__(self, targets, *args, **kwargs): # noqa: E501 + """IpAllowlistPolicyTargets - a model defined in OpenAPI Args: - data (JsonApiLlmEndpointPatch): + targets ([AssigneeIdentifier]): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -262,7 +262,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.data = data + self.targets = targets for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_attributes.py index 4882472e7..25edbaab5 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_attributes.py @@ -85,6 +85,7 @@ class JsonApiDataSourceIdentifierOutAttributes(ModelNormal): 'MONGODB': "MONGODB", 'CRATEDB': "CRATEDB", 'AILAKEHOUSE': "AILAKEHOUSE", + 'DENODO': "DENODO", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_attributes.py index 26ed1275b..77c96b316 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_attributes.py @@ -89,6 +89,7 @@ class JsonApiDataSourceInAttributes(ModelNormal): 'MONGODB': "MONGODB", 'CRATEDB': "CRATEDB", 'AILAKEHOUSE': "AILAKEHOUSE", + 'DENODO': "DENODO", }, ('cache_strategy',): { 'None': None, diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_attributes.py index c709fc326..00bb83ffa 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_attributes.py @@ -89,6 +89,7 @@ class JsonApiDataSourceOutAttributes(ModelNormal): 'MONGODB': "MONGODB", 'CRATEDB': "CRATEDB", 'AILAKEHOUSE': "AILAKEHOUSE", + 'DENODO': "DENODO", }, ('authentication_type',): { 'None': None, diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_attributes.py index a2e59b563..ae524198f 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_attributes.py @@ -99,6 +99,7 @@ class JsonApiDataSourcePatchAttributes(ModelNormal): 'MONGODB': "MONGODB", 'CRATEDB': "CRATEDB", 'AILAKEHOUSE': "AILAKEHOUSE", + 'DENODO': "DENODO", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_document_database_instance.py b/gooddata-api-client/gooddata_api_client/model/json_api_document_database_instance.py new file mode 100644 index 000000000..9be178978 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_document_database_instance.py @@ -0,0 +1,284 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.json_api_item_database_instance import JsonApiItemDatabaseInstance + from gooddata_api_client.model.json_api_list_links import JsonApiListLinks + globals()['JsonApiItemDatabaseInstance'] = JsonApiItemDatabaseInstance + globals()['JsonApiListLinks'] = JsonApiListLinks + + +class JsonApiDocumentDatabaseInstance(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': (JsonApiItemDatabaseInstance,), # noqa: E501 + 'links': (JsonApiListLinks,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + 'links': 'links', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data, links, *args, **kwargs): # noqa: E501 + """JsonApiDocumentDatabaseInstance - a model defined in OpenAPI + + Args: + data (JsonApiItemDatabaseInstance): + links (JsonApiListLinks): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.data = data + self.links = links + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, data, links, *args, **kwargs): # noqa: E501 + """JsonApiDocumentDatabaseInstance - a model defined in OpenAPI + + Args: + data (JsonApiItemDatabaseInstance): + links (JsonApiListLinks): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.data = data + self.links = links + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_document_pipe_table.py similarity index 92% rename from gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_document.py rename to gooddata-api-client/gooddata_api_client/model/json_api_document_pipe_table.py index d58654b56..93d632e71 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_document_pipe_table.py @@ -31,13 +31,13 @@ def lazy_import(): - from gooddata_api_client.model.json_api_llm_endpoint_out import JsonApiLlmEndpointOut - from gooddata_api_client.model.object_links import ObjectLinks - globals()['JsonApiLlmEndpointOut'] = JsonApiLlmEndpointOut - globals()['ObjectLinks'] = ObjectLinks + from gooddata_api_client.model.json_api_item_pipe_table import JsonApiItemPipeTable + from gooddata_api_client.model.json_api_list_links import JsonApiListLinks + globals()['JsonApiItemPipeTable'] = JsonApiItemPipeTable + globals()['JsonApiListLinks'] = JsonApiListLinks -class JsonApiLlmEndpointOutDocument(ModelNormal): +class JsonApiDocumentPipeTable(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -90,8 +90,8 @@ def openapi_types(): """ lazy_import() return { - 'data': (JsonApiLlmEndpointOut,), # noqa: E501 - 'links': (ObjectLinks,), # noqa: E501 + 'data': (JsonApiItemPipeTable,), # noqa: E501 + 'links': (JsonApiListLinks,), # noqa: E501 } @cached_property @@ -111,11 +111,12 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 - """JsonApiLlmEndpointOutDocument - a model defined in OpenAPI + def _from_openapi_data(cls, data, links, *args, **kwargs): # noqa: E501 + """JsonApiDocumentPipeTable - a model defined in OpenAPI Args: - data (JsonApiLlmEndpointOut): + data (JsonApiItemPipeTable): + links (JsonApiListLinks): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -148,7 +149,6 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - links (ObjectLinks): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -181,6 +181,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 self._visited_composed_classes = _visited_composed_classes + (self.__class__,) self.data = data + self.links = links for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -201,11 +202,12 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, data, *args, **kwargs): # noqa: E501 - """JsonApiLlmEndpointOutDocument - a model defined in OpenAPI + def __init__(self, data, links, *args, **kwargs): # noqa: E501 + """JsonApiDocumentPipeTable - a model defined in OpenAPI Args: - data (JsonApiLlmEndpointOut): + data (JsonApiItemPipeTable): + links (JsonApiListLinks): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -238,7 +240,6 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - links (ObjectLinks): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -269,6 +270,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 self._visited_composed_classes = _visited_composed_classes + (self.__class__,) self.data = data + self.links = links for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_in.py similarity index 88% rename from gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_in.py rename to gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_in.py index 8647b9935..9d4cbc34f 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_in.py @@ -31,11 +31,13 @@ def lazy_import(): - from gooddata_api_client.model.json_api_llm_endpoint_in_attributes import JsonApiLlmEndpointInAttributes - globals()['JsonApiLlmEndpointInAttributes'] = JsonApiLlmEndpointInAttributes + from gooddata_api_client.model.json_api_ip_allowlist_policy_in_attributes import JsonApiIpAllowlistPolicyInAttributes + from gooddata_api_client.model.json_api_ip_allowlist_policy_in_relationships import JsonApiIpAllowlistPolicyInRelationships + globals()['JsonApiIpAllowlistPolicyInAttributes'] = JsonApiIpAllowlistPolicyInAttributes + globals()['JsonApiIpAllowlistPolicyInRelationships'] = JsonApiIpAllowlistPolicyInRelationships -class JsonApiLlmEndpointIn(ModelNormal): +class JsonApiIpAllowlistPolicyIn(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -61,7 +63,7 @@ class JsonApiLlmEndpointIn(ModelNormal): allowed_values = { ('type',): { - 'LLMENDPOINT': "llmEndpoint", + 'IPALLOWLISTPOLICY': "ipAllowlistPolicy", }, } @@ -96,9 +98,10 @@ def openapi_types(): """ lazy_import() return { - 'attributes': (JsonApiLlmEndpointInAttributes,), # noqa: E501 + 'attributes': (JsonApiIpAllowlistPolicyInAttributes,), # noqa: E501 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 + 'relationships': (JsonApiIpAllowlistPolicyInRelationships,), # noqa: E501 } @cached_property @@ -110,6 +113,7 @@ def discriminator(): 'attributes': 'attributes', # noqa: E501 'id': 'id', # noqa: E501 'type': 'type', # noqa: E501 + 'relationships': 'relationships', # noqa: E501 } read_only_vars = { @@ -120,14 +124,14 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, attributes, id, *args, **kwargs): # noqa: E501 - """JsonApiLlmEndpointIn - a model defined in OpenAPI + """JsonApiIpAllowlistPolicyIn - a model defined in OpenAPI Args: - attributes (JsonApiLlmEndpointInAttributes): + attributes (JsonApiIpAllowlistPolicyInAttributes): id (str): API identifier of an object Keyword Args: - type (str): Object type. defaults to "llmEndpoint", must be one of ["llmEndpoint", ] # noqa: E501 + type (str): Object type. defaults to "ipAllowlistPolicy", must be one of ["ipAllowlistPolicy", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -158,9 +162,10 @@ def _from_openapi_data(cls, attributes, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + relationships (JsonApiIpAllowlistPolicyInRelationships): [optional] # noqa: E501 """ - type = kwargs.get('type', "llmEndpoint") + type = kwargs.get('type', "ipAllowlistPolicy") _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', True) _path_to_item = kwargs.pop('_path_to_item', ()) @@ -214,14 +219,14 @@ def _from_openapi_data(cls, attributes, id, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, attributes, id, *args, **kwargs): # noqa: E501 - """JsonApiLlmEndpointIn - a model defined in OpenAPI + """JsonApiIpAllowlistPolicyIn - a model defined in OpenAPI Args: - attributes (JsonApiLlmEndpointInAttributes): + attributes (JsonApiIpAllowlistPolicyInAttributes): id (str): API identifier of an object Keyword Args: - type (str): Object type. defaults to "llmEndpoint", must be one of ["llmEndpoint", ] # noqa: E501 + type (str): Object type. defaults to "ipAllowlistPolicy", must be one of ["ipAllowlistPolicy", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -252,9 +257,10 @@ def __init__(self, attributes, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + relationships (JsonApiIpAllowlistPolicyInRelationships): [optional] # noqa: E501 """ - type = kwargs.get('type', "llmEndpoint") + type = kwargs.get('type', "ipAllowlistPolicy") _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', False) _path_to_item = kwargs.pop('_path_to_item', ()) diff --git a/gooddata-api-client/gooddata_api_client/model/list_database_data_sources_response.py b/gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_in_attributes.py similarity index 92% rename from gooddata-api-client/gooddata_api_client/model/list_database_data_sources_response.py rename to gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_in_attributes.py index 2d3e9acf4..30b43c464 100644 --- a/gooddata-api-client/gooddata_api_client/model/list_database_data_sources_response.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_in_attributes.py @@ -30,12 +30,8 @@ from gooddata_api_client.exceptions import ApiAttributeError -def lazy_import(): - from gooddata_api_client.model.data_source_info import DataSourceInfo - globals()['DataSourceInfo'] = DataSourceInfo - -class ListDatabaseDataSourcesResponse(ModelNormal): +class JsonApiIpAllowlistPolicyInAttributes(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -71,7 +67,6 @@ def additional_properties_type(): This must be a method because a model may have properties that are of type self, this must run after the class is loaded """ - lazy_import() return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 _nullable = False @@ -86,9 +81,8 @@ def openapi_types(): openapi_types (dict): The key is attribute name and the value is attribute type. """ - lazy_import() return { - 'data_sources': ([DataSourceInfo],), # noqa: E501 + 'allowed_sources': ([str], none_type,), # noqa: E501 } @cached_property @@ -97,7 +91,7 @@ def discriminator(): attribute_map = { - 'data_sources': 'dataSources', # noqa: E501 + 'allowed_sources': 'allowedSources', # noqa: E501 } read_only_vars = { @@ -107,11 +101,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, data_sources, *args, **kwargs): # noqa: E501 - """ListDatabaseDataSourcesResponse - a model defined in OpenAPI + def _from_openapi_data(cls, allowed_sources, *args, **kwargs): # noqa: E501 + """JsonApiIpAllowlistPolicyInAttributes - a model defined in OpenAPI Args: - data_sources ([DataSourceInfo]): List of data source associations. + allowed_sources ([str], none_type): Allowed source IPv4 addresses or CIDR ranges. Only IPv4 is supported; IPv6 are rejected. The /0 prefix is not allowed. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -175,7 +169,7 @@ def _from_openapi_data(cls, data_sources, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.data_sources = data_sources + self.allowed_sources = allowed_sources for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -196,11 +190,11 @@ def _from_openapi_data(cls, data_sources, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, data_sources, *args, **kwargs): # noqa: E501 - """ListDatabaseDataSourcesResponse - a model defined in OpenAPI + def __init__(self, allowed_sources, *args, **kwargs): # noqa: E501 + """JsonApiIpAllowlistPolicyInAttributes - a model defined in OpenAPI Args: - data_sources ([DataSourceInfo]): List of data source associations. + allowed_sources ([str], none_type): Allowed source IPv4 addresses or CIDR ranges. Only IPv4 is supported; IPv6 are rejected. The /0 prefix is not allowed. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -262,7 +256,7 @@ def __init__(self, data_sources, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.data_sources = data_sources + self.allowed_sources = allowed_sources for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_in_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_in_document.py similarity index 95% rename from gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_in_document.py rename to gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_in_document.py index 3fc291295..1184992b2 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_in_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_in_document.py @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.json_api_llm_endpoint_in import JsonApiLlmEndpointIn - globals()['JsonApiLlmEndpointIn'] = JsonApiLlmEndpointIn + from gooddata_api_client.model.json_api_ip_allowlist_policy_in import JsonApiIpAllowlistPolicyIn + globals()['JsonApiIpAllowlistPolicyIn'] = JsonApiIpAllowlistPolicyIn -class JsonApiLlmEndpointInDocument(ModelNormal): +class JsonApiIpAllowlistPolicyInDocument(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -88,7 +88,7 @@ def openapi_types(): """ lazy_import() return { - 'data': (JsonApiLlmEndpointIn,), # noqa: E501 + 'data': (JsonApiIpAllowlistPolicyIn,), # noqa: E501 } @cached_property @@ -108,10 +108,10 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 - """JsonApiLlmEndpointInDocument - a model defined in OpenAPI + """JsonApiIpAllowlistPolicyInDocument - a model defined in OpenAPI Args: - data (JsonApiLlmEndpointIn): + data (JsonApiIpAllowlistPolicyIn): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -197,10 +197,10 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, data, *args, **kwargs): # noqa: E501 - """JsonApiLlmEndpointInDocument - a model defined in OpenAPI + """JsonApiIpAllowlistPolicyInDocument - a model defined in OpenAPI Args: - data (JsonApiLlmEndpointIn): + data (JsonApiIpAllowlistPolicyIn): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_in_relationships.py b/gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_in_relationships.py new file mode 100644 index 000000000..eb734e323 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_in_relationships.py @@ -0,0 +1,276 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.json_api_agent_in_relationships_user_groups import JsonApiAgentInRelationshipsUserGroups + from gooddata_api_client.model.json_api_automation_in_relationships_recipients import JsonApiAutomationInRelationshipsRecipients + globals()['JsonApiAgentInRelationshipsUserGroups'] = JsonApiAgentInRelationshipsUserGroups + globals()['JsonApiAutomationInRelationshipsRecipients'] = JsonApiAutomationInRelationshipsRecipients + + +class JsonApiIpAllowlistPolicyInRelationships(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'user_groups': (JsonApiAgentInRelationshipsUserGroups,), # noqa: E501 + 'users': (JsonApiAutomationInRelationshipsRecipients,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'user_groups': 'userGroups', # noqa: E501 + 'users': 'users', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """JsonApiIpAllowlistPolicyInRelationships - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + user_groups (JsonApiAgentInRelationshipsUserGroups): [optional] # noqa: E501 + users (JsonApiAutomationInRelationshipsRecipients): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """JsonApiIpAllowlistPolicyInRelationships - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + user_groups (JsonApiAgentInRelationshipsUserGroups): [optional] # noqa: E501 + users (JsonApiAutomationInRelationshipsRecipients): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_out.py similarity index 88% rename from gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out.py rename to gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_out.py index a9850660e..028da50da 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_out.py @@ -31,11 +31,13 @@ def lazy_import(): - from gooddata_api_client.model.json_api_llm_endpoint_out_attributes import JsonApiLlmEndpointOutAttributes - globals()['JsonApiLlmEndpointOutAttributes'] = JsonApiLlmEndpointOutAttributes + from gooddata_api_client.model.json_api_ip_allowlist_policy_in_attributes import JsonApiIpAllowlistPolicyInAttributes + from gooddata_api_client.model.json_api_ip_allowlist_policy_in_relationships import JsonApiIpAllowlistPolicyInRelationships + globals()['JsonApiIpAllowlistPolicyInAttributes'] = JsonApiIpAllowlistPolicyInAttributes + globals()['JsonApiIpAllowlistPolicyInRelationships'] = JsonApiIpAllowlistPolicyInRelationships -class JsonApiLlmEndpointOut(ModelNormal): +class JsonApiIpAllowlistPolicyOut(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -61,7 +63,7 @@ class JsonApiLlmEndpointOut(ModelNormal): allowed_values = { ('type',): { - 'LLMENDPOINT': "llmEndpoint", + 'IPALLOWLISTPOLICY': "ipAllowlistPolicy", }, } @@ -96,9 +98,10 @@ def openapi_types(): """ lazy_import() return { - 'attributes': (JsonApiLlmEndpointOutAttributes,), # noqa: E501 + 'attributes': (JsonApiIpAllowlistPolicyInAttributes,), # noqa: E501 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 + 'relationships': (JsonApiIpAllowlistPolicyInRelationships,), # noqa: E501 } @cached_property @@ -110,6 +113,7 @@ def discriminator(): 'attributes': 'attributes', # noqa: E501 'id': 'id', # noqa: E501 'type': 'type', # noqa: E501 + 'relationships': 'relationships', # noqa: E501 } read_only_vars = { @@ -120,14 +124,14 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, attributes, id, *args, **kwargs): # noqa: E501 - """JsonApiLlmEndpointOut - a model defined in OpenAPI + """JsonApiIpAllowlistPolicyOut - a model defined in OpenAPI Args: - attributes (JsonApiLlmEndpointOutAttributes): + attributes (JsonApiIpAllowlistPolicyInAttributes): id (str): API identifier of an object Keyword Args: - type (str): Object type. defaults to "llmEndpoint", must be one of ["llmEndpoint", ] # noqa: E501 + type (str): Object type. defaults to "ipAllowlistPolicy", must be one of ["ipAllowlistPolicy", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -158,9 +162,10 @@ def _from_openapi_data(cls, attributes, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + relationships (JsonApiIpAllowlistPolicyInRelationships): [optional] # noqa: E501 """ - type = kwargs.get('type', "llmEndpoint") + type = kwargs.get('type', "ipAllowlistPolicy") _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', True) _path_to_item = kwargs.pop('_path_to_item', ()) @@ -214,14 +219,14 @@ def _from_openapi_data(cls, attributes, id, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, attributes, id, *args, **kwargs): # noqa: E501 - """JsonApiLlmEndpointOut - a model defined in OpenAPI + """JsonApiIpAllowlistPolicyOut - a model defined in OpenAPI Args: - attributes (JsonApiLlmEndpointOutAttributes): + attributes (JsonApiIpAllowlistPolicyInAttributes): id (str): API identifier of an object Keyword Args: - type (str): Object type. defaults to "llmEndpoint", must be one of ["llmEndpoint", ] # noqa: E501 + type (str): Object type. defaults to "ipAllowlistPolicy", must be one of ["ipAllowlistPolicy", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -252,9 +257,10 @@ def __init__(self, attributes, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + relationships (JsonApiIpAllowlistPolicyInRelationships): [optional] # noqa: E501 """ - type = kwargs.get('type', "llmEndpoint") + type = kwargs.get('type', "ipAllowlistPolicy") _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', False) _path_to_item = kwargs.pop('_path_to_item', ()) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_out_document.py new file mode 100644 index 000000000..b489d7b79 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_out_document.py @@ -0,0 +1,290 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.json_api_ip_allowlist_policy_out import JsonApiIpAllowlistPolicyOut + from gooddata_api_client.model.json_api_ip_allowlist_policy_out_includes import JsonApiIpAllowlistPolicyOutIncludes + from gooddata_api_client.model.object_links import ObjectLinks + globals()['JsonApiIpAllowlistPolicyOut'] = JsonApiIpAllowlistPolicyOut + globals()['JsonApiIpAllowlistPolicyOutIncludes'] = JsonApiIpAllowlistPolicyOutIncludes + globals()['ObjectLinks'] = ObjectLinks + + +class JsonApiIpAllowlistPolicyOutDocument(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + ('included',): { + }, + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': (JsonApiIpAllowlistPolicyOut,), # noqa: E501 + 'included': ([JsonApiIpAllowlistPolicyOutIncludes],), # noqa: E501 + 'links': (ObjectLinks,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + 'included': 'included', # noqa: E501 + 'links': 'links', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 + """JsonApiIpAllowlistPolicyOutDocument - a model defined in OpenAPI + + Args: + data (JsonApiIpAllowlistPolicyOut): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + included ([JsonApiIpAllowlistPolicyOutIncludes]): Included resources. [optional] # noqa: E501 + links (ObjectLinks): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, data, *args, **kwargs): # noqa: E501 + """JsonApiIpAllowlistPolicyOutDocument - a model defined in OpenAPI + + Args: + data (JsonApiIpAllowlistPolicyOut): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + included ([JsonApiIpAllowlistPolicyOutIncludes]): Included resources. [optional] # noqa: E501 + links (ObjectLinks): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_out_includes.py b/gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_out_includes.py new file mode 100644 index 000000000..ca6ca6b83 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_out_includes.py @@ -0,0 +1,353 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.json_api_user_group_in_attributes import JsonApiUserGroupInAttributes + from gooddata_api_client.model.json_api_user_group_in_relationships import JsonApiUserGroupInRelationships + from gooddata_api_client.model.json_api_user_group_out_with_links import JsonApiUserGroupOutWithLinks + from gooddata_api_client.model.json_api_user_out_with_links import JsonApiUserOutWithLinks + from gooddata_api_client.model.object_links import ObjectLinks + globals()['JsonApiUserGroupInAttributes'] = JsonApiUserGroupInAttributes + globals()['JsonApiUserGroupInRelationships'] = JsonApiUserGroupInRelationships + globals()['JsonApiUserGroupOutWithLinks'] = JsonApiUserGroupOutWithLinks + globals()['JsonApiUserOutWithLinks'] = JsonApiUserOutWithLinks + globals()['ObjectLinks'] = ObjectLinks + + +class JsonApiIpAllowlistPolicyOutIncludes(ModelComposed): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('type',): { + 'USERGROUP': "userGroup", + }, + } + + validations = { + ('id',): { + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'attributes': (JsonApiUserGroupInAttributes,), # noqa: E501 + 'relationships': (JsonApiUserGroupInRelationships,), # noqa: E501 + 'links': (ObjectLinks,), # noqa: E501 + 'id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attributes': 'attributes', # noqa: E501 + 'relationships': 'relationships', # noqa: E501 + 'links': 'links', # noqa: E501 + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """JsonApiIpAllowlistPolicyOutIncludes - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + attributes (JsonApiUserGroupInAttributes): [optional] # noqa: E501 + relationships (JsonApiUserGroupInRelationships): [optional] # noqa: E501 + links (ObjectLinks): [optional] # noqa: E501 + id (str): API identifier of an object. [optional] # noqa: E501 + type (str): Object type. [optional] if omitted the server will use the default value of "userGroup" # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # discard variable. + continue + setattr(self, var_name, var_value) + + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + '_composed_instances', + '_var_name_to_model_instances', + '_additional_properties_model_instances', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """JsonApiIpAllowlistPolicyOutIncludes - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + attributes (JsonApiUserGroupInAttributes): [optional] # noqa: E501 + relationships (JsonApiUserGroupInRelationships): [optional] # noqa: E501 + links (ObjectLinks): [optional] # noqa: E501 + id (str): API identifier of an object. [optional] # noqa: E501 + type (str): Object type. [optional] if omitted the server will use the default value of "userGroup" # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") + + @cached_property + def _composed_schemas(): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + lazy_import() + return { + 'anyOf': [ + ], + 'allOf': [ + ], + 'oneOf': [ + JsonApiUserGroupOutWithLinks, + JsonApiUserOutWithLinks, + ], + } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_out_list.py similarity index 91% rename from gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_list.py rename to gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_out_list.py index aa51dd2aa..e4d4b0471 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_out_list.py @@ -32,14 +32,16 @@ def lazy_import(): from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta - from gooddata_api_client.model.json_api_llm_endpoint_out_with_links import JsonApiLlmEndpointOutWithLinks + from gooddata_api_client.model.json_api_ip_allowlist_policy_out_includes import JsonApiIpAllowlistPolicyOutIncludes + from gooddata_api_client.model.json_api_ip_allowlist_policy_out_with_links import JsonApiIpAllowlistPolicyOutWithLinks from gooddata_api_client.model.list_links import ListLinks globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta - globals()['JsonApiLlmEndpointOutWithLinks'] = JsonApiLlmEndpointOutWithLinks + globals()['JsonApiIpAllowlistPolicyOutIncludes'] = JsonApiIpAllowlistPolicyOutIncludes + globals()['JsonApiIpAllowlistPolicyOutWithLinks'] = JsonApiIpAllowlistPolicyOutWithLinks globals()['ListLinks'] = ListLinks -class JsonApiLlmEndpointOutList(ModelNormal): +class JsonApiIpAllowlistPolicyOutList(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -69,6 +71,8 @@ class JsonApiLlmEndpointOutList(ModelNormal): validations = { ('data',): { }, + ('included',): { + }, } @cached_property @@ -94,7 +98,8 @@ def openapi_types(): """ lazy_import() return { - 'data': ([JsonApiLlmEndpointOutWithLinks],), # noqa: E501 + 'data': ([JsonApiIpAllowlistPolicyOutWithLinks],), # noqa: E501 + 'included': ([JsonApiIpAllowlistPolicyOutIncludes],), # noqa: E501 'links': (ListLinks,), # noqa: E501 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @@ -106,6 +111,7 @@ def discriminator(): attribute_map = { 'data': 'data', # noqa: E501 + 'included': 'included', # noqa: E501 'links': 'links', # noqa: E501 'meta': 'meta', # noqa: E501 } @@ -118,10 +124,10 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 - """JsonApiLlmEndpointOutList - a model defined in OpenAPI + """JsonApiIpAllowlistPolicyOutList - a model defined in OpenAPI Args: - data ([JsonApiLlmEndpointOutWithLinks]): + data ([JsonApiIpAllowlistPolicyOutWithLinks]): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -154,6 +160,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + included ([JsonApiIpAllowlistPolicyOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ @@ -209,10 +216,10 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, data, *args, **kwargs): # noqa: E501 - """JsonApiLlmEndpointOutList - a model defined in OpenAPI + """JsonApiIpAllowlistPolicyOutList - a model defined in OpenAPI Args: - data ([JsonApiLlmEndpointOutWithLinks]): + data ([JsonApiIpAllowlistPolicyOutWithLinks]): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -245,6 +252,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + included ([JsonApiIpAllowlistPolicyOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_out_with_links.py similarity index 88% rename from gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_with_links.py rename to gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_out_with_links.py index bf298968f..f09d1e8ca 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_ip_allowlist_policy_out_with_links.py @@ -31,17 +31,19 @@ def lazy_import(): - from gooddata_api_client.model.json_api_llm_endpoint_out import JsonApiLlmEndpointOut - from gooddata_api_client.model.json_api_llm_endpoint_out_attributes import JsonApiLlmEndpointOutAttributes + from gooddata_api_client.model.json_api_ip_allowlist_policy_in_attributes import JsonApiIpAllowlistPolicyInAttributes + from gooddata_api_client.model.json_api_ip_allowlist_policy_in_relationships import JsonApiIpAllowlistPolicyInRelationships + from gooddata_api_client.model.json_api_ip_allowlist_policy_out import JsonApiIpAllowlistPolicyOut from gooddata_api_client.model.object_links import ObjectLinks from gooddata_api_client.model.object_links_container import ObjectLinksContainer - globals()['JsonApiLlmEndpointOut'] = JsonApiLlmEndpointOut - globals()['JsonApiLlmEndpointOutAttributes'] = JsonApiLlmEndpointOutAttributes + globals()['JsonApiIpAllowlistPolicyInAttributes'] = JsonApiIpAllowlistPolicyInAttributes + globals()['JsonApiIpAllowlistPolicyInRelationships'] = JsonApiIpAllowlistPolicyInRelationships + globals()['JsonApiIpAllowlistPolicyOut'] = JsonApiIpAllowlistPolicyOut globals()['ObjectLinks'] = ObjectLinks globals()['ObjectLinksContainer'] = ObjectLinksContainer -class JsonApiLlmEndpointOutWithLinks(ModelComposed): +class JsonApiIpAllowlistPolicyOutWithLinks(ModelComposed): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -67,7 +69,7 @@ class JsonApiLlmEndpointOutWithLinks(ModelComposed): allowed_values = { ('type',): { - 'LLMENDPOINT': "llmEndpoint", + 'IPALLOWLISTPOLICY': "ipAllowlistPolicy", }, } @@ -102,9 +104,10 @@ def openapi_types(): """ lazy_import() return { - 'attributes': (JsonApiLlmEndpointOutAttributes,), # noqa: E501 + 'attributes': (JsonApiIpAllowlistPolicyInAttributes,), # noqa: E501 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 + 'relationships': (JsonApiIpAllowlistPolicyInRelationships,), # noqa: E501 'links': (ObjectLinks,), # noqa: E501 } @@ -117,6 +120,7 @@ def discriminator(): 'attributes': 'attributes', # noqa: E501 'id': 'id', # noqa: E501 'type': 'type', # noqa: E501 + 'relationships': 'relationships', # noqa: E501 'links': 'links', # noqa: E501 } @@ -126,12 +130,12 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """JsonApiLlmEndpointOutWithLinks - a model defined in OpenAPI + """JsonApiIpAllowlistPolicyOutWithLinks - a model defined in OpenAPI Keyword Args: - attributes (JsonApiLlmEndpointOutAttributes): + attributes (JsonApiIpAllowlistPolicyInAttributes): id (str): API identifier of an object - type (str): Object type. defaults to "llmEndpoint", must be one of ["llmEndpoint", ] # noqa: E501 + type (str): Object type. defaults to "ipAllowlistPolicy", must be one of ["ipAllowlistPolicy", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -162,10 +166,11 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + relationships (JsonApiIpAllowlistPolicyInRelationships): [optional] # noqa: E501 links (ObjectLinks): [optional] # noqa: E501 """ - type = kwargs.get('type', "llmEndpoint") + type = kwargs.get('type', "ipAllowlistPolicy") _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', False) _path_to_item = kwargs.pop('_path_to_item', ()) @@ -234,12 +239,12 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """JsonApiLlmEndpointOutWithLinks - a model defined in OpenAPI + """JsonApiIpAllowlistPolicyOutWithLinks - a model defined in OpenAPI Keyword Args: - attributes (JsonApiLlmEndpointOutAttributes): + attributes (JsonApiIpAllowlistPolicyInAttributes): id (str): API identifier of an object - type (str): Object type. defaults to "llmEndpoint", must be one of ["llmEndpoint", ] # noqa: E501 + type (str): Object type. defaults to "ipAllowlistPolicy", must be one of ["ipAllowlistPolicy", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -270,10 +275,11 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + relationships (JsonApiIpAllowlistPolicyInRelationships): [optional] # noqa: E501 links (ObjectLinks): [optional] # noqa: E501 """ - type = kwargs.get('type', "llmEndpoint") + type = kwargs.get('type', "ipAllowlistPolicy") _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', False) _path_to_item = kwargs.pop('_path_to_item', ()) @@ -341,7 +347,7 @@ def _composed_schemas(): 'anyOf': [ ], 'allOf': [ - JsonApiLlmEndpointOut, + JsonApiIpAllowlistPolicyOut, ObjectLinksContainer, ], 'oneOf': [ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_item_data_source_info.py b/gooddata-api-client/gooddata_api_client/model/json_api_item_data_source_info.py new file mode 100644 index 000000000..52279a97f --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_item_data_source_info.py @@ -0,0 +1,288 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.data_source_info import DataSourceInfo + globals()['DataSourceInfo'] = DataSourceInfo + + +class JsonApiItemDataSourceInfo(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'attributes': (DataSourceInfo,), # noqa: E501 + 'id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attributes': 'attributes', # noqa: E501 + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, attributes, id, type, *args, **kwargs): # noqa: E501 + """JsonApiItemDataSourceInfo - a model defined in OpenAPI + + Args: + attributes (DataSourceInfo): + id (str): Resource identifier + type (str): Resource type + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.attributes = attributes + self.id = id + self.type = type + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, attributes, id, type, *args, **kwargs): # noqa: E501 + """JsonApiItemDataSourceInfo - a model defined in OpenAPI + + Args: + attributes (DataSourceInfo): + id (str): Resource identifier + type (str): Resource type + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.attributes = attributes + self.id = id + self.type = type + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/list_database_instances_response.py b/gooddata-api-client/gooddata_api_client/model/json_api_item_database_instance.py similarity index 91% rename from gooddata-api-client/gooddata_api_client/model/list_database_instances_response.py rename to gooddata-api-client/gooddata_api_client/model/json_api_item_database_instance.py index acdeea1cb..0118e35be 100644 --- a/gooddata-api-client/gooddata_api_client/model/list_database_instances_response.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_item_database_instance.py @@ -35,7 +35,7 @@ def lazy_import(): globals()['DatabaseInstance'] = DatabaseInstance -class ListDatabaseInstancesResponse(ModelNormal): +class JsonApiItemDatabaseInstance(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -88,8 +88,9 @@ def openapi_types(): """ lazy_import() return { - 'databases': ([DatabaseInstance],), # noqa: E501 - 'total_count': (int,), # noqa: E501 + 'attributes': (DatabaseInstance,), # noqa: E501 + 'id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 } @cached_property @@ -98,8 +99,9 @@ def discriminator(): attribute_map = { - 'databases': 'databases', # noqa: E501 - 'total_count': 'totalCount', # noqa: E501 + 'attributes': 'attributes', # noqa: E501 + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 } read_only_vars = { @@ -109,11 +111,13 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, databases, *args, **kwargs): # noqa: E501 - """ListDatabaseInstancesResponse - a model defined in OpenAPI + def _from_openapi_data(cls, attributes, id, type, *args, **kwargs): # noqa: E501 + """JsonApiItemDatabaseInstance - a model defined in OpenAPI Args: - databases ([DatabaseInstance]): List of database instances + attributes (DatabaseInstance): + id (str): Resource identifier + type (str): Resource type Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -146,7 +150,6 @@ def _from_openapi_data(cls, databases, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - total_count (int): Total count of items (only set when metaInclude=page). [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -178,7 +181,9 @@ def _from_openapi_data(cls, databases, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.databases = databases + self.attributes = attributes + self.id = id + self.type = type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -199,11 +204,13 @@ def _from_openapi_data(cls, databases, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, databases, *args, **kwargs): # noqa: E501 - """ListDatabaseInstancesResponse - a model defined in OpenAPI + def __init__(self, attributes, id, type, *args, **kwargs): # noqa: E501 + """JsonApiItemDatabaseInstance - a model defined in OpenAPI Args: - databases ([DatabaseInstance]): List of database instances + attributes (DatabaseInstance): + id (str): Resource identifier + type (str): Resource type Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -236,7 +243,6 @@ def __init__(self, databases, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - total_count (int): Total count of items (only set when metaInclude=page). [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -266,7 +272,9 @@ def __init__(self, databases, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.databases = databases + self.attributes = attributes + self.id = id + self.type = type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_item_object_storage_info.py b/gooddata-api-client/gooddata_api_client/model/json_api_item_object_storage_info.py new file mode 100644 index 000000000..51f7ceade --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_item_object_storage_info.py @@ -0,0 +1,288 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.object_storage_info import ObjectStorageInfo + globals()['ObjectStorageInfo'] = ObjectStorageInfo + + +class JsonApiItemObjectStorageInfo(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'attributes': (ObjectStorageInfo,), # noqa: E501 + 'id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attributes': 'attributes', # noqa: E501 + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, attributes, id, type, *args, **kwargs): # noqa: E501 + """JsonApiItemObjectStorageInfo - a model defined in OpenAPI + + Args: + attributes (ObjectStorageInfo): + id (str): Resource identifier + type (str): Resource type + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.attributes = attributes + self.id = id + self.type = type + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, attributes, id, type, *args, **kwargs): # noqa: E501 + """JsonApiItemObjectStorageInfo - a model defined in OpenAPI + + Args: + attributes (ObjectStorageInfo): + id (str): Resource identifier + type (str): Resource type + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.attributes = attributes + self.id = id + self.type = type + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_item_pipe_table.py b/gooddata-api-client/gooddata_api_client/model/json_api_item_pipe_table.py new file mode 100644 index 000000000..6130cef63 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_item_pipe_table.py @@ -0,0 +1,288 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.pipe_table import PipeTable + globals()['PipeTable'] = PipeTable + + +class JsonApiItemPipeTable(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'attributes': (PipeTable,), # noqa: E501 + 'id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attributes': 'attributes', # noqa: E501 + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, attributes, id, type, *args, **kwargs): # noqa: E501 + """JsonApiItemPipeTable - a model defined in OpenAPI + + Args: + attributes (PipeTable): + id (str): Resource identifier + type (str): Resource type + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.attributes = attributes + self.id = id + self.type = type + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, attributes, id, type, *args, **kwargs): # noqa: E501 + """JsonApiItemPipeTable - a model defined in OpenAPI + + Args: + attributes (PipeTable): + id (str): Resource identifier + type (str): Resource type + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.attributes = attributes + self.id = id + self.type = type + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/list_pipe_tables_response.py b/gooddata-api-client/gooddata_api_client/model/json_api_item_pipe_table_summary.py similarity index 91% rename from gooddata-api-client/gooddata_api_client/model/list_pipe_tables_response.py rename to gooddata-api-client/gooddata_api_client/model/json_api_item_pipe_table_summary.py index 888e71465..8003c213a 100644 --- a/gooddata-api-client/gooddata_api_client/model/list_pipe_tables_response.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_item_pipe_table_summary.py @@ -35,7 +35,7 @@ def lazy_import(): globals()['PipeTableSummary'] = PipeTableSummary -class ListPipeTablesResponse(ModelNormal): +class JsonApiItemPipeTableSummary(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -88,7 +88,9 @@ def openapi_types(): """ lazy_import() return { - 'pipe_tables': ([PipeTableSummary],), # noqa: E501 + 'attributes': (PipeTableSummary,), # noqa: E501 + 'id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 } @cached_property @@ -97,7 +99,9 @@ def discriminator(): attribute_map = { - 'pipe_tables': 'pipeTables', # noqa: E501 + 'attributes': 'attributes', # noqa: E501 + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 } read_only_vars = { @@ -107,11 +111,13 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, pipe_tables, *args, **kwargs): # noqa: E501 - """ListPipeTablesResponse - a model defined in OpenAPI + def _from_openapi_data(cls, attributes, id, type, *args, **kwargs): # noqa: E501 + """JsonApiItemPipeTableSummary - a model defined in OpenAPI Args: - pipe_tables ([PipeTableSummary]): Pipe tables in the requested database + attributes (PipeTableSummary): + id (str): Resource identifier + type (str): Resource type Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -175,7 +181,9 @@ def _from_openapi_data(cls, pipe_tables, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.pipe_tables = pipe_tables + self.attributes = attributes + self.id = id + self.type = type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -196,11 +204,13 @@ def _from_openapi_data(cls, pipe_tables, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, pipe_tables, *args, **kwargs): # noqa: E501 - """ListPipeTablesResponse - a model defined in OpenAPI + def __init__(self, attributes, id, type, *args, **kwargs): # noqa: E501 + """JsonApiItemPipeTableSummary - a model defined in OpenAPI Args: - pipe_tables ([PipeTableSummary]): Pipe tables in the requested database + attributes (PipeTableSummary): + id (str): Resource identifier + type (str): Resource type Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -262,7 +272,9 @@ def __init__(self, pipe_tables, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.pipe_tables = pipe_tables + self.attributes = attributes + self.id = id + self.type = type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/gooddata-api-client/gooddata_api_client/model/list_services_response.py b/gooddata-api-client/gooddata_api_client/model/json_api_item_service_info.py similarity index 91% rename from gooddata-api-client/gooddata_api_client/model/list_services_response.py rename to gooddata-api-client/gooddata_api_client/model/json_api_item_service_info.py index e19237665..7450f6bcc 100644 --- a/gooddata-api-client/gooddata_api_client/model/list_services_response.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_item_service_info.py @@ -35,7 +35,7 @@ def lazy_import(): globals()['ServiceInfo'] = ServiceInfo -class ListServicesResponse(ModelNormal): +class JsonApiItemServiceInfo(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -88,8 +88,9 @@ def openapi_types(): """ lazy_import() return { - 'services': ([ServiceInfo],), # noqa: E501 - 'total_count': (int,), # noqa: E501 + 'attributes': (ServiceInfo,), # noqa: E501 + 'id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 } @cached_property @@ -98,8 +99,9 @@ def discriminator(): attribute_map = { - 'services': 'services', # noqa: E501 - 'total_count': 'totalCount', # noqa: E501 + 'attributes': 'attributes', # noqa: E501 + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 } read_only_vars = { @@ -109,11 +111,13 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, services, *args, **kwargs): # noqa: E501 - """ListServicesResponse - a model defined in OpenAPI + def _from_openapi_data(cls, attributes, id, type, *args, **kwargs): # noqa: E501 + """JsonApiItemServiceInfo - a model defined in OpenAPI Args: - services ([ServiceInfo]): List of services + attributes (ServiceInfo): + id (str): Resource identifier + type (str): Resource type Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -146,7 +150,6 @@ def _from_openapi_data(cls, services, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - total_count (int): Total count of items (only set when metaInclude=page). [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -178,7 +181,9 @@ def _from_openapi_data(cls, services, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.services = services + self.attributes = attributes + self.id = id + self.type = type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -199,11 +204,13 @@ def _from_openapi_data(cls, services, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, services, *args, **kwargs): # noqa: E501 - """ListServicesResponse - a model defined in OpenAPI + def __init__(self, attributes, id, type, *args, **kwargs): # noqa: E501 + """JsonApiItemServiceInfo - a model defined in OpenAPI Args: - services ([ServiceInfo]): List of services + attributes (ServiceInfo): + id (str): Resource identifier + type (str): Resource type Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -236,7 +243,6 @@ def __init__(self, services, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - total_count (int): Total count of items (only set when metaInclude=page). [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -266,7 +272,9 @@ def __init__(self, services, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.services = services + self.attributes = attributes + self.id = id + self.type = type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_list_document_data_source_info.py b/gooddata-api-client/gooddata_api_client/model/json_api_list_document_data_source_info.py new file mode 100644 index 000000000..26e4d4623 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_list_document_data_source_info.py @@ -0,0 +1,290 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.json_api_item_data_source_info import JsonApiItemDataSourceInfo + from gooddata_api_client.model.json_api_list_links import JsonApiListLinks + from gooddata_api_client.model.json_api_list_meta import JsonApiListMeta + globals()['JsonApiItemDataSourceInfo'] = JsonApiItemDataSourceInfo + globals()['JsonApiListLinks'] = JsonApiListLinks + globals()['JsonApiListMeta'] = JsonApiListMeta + + +class JsonApiListDocumentDataSourceInfo(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': ([JsonApiItemDataSourceInfo],), # noqa: E501 + 'links': (JsonApiListLinks,), # noqa: E501 + 'meta': (JsonApiListMeta,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + 'links': 'links', # noqa: E501 + 'meta': 'meta', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data, links, *args, **kwargs): # noqa: E501 + """JsonApiListDocumentDataSourceInfo - a model defined in OpenAPI + + Args: + data ([JsonApiItemDataSourceInfo]): Array of resource items + links (JsonApiListLinks): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (JsonApiListMeta): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.data = data + self.links = links + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, data, links, *args, **kwargs): # noqa: E501 + """JsonApiListDocumentDataSourceInfo - a model defined in OpenAPI + + Args: + data ([JsonApiItemDataSourceInfo]): Array of resource items + links (JsonApiListLinks): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (JsonApiListMeta): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.data = data + self.links = links + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_list_document_database_instance.py b/gooddata-api-client/gooddata_api_client/model/json_api_list_document_database_instance.py new file mode 100644 index 000000000..b5900d5e1 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_list_document_database_instance.py @@ -0,0 +1,290 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.json_api_item_database_instance import JsonApiItemDatabaseInstance + from gooddata_api_client.model.json_api_list_links import JsonApiListLinks + from gooddata_api_client.model.json_api_list_meta import JsonApiListMeta + globals()['JsonApiItemDatabaseInstance'] = JsonApiItemDatabaseInstance + globals()['JsonApiListLinks'] = JsonApiListLinks + globals()['JsonApiListMeta'] = JsonApiListMeta + + +class JsonApiListDocumentDatabaseInstance(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': ([JsonApiItemDatabaseInstance],), # noqa: E501 + 'links': (JsonApiListLinks,), # noqa: E501 + 'meta': (JsonApiListMeta,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + 'links': 'links', # noqa: E501 + 'meta': 'meta', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data, links, *args, **kwargs): # noqa: E501 + """JsonApiListDocumentDatabaseInstance - a model defined in OpenAPI + + Args: + data ([JsonApiItemDatabaseInstance]): Array of resource items + links (JsonApiListLinks): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (JsonApiListMeta): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.data = data + self.links = links + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, data, links, *args, **kwargs): # noqa: E501 + """JsonApiListDocumentDatabaseInstance - a model defined in OpenAPI + + Args: + data ([JsonApiItemDatabaseInstance]): Array of resource items + links (JsonApiListLinks): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (JsonApiListMeta): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.data = data + self.links = links + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_list_document_object_storage_info.py b/gooddata-api-client/gooddata_api_client/model/json_api_list_document_object_storage_info.py new file mode 100644 index 000000000..1e733c408 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_list_document_object_storage_info.py @@ -0,0 +1,290 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.json_api_item_object_storage_info import JsonApiItemObjectStorageInfo + from gooddata_api_client.model.json_api_list_links import JsonApiListLinks + from gooddata_api_client.model.json_api_list_meta import JsonApiListMeta + globals()['JsonApiItemObjectStorageInfo'] = JsonApiItemObjectStorageInfo + globals()['JsonApiListLinks'] = JsonApiListLinks + globals()['JsonApiListMeta'] = JsonApiListMeta + + +class JsonApiListDocumentObjectStorageInfo(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': ([JsonApiItemObjectStorageInfo],), # noqa: E501 + 'links': (JsonApiListLinks,), # noqa: E501 + 'meta': (JsonApiListMeta,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + 'links': 'links', # noqa: E501 + 'meta': 'meta', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data, links, *args, **kwargs): # noqa: E501 + """JsonApiListDocumentObjectStorageInfo - a model defined in OpenAPI + + Args: + data ([JsonApiItemObjectStorageInfo]): Array of resource items + links (JsonApiListLinks): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (JsonApiListMeta): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.data = data + self.links = links + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, data, links, *args, **kwargs): # noqa: E501 + """JsonApiListDocumentObjectStorageInfo - a model defined in OpenAPI + + Args: + data ([JsonApiItemObjectStorageInfo]): Array of resource items + links (JsonApiListLinks): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (JsonApiListMeta): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.data = data + self.links = links + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_list_document_pipe_table_summary.py b/gooddata-api-client/gooddata_api_client/model/json_api_list_document_pipe_table_summary.py new file mode 100644 index 000000000..c61fc1e0c --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_list_document_pipe_table_summary.py @@ -0,0 +1,290 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.json_api_item_pipe_table_summary import JsonApiItemPipeTableSummary + from gooddata_api_client.model.json_api_list_links import JsonApiListLinks + from gooddata_api_client.model.json_api_list_meta import JsonApiListMeta + globals()['JsonApiItemPipeTableSummary'] = JsonApiItemPipeTableSummary + globals()['JsonApiListLinks'] = JsonApiListLinks + globals()['JsonApiListMeta'] = JsonApiListMeta + + +class JsonApiListDocumentPipeTableSummary(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': ([JsonApiItemPipeTableSummary],), # noqa: E501 + 'links': (JsonApiListLinks,), # noqa: E501 + 'meta': (JsonApiListMeta,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + 'links': 'links', # noqa: E501 + 'meta': 'meta', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data, links, *args, **kwargs): # noqa: E501 + """JsonApiListDocumentPipeTableSummary - a model defined in OpenAPI + + Args: + data ([JsonApiItemPipeTableSummary]): Array of resource items + links (JsonApiListLinks): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (JsonApiListMeta): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.data = data + self.links = links + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, data, links, *args, **kwargs): # noqa: E501 + """JsonApiListDocumentPipeTableSummary - a model defined in OpenAPI + + Args: + data ([JsonApiItemPipeTableSummary]): Array of resource items + links (JsonApiListLinks): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (JsonApiListMeta): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.data = data + self.links = links + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_list_document_service_info.py b/gooddata-api-client/gooddata_api_client/model/json_api_list_document_service_info.py new file mode 100644 index 000000000..f7f350644 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_list_document_service_info.py @@ -0,0 +1,290 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.json_api_item_service_info import JsonApiItemServiceInfo + from gooddata_api_client.model.json_api_list_links import JsonApiListLinks + from gooddata_api_client.model.json_api_list_meta import JsonApiListMeta + globals()['JsonApiItemServiceInfo'] = JsonApiItemServiceInfo + globals()['JsonApiListLinks'] = JsonApiListLinks + globals()['JsonApiListMeta'] = JsonApiListMeta + + +class JsonApiListDocumentServiceInfo(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': ([JsonApiItemServiceInfo],), # noqa: E501 + 'links': (JsonApiListLinks,), # noqa: E501 + 'meta': (JsonApiListMeta,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + 'links': 'links', # noqa: E501 + 'meta': 'meta', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data, links, *args, **kwargs): # noqa: E501 + """JsonApiListDocumentServiceInfo - a model defined in OpenAPI + + Args: + data ([JsonApiItemServiceInfo]): Array of resource items + links (JsonApiListLinks): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (JsonApiListMeta): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.data = data + self.links = links + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, data, links, *args, **kwargs): # noqa: E501 + """JsonApiListDocumentServiceInfo - a model defined in OpenAPI + + Args: + data ([JsonApiItemServiceInfo]): Array of resource items + links (JsonApiListLinks): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (JsonApiListMeta): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.data = data + self.links = links + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/resolved_llm_endpoint_all_of.py b/gooddata-api-client/gooddata_api_client/model/json_api_list_links.py similarity index 94% rename from gooddata-api-client/gooddata_api_client/model/resolved_llm_endpoint_all_of.py rename to gooddata-api-client/gooddata_api_client/model/json_api_list_links.py index bacec082d..6120f9054 100644 --- a/gooddata-api-client/gooddata_api_client/model/resolved_llm_endpoint_all_of.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_list_links.py @@ -31,7 +31,7 @@ -class ResolvedLlmEndpointAllOf(ModelNormal): +class JsonApiListLinks(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -82,8 +82,7 @@ def openapi_types(): and the value is attribute type. """ return { - 'id': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 + '_self': (str,), # noqa: E501 } @cached_property @@ -92,8 +91,7 @@ def discriminator(): attribute_map = { - 'id': 'id', # noqa: E501 - 'title': 'title', # noqa: E501 + '_self': 'self', # noqa: E501 } read_only_vars = { @@ -103,8 +101,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResolvedLlmEndpointAllOf - a model defined in OpenAPI + def _from_openapi_data(cls, _self, *args, **kwargs): # noqa: E501 + """JsonApiListLinks - a model defined in OpenAPI + + Args: + _self (str): The URL of this response Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -137,8 +138,6 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): Endpoint Id. [optional] # noqa: E501 - title (str): Endpoint Title. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -170,6 +169,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self._self = _self for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -190,8 +190,11 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResolvedLlmEndpointAllOf - a model defined in OpenAPI + def __init__(self, _self, *args, **kwargs): # noqa: E501 + """JsonApiListLinks - a model defined in OpenAPI + + Args: + _self (str): The URL of this response Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -224,8 +227,6 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): Endpoint Id. [optional] # noqa: E501 - title (str): Endpoint Title. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -255,6 +256,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self._self = _self for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/gooddata-api-client/gooddata_api_client/model/resolved_llm_endpoints.py b/gooddata-api-client/gooddata_api_client/model/json_api_list_meta.py similarity index 94% rename from gooddata-api-client/gooddata_api_client/model/resolved_llm_endpoints.py rename to gooddata-api-client/gooddata_api_client/model/json_api_list_meta.py index c9e0f9cf6..f86df0cc7 100644 --- a/gooddata-api-client/gooddata_api_client/model/resolved_llm_endpoints.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_list_meta.py @@ -31,11 +31,11 @@ def lazy_import(): - from gooddata_api_client.model.resolved_llm_endpoint import ResolvedLlmEndpoint - globals()['ResolvedLlmEndpoint'] = ResolvedLlmEndpoint + from gooddata_api_client.model.json_api_page_info import JsonApiPageInfo + globals()['JsonApiPageInfo'] = JsonApiPageInfo -class ResolvedLlmEndpoints(ModelNormal): +class JsonApiListMeta(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -88,7 +88,7 @@ def openapi_types(): """ lazy_import() return { - 'data': ([ResolvedLlmEndpoint],), # noqa: E501 + 'page': (JsonApiPageInfo,), # noqa: E501 } @cached_property @@ -97,7 +97,7 @@ def discriminator(): attribute_map = { - 'data': 'data', # noqa: E501 + 'page': 'page', # noqa: E501 } read_only_vars = { @@ -107,11 +107,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 - """ResolvedLlmEndpoints - a model defined in OpenAPI + def _from_openapi_data(cls, page, *args, **kwargs): # noqa: E501 + """JsonApiListMeta - a model defined in OpenAPI Args: - data ([ResolvedLlmEndpoint]): + page (JsonApiPageInfo): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -175,7 +175,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.data = data + self.page = page for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -196,11 +196,11 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, data, *args, **kwargs): # noqa: E501 - """ResolvedLlmEndpoints - a model defined in OpenAPI + def __init__(self, page, *args, **kwargs): # noqa: E501 + """JsonApiListMeta - a model defined in OpenAPI Args: - data ([ResolvedLlmEndpoint]): + page (JsonApiPageInfo): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -262,7 +262,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.data = data + self.page = page for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_in_attributes.py deleted file mode 100644 index 99ba87736..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_in_attributes.py +++ /dev/null @@ -1,311 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - - -class JsonApiLlmEndpointInAttributes(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('provider',): { - 'OPENAI': "OPENAI", - 'AZURE_OPENAI': "AZURE_OPENAI", - }, - } - - validations = { - ('title',): { - 'max_length': 255, - }, - ('token',): { - 'max_length': 10000, - }, - ('base_url',): { - 'max_length': 255, - }, - ('llm_model',): { - 'max_length': 255, - }, - ('llm_organization',): { - 'max_length': 255, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'title': (str,), # noqa: E501 - 'token': (str,), # noqa: E501 - 'base_url': (str, none_type,), # noqa: E501 - 'llm_model': (str,), # noqa: E501 - 'llm_organization': (str, none_type,), # noqa: E501 - 'provider': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'title': 'title', # noqa: E501 - 'token': 'token', # noqa: E501 - 'base_url': 'baseUrl', # noqa: E501 - 'llm_model': 'llmModel', # noqa: E501 - 'llm_organization': 'llmOrganization', # noqa: E501 - 'provider': 'provider', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, title, token, *args, **kwargs): # noqa: E501 - """JsonApiLlmEndpointInAttributes - a model defined in OpenAPI - - Args: - title (str): User-facing title of the LLM Provider. - token (str): The token to use to connect to the LLM provider. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - base_url (str, none_type): Custom LLM endpoint.. [optional] # noqa: E501 - llm_model (str): LLM Model. We provide a default model for each provider, but you can override it here.. [optional] # noqa: E501 - llm_organization (str, none_type): Organization in LLM provider.. [optional] # noqa: E501 - provider (str): LLM Provider.. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.title = title - self.token = token - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, title, token, *args, **kwargs): # noqa: E501 - """JsonApiLlmEndpointInAttributes - a model defined in OpenAPI - - Args: - title (str): User-facing title of the LLM Provider. - token (str): The token to use to connect to the LLM provider. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - base_url (str, none_type): Custom LLM endpoint.. [optional] # noqa: E501 - llm_model (str): LLM Model. We provide a default model for each provider, but you can override it here.. [optional] # noqa: E501 - llm_organization (str, none_type): Organization in LLM provider.. [optional] # noqa: E501 - provider (str): LLM Provider.. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.title = title - self.token = token - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_attributes.py deleted file mode 100644 index 9faf5ad22..000000000 --- a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_out_attributes.py +++ /dev/null @@ -1,302 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - - -class JsonApiLlmEndpointOutAttributes(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('provider',): { - 'OPENAI': "OPENAI", - 'AZURE_OPENAI': "AZURE_OPENAI", - }, - } - - validations = { - ('title',): { - 'max_length': 255, - }, - ('base_url',): { - 'max_length': 255, - }, - ('llm_model',): { - 'max_length': 255, - }, - ('llm_organization',): { - 'max_length': 255, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'title': (str,), # noqa: E501 - 'base_url': (str, none_type,), # noqa: E501 - 'llm_model': (str,), # noqa: E501 - 'llm_organization': (str, none_type,), # noqa: E501 - 'provider': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'title': 'title', # noqa: E501 - 'base_url': 'baseUrl', # noqa: E501 - 'llm_model': 'llmModel', # noqa: E501 - 'llm_organization': 'llmOrganization', # noqa: E501 - 'provider': 'provider', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, title, *args, **kwargs): # noqa: E501 - """JsonApiLlmEndpointOutAttributes - a model defined in OpenAPI - - Args: - title (str): User-facing title of the LLM Provider. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - base_url (str, none_type): Custom LLM endpoint.. [optional] # noqa: E501 - llm_model (str): LLM Model. We provide a default model for each provider, but you can override it here.. [optional] # noqa: E501 - llm_organization (str, none_type): Organization in LLM provider.. [optional] # noqa: E501 - provider (str): LLM Provider.. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.title = title - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, title, *args, **kwargs): # noqa: E501 - """JsonApiLlmEndpointOutAttributes - a model defined in OpenAPI - - Args: - title (str): User-facing title of the LLM Provider. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - base_url (str, none_type): Custom LLM endpoint.. [optional] # noqa: E501 - llm_model (str): LLM Model. We provide a default model for each provider, but you can override it here.. [optional] # noqa: E501 - llm_organization (str, none_type): Organization in LLM provider.. [optional] # noqa: E501 - provider (str): LLM Provider.. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.title = title - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_llm_provider_in_attributes_provider_config.py b/gooddata-api-client/gooddata_api_client/model/json_api_llm_provider_in_attributes_provider_config.py index c37b32b2a..ceee21e89 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_llm_provider_in_attributes_provider_config.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_llm_provider_in_attributes_provider_config.py @@ -31,14 +31,16 @@ def lazy_import(): + from gooddata_api_client.model.anthropic_provider_auth import AnthropicProviderAuth + from gooddata_api_client.model.anthropic_provider_config import AnthropicProviderConfig from gooddata_api_client.model.aws_bedrock_provider_config import AwsBedrockProviderConfig from gooddata_api_client.model.azure_foundry_provider_config import AzureFoundryProviderConfig - from gooddata_api_client.model.open_ai_provider_auth import OpenAiProviderAuth from gooddata_api_client.model.open_ai_provider_config import OpenAIProviderConfig + globals()['AnthropicProviderAuth'] = AnthropicProviderAuth + globals()['AnthropicProviderConfig'] = AnthropicProviderConfig globals()['AwsBedrockProviderConfig'] = AwsBedrockProviderConfig globals()['AzureFoundryProviderConfig'] = AzureFoundryProviderConfig globals()['OpenAIProviderConfig'] = OpenAIProviderConfig - globals()['OpenAiProviderAuth'] = OpenAiProviderAuth class JsonApiLlmProviderInAttributesProviderConfig(ModelComposed): @@ -67,7 +69,7 @@ class JsonApiLlmProviderInAttributesProviderConfig(ModelComposed): allowed_values = { ('type',): { - 'OPENAI': "OPENAI", + 'ANTHROPIC': "ANTHROPIC", }, } @@ -78,10 +80,10 @@ class JsonApiLlmProviderInAttributesProviderConfig(ModelComposed): ('organization',): { 'max_length': 255, }, - ('region',): { + ('endpoint',): { 'max_length': 255, }, - ('endpoint',): { + ('region',): { 'max_length': 255, }, } @@ -111,10 +113,10 @@ def openapi_types(): return { 'base_url': (str,), # noqa: E501 'organization': (str, none_type,), # noqa: E501 - 'auth': (OpenAiProviderAuth,), # noqa: E501 - 'region': (str,), # noqa: E501 + 'auth': (AnthropicProviderAuth,), # noqa: E501 'type': (str,), # noqa: E501 'endpoint': (str,), # noqa: E501 + 'region': (str,), # noqa: E501 } @cached_property @@ -126,9 +128,9 @@ def discriminator(): 'base_url': 'baseUrl', # noqa: E501 'organization': 'organization', # noqa: E501 'auth': 'auth', # noqa: E501 - 'region': 'region', # noqa: E501 'type': 'type', # noqa: E501 'endpoint': 'endpoint', # noqa: E501 + 'region': 'region', # noqa: E501 } read_only_vars = { @@ -170,12 +172,12 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - base_url (str): Custom base URL for OpenAI API.. [optional] if omitted the server will use the default value of "https://api.openai.com/v1" # noqa: E501 + base_url (str): Custom base URL for the Anthropic API. Defaults to the official endpoint; override only for enterprise proxies or compatible gateways.. [optional] if omitted the server will use the default value of "https://api.anthropic.com" # noqa: E501 organization (str, none_type): OpenAI organization ID.. [optional] # noqa: E501 - auth (OpenAiProviderAuth): [optional] # noqa: E501 - region (str): AWS region for Bedrock.. [optional] # noqa: E501 - type (str): Provider type.. [optional] if omitted the server will use the default value of "OPENAI" # noqa: E501 + auth (AnthropicProviderAuth): [optional] # noqa: E501 + type (str): Provider type.. [optional] if omitted the server will use the default value of "ANTHROPIC" # noqa: E501 endpoint (str): Azure OpenAI endpoint URL.. [optional] # noqa: E501 + region (str): AWS region for Bedrock.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -279,12 +281,12 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - base_url (str): Custom base URL for OpenAI API.. [optional] if omitted the server will use the default value of "https://api.openai.com/v1" # noqa: E501 + base_url (str): Custom base URL for the Anthropic API. Defaults to the official endpoint; override only for enterprise proxies or compatible gateways.. [optional] if omitted the server will use the default value of "https://api.anthropic.com" # noqa: E501 organization (str, none_type): OpenAI organization ID.. [optional] # noqa: E501 - auth (OpenAiProviderAuth): [optional] # noqa: E501 - region (str): AWS region for Bedrock.. [optional] # noqa: E501 - type (str): Provider type.. [optional] if omitted the server will use the default value of "OPENAI" # noqa: E501 + auth (AnthropicProviderAuth): [optional] # noqa: E501 + type (str): Provider type.. [optional] if omitted the server will use the default value of "ANTHROPIC" # noqa: E501 endpoint (str): Azure OpenAI endpoint URL.. [optional] # noqa: E501 + region (str): AWS region for Bedrock.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -356,6 +358,7 @@ def _composed_schemas(): 'allOf': [ ], 'oneOf': [ + AnthropicProviderConfig, AwsBedrockProviderConfig, AzureFoundryProviderConfig, OpenAIProviderConfig, diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in_attributes.py index 85fbe8620..0f8ad526a 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in_attributes.py @@ -60,7 +60,6 @@ class JsonApiOrganizationSettingInAttributes(ModelNormal): 'TIMEZONE': "TIMEZONE", 'ACTIVE_THEME': "ACTIVE_THEME", 'ACTIVE_COLOR_PALETTE': "ACTIVE_COLOR_PALETTE", - 'ACTIVE_LLM_ENDPOINT': "ACTIVE_LLM_ENDPOINT", 'ACTIVE_LLM_PROVIDER': "ACTIVE_LLM_PROVIDER", 'ACTIVE_CALENDARS': "ACTIVE_CALENDARS", 'WHITE_LABELING': "WHITE_LABELING", @@ -102,6 +101,7 @@ class JsonApiOrganizationSettingInAttributes(ModelNormal): 'SORT_COLLATION': "SORT_COLLATION", 'METRIC_FORMAT_OVERRIDE': "METRIC_FORMAT_OVERRIDE", 'ENABLE_AI_ON_DATA': "ENABLE_AI_ON_DATA", + 'ENABLE_PARTIAL_DATA_RESULTS': "ENABLE_PARTIAL_DATA_RESULTS", 'API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE': "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", 'EXPORT_CSV_CUSTOM_DELIMITER': "EXPORT_CSV_CUSTOM_DELIMITER", 'ENABLE_QUERY_TAGS': "ENABLE_QUERY_TAGS", diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_page_info.py b/gooddata-api-client/gooddata_api_client/model/json_api_page_info.py new file mode 100644 index 000000000..65e851545 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_page_info.py @@ -0,0 +1,284 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class JsonApiPageInfo(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'number': (int,), # noqa: E501 + 'size': (int,), # noqa: E501 + 'total_elements': (int,), # noqa: E501 + 'total_pages': (int,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'number': 'number', # noqa: E501 + 'size': 'size', # noqa: E501 + 'total_elements': 'totalElements', # noqa: E501 + 'total_pages': 'totalPages', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, number, size, *args, **kwargs): # noqa: E501 + """JsonApiPageInfo - a model defined in OpenAPI + + Args: + number (int): Zero-based page number + size (int): Page size + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + total_elements (int): Total number of elements; only present when metaInclude=page was requested. [optional] # noqa: E501 + total_pages (int): Total number of pages; only present when metaInclude=page was requested. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.number = number + self.size = size + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, number, size, *args, **kwargs): # noqa: E501 + """JsonApiPageInfo - a model defined in OpenAPI + + Args: + number (int): Zero-based page number + size (int): Page size + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + total_elements (int): Total number of elements; only present when metaInclude=page was requested. [optional] # noqa: E501 + total_pages (int): Total number of pages; only present when metaInclude=page was requested. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.number = number + self.size = size + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_parameter_in_attributes_definition.py b/gooddata-api-client/gooddata_api_client/model/json_api_parameter_in_attributes_definition.py index b42cac8a2..9def2fd57 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_parameter_in_attributes_definition.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_parameter_in_attributes_definition.py @@ -64,6 +64,9 @@ class JsonApiParameterInAttributesDefinition(ModelComposed): """ allowed_values = { + ('type',): { + 'STRING': "STRING", + }, } validations = { @@ -92,9 +95,9 @@ def openapi_types(): """ lazy_import() return { - 'type': (str,), # noqa: E501 - 'default_value': (str,), # noqa: E501 'constraints': (StringConstraints,), # noqa: E501 + 'default_value': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 } @cached_property @@ -103,9 +106,9 @@ def discriminator(): attribute_map = { - 'type': 'type', # noqa: E501 - 'default_value': 'defaultValue', # noqa: E501 'constraints': 'constraints', # noqa: E501 + 'default_value': 'defaultValue', # noqa: E501 + 'type': 'type', # noqa: E501 } read_only_vars = { @@ -117,8 +120,6 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 """JsonApiParameterInAttributesDefinition - a model defined in OpenAPI Keyword Args: - type (str): - default_value (str): _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -150,6 +151,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) constraints (StringConstraints): [optional] # noqa: E501 + default_value (str): [optional] # noqa: E501 + type (str): The parameter type.. [optional] if omitted the server will use the default value of "STRING" # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -223,8 +226,6 @@ def __init__(self, *args, **kwargs): # noqa: E501 """JsonApiParameterInAttributesDefinition - a model defined in OpenAPI Keyword Args: - type (str): - default_value (str): _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -256,6 +257,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) constraints (StringConstraints): [optional] # noqa: E501 + default_value (str): [optional] # noqa: E501 + type (str): The parameter type.. [optional] if omitted the server will use the default value of "STRING" # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_user_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_user_in_attributes.py index eb9ec07e0..24210fe20 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_user_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_user_in_attributes.py @@ -98,6 +98,7 @@ def openapi_types(): 'email': (str,), # noqa: E501 'firstname': (str,), # noqa: E501 'lastname': (str,), # noqa: E501 + 'system_account': (bool,), # noqa: E501 } @cached_property @@ -110,6 +111,7 @@ def discriminator(): 'email': 'email', # noqa: E501 'firstname': 'firstname', # noqa: E501 'lastname': 'lastname', # noqa: E501 + 'system_account': 'systemAccount', # noqa: E501 } read_only_vars = { @@ -157,6 +159,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 email (str): [optional] # noqa: E501 firstname (str): [optional] # noqa: E501 lastname (str): [optional] # noqa: E501 + system_account (bool): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -246,6 +249,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 email (str): [optional] # noqa: E501 firstname (str): [optional] # noqa: E501 lastname (str): [optional] # noqa: E501 + system_account (bool): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/ldm_object_permissions.py b/gooddata-api-client/gooddata_api_client/model/ldm_object_permissions.py new file mode 100644 index 000000000..26e8675c1 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/ldm_object_permissions.py @@ -0,0 +1,292 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.rule_permission import RulePermission + from gooddata_api_client.model.user_group_permission import UserGroupPermission + from gooddata_api_client.model.user_permission import UserPermission + globals()['RulePermission'] = RulePermission + globals()['UserGroupPermission'] = UserGroupPermission + globals()['UserPermission'] = UserPermission + + +class LdmObjectPermissions(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'rules': ([RulePermission],), # noqa: E501 + 'user_groups': ([UserGroupPermission],), # noqa: E501 + 'users': ([UserPermission],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'rules': 'rules', # noqa: E501 + 'user_groups': 'userGroups', # noqa: E501 + 'users': 'users', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, rules, user_groups, users, *args, **kwargs): # noqa: E501 + """LdmObjectPermissions - a model defined in OpenAPI + + Args: + rules ([RulePermission]): List of rules + user_groups ([UserGroupPermission]): List of user groups + users ([UserPermission]): List of users + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.rules = rules + self.user_groups = user_groups + self.users = users + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, rules, user_groups, users, *args, **kwargs): # noqa: E501 + """LdmObjectPermissions - a model defined in OpenAPI + + Args: + rules ([RulePermission]): List of rules + user_groups ([UserGroupPermission]): List of user groups + users ([UserPermission]): List of users + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.rules = rules + self.user_groups = user_groups + self.users = users + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/ldm_object_permissions_assignment.py b/gooddata-api-client/gooddata_api_client/model/ldm_object_permissions_assignment.py new file mode 100644 index 000000000..523b213f7 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/ldm_object_permissions_assignment.py @@ -0,0 +1,275 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class LdmObjectPermissionsAssignment(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('permissions',): { + 'EDIT': "EDIT", + 'SHARE': "SHARE", + 'VIEW': "VIEW", + }, + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'permissions': ([str],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'permissions': 'permissions', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, permissions, *args, **kwargs): # noqa: E501 + """LdmObjectPermissionsAssignment - a model defined in OpenAPI + + Args: + permissions ([str]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.permissions = permissions + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, permissions, *args, **kwargs): # noqa: E501 + """LdmObjectPermissionsAssignment - a model defined in OpenAPI + + Args: + permissions ([str]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.permissions = permissions + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_patch_attributes.py b/gooddata-api-client/gooddata_api_client/model/ldm_object_permissions_for_assignee.py similarity index 74% rename from gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_patch_attributes.py rename to gooddata-api-client/gooddata_api_client/model/ldm_object_permissions_for_assignee.py index 75ee7d976..46f71d855 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_llm_endpoint_patch_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/ldm_object_permissions_for_assignee.py @@ -30,8 +30,16 @@ from gooddata_api_client.exceptions import ApiAttributeError +def lazy_import(): + from gooddata_api_client.model.assignee_identifier import AssigneeIdentifier + from gooddata_api_client.model.ldm_object_permissions_assignment import LdmObjectPermissionsAssignment + from gooddata_api_client.model.ldm_object_permissions_for_assignee_all_of import LdmObjectPermissionsForAssigneeAllOf + globals()['AssigneeIdentifier'] = AssigneeIdentifier + globals()['LdmObjectPermissionsAssignment'] = LdmObjectPermissionsAssignment + globals()['LdmObjectPermissionsForAssigneeAllOf'] = LdmObjectPermissionsForAssigneeAllOf -class JsonApiLlmEndpointPatchAttributes(ModelNormal): + +class LdmObjectPermissionsForAssignee(ModelComposed): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -56,28 +64,14 @@ class JsonApiLlmEndpointPatchAttributes(ModelNormal): """ allowed_values = { - ('provider',): { - 'OPENAI': "OPENAI", - 'AZURE_OPENAI': "AZURE_OPENAI", + ('permissions',): { + 'EDIT': "EDIT", + 'SHARE': "SHARE", + 'VIEW': "VIEW", }, } validations = { - ('base_url',): { - 'max_length': 255, - }, - ('llm_model',): { - 'max_length': 255, - }, - ('llm_organization',): { - 'max_length': 255, - }, - ('title',): { - 'max_length': 255, - }, - ('token',): { - 'max_length': 10000, - }, } @cached_property @@ -86,6 +80,7 @@ def additional_properties_type(): This must be a method because a model may have properties that are of type self, this must run after the class is loaded """ + lazy_import() return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 _nullable = False @@ -100,13 +95,10 @@ def openapi_types(): openapi_types (dict): The key is attribute name and the value is attribute type. """ + lazy_import() return { - 'base_url': (str, none_type,), # noqa: E501 - 'llm_model': (str,), # noqa: E501 - 'llm_organization': (str, none_type,), # noqa: E501 - 'provider': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'token': (str,), # noqa: E501 + 'permissions': ([str],), # noqa: E501 + 'assignee_identifier': (AssigneeIdentifier,), # noqa: E501 } @cached_property @@ -115,25 +107,21 @@ def discriminator(): attribute_map = { - 'base_url': 'baseUrl', # noqa: E501 - 'llm_model': 'llmModel', # noqa: E501 - 'llm_organization': 'llmOrganization', # noqa: E501 - 'provider': 'provider', # noqa: E501 - 'title': 'title', # noqa: E501 - 'token': 'token', # noqa: E501 + 'permissions': 'permissions', # noqa: E501 + 'assignee_identifier': 'assigneeIdentifier', # noqa: E501 } read_only_vars = { } - _composed_schemas = {} - @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """JsonApiLlmEndpointPatchAttributes - a model defined in OpenAPI + """LdmObjectPermissionsForAssignee - a model defined in OpenAPI Keyword Args: + permissions ([str]): + assignee_identifier (AssigneeIdentifier): _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -164,16 +152,10 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - base_url (str, none_type): Custom LLM endpoint.. [optional] # noqa: E501 - llm_model (str): LLM Model. We provide a default model for each provider, but you can override it here.. [optional] # noqa: E501 - llm_organization (str, none_type): Organization in LLM provider.. [optional] # noqa: E501 - provider (str): LLM Provider.. [optional] # noqa: E501 - title (str): User-facing title of the LLM Provider.. [optional] # noqa: E501 - token (str): The token to use to connect to the LLM provider.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) _path_to_item = kwargs.pop('_path_to_item', ()) _configuration = kwargs.pop('_configuration', None) _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) @@ -201,14 +183,29 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ + if var_name in discarded_args and \ self._configuration is not None and \ self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: + self._additional_properties_model_instances: # discard variable. continue setattr(self, var_name, var_value) + return self required_properties = set([ @@ -218,13 +215,18 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 '_path_to_item', '_configuration', '_visited_composed_classes', + '_composed_instances', + '_var_name_to_model_instances', + '_additional_properties_model_instances', ]) @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """JsonApiLlmEndpointPatchAttributes - a model defined in OpenAPI + """LdmObjectPermissionsForAssignee - a model defined in OpenAPI Keyword Args: + permissions ([str]): + assignee_identifier (AssigneeIdentifier): _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -255,12 +257,6 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - base_url (str, none_type): Custom LLM endpoint.. [optional] # noqa: E501 - llm_model (str): LLM Model. We provide a default model for each provider, but you can override it here.. [optional] # noqa: E501 - llm_organization (str, none_type): Organization in LLM provider.. [optional] # noqa: E501 - provider (str): LLM Provider.. [optional] # noqa: E501 - title (str): User-facing title of the LLM Provider.. [optional] # noqa: E501 - token (str): The token to use to connect to the LLM provider.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -290,14 +286,49 @@ def __init__(self, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ + if var_name in discarded_args and \ self._configuration is not None and \ self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: + self._additional_properties_model_instances: # discard variable. continue setattr(self, var_name, var_value) if var_name in self.read_only_vars: raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " f"class with read only attributes.") + + @cached_property + def _composed_schemas(): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + lazy_import() + return { + 'anyOf': [ + ], + 'allOf': [ + LdmObjectPermissionsAssignment, + LdmObjectPermissionsForAssigneeAllOf, + ], + 'oneOf': [ + ], + } diff --git a/gooddata-api-client/gooddata_api_client/model/permissions_for_assignee_all_of.py b/gooddata-api-client/gooddata_api_client/model/ldm_object_permissions_for_assignee_all_of.py similarity index 98% rename from gooddata-api-client/gooddata_api_client/model/permissions_for_assignee_all_of.py rename to gooddata-api-client/gooddata_api_client/model/ldm_object_permissions_for_assignee_all_of.py index e3230b392..c03cf1681 100644 --- a/gooddata-api-client/gooddata_api_client/model/permissions_for_assignee_all_of.py +++ b/gooddata-api-client/gooddata_api_client/model/ldm_object_permissions_for_assignee_all_of.py @@ -35,7 +35,7 @@ def lazy_import(): globals()['AssigneeIdentifier'] = AssigneeIdentifier -class PermissionsForAssigneeAllOf(ModelNormal): +class LdmObjectPermissionsForAssigneeAllOf(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -108,7 +108,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """PermissionsForAssigneeAllOf - a model defined in OpenAPI + """LdmObjectPermissionsForAssigneeAllOf - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -194,7 +194,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """PermissionsForAssigneeAllOf - a model defined in OpenAPI + """LdmObjectPermissionsForAssigneeAllOf - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/gooddata-api-client/gooddata_api_client/model/ldm_object_permissions_for_assignee_rule.py b/gooddata-api-client/gooddata_api_client/model/ldm_object_permissions_for_assignee_rule.py new file mode 100644 index 000000000..017c75e49 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/ldm_object_permissions_for_assignee_rule.py @@ -0,0 +1,334 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.assignee_rule import AssigneeRule + from gooddata_api_client.model.declarative_analytical_dashboard_permission_for_assignee_rule_all_of import DeclarativeAnalyticalDashboardPermissionForAssigneeRuleAllOf + from gooddata_api_client.model.ldm_object_permissions_assignment import LdmObjectPermissionsAssignment + globals()['AssigneeRule'] = AssigneeRule + globals()['DeclarativeAnalyticalDashboardPermissionForAssigneeRuleAllOf'] = DeclarativeAnalyticalDashboardPermissionForAssigneeRuleAllOf + globals()['LdmObjectPermissionsAssignment'] = LdmObjectPermissionsAssignment + + +class LdmObjectPermissionsForAssigneeRule(ModelComposed): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('permissions',): { + 'EDIT': "EDIT", + 'SHARE': "SHARE", + 'VIEW': "VIEW", + }, + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'permissions': ([str],), # noqa: E501 + 'assignee_rule': (AssigneeRule,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'permissions': 'permissions', # noqa: E501 + 'assignee_rule': 'assigneeRule', # noqa: E501 + } + + read_only_vars = { + } + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """LdmObjectPermissionsForAssigneeRule - a model defined in OpenAPI + + Keyword Args: + permissions ([str]): + assignee_rule (AssigneeRule): + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # discard variable. + continue + setattr(self, var_name, var_value) + + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + '_composed_instances', + '_var_name_to_model_instances', + '_additional_properties_model_instances', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """LdmObjectPermissionsForAssigneeRule - a model defined in OpenAPI + + Keyword Args: + permissions ([str]): + assignee_rule (AssigneeRule): + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") + + @cached_property + def _composed_schemas(): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + lazy_import() + return { + 'anyOf': [ + ], + 'allOf': [ + DeclarativeAnalyticalDashboardPermissionForAssigneeRuleAllOf, + LdmObjectPermissionsAssignment, + ], + 'oneOf': [ + ], + } diff --git a/gooddata-api-client/gooddata_api_client/model/list_llm_provider_models_request_provider_config.py b/gooddata-api-client/gooddata_api_client/model/list_llm_provider_models_request_provider_config.py index 21d26004d..35317fab0 100644 --- a/gooddata-api-client/gooddata_api_client/model/list_llm_provider_models_request_provider_config.py +++ b/gooddata-api-client/gooddata_api_client/model/list_llm_provider_models_request_provider_config.py @@ -31,10 +31,12 @@ def lazy_import(): + from gooddata_api_client.model.anthropic_provider_config import AnthropicProviderConfig from gooddata_api_client.model.aws_bedrock_provider_config import AwsBedrockProviderConfig from gooddata_api_client.model.azure_foundry_provider_config import AzureFoundryProviderConfig from gooddata_api_client.model.open_ai_provider_auth import OpenAiProviderAuth from gooddata_api_client.model.open_ai_provider_config import OpenAIProviderConfig + globals()['AnthropicProviderConfig'] = AnthropicProviderConfig globals()['AwsBedrockProviderConfig'] = AwsBedrockProviderConfig globals()['AzureFoundryProviderConfig'] = AzureFoundryProviderConfig globals()['OpenAIProviderConfig'] = OpenAIProviderConfig @@ -112,8 +114,8 @@ def openapi_types(): 'base_url': (str,), # noqa: E501 'organization': (str, none_type,), # noqa: E501 'auth': (OpenAiProviderAuth,), # noqa: E501 - 'region': (str,), # noqa: E501 'type': (str,), # noqa: E501 + 'region': (str,), # noqa: E501 'endpoint': (str,), # noqa: E501 } @@ -126,8 +128,8 @@ def discriminator(): 'base_url': 'baseUrl', # noqa: E501 'organization': 'organization', # noqa: E501 'auth': 'auth', # noqa: E501 - 'region': 'region', # noqa: E501 'type': 'type', # noqa: E501 + 'region': 'region', # noqa: E501 'endpoint': 'endpoint', # noqa: E501 } @@ -173,8 +175,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 base_url (str): Custom base URL for OpenAI API.. [optional] if omitted the server will use the default value of "https://api.openai.com/v1" # noqa: E501 organization (str, none_type): OpenAI organization ID.. [optional] # noqa: E501 auth (OpenAiProviderAuth): [optional] # noqa: E501 - region (str): AWS region for Bedrock.. [optional] # noqa: E501 type (str): Provider type.. [optional] if omitted the server will use the default value of "OPENAI" # noqa: E501 + region (str): AWS region for Bedrock.. [optional] # noqa: E501 endpoint (str): Azure OpenAI endpoint URL.. [optional] # noqa: E501 """ @@ -282,8 +284,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 base_url (str): Custom base URL for OpenAI API.. [optional] if omitted the server will use the default value of "https://api.openai.com/v1" # noqa: E501 organization (str, none_type): OpenAI organization ID.. [optional] # noqa: E501 auth (OpenAiProviderAuth): [optional] # noqa: E501 - region (str): AWS region for Bedrock.. [optional] # noqa: E501 type (str): Provider type.. [optional] if omitted the server will use the default value of "OPENAI" # noqa: E501 + region (str): AWS region for Bedrock.. [optional] # noqa: E501 endpoint (str): Azure OpenAI endpoint URL.. [optional] # noqa: E501 """ @@ -356,6 +358,7 @@ def _composed_schemas(): 'allOf': [ ], 'oneOf': [ + AnthropicProviderConfig, AwsBedrockProviderConfig, AzureFoundryProviderConfig, OpenAIProviderConfig, diff --git a/gooddata-api-client/gooddata_api_client/model/llm_provider_config.py b/gooddata-api-client/gooddata_api_client/model/llm_provider_config.py index 2ed845ed4..1599f0bb8 100644 --- a/gooddata-api-client/gooddata_api_client/model/llm_provider_config.py +++ b/gooddata-api-client/gooddata_api_client/model/llm_provider_config.py @@ -31,10 +31,12 @@ def lazy_import(): + from gooddata_api_client.model.anthropic_provider_config import AnthropicProviderConfig from gooddata_api_client.model.aws_bedrock_provider_config import AwsBedrockProviderConfig from gooddata_api_client.model.azure_foundry_provider_config import AzureFoundryProviderConfig from gooddata_api_client.model.open_ai_provider_auth import OpenAiProviderAuth from gooddata_api_client.model.open_ai_provider_config import OpenAIProviderConfig + globals()['AnthropicProviderConfig'] = AnthropicProviderConfig globals()['AwsBedrockProviderConfig'] = AwsBedrockProviderConfig globals()['AzureFoundryProviderConfig'] = AzureFoundryProviderConfig globals()['OpenAIProviderConfig'] = OpenAIProviderConfig @@ -112,8 +114,8 @@ def openapi_types(): 'base_url': (str,), # noqa: E501 'organization': (str, none_type,), # noqa: E501 'auth': (OpenAiProviderAuth,), # noqa: E501 - 'region': (str,), # noqa: E501 'type': (str,), # noqa: E501 + 'region': (str,), # noqa: E501 'endpoint': (str,), # noqa: E501 } @@ -126,8 +128,8 @@ def discriminator(): 'base_url': 'baseUrl', # noqa: E501 'organization': 'organization', # noqa: E501 'auth': 'auth', # noqa: E501 - 'region': 'region', # noqa: E501 'type': 'type', # noqa: E501 + 'region': 'region', # noqa: E501 'endpoint': 'endpoint', # noqa: E501 } @@ -173,8 +175,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 base_url (str): Custom base URL for OpenAI API.. [optional] if omitted the server will use the default value of "https://api.openai.com/v1" # noqa: E501 organization (str, none_type): OpenAI organization ID.. [optional] # noqa: E501 auth (OpenAiProviderAuth): [optional] # noqa: E501 - region (str): AWS region for Bedrock.. [optional] # noqa: E501 type (str): Provider type.. [optional] if omitted the server will use the default value of "OPENAI" # noqa: E501 + region (str): AWS region for Bedrock.. [optional] # noqa: E501 endpoint (str): Azure OpenAI endpoint URL.. [optional] # noqa: E501 """ @@ -282,8 +284,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 base_url (str): Custom base URL for OpenAI API.. [optional] if omitted the server will use the default value of "https://api.openai.com/v1" # noqa: E501 organization (str, none_type): OpenAI organization ID.. [optional] # noqa: E501 auth (OpenAiProviderAuth): [optional] # noqa: E501 - region (str): AWS region for Bedrock.. [optional] # noqa: E501 type (str): Provider type.. [optional] if omitted the server will use the default value of "OPENAI" # noqa: E501 + region (str): AWS region for Bedrock.. [optional] # noqa: E501 endpoint (str): Azure OpenAI endpoint URL.. [optional] # noqa: E501 """ @@ -356,6 +358,7 @@ def _composed_schemas(): 'allOf': [ ], 'oneOf': [ + AnthropicProviderConfig, AwsBedrockProviderConfig, AzureFoundryProviderConfig, OpenAIProviderConfig, diff --git a/gooddata-api-client/gooddata_api_client/model/manage_attribute_permissions_request_inner.py b/gooddata-api-client/gooddata_api_client/model/manage_attribute_permissions_request_inner.py new file mode 100644 index 000000000..19cdd1e42 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/manage_attribute_permissions_request_inner.py @@ -0,0 +1,340 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.assignee_identifier import AssigneeIdentifier + from gooddata_api_client.model.assignee_rule import AssigneeRule + from gooddata_api_client.model.ldm_object_permissions_for_assignee import LdmObjectPermissionsForAssignee + from gooddata_api_client.model.ldm_object_permissions_for_assignee_rule import LdmObjectPermissionsForAssigneeRule + globals()['AssigneeIdentifier'] = AssigneeIdentifier + globals()['AssigneeRule'] = AssigneeRule + globals()['LdmObjectPermissionsForAssignee'] = LdmObjectPermissionsForAssignee + globals()['LdmObjectPermissionsForAssigneeRule'] = LdmObjectPermissionsForAssigneeRule + + +class ManageAttributePermissionsRequestInner(ModelComposed): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('permissions',): { + 'EDIT': "EDIT", + 'SHARE': "SHARE", + 'VIEW': "VIEW", + }, + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'permissions': ([str],), # noqa: E501 + 'assignee_identifier': (AssigneeIdentifier,), # noqa: E501 + 'assignee_rule': (AssigneeRule,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'permissions': 'permissions', # noqa: E501 + 'assignee_identifier': 'assigneeIdentifier', # noqa: E501 + 'assignee_rule': 'assigneeRule', # noqa: E501 + } + + read_only_vars = { + } + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ManageAttributePermissionsRequestInner - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + permissions ([str]): [optional] # noqa: E501 + assignee_identifier (AssigneeIdentifier): [optional] # noqa: E501 + assignee_rule (AssigneeRule): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # discard variable. + continue + setattr(self, var_name, var_value) + + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + '_composed_instances', + '_var_name_to_model_instances', + '_additional_properties_model_instances', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ManageAttributePermissionsRequestInner - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + permissions ([str]): [optional] # noqa: E501 + assignee_identifier (AssigneeIdentifier): [optional] # noqa: E501 + assignee_rule (AssigneeRule): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") + + @cached_property + def _composed_schemas(): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + lazy_import() + return { + 'anyOf': [ + ], + 'allOf': [ + ], + 'oneOf': [ + LdmObjectPermissionsForAssignee, + LdmObjectPermissionsForAssigneeRule, + ], + } diff --git a/gooddata-api-client/gooddata_api_client/model/notification_channel_destination.py b/gooddata-api-client/gooddata_api_client/model/notification_channel_destination.py index 29f5583e9..4bebe59c9 100644 --- a/gooddata-api-client/gooddata_api_client/model/notification_channel_destination.py +++ b/gooddata-api-client/gooddata_api_client/model/notification_channel_destination.py @@ -72,6 +72,9 @@ class NotificationChannelDestination(ModelComposed): '587': 587, '2525': 2525, }, + ('type',): { + 'IN_PLATFORM': "IN_PLATFORM", + }, } validations = { @@ -116,7 +119,6 @@ def openapi_types(): """ lazy_import() return { - 'type': (str,), # noqa: E501 'has_secret_key': (bool, none_type,), # noqa: E501 'has_token': (bool, none_type,), # noqa: E501 'secret_key': (str, none_type,), # noqa: E501 @@ -128,6 +130,7 @@ def openapi_types(): 'password': (str,), # noqa: E501 'port': (int,), # noqa: E501 'username': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 } @cached_property @@ -136,7 +139,6 @@ def discriminator(): attribute_map = { - 'type': 'type', # noqa: E501 'has_secret_key': 'hasSecretKey', # noqa: E501 'has_token': 'hasToken', # noqa: E501 'secret_key': 'secretKey', # noqa: E501 @@ -148,6 +150,7 @@ def discriminator(): 'password': 'password', # noqa: E501 'port': 'port', # noqa: E501 'username': 'username', # noqa: E501 + 'type': 'type', # noqa: E501 } read_only_vars = { @@ -161,7 +164,6 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 """NotificationChannelDestination - a model defined in OpenAPI Keyword Args: - type (str): _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -203,6 +205,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 password (str): The SMTP server password.. [optional] # noqa: E501 port (int): The SMTP server port.. [optional] # noqa: E501 username (str): The SMTP server username.. [optional] # noqa: E501 + type (str): The destination type.. [optional] if omitted the server will use the default value of "IN_PLATFORM" # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -276,7 +279,6 @@ def __init__(self, *args, **kwargs): # noqa: E501 """NotificationChannelDestination - a model defined in OpenAPI Keyword Args: - type (str): _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -318,6 +320,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 password (str): The SMTP server password.. [optional] # noqa: E501 port (int): The SMTP server port.. [optional] # noqa: E501 username (str): The SMTP server username.. [optional] # noqa: E501 + type (str): The destination type.. [optional] if omitted the server will use the default value of "IN_PLATFORM" # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/operation.py b/gooddata-api-client/gooddata_api_client/model/operation.py index 4c5e61c34..2db4832a0 100644 --- a/gooddata-api-client/gooddata_api_client/model/operation.py +++ b/gooddata-api-client/gooddata_api_client/model/operation.py @@ -71,6 +71,7 @@ class Operation(ModelNormal): 'CREATE-PIPE-TABLE': "create-pipe-table", 'DELETE-PIPE-TABLE': "delete-pipe-table", 'ANALYZE-STATISTICS': "analyze-statistics", + 'REFRESH-PARTITION': "refresh-partition", }, } @@ -135,7 +136,7 @@ def _from_openapi_data(cls, id, kind, status, *args, **kwargs): # noqa: E501 Args: id (str): Id of the operation - kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. + kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. * `refresh-partition` — Refreshing a specific Hive partition (delete + re-load from S3). status (str): Keyword Args: @@ -228,7 +229,7 @@ def __init__(self, id, kind, status, *args, **kwargs): # noqa: E501 Args: id (str): Id of the operation - kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. + kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. * `refresh-partition` — Refreshing a specific Hive partition (delete + re-load from S3). status (str): Keyword Args: diff --git a/gooddata-api-client/gooddata_api_client/model/parameter_definition.py b/gooddata-api-client/gooddata_api_client/model/parameter_definition.py index a712b91af..ada262717 100644 --- a/gooddata-api-client/gooddata_api_client/model/parameter_definition.py +++ b/gooddata-api-client/gooddata_api_client/model/parameter_definition.py @@ -64,6 +64,9 @@ class ParameterDefinition(ModelComposed): """ allowed_values = { + ('type',): { + 'STRING': "STRING", + }, } validations = { @@ -92,9 +95,9 @@ def openapi_types(): """ lazy_import() return { - 'type': (str,), # noqa: E501 - 'default_value': (str,), # noqa: E501 'constraints': (StringConstraints,), # noqa: E501 + 'default_value': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 } @cached_property @@ -103,9 +106,9 @@ def discriminator(): attribute_map = { - 'type': 'type', # noqa: E501 - 'default_value': 'defaultValue', # noqa: E501 'constraints': 'constraints', # noqa: E501 + 'default_value': 'defaultValue', # noqa: E501 + 'type': 'type', # noqa: E501 } read_only_vars = { @@ -117,8 +120,6 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 """ParameterDefinition - a model defined in OpenAPI Keyword Args: - type (str): - default_value (str): _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -150,6 +151,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) constraints (StringConstraints): [optional] # noqa: E501 + default_value (str): [optional] # noqa: E501 + type (str): The parameter type.. [optional] if omitted the server will use the default value of "STRING" # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -223,8 +226,6 @@ def __init__(self, *args, **kwargs): # noqa: E501 """ParameterDefinition - a model defined in OpenAPI Keyword Args: - type (str): - default_value (str): _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -256,6 +257,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) constraints (StringConstraints): [optional] # noqa: E501 + default_value (str): [optional] # noqa: E501 + type (str): The parameter type.. [optional] if omitted the server will use the default value of "STRING" # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/pending_operation.py b/gooddata-api-client/gooddata_api_client/model/pending_operation.py index ac569983d..c0013cec1 100644 --- a/gooddata-api-client/gooddata_api_client/model/pending_operation.py +++ b/gooddata-api-client/gooddata_api_client/model/pending_operation.py @@ -67,6 +67,7 @@ class PendingOperation(ModelComposed): 'CREATE-PIPE-TABLE': "create-pipe-table", 'DELETE-PIPE-TABLE': "delete-pipe-table", 'ANALYZE-STATISTICS': "analyze-statistics", + 'REFRESH-PARTITION': "refresh-partition", }, } @@ -125,7 +126,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Keyword Args: id (str): Id of the operation - kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. + kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. * `refresh-partition` — Refreshing a specific Hive partition (delete + re-load from S3). status (str): _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be @@ -231,7 +232,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Keyword Args: id (str): Id of the operation - kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. + kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. * `refresh-partition` — Refreshing a specific Hive partition (delete + re-load from S3). status (str): _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be diff --git a/gooddata-api-client/gooddata_api_client/model/permissions_for_assignee.py b/gooddata-api-client/gooddata_api_client/model/permissions_for_assignee.py index 0e4fb2e89..f64edfdb5 100644 --- a/gooddata-api-client/gooddata_api_client/model/permissions_for_assignee.py +++ b/gooddata-api-client/gooddata_api_client/model/permissions_for_assignee.py @@ -33,10 +33,10 @@ def lazy_import(): from gooddata_api_client.model.assignee_identifier import AssigneeIdentifier from gooddata_api_client.model.dashboard_permissions_assignment import DashboardPermissionsAssignment - from gooddata_api_client.model.permissions_for_assignee_all_of import PermissionsForAssigneeAllOf + from gooddata_api_client.model.ldm_object_permissions_for_assignee_all_of import LdmObjectPermissionsForAssigneeAllOf globals()['AssigneeIdentifier'] = AssigneeIdentifier globals()['DashboardPermissionsAssignment'] = DashboardPermissionsAssignment - globals()['PermissionsForAssigneeAllOf'] = PermissionsForAssigneeAllOf + globals()['LdmObjectPermissionsForAssigneeAllOf'] = LdmObjectPermissionsForAssigneeAllOf class PermissionsForAssignee(ModelComposed): @@ -327,7 +327,7 @@ def _composed_schemas(): ], 'allOf': [ DashboardPermissionsAssignment, - PermissionsForAssigneeAllOf, + LdmObjectPermissionsForAssigneeAllOf, ], 'oneOf': [ ], diff --git a/gooddata-api-client/gooddata_api_client/model/platform_usage.py b/gooddata-api-client/gooddata_api_client/model/platform_usage.py index c7177d50a..d95c24ebd 100644 --- a/gooddata-api-client/gooddata_api_client/model/platform_usage.py +++ b/gooddata-api-client/gooddata_api_client/model/platform_usage.py @@ -59,6 +59,7 @@ class PlatformUsage(ModelNormal): ('name',): { 'USERCOUNT': "UserCount", 'WORKSPACECOUNT': "WorkspaceCount", + 'AIWORKSPACECOUNT': "AiWorkspaceCount", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/platform_usage_request.py b/gooddata-api-client/gooddata_api_client/model/platform_usage_request.py index 8567f3944..0039f3835 100644 --- a/gooddata-api-client/gooddata_api_client/model/platform_usage_request.py +++ b/gooddata-api-client/gooddata_api_client/model/platform_usage_request.py @@ -59,6 +59,7 @@ class PlatformUsageRequest(ModelNormal): ('usage_item_names',): { 'USERCOUNT': "UserCount", 'WORKSPACECOUNT': "WorkspaceCount", + 'AIWORKSPACECOUNT': "AiWorkspaceCount", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/list_object_storages_response.py b/gooddata-api-client/gooddata_api_client/model/refresh_partition_request.py similarity index 92% rename from gooddata-api-client/gooddata_api_client/model/list_object_storages_response.py rename to gooddata-api-client/gooddata_api_client/model/refresh_partition_request.py index 0ab99724f..18ec864d9 100644 --- a/gooddata-api-client/gooddata_api_client/model/list_object_storages_response.py +++ b/gooddata-api-client/gooddata_api_client/model/refresh_partition_request.py @@ -30,12 +30,8 @@ from gooddata_api_client.exceptions import ApiAttributeError -def lazy_import(): - from gooddata_api_client.model.object_storage_info import ObjectStorageInfo - globals()['ObjectStorageInfo'] = ObjectStorageInfo - -class ListObjectStoragesResponse(ModelNormal): +class RefreshPartitionRequest(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -71,7 +67,6 @@ def additional_properties_type(): This must be a method because a model may have properties that are of type self, this must run after the class is loaded """ - lazy_import() return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 _nullable = False @@ -86,9 +81,8 @@ def openapi_types(): openapi_types (dict): The key is attribute name and the value is attribute type. """ - lazy_import() return { - 'storages': ([ObjectStorageInfo],), # noqa: E501 + 'partition_spec': ({str: (str,)},), # noqa: E501 } @cached_property @@ -97,7 +91,7 @@ def discriminator(): attribute_map = { - 'storages': 'storages', # noqa: E501 + 'partition_spec': 'partitionSpec', # noqa: E501 } read_only_vars = { @@ -107,11 +101,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, storages, *args, **kwargs): # noqa: E501 - """ListObjectStoragesResponse - a model defined in OpenAPI + def _from_openapi_data(cls, partition_spec, *args, **kwargs): # noqa: E501 + """RefreshPartitionRequest - a model defined in OpenAPI Args: - storages ([ObjectStorageInfo]): Registered storages, ordered by name. + partition_spec ({str: (str,)}): Partition column values identifying the partition to refresh. Keys must match the table's partition_columns exactly. Example: {\"date\": \"2026-01-01\"} Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -175,7 +169,7 @@ def _from_openapi_data(cls, storages, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.storages = storages + self.partition_spec = partition_spec for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -196,11 +190,11 @@ def _from_openapi_data(cls, storages, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, storages, *args, **kwargs): # noqa: E501 - """ListObjectStoragesResponse - a model defined in OpenAPI + def __init__(self, partition_spec, *args, **kwargs): # noqa: E501 + """RefreshPartitionRequest - a model defined in OpenAPI Args: - storages ([ObjectStorageInfo]): Registered storages, ordered by name. + partition_spec ({str: (str,)}): Partition column values identifying the partition to refresh. Keys must match the table's partition_columns exactly. Example: {\"date\": \"2026-01-01\"} Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -262,7 +256,7 @@ def __init__(self, storages, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.storages = storages + self.partition_spec = partition_spec for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/gooddata-api-client/gooddata_api_client/model/resolved_llms_data.py b/gooddata-api-client/gooddata_api_client/model/resolved_llms_data.py index cc02d077d..11d8b3f21 100644 --- a/gooddata-api-client/gooddata_api_client/model/resolved_llms_data.py +++ b/gooddata-api-client/gooddata_api_client/model/resolved_llms_data.py @@ -32,10 +32,8 @@ def lazy_import(): from gooddata_api_client.model.llm_model import LlmModel - from gooddata_api_client.model.resolved_llm_endpoint import ResolvedLlmEndpoint from gooddata_api_client.model.resolved_llm_provider import ResolvedLlmProvider globals()['LlmModel'] = LlmModel - globals()['ResolvedLlmEndpoint'] = ResolvedLlmEndpoint globals()['ResolvedLlmProvider'] = ResolvedLlmProvider @@ -331,7 +329,6 @@ def _composed_schemas(): 'allOf': [ ], 'oneOf': [ - ResolvedLlmEndpoint, ResolvedLlmProvider, ], } diff --git a/gooddata-api-client/gooddata_api_client/model/resolved_setting.py b/gooddata-api-client/gooddata_api_client/model/resolved_setting.py index bf0fcfe16..3cc1785ed 100644 --- a/gooddata-api-client/gooddata_api_client/model/resolved_setting.py +++ b/gooddata-api-client/gooddata_api_client/model/resolved_setting.py @@ -64,7 +64,6 @@ class ResolvedSetting(ModelNormal): 'TIMEZONE': "TIMEZONE", 'ACTIVE_THEME': "ACTIVE_THEME", 'ACTIVE_COLOR_PALETTE': "ACTIVE_COLOR_PALETTE", - 'ACTIVE_LLM_ENDPOINT': "ACTIVE_LLM_ENDPOINT", 'ACTIVE_LLM_PROVIDER': "ACTIVE_LLM_PROVIDER", 'ACTIVE_CALENDARS': "ACTIVE_CALENDARS", 'WHITE_LABELING': "WHITE_LABELING", @@ -106,6 +105,7 @@ class ResolvedSetting(ModelNormal): 'SORT_COLLATION': "SORT_COLLATION", 'METRIC_FORMAT_OVERRIDE': "METRIC_FORMAT_OVERRIDE", 'ENABLE_AI_ON_DATA': "ENABLE_AI_ON_DATA", + 'ENABLE_PARTIAL_DATA_RESULTS': "ENABLE_PARTIAL_DATA_RESULTS", 'API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE': "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", 'EXPORT_CSV_CUSTOM_DELIMITER': "EXPORT_CSV_CUSTOM_DELIMITER", 'ENABLE_QUERY_TAGS': "ENABLE_QUERY_TAGS", diff --git a/gooddata-api-client/gooddata_api_client/model/rich_text_widget_descriptor.py b/gooddata-api-client/gooddata_api_client/model/rich_text_widget_descriptor.py index 70a13aba0..a9f49e10a 100644 --- a/gooddata-api-client/gooddata_api_client/model/rich_text_widget_descriptor.py +++ b/gooddata-api-client/gooddata_api_client/model/rich_text_widget_descriptor.py @@ -90,6 +90,7 @@ def openapi_types(): return { 'title': (str,), # noqa: E501 'widget_id': (str,), # noqa: E501 + 'content': (str,), # noqa: E501 'filters': ([FilterDefinition],), # noqa: E501 } @@ -101,6 +102,7 @@ def discriminator(): attribute_map = { 'title': 'title', # noqa: E501 'widget_id': 'widgetId', # noqa: E501 + 'content': 'content', # noqa: E501 'filters': 'filters', # noqa: E501 } @@ -149,6 +151,7 @@ def _from_openapi_data(cls, title, widget_id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + content (str): Markdown/text content of the rich text widget.. [optional] # noqa: E501 filters ([FilterDefinition]): Filters currently applied to the dashboard.. [optional] # noqa: E501 """ @@ -241,6 +244,7 @@ def __init__(self, title, widget_id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + content (str): Markdown/text content of the rich text widget.. [optional] # noqa: E501 filters ([FilterDefinition]): Filters currently applied to the dashboard.. [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/succeeded_operation.py b/gooddata-api-client/gooddata_api_client/model/succeeded_operation.py index 4e69bf3fc..a80c2e57a 100644 --- a/gooddata-api-client/gooddata_api_client/model/succeeded_operation.py +++ b/gooddata-api-client/gooddata_api_client/model/succeeded_operation.py @@ -69,6 +69,7 @@ class SucceededOperation(ModelComposed): 'CREATE-PIPE-TABLE': "create-pipe-table", 'DELETE-PIPE-TABLE': "delete-pipe-table", 'ANALYZE-STATISTICS': "analyze-statistics", + 'REFRESH-PARTITION': "refresh-partition", }, } @@ -129,7 +130,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Keyword Args: id (str): Id of the operation - kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. + kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. * `refresh-partition` — Refreshing a specific Hive partition (delete + re-load from S3). status (str): _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be @@ -236,7 +237,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Keyword Args: id (str): Id of the operation - kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. + kind (str): Type of the long-running operation. * `provision-database` — Provisioning of an AI Lake database. * `deprovision-database` — Deprovisioning (deletion) of an AI Lake database. * `run-service-command` — Running a command in a particular AI Lake service. * `create-pipe-table` — Creating a pipe table backed by an S3 data source. * `delete-pipe-table` — Deleting a pipe table. * `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection. * `refresh-partition` — Refreshing a specific Hive partition (delete + re-load from S3). status (str): _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be diff --git a/gooddata-api-client/gooddata_api_client/model/test_definition_request.py b/gooddata-api-client/gooddata_api_client/model/test_definition_request.py index b1b78e6d9..983caca9c 100644 --- a/gooddata-api-client/gooddata_api_client/model/test_definition_request.py +++ b/gooddata-api-client/gooddata_api_client/model/test_definition_request.py @@ -89,6 +89,7 @@ class TestDefinitionRequest(ModelNormal): 'MONGODB': "MONGODB", 'CRATEDB': "CRATEDB", 'AILAKEHOUSE': "AILAKEHOUSE", + 'DENODO': "DENODO", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/tool_call_event_result.py b/gooddata-api-client/gooddata_api_client/model/tool_call_event_result.py deleted file mode 100644 index 95d5e95fa..000000000 --- a/gooddata-api-client/gooddata_api_client/model/tool_call_event_result.py +++ /dev/null @@ -1,282 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - - -class ToolCallEventResult(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'function_arguments': (str,), # noqa: E501 - 'function_name': (str,), # noqa: E501 - 'result': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'function_arguments': 'functionArguments', # noqa: E501 - 'function_name': 'functionName', # noqa: E501 - 'result': 'result', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, function_arguments, function_name, result, *args, **kwargs): # noqa: E501 - """ToolCallEventResult - a model defined in OpenAPI - - Args: - function_arguments (str): JSON-encoded arguments passed to the tool function. - function_name (str): Name of the tool function that was called. - result (str): Result returned by the tool function. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.function_arguments = function_arguments - self.function_name = function_name - self.result = result - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, function_arguments, function_name, result, *args, **kwargs): # noqa: E501 - """ToolCallEventResult - a model defined in OpenAPI - - Args: - function_arguments (str): JSON-encoded arguments passed to the tool function. - function_name (str): Name of the tool function that was called. - result (str): Result returned by the tool function. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.function_arguments = function_arguments - self.function_name = function_name - self.result = result - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/user_management_users_item.py b/gooddata-api-client/gooddata_api_client/model/user_management_users_item.py index 766712b00..7f833d772 100644 --- a/gooddata-api-client/gooddata_api_client/model/user_management_users_item.py +++ b/gooddata-api-client/gooddata_api_client/model/user_management_users_item.py @@ -95,6 +95,7 @@ def openapi_types(): 'data_sources': ([UserManagementDataSourcePermissionAssignment],), # noqa: E501 'id': (str,), # noqa: E501 'organization_admin': (bool,), # noqa: E501 + 'system_account': (bool,), # noqa: E501 'user_groups': ([UserGroupIdentifier],), # noqa: E501 'workspaces': ([UserManagementWorkspacePermissionAssignment],), # noqa: E501 'email': (str,), # noqa: E501 @@ -110,6 +111,7 @@ def discriminator(): 'data_sources': 'dataSources', # noqa: E501 'id': 'id', # noqa: E501 'organization_admin': 'organizationAdmin', # noqa: E501 + 'system_account': 'systemAccount', # noqa: E501 'user_groups': 'userGroups', # noqa: E501 'workspaces': 'workspaces', # noqa: E501 'email': 'email', # noqa: E501 @@ -123,13 +125,14 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, data_sources, id, organization_admin, user_groups, workspaces, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, data_sources, id, organization_admin, system_account, user_groups, workspaces, *args, **kwargs): # noqa: E501 """UserManagementUsersItem - a model defined in OpenAPI Args: data_sources ([UserManagementDataSourcePermissionAssignment]): id (str): organization_admin (bool): Is user organization admin + system_account (bool): Is user system account user_groups ([UserGroupIdentifier]): workspaces ([UserManagementWorkspacePermissionAssignment]): @@ -200,6 +203,7 @@ def _from_openapi_data(cls, data_sources, id, organization_admin, user_groups, w self.data_sources = data_sources self.id = id self.organization_admin = organization_admin + self.system_account = system_account self.user_groups = user_groups self.workspaces = workspaces for var_name, var_value in kwargs.items(): @@ -222,13 +226,14 @@ def _from_openapi_data(cls, data_sources, id, organization_admin, user_groups, w ]) @convert_js_args_to_python_args - def __init__(self, data_sources, id, organization_admin, user_groups, workspaces, *args, **kwargs): # noqa: E501 + def __init__(self, data_sources, id, organization_admin, system_account, user_groups, workspaces, *args, **kwargs): # noqa: E501 """UserManagementUsersItem - a model defined in OpenAPI Args: data_sources ([UserManagementDataSourcePermissionAssignment]): id (str): organization_admin (bool): Is user organization admin + system_account (bool): Is user system account user_groups ([UserGroupIdentifier]): workspaces ([UserManagementWorkspacePermissionAssignment]): @@ -297,6 +302,7 @@ def __init__(self, data_sources, id, organization_admin, user_groups, workspaces self.data_sources = data_sources self.id = id self.organization_admin = organization_admin + self.system_account = system_account self.user_groups = user_groups self.workspaces = workspaces for var_name, var_value in kwargs.items(): diff --git a/gooddata-api-client/gooddata_api_client/model/validate_llm_endpoint_by_id_request.py b/gooddata-api-client/gooddata_api_client/model/validate_llm_endpoint_by_id_request.py deleted file mode 100644 index acaae9d94..000000000 --- a/gooddata-api-client/gooddata_api_client/model/validate_llm_endpoint_by_id_request.py +++ /dev/null @@ -1,280 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - - -class ValidateLLMEndpointByIdRequest(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'base_url': (str,), # noqa: E501 - 'llm_model': (str,), # noqa: E501 - 'llm_organization': (str,), # noqa: E501 - 'provider': (str,), # noqa: E501 - 'token': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'base_url': 'baseUrl', # noqa: E501 - 'llm_model': 'llmModel', # noqa: E501 - 'llm_organization': 'llmOrganization', # noqa: E501 - 'provider': 'provider', # noqa: E501 - 'token': 'token', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ValidateLLMEndpointByIdRequest - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - base_url (str): Base URL for the LLM endpoint validation. [optional] # noqa: E501 - llm_model (str): LLM model for the LLM endpoint validation. [optional] # noqa: E501 - llm_organization (str): Organization name for the LLM endpoint validation. [optional] # noqa: E501 - provider (str): Provider for the LLM endpoint validation. [optional] # noqa: E501 - token (str): Token for the LLM endpoint validation. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ValidateLLMEndpointByIdRequest - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - base_url (str): Base URL for the LLM endpoint validation. [optional] # noqa: E501 - llm_model (str): LLM model for the LLM endpoint validation. [optional] # noqa: E501 - llm_organization (str): Organization name for the LLM endpoint validation. [optional] # noqa: E501 - provider (str): Provider for the LLM endpoint validation. [optional] # noqa: E501 - token (str): Token for the LLM endpoint validation. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/validate_llm_endpoint_request.py b/gooddata-api-client/gooddata_api_client/model/validate_llm_endpoint_request.py deleted file mode 100644 index d992bf2de..000000000 --- a/gooddata-api-client/gooddata_api_client/model/validate_llm_endpoint_request.py +++ /dev/null @@ -1,288 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from gooddata_api_client.exceptions import ApiAttributeError - - - -class ValidateLLMEndpointRequest(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'provider': (str,), # noqa: E501 - 'token': (str,), # noqa: E501 - 'base_url': (str,), # noqa: E501 - 'llm_model': (str,), # noqa: E501 - 'llm_organization': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'provider': 'provider', # noqa: E501 - 'token': 'token', # noqa: E501 - 'base_url': 'baseUrl', # noqa: E501 - 'llm_model': 'llmModel', # noqa: E501 - 'llm_organization': 'llmOrganization', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, provider, token, *args, **kwargs): # noqa: E501 - """ValidateLLMEndpointRequest - a model defined in OpenAPI - - Args: - provider (str): Provider for the LLM endpoint validation - token (str): Token for the LLM endpoint validation - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - base_url (str): Base URL for the LLM endpoint validation. [optional] # noqa: E501 - llm_model (str): LLM model for the LLM endpoint validation. [optional] # noqa: E501 - llm_organization (str): Organization name for the LLM endpoint validation. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.provider = provider - self.token = token - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, provider, token, *args, **kwargs): # noqa: E501 - """ValidateLLMEndpointRequest - a model defined in OpenAPI - - Args: - provider (str): Provider for the LLM endpoint validation - token (str): Token for the LLM endpoint validation - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - base_url (str): Base URL for the LLM endpoint validation. [optional] # noqa: E501 - llm_model (str): LLM model for the LLM endpoint validation. [optional] # noqa: E501 - llm_organization (str): Organization name for the LLM endpoint validation. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.provider = provider - self.token = token - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/models/__init__.py b/gooddata-api-client/gooddata_api_client/models/__init__.py index 557074746..518bf7ece 100644 --- a/gooddata-api-client/gooddata_api_client/models/__init__.py +++ b/gooddata-api-client/gooddata_api_client/models/__init__.py @@ -65,6 +65,10 @@ from gooddata_api_client.model.anomaly_detection_request import AnomalyDetectionRequest from gooddata_api_client.model.anomaly_detection_result import AnomalyDetectionResult from gooddata_api_client.model.anomaly_detection_wrapper import AnomalyDetectionWrapper +from gooddata_api_client.model.anthropic_api_key_auth import AnthropicApiKeyAuth +from gooddata_api_client.model.anthropic_api_key_auth_all_of import AnthropicApiKeyAuthAllOf +from gooddata_api_client.model.anthropic_provider_auth import AnthropicProviderAuth +from gooddata_api_client.model.anthropic_provider_config import AnthropicProviderConfig from gooddata_api_client.model.api_entitlement import ApiEntitlement from gooddata_api_client.model.arithmetic_measure import ArithmeticMeasure from gooddata_api_client.model.arithmetic_measure_definition import ArithmeticMeasureDefinition @@ -168,10 +172,10 @@ from gooddata_api_client.model.dashboard_attribute_filter import DashboardAttributeFilter from gooddata_api_client.model.dashboard_attribute_filter_attribute_filter import DashboardAttributeFilterAttributeFilter from gooddata_api_client.model.dashboard_compound_comparison_condition import DashboardCompoundComparisonCondition -from gooddata_api_client.model.dashboard_compound_comparison_condition_all_of import DashboardCompoundComparisonConditionAllOf +from gooddata_api_client.model.dashboard_compound_comparison_condition_comparison import DashboardCompoundComparisonConditionComparison from gooddata_api_client.model.dashboard_compound_condition_item import DashboardCompoundConditionItem from gooddata_api_client.model.dashboard_compound_range_condition import DashboardCompoundRangeCondition -from gooddata_api_client.model.dashboard_compound_range_condition_all_of import DashboardCompoundRangeConditionAllOf +from gooddata_api_client.model.dashboard_compound_range_condition_range import DashboardCompoundRangeConditionRange from gooddata_api_client.model.dashboard_context import DashboardContext from gooddata_api_client.model.dashboard_date_filter import DashboardDateFilter from gooddata_api_client.model.dashboard_date_filter_date_filter import DashboardDateFilterDateFilter @@ -181,7 +185,8 @@ from gooddata_api_client.model.dashboard_match_attribute_filter import DashboardMatchAttributeFilter from gooddata_api_client.model.dashboard_match_attribute_filter_match_attribute_filter import DashboardMatchAttributeFilterMatchAttributeFilter from gooddata_api_client.model.dashboard_measure_value_filter import DashboardMeasureValueFilter -from gooddata_api_client.model.dashboard_measure_value_filter_measure_value_filter import DashboardMeasureValueFilterMeasureValueFilter +from gooddata_api_client.model.dashboard_measure_value_filter_dashboard_measure_value_filter import DashboardMeasureValueFilterDashboardMeasureValueFilter +from gooddata_api_client.model.dashboard_parameter_value import DashboardParameterValue from gooddata_api_client.model.dashboard_permissions import DashboardPermissions from gooddata_api_client.model.dashboard_permissions_assignment import DashboardPermissionsAssignment from gooddata_api_client.model.dashboard_slides_template import DashboardSlidesTemplate @@ -335,6 +340,7 @@ from gooddata_api_client.model.execution_result_data_source_message import ExecutionResultDataSourceMessage from gooddata_api_client.model.execution_result_grand_total import ExecutionResultGrandTotal from gooddata_api_client.model.execution_result_header import ExecutionResultHeader +from gooddata_api_client.model.execution_result_limit_break import ExecutionResultLimitBreak from gooddata_api_client.model.execution_result_metadata import ExecutionResultMetadata from gooddata_api_client.model.execution_result_paging import ExecutionResultPaging from gooddata_api_client.model.execution_settings import ExecutionSettings @@ -400,6 +406,7 @@ from gooddata_api_client.model.inline_measure_definition_inline import InlineMeasureDefinitionInline from gooddata_api_client.model.insight_widget_descriptor import InsightWidgetDescriptor from gooddata_api_client.model.intro_slide_template import IntroSlideTemplate +from gooddata_api_client.model.ip_allowlist_policy_targets import IpAllowlistPolicyTargets from gooddata_api_client.model.json_api_agent_in import JsonApiAgentIn from gooddata_api_client.model.json_api_agent_in_attributes import JsonApiAgentInAttributes from gooddata_api_client.model.json_api_agent_in_document import JsonApiAgentInDocument @@ -644,6 +651,8 @@ from gooddata_api_client.model.json_api_dataset_patch_document import JsonApiDatasetPatchDocument from gooddata_api_client.model.json_api_dataset_to_many_linkage import JsonApiDatasetToManyLinkage from gooddata_api_client.model.json_api_dataset_to_one_linkage import JsonApiDatasetToOneLinkage +from gooddata_api_client.model.json_api_document_database_instance import JsonApiDocumentDatabaseInstance +from gooddata_api_client.model.json_api_document_pipe_table import JsonApiDocumentPipeTable from gooddata_api_client.model.json_api_entitlement_out import JsonApiEntitlementOut from gooddata_api_client.model.json_api_entitlement_out_attributes import JsonApiEntitlementOutAttributes from gooddata_api_client.model.json_api_entitlement_out_document import JsonApiEntitlementOutDocument @@ -734,6 +743,21 @@ from gooddata_api_client.model.json_api_identity_provider_patch import JsonApiIdentityProviderPatch from gooddata_api_client.model.json_api_identity_provider_patch_document import JsonApiIdentityProviderPatchDocument from gooddata_api_client.model.json_api_identity_provider_to_one_linkage import JsonApiIdentityProviderToOneLinkage +from gooddata_api_client.model.json_api_ip_allowlist_policy_in import JsonApiIpAllowlistPolicyIn +from gooddata_api_client.model.json_api_ip_allowlist_policy_in_attributes import JsonApiIpAllowlistPolicyInAttributes +from gooddata_api_client.model.json_api_ip_allowlist_policy_in_document import JsonApiIpAllowlistPolicyInDocument +from gooddata_api_client.model.json_api_ip_allowlist_policy_in_relationships import JsonApiIpAllowlistPolicyInRelationships +from gooddata_api_client.model.json_api_ip_allowlist_policy_out import JsonApiIpAllowlistPolicyOut +from gooddata_api_client.model.json_api_ip_allowlist_policy_out_document import JsonApiIpAllowlistPolicyOutDocument +from gooddata_api_client.model.json_api_ip_allowlist_policy_out_includes import JsonApiIpAllowlistPolicyOutIncludes +from gooddata_api_client.model.json_api_ip_allowlist_policy_out_list import JsonApiIpAllowlistPolicyOutList +from gooddata_api_client.model.json_api_ip_allowlist_policy_out_with_links import JsonApiIpAllowlistPolicyOutWithLinks +from gooddata_api_client.model.json_api_item_data_source_info import JsonApiItemDataSourceInfo +from gooddata_api_client.model.json_api_item_database_instance import JsonApiItemDatabaseInstance +from gooddata_api_client.model.json_api_item_object_storage_info import JsonApiItemObjectStorageInfo +from gooddata_api_client.model.json_api_item_pipe_table import JsonApiItemPipeTable +from gooddata_api_client.model.json_api_item_pipe_table_summary import JsonApiItemPipeTableSummary +from gooddata_api_client.model.json_api_item_service_info import JsonApiItemServiceInfo from gooddata_api_client.model.json_api_jwk_in import JsonApiJwkIn from gooddata_api_client.model.json_api_jwk_in_attributes import JsonApiJwkInAttributes from gooddata_api_client.model.json_api_jwk_in_attributes_content import JsonApiJwkInAttributesContent @@ -774,17 +798,13 @@ from gooddata_api_client.model.json_api_label_patch_document import JsonApiLabelPatchDocument from gooddata_api_client.model.json_api_label_to_many_linkage import JsonApiLabelToManyLinkage from gooddata_api_client.model.json_api_label_to_one_linkage import JsonApiLabelToOneLinkage -from gooddata_api_client.model.json_api_llm_endpoint_in import JsonApiLlmEndpointIn -from gooddata_api_client.model.json_api_llm_endpoint_in_attributes import JsonApiLlmEndpointInAttributes -from gooddata_api_client.model.json_api_llm_endpoint_in_document import JsonApiLlmEndpointInDocument -from gooddata_api_client.model.json_api_llm_endpoint_out import JsonApiLlmEndpointOut -from gooddata_api_client.model.json_api_llm_endpoint_out_attributes import JsonApiLlmEndpointOutAttributes -from gooddata_api_client.model.json_api_llm_endpoint_out_document import JsonApiLlmEndpointOutDocument -from gooddata_api_client.model.json_api_llm_endpoint_out_list import JsonApiLlmEndpointOutList -from gooddata_api_client.model.json_api_llm_endpoint_out_with_links import JsonApiLlmEndpointOutWithLinks -from gooddata_api_client.model.json_api_llm_endpoint_patch import JsonApiLlmEndpointPatch -from gooddata_api_client.model.json_api_llm_endpoint_patch_attributes import JsonApiLlmEndpointPatchAttributes -from gooddata_api_client.model.json_api_llm_endpoint_patch_document import JsonApiLlmEndpointPatchDocument +from gooddata_api_client.model.json_api_list_document_data_source_info import JsonApiListDocumentDataSourceInfo +from gooddata_api_client.model.json_api_list_document_database_instance import JsonApiListDocumentDatabaseInstance +from gooddata_api_client.model.json_api_list_document_object_storage_info import JsonApiListDocumentObjectStorageInfo +from gooddata_api_client.model.json_api_list_document_pipe_table_summary import JsonApiListDocumentPipeTableSummary +from gooddata_api_client.model.json_api_list_document_service_info import JsonApiListDocumentServiceInfo +from gooddata_api_client.model.json_api_list_links import JsonApiListLinks +from gooddata_api_client.model.json_api_list_meta import JsonApiListMeta from gooddata_api_client.model.json_api_llm_provider_in import JsonApiLlmProviderIn from gooddata_api_client.model.json_api_llm_provider_in_attributes import JsonApiLlmProviderInAttributes from gooddata_api_client.model.json_api_llm_provider_in_attributes_models_inner import JsonApiLlmProviderInAttributesModelsInner @@ -872,6 +892,7 @@ from gooddata_api_client.model.json_api_organization_setting_out_with_links import JsonApiOrganizationSettingOutWithLinks from gooddata_api_client.model.json_api_organization_setting_patch import JsonApiOrganizationSettingPatch from gooddata_api_client.model.json_api_organization_setting_patch_document import JsonApiOrganizationSettingPatchDocument +from gooddata_api_client.model.json_api_page_info import JsonApiPageInfo from gooddata_api_client.model.json_api_parameter_in import JsonApiParameterIn from gooddata_api_client.model.json_api_parameter_in_attributes import JsonApiParameterInAttributes from gooddata_api_client.model.json_api_parameter_in_attributes_definition import JsonApiParameterInAttributesDefinition @@ -1033,16 +1054,16 @@ from gooddata_api_client.model.key_drivers_response import KeyDriversResponse from gooddata_api_client.model.key_drivers_result import KeyDriversResult from gooddata_api_client.model.label_identifier import LabelIdentifier -from gooddata_api_client.model.list_database_data_sources_response import ListDatabaseDataSourcesResponse -from gooddata_api_client.model.list_database_instances_response import ListDatabaseInstancesResponse +from gooddata_api_client.model.ldm_object_permissions import LdmObjectPermissions +from gooddata_api_client.model.ldm_object_permissions_assignment import LdmObjectPermissionsAssignment +from gooddata_api_client.model.ldm_object_permissions_for_assignee import LdmObjectPermissionsForAssignee +from gooddata_api_client.model.ldm_object_permissions_for_assignee_all_of import LdmObjectPermissionsForAssigneeAllOf +from gooddata_api_client.model.ldm_object_permissions_for_assignee_rule import LdmObjectPermissionsForAssigneeRule from gooddata_api_client.model.list_links import ListLinks from gooddata_api_client.model.list_links_all_of import ListLinksAllOf from gooddata_api_client.model.list_llm_provider_models_request import ListLlmProviderModelsRequest from gooddata_api_client.model.list_llm_provider_models_request_provider_config import ListLlmProviderModelsRequestProviderConfig from gooddata_api_client.model.list_llm_provider_models_response import ListLlmProviderModelsResponse -from gooddata_api_client.model.list_object_storages_response import ListObjectStoragesResponse -from gooddata_api_client.model.list_pipe_tables_response import ListPipeTablesResponse -from gooddata_api_client.model.list_services_response import ListServicesResponse from gooddata_api_client.model.live_feature_flag_configuration import LiveFeatureFlagConfiguration from gooddata_api_client.model.live_features import LiveFeatures from gooddata_api_client.model.live_features_all_of import LiveFeaturesAllOf @@ -1051,6 +1072,7 @@ from gooddata_api_client.model.llm_provider_config import LlmProviderConfig from gooddata_api_client.model.local_identifier import LocalIdentifier from gooddata_api_client.model.locale_request import LocaleRequest +from gooddata_api_client.model.manage_attribute_permissions_request_inner import ManageAttributePermissionsRequestInner from gooddata_api_client.model.manage_dashboard_permissions_request_inner import ManageDashboardPermissionsRequestInner from gooddata_api_client.model.match_attribute_filter import MatchAttributeFilter from gooddata_api_client.model.match_attribute_filter_match_attribute_filter import MatchAttributeFilterMatchAttributeFilter @@ -1120,7 +1142,6 @@ from gooddata_api_client.model.pending_operation import PendingOperation from gooddata_api_client.model.permissions_assignment import PermissionsAssignment from gooddata_api_client.model.permissions_for_assignee import PermissionsForAssignee -from gooddata_api_client.model.permissions_for_assignee_all_of import PermissionsForAssigneeAllOf from gooddata_api_client.model.permissions_for_assignee_rule import PermissionsForAssigneeRule from gooddata_api_client.model.pipe_table import PipeTable from gooddata_api_client.model.pipe_table_distribution_config import PipeTableDistributionConfig @@ -1167,6 +1188,7 @@ from gooddata_api_client.model.reasoning_step import ReasoningStep from gooddata_api_client.model.reference_identifier import ReferenceIdentifier from gooddata_api_client.model.reference_source_column import ReferenceSourceColumn +from gooddata_api_client.model.refresh_partition_request import RefreshPartitionRequest from gooddata_api_client.model.relative import Relative from gooddata_api_client.model.relative_bounded_date_filter import RelativeBoundedDateFilter from gooddata_api_client.model.relative_date_filter import RelativeDateFilter @@ -1175,9 +1197,6 @@ from gooddata_api_client.model.remove_database_data_source_response import RemoveDatabaseDataSourceResponse from gooddata_api_client.model.resolve_settings_request import ResolveSettingsRequest from gooddata_api_client.model.resolved_llm import ResolvedLlm -from gooddata_api_client.model.resolved_llm_endpoint import ResolvedLlmEndpoint -from gooddata_api_client.model.resolved_llm_endpoint_all_of import ResolvedLlmEndpointAllOf -from gooddata_api_client.model.resolved_llm_endpoints import ResolvedLlmEndpoints from gooddata_api_client.model.resolved_llm_provider import ResolvedLlmProvider from gooddata_api_client.model.resolved_llm_provider_all_of import ResolvedLlmProviderAllOf from gooddata_api_client.model.resolved_llms import ResolvedLlms @@ -1257,7 +1276,6 @@ from gooddata_api_client.model.test_response import TestResponse from gooddata_api_client.model.thought import Thought from gooddata_api_client.model.time_slice_partition_config import TimeSlicePartitionConfig -from gooddata_api_client.model.tool_call_event_result import ToolCallEventResult from gooddata_api_client.model.total import Total from gooddata_api_client.model.total_dimension import TotalDimension from gooddata_api_client.model.total_execution_result_header import TotalExecutionResultHeader @@ -1288,9 +1306,6 @@ from gooddata_api_client.model.user_management_workspace_permission_assignment import UserManagementWorkspacePermissionAssignment from gooddata_api_client.model.user_permission import UserPermission from gooddata_api_client.model.validate_by_item import ValidateByItem -from gooddata_api_client.model.validate_llm_endpoint_by_id_request import ValidateLLMEndpointByIdRequest -from gooddata_api_client.model.validate_llm_endpoint_request import ValidateLLMEndpointRequest -from gooddata_api_client.model.validate_llm_endpoint_response import ValidateLLMEndpointResponse from gooddata_api_client.model.value import Value from gooddata_api_client.model.visible_filter import VisibleFilter from gooddata_api_client.model.visual_export_request import VisualExportRequest diff --git a/schemas/gooddata-afm-client.json b/schemas/gooddata-afm-client.json index 421522b3d..f542a9865 100644 --- a/schemas/gooddata-afm-client.json +++ b/schemas/gooddata-afm-client.json @@ -784,6 +784,68 @@ ], "type": "object" }, + "AnthropicApiKeyAuth": { + "allOf": [ + { + "properties": { + "apiKey": { + "description": "Anthropic API key.", + "maxLength": 255, + "nullable": true, + "type": "string", + "writeOnly": true + }, + "type": { + "description": "Authentication type.", + "enum": [ + "API_KEY" + ], + "type": "string" + } + }, + "type": "object" + } + ], + "required": [ + "type" + ], + "type": "object" + }, + "AnthropicProviderAuth": { + "description": "Authentication configuration.", + "oneOf": [ + { + "$ref": "#/components/schemas/AnthropicApiKeyAuth" + } + ], + "type": "object" + }, + "AnthropicProviderConfig": { + "description": "Configuration for Anthropic provider.", + "properties": { + "auth": { + "$ref": "#/components/schemas/AnthropicProviderAuth" + }, + "baseUrl": { + "default": "https://api.anthropic.com", + "description": "Custom base URL for the Anthropic API. Defaults to the official endpoint; override only for enterprise proxies or compatible gateways.", + "maxLength": 255, + "type": "string" + }, + "type": { + "description": "Provider type.", + "enum": [ + "ANTHROPIC" + ], + "type": "string" + } + }, + "required": [ + "auth", + "type" + ], + "type": "object" + }, "ArithmeticMeasureDefinition": { "description": "Metric representing arithmetics between other metrics.", "properties": { @@ -1684,13 +1746,6 @@ "description": "Chat History thread suffix appended to ID generated by backend. Enables more chat windows.", "type": "string" }, - "toolCallEvents": { - "description": "Tool call events emitted during the agentic loop (only present when GEN_AI_YIELD_TOOL_CALL_EVENTS is enabled).", - "items": { - "$ref": "#/components/schemas/ToolCallEventResult" - }, - "type": "array" - }, "usage": { "description": "AI usage metadata returned after the interaction (e.g. current query count vs. entitlement limit).", "items": { @@ -2994,6 +3049,30 @@ ], "type": "object" }, + "ExecutionResultLimitBreak": { + "description": "Describes a limit that was broken, resulting in partial data being returned.", + "properties": { + "limit": { + "description": "The configured threshold value.", + "format": "int64", + "type": "integer" + }, + "limitType": { + "description": "Type of the limit that was broken, e.g. \"rowCount\".", + "type": "string" + }, + "value": { + "description": "The actual value that triggered the limit; null when it cannot be determined exactly.", + "format": "int64", + "type": "integer" + } + }, + "required": [ + "limit", + "limitType" + ], + "type": "object" + }, "ExecutionResultMetadata": { "description": "Additional metadata for the particular execution result.", "properties": { @@ -3003,6 +3082,13 @@ "$ref": "#/components/schemas/ExecutionResultDataSourceMessage" }, "type": "array" + }, + "limitBreaks": { + "description": "Limits that were broken during result computation, causing the result to be partial. Absent when the result is complete.", + "items": { + "$ref": "#/components/schemas/ExecutionResultLimitBreak" + }, + "type": "array" } }, "required": [ @@ -3560,6 +3646,340 @@ ], "type": "object" }, + "JsonApiDocumentDatabaseInstance": { + "description": "JSON:API-compatible single-resource response envelope", + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiItemDatabaseInstance" + }, + "links": { + "$ref": "#/components/schemas/JsonApiListLinks" + } + }, + "required": [ + "data", + "links" + ], + "type": "object" + }, + "JsonApiDocumentPipeTable": { + "description": "JSON:API-compatible single-resource response envelope", + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiItemPipeTable" + }, + "links": { + "$ref": "#/components/schemas/JsonApiListLinks" + } + }, + "required": [ + "data", + "links" + ], + "type": "object" + }, + "JsonApiItemDataSourceInfo": { + "description": "A single JSON:API resource item", + "properties": { + "attributes": { + "$ref": "#/components/schemas/DataSourceInfo" + }, + "id": { + "description": "Resource identifier", + "type": "string" + }, + "type": { + "description": "Resource type", + "type": "string" + } + }, + "required": [ + "attributes", + "id", + "type" + ], + "type": "object" + }, + "JsonApiItemDatabaseInstance": { + "description": "A single JSON:API resource item", + "properties": { + "attributes": { + "$ref": "#/components/schemas/DatabaseInstance" + }, + "id": { + "description": "Resource identifier", + "type": "string" + }, + "type": { + "description": "Resource type", + "type": "string" + } + }, + "required": [ + "attributes", + "id", + "type" + ], + "type": "object" + }, + "JsonApiItemObjectStorageInfo": { + "description": "A single JSON:API resource item", + "properties": { + "attributes": { + "$ref": "#/components/schemas/ObjectStorageInfo" + }, + "id": { + "description": "Resource identifier", + "type": "string" + }, + "type": { + "description": "Resource type", + "type": "string" + } + }, + "required": [ + "attributes", + "id", + "type" + ], + "type": "object" + }, + "JsonApiItemPipeTable": { + "description": "A single JSON:API resource item", + "properties": { + "attributes": { + "$ref": "#/components/schemas/PipeTable" + }, + "id": { + "description": "Resource identifier", + "type": "string" + }, + "type": { + "description": "Resource type", + "type": "string" + } + }, + "required": [ + "attributes", + "id", + "type" + ], + "type": "object" + }, + "JsonApiItemPipeTableSummary": { + "description": "A single JSON:API resource item", + "properties": { + "attributes": { + "$ref": "#/components/schemas/PipeTableSummary" + }, + "id": { + "description": "Resource identifier", + "type": "string" + }, + "type": { + "description": "Resource type", + "type": "string" + } + }, + "required": [ + "attributes", + "id", + "type" + ], + "type": "object" + }, + "JsonApiItemServiceInfo": { + "description": "A single JSON:API resource item", + "properties": { + "attributes": { + "$ref": "#/components/schemas/ServiceInfo" + }, + "id": { + "description": "Resource identifier", + "type": "string" + }, + "type": { + "description": "Resource type", + "type": "string" + } + }, + "required": [ + "attributes", + "id", + "type" + ], + "type": "object" + }, + "JsonApiListDocumentDataSourceInfo": { + "description": "JSON:API-compatible list response envelope", + "properties": { + "data": { + "description": "Array of resource items", + "items": { + "$ref": "#/components/schemas/JsonApiItemDataSourceInfo" + }, + "type": "array" + }, + "links": { + "$ref": "#/components/schemas/JsonApiListLinks" + }, + "meta": { + "$ref": "#/components/schemas/JsonApiListMeta" + } + }, + "required": [ + "data", + "links" + ], + "type": "object" + }, + "JsonApiListDocumentDatabaseInstance": { + "description": "JSON:API-compatible list response envelope", + "properties": { + "data": { + "description": "Array of resource items", + "items": { + "$ref": "#/components/schemas/JsonApiItemDatabaseInstance" + }, + "type": "array" + }, + "links": { + "$ref": "#/components/schemas/JsonApiListLinks" + }, + "meta": { + "$ref": "#/components/schemas/JsonApiListMeta" + } + }, + "required": [ + "data", + "links" + ], + "type": "object" + }, + "JsonApiListDocumentObjectStorageInfo": { + "description": "JSON:API-compatible list response envelope", + "properties": { + "data": { + "description": "Array of resource items", + "items": { + "$ref": "#/components/schemas/JsonApiItemObjectStorageInfo" + }, + "type": "array" + }, + "links": { + "$ref": "#/components/schemas/JsonApiListLinks" + }, + "meta": { + "$ref": "#/components/schemas/JsonApiListMeta" + } + }, + "required": [ + "data", + "links" + ], + "type": "object" + }, + "JsonApiListDocumentPipeTableSummary": { + "description": "JSON:API-compatible list response envelope", + "properties": { + "data": { + "description": "Array of resource items", + "items": { + "$ref": "#/components/schemas/JsonApiItemPipeTableSummary" + }, + "type": "array" + }, + "links": { + "$ref": "#/components/schemas/JsonApiListLinks" + }, + "meta": { + "$ref": "#/components/schemas/JsonApiListMeta" + } + }, + "required": [ + "data", + "links" + ], + "type": "object" + }, + "JsonApiListDocumentServiceInfo": { + "description": "JSON:API-compatible list response envelope", + "properties": { + "data": { + "description": "Array of resource items", + "items": { + "$ref": "#/components/schemas/JsonApiItemServiceInfo" + }, + "type": "array" + }, + "links": { + "$ref": "#/components/schemas/JsonApiListLinks" + }, + "meta": { + "$ref": "#/components/schemas/JsonApiListMeta" + } + }, + "required": [ + "data", + "links" + ], + "type": "object" + }, + "JsonApiListLinks": { + "description": "Links object for a list response", + "properties": { + "self": { + "description": "The URL of this response", + "type": "string" + } + }, + "required": [ + "self" + ], + "type": "object" + }, + "JsonApiListMeta": { + "description": "Metadata for a paginated list response", + "properties": { + "page": { + "$ref": "#/components/schemas/JsonApiPageInfo" + } + }, + "required": [ + "page" + ], + "type": "object" + }, + "JsonApiPageInfo": { + "description": "Pagination information", + "properties": { + "number": { + "description": "Zero-based page number", + "format": "int32", + "type": "integer" + }, + "size": { + "description": "Page size", + "format": "int32", + "type": "integer" + }, + "totalElements": { + "description": "Total number of elements; only present when metaInclude=page was requested", + "format": "int32", + "type": "integer" + }, + "totalPages": { + "description": "Total number of pages; only present when metaInclude=page was requested", + "format": "int32", + "type": "integer" + } + }, + "required": [ + "number", + "size" + ], + "type": "object" + }, "JsonNode": { "description": "The payload to pass to the command", "nullable": true, @@ -3706,47 +4126,13 @@ ], "type": "object" }, - "ListDatabaseDataSourcesResponse": { - "description": "All data source associations for an AI Lake Database instance", - "properties": { - "dataSources": { - "description": "List of data source associations.", - "items": { - "$ref": "#/components/schemas/DataSourceInfo" - }, - "type": "array" - } - }, - "required": [ - "dataSources" - ], - "type": "object" - }, - "ListDatabaseInstancesResponse": { - "description": "Paged response for listing AI Lake database instances", - "properties": { - "databases": { - "description": "List of database instances", - "items": { - "$ref": "#/components/schemas/DatabaseInstance" - }, - "type": "array" - }, - "totalCount": { - "description": "Total count of items (only set when metaInclude=page)", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "databases" - ], - "type": "object" - }, "ListLlmProviderModelsRequest": { "properties": { "providerConfig": { "oneOf": [ + { + "$ref": "#/components/schemas/AnthropicProviderConfig" + }, { "$ref": "#/components/schemas/AwsBedrockProviderConfig" }, @@ -3789,59 +4175,6 @@ ], "type": "object" }, - "ListObjectStoragesResponse": { - "description": "Response for listing ObjectStorages registered for the organization.", - "properties": { - "storages": { - "description": "Registered storages, ordered by name.", - "items": { - "$ref": "#/components/schemas/ObjectStorageInfo" - }, - "type": "array" - } - }, - "required": [ - "storages" - ], - "type": "object" - }, - "ListPipeTablesResponse": { - "description": "List of pipe tables for a database instance", - "properties": { - "pipeTables": { - "description": "Pipe tables in the requested database", - "items": { - "$ref": "#/components/schemas/PipeTableSummary" - }, - "type": "array" - } - }, - "required": [ - "pipeTables" - ], - "type": "object" - }, - "ListServicesResponse": { - "description": "Paged response for listing AI Lake services", - "properties": { - "services": { - "description": "List of services", - "items": { - "$ref": "#/components/schemas/ServiceInfo" - }, - "type": "array" - }, - "totalCount": { - "description": "Total count of items (only set when metaInclude=page)", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "services" - ], - "type": "object" - }, "LlmModel": { "description": "LLM Model configuration (id, family) within a provider.", "properties": { @@ -3874,6 +4207,9 @@ "LlmProviderConfig": { "description": "Provider configuration overrides.", "oneOf": [ + { + "$ref": "#/components/schemas/AnthropicProviderConfig" + }, { "$ref": "#/components/schemas/AwsBedrockProviderConfig" }, @@ -4447,14 +4783,15 @@ "type": "string" }, "kind": { - "description": "Type of the long-running operation.\n* `provision-database` — Provisioning of an AI Lake database.\n* `deprovision-database` — Deprovisioning (deletion) of an AI Lake database.\n* `run-service-command` — Running a command in a particular AI Lake service.\n* `create-pipe-table` — Creating a pipe table backed by an S3 data source.\n* `delete-pipe-table` — Deleting a pipe table.\n* `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection.\n", + "description": "Type of the long-running operation.\n* `provision-database` — Provisioning of an AI Lake database.\n* `deprovision-database` — Deprovisioning (deletion) of an AI Lake database.\n* `run-service-command` — Running a command in a particular AI Lake service.\n* `create-pipe-table` — Creating a pipe table backed by an S3 data source.\n* `delete-pipe-table` — Deleting a pipe table.\n* `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection.\n* `refresh-partition` — Refreshing a specific Hive partition (delete + re-load from S3).\n", "enum": [ "provision-database", "deprovision-database", "run-service-command", "create-pipe-table", "delete-pipe-table", - "analyze-statistics" + "analyze-statistics", + "refresh-partition" ], "type": "string" }, @@ -4618,7 +4955,7 @@ }, "next": { "description": "Link to next page, or null if this is last page.", - "example": "https://sample.gooddata.com/api/v1/actions/workspaces/sampleWorkspace/execution/collectLabelElements?label=sample.price&limit=5&offset=10", + "example": "https://sample.gooddata.ai/api/v1/actions/workspaces/sampleWorkspace/execution/collectLabelElements?label=sample.price&limit=5&offset=10", "type": "string" }, "offset": { @@ -5319,6 +5656,23 @@ ], "type": "object" }, + "RefreshPartitionRequest": { + "description": "Request to refresh a specific Hive partition in a pipe-backed OLAP table", + "properties": { + "partitionSpec": { + "additionalProperties": { + "description": "Partition column values identifying the partition to refresh. Keys must match the table's partition_columns exactly. Example: {\"date\": \"2026-01-01\"}", + "type": "string" + }, + "description": "Partition column values identifying the partition to refresh. Keys must match the table's partition_columns exactly. Example: {\"date\": \"2026-01-01\"}", + "type": "object" + } + }, + "required": [ + "partitionSpec" + ], + "type": "object" + }, "RelativeDateFilter": { "description": "A date filter specifying a time interval that is relative to the current date. For example, last week, next month, and so on. Field dataset is representing qualifier of date dimension. The 'from' and 'to' properties mark the boundaries of the interval. If 'from' is omitted, all values earlier than 'to' are included. If 'to' is omitted, all values later than 'from' are included. It is not allowed to omit both.", "properties": { @@ -5428,45 +5782,6 @@ ], "type": "object" }, - "ResolvedLlmEndpoint": { - "allOf": [ - { - "$ref": "#/components/schemas/ResolvedLlm" - }, - { - "properties": { - "id": { - "description": "Endpoint Id", - "type": "string" - }, - "title": { - "description": "Endpoint Title", - "type": "string" - } - }, - "type": "object" - } - ], - "required": [ - "id", - "title" - ], - "type": "object" - }, - "ResolvedLlmEndpoints": { - "properties": { - "data": { - "items": { - "$ref": "#/components/schemas/ResolvedLlmEndpoint" - }, - "type": "array" - } - }, - "required": [ - "data" - ], - "type": "object" - }, "ResolvedLlmProvider": { "allOf": [ { @@ -5505,9 +5820,6 @@ "properties": { "data": { "oneOf": [ - { - "$ref": "#/components/schemas/ResolvedLlmEndpoint" - }, { "$ref": "#/components/schemas/ResolvedLlmProvider" } @@ -5616,6 +5928,10 @@ "RichTextWidgetDescriptor": { "description": "Rich text widget displaying static content. Has no execution result.", "properties": { + "content": { + "description": "Markdown/text content of the rich text widget.", + "type": "string" + }, "filters": { "description": "Filters currently applied to the dashboard.", "items": { @@ -6189,6 +6505,9 @@ }, "providerConfig": { "oneOf": [ + { + "$ref": "#/components/schemas/AnthropicProviderConfig" + }, { "$ref": "#/components/schemas/AwsBedrockProviderConfig" }, @@ -6214,6 +6533,9 @@ }, "providerConfig": { "oneOf": [ + { + "$ref": "#/components/schemas/AnthropicProviderConfig" + }, { "$ref": "#/components/schemas/AwsBedrockProviderConfig" }, @@ -6306,29 +6628,6 @@ ], "type": "object" }, - "ToolCallEventResult": { - "description": "Tool call events emitted during the agentic loop (only present when GEN_AI_YIELD_TOOL_CALL_EVENTS is enabled).", - "properties": { - "functionArguments": { - "description": "JSON-encoded arguments passed to the tool function.", - "type": "string" - }, - "functionName": { - "description": "Name of the tool function that was called.", - "type": "string" - }, - "result": { - "description": "Result returned by the tool function.", - "type": "string" - } - }, - "required": [ - "functionArguments", - "functionName", - "result" - ], - "type": "object" - }, "Total": { "description": "Definition of a total. There are two types of totals: grand totals and subtotals. Grand total data will be returned in a separate section of the result structure while subtotals are fully integrated into the main result data. The mechanism for this distinction is automatic and it's described in `TotalDimension`", "properties": { @@ -6628,99 +6927,28 @@ }, "type": "array" }, - "view": { - "$ref": "#/components/schemas/UIContext" - } - }, - "type": "object" - }, - "ValidateByItem": { - "nullable": true, - "properties": { - "id": { - "description": "Specifies entity used for valid elements computation.", - "type": "string" - }, - "type": { - "description": "Specifies entity type which could be label, attribute, fact, or metric.", - "pattern": "^(label)|(attribute)|(fact)|(metric)$", - "type": "string" - } - }, - "required": [ - "id", - "type" - ], - "type": "object" - }, - "ValidateLLMEndpointByIdRequest": { - "properties": { - "baseUrl": { - "description": "Base URL for the LLM endpoint validation", - "type": "string" - }, - "llmModel": { - "description": "LLM model for the LLM endpoint validation", - "type": "string" - }, - "llmOrganization": { - "description": "Organization name for the LLM endpoint validation", - "type": "string" - }, - "provider": { - "description": "Provider for the LLM endpoint validation", - "type": "string" - }, - "token": { - "description": "Token for the LLM endpoint validation", - "type": "string" - } - }, - "type": "object" - }, - "ValidateLLMEndpointRequest": { - "properties": { - "baseUrl": { - "description": "Base URL for the LLM endpoint validation", - "type": "string" - }, - "llmModel": { - "description": "LLM model for the LLM endpoint validation", - "type": "string" - }, - "llmOrganization": { - "description": "Organization name for the LLM endpoint validation", - "type": "string" - }, - "provider": { - "description": "Provider for the LLM endpoint validation", - "type": "string" - }, - "token": { - "description": "Token for the LLM endpoint validation", - "type": "string" + "view": { + "$ref": "#/components/schemas/UIContext" } }, - "required": [ - "provider", - "token" - ], "type": "object" }, - "ValidateLLMEndpointResponse": { + "ValidateByItem": { + "nullable": true, "properties": { - "message": { - "description": "Additional message about the LLM endpoint validation", + "id": { + "description": "Specifies entity used for valid elements computation.", "type": "string" }, - "successful": { - "description": "Whether the LLM endpoint validation was successful", - "type": "boolean" + "type": { + "description": "Specifies entity type which could be label, attribute, fact, or metric.", + "pattern": "^(label)|(attribute)|(fact)|(metric)$", + "type": "string" } }, "required": [ - "message", - "successful" + "id", + "type" ], "type": "object" }, @@ -6992,31 +7220,14 @@ "/api/v1/actions/ai/llmEndpoint/test": { "post": { "deprecated": true, - "description": "Will be soon removed and replaced by testLlmProvider.", + "description": "Permanently removed. Use POST /api/v1/actions/ai/llmProvider/test instead. Always returns 410 Gone.", "operationId": "validateLLMEndpoint", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidateLLMEndpointRequest" - } - } - }, - "required": true - }, "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidateLLMEndpointResponse" - } - } - }, - "description": "OK" + "410": { + "description": "Gone" } }, - "summary": "Validate LLM Endpoint", + "summary": "Validate LLM Endpoint (Removed)", "tags": [ "Smart Functions", "actions" @@ -7026,7 +7237,7 @@ "/api/v1/actions/ai/llmEndpoint/{llmEndpointId}/test": { "post": { "deprecated": true, - "description": "Will be soon removed and replaced by testLlmProviderById.", + "description": "Permanently removed. Use POST /api/v1/actions/ai/llmProvider/{llmProviderId}/test instead. Always returns 410 Gone.", "operationId": "validateLLMEndpointById", "parameters": [ { @@ -7038,28 +7249,12 @@ } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidateLLMEndpointByIdRequest" - } - } - } - }, "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidateLLMEndpointResponse" - } - } - }, - "description": "OK" + "410": { + "description": "Gone" } }, - "summary": "Validate LLM Endpoint By Id", + "summary": "Validate LLM Endpoint By Id (Removed)", "tags": [ "Smart Functions", "actions" @@ -7726,7 +7921,7 @@ "/api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmEndpoints": { "get": { "deprecated": true, - "description": "Will be soon removed and replaced by LlmProvider-based resolution.", + "description": "Permanently removed. Use GET /api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmProviders instead. Always returns 410 Gone.", "operationId": "resolveLlmEndpoints", "parameters": [ { @@ -7741,18 +7936,11 @@ } ], "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ResolvedLlmEndpoints" - } - } - }, - "description": "OK" + "410": { + "description": "Gone" } }, - "summary": "Get Active LLM Endpoints for this workspace", + "summary": "Get Active LLM Endpoints for this workspace (Removed)", "tags": [ "Smart Functions", "actions" @@ -7761,7 +7949,7 @@ }, "/api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmProviders": { "get": { - "description": "Resolves the active LLM configuration for the given workspace. When the ENABLE_LLM_ENDPOINT_REPLACEMENT feature flag is enabled, returns LLM Providers with their associated models. Otherwise, falls back to the legacy LLM Endpoints.", + "description": "Resolves the active LLM provider configuration for the given workspace.", "operationId": "resolveLlmProviders", "parameters": [ { @@ -9383,27 +9571,32 @@ }, "/api/v1/ailake/database/instances": { "get": { - "description": "(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.", + "description": "(BETA) Lists database instances in the organization's AI Lake.", "operationId": "listAiLakeDatabaseInstances", "parameters": [ { + "description": "Zero-based page number.", "in": "query", - "name": "size", + "name": "page", "required": false, "schema": { - "default": 50, - "format": "int32", - "type": "integer" + "default": "0", + "description": "Zero-based page number.", + "minimum": 0, + "type": "string" } }, { + "description": "Number of items per page.", "in": "query", - "name": "offset", + "name": "size", "required": false, "schema": { - "default": 0, - "format": "int32", - "type": "integer" + "default": "50", + "description": "Number of items per page.", + "maximum": 500, + "minimum": 1, + "type": "string" } }, { @@ -9424,7 +9617,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ListDatabaseInstancesResponse" + "$ref": "#/components/schemas/JsonApiListDocumentDatabaseInstance" } } }, @@ -9599,7 +9792,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DatabaseInstance" + "$ref": "#/components/schemas/JsonApiDocumentDatabaseInstance" } } }, @@ -9740,7 +9933,7 @@ }, "/api/v1/ailake/database/instances/{instanceId}/dataSources": { "get": { - "description": "(BETA) Returns all data source associations for the specified AI Lake database instance.", + "description": "(BETA) Returns data source associations for the specified AI Lake database instance.", "operationId": "listAiLakeDatabaseDataSources", "parameters": [ { @@ -9752,6 +9945,43 @@ "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", "type": "string" } + }, + { + "description": "Zero-based page number.", + "in": "query", + "name": "page", + "required": false, + "schema": { + "default": "0", + "description": "Zero-based page number.", + "minimum": 0, + "type": "string" + } + }, + { + "description": "Number of items per page.", + "in": "query", + "name": "size", + "required": false, + "schema": { + "default": "50", + "description": "Number of items per page.", + "maximum": 500, + "minimum": 1, + "type": "string" + } + }, + { + "in": "query", + "name": "metaInclude", + "required": false, + "schema": { + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": true + } } ], "responses": { @@ -9759,7 +9989,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ListDatabaseDataSourcesResponse" + "$ref": "#/components/schemas/JsonApiListDocumentDataSourceInfo" } } }, @@ -9881,7 +10111,7 @@ }, "/api/v1/ailake/database/instances/{instanceId}/pipeTables": { "get": { - "description": "(BETA) Lists all active pipe tables in the given AI Lake database instance.", + "description": "(BETA) Lists active pipe tables in the given AI Lake database instance.", "operationId": "listAiLakePipeTables", "parameters": [ { @@ -9893,6 +10123,43 @@ "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", "type": "string" } + }, + { + "description": "Zero-based page number.", + "in": "query", + "name": "page", + "required": false, + "schema": { + "default": "0", + "description": "Zero-based page number.", + "minimum": 0, + "type": "string" + } + }, + { + "description": "Number of items per page.", + "in": "query", + "name": "size", + "required": false, + "schema": { + "default": "50", + "description": "Number of items per page.", + "maximum": 500, + "minimum": 1, + "type": "string" + } + }, + { + "in": "query", + "name": "metaInclude", + "required": false, + "schema": { + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": true + } } ], "responses": { @@ -9900,7 +10167,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ListPipeTablesResponse" + "$ref": "#/components/schemas/JsonApiListDocumentPipeTableSummary" } } }, @@ -10105,7 +10372,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PipeTable" + "$ref": "#/components/schemas/JsonApiDocumentPipeTable" } } }, @@ -10125,16 +10392,144 @@ } } }, - "/api/v1/ailake/object-storages": { + "/api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName}/refresh": { + "post": { + "description": "(BETA) Deletes all rows for the specified Hive partition and re-loads them from S3. Use after overwriting a partition file in object storage with corrected data. Returns an operation-id header the client can use to poll for progress.", + "operationId": "refreshAiLakePipeTablePartition", + "parameters": [ + { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "in": "path", + "name": "instanceId", + "required": true, + "schema": { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "type": "string" + } + }, + { + "description": "Pipe table name.", + "in": "path", + "name": "tableName", + "required": true, + "schema": { + "description": "Pipe table name.", + "type": "string" + } + }, + { + "in": "header", + "name": "operation-id", + "required": false, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RefreshPartitionRequest" + } + } + }, + "required": true + }, + "responses": { + "202": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Unit" + } + } + }, + "description": "Accepted", + "headers": { + "operation-id": { + "description": "Operation ID to use for polling.", + "example": "e9fd5d74-8a1b-46bd-ac60-bd91e9206897", + "required": true, + "schema": { + "type": "string" + }, + "style": "simple" + }, + "operation-location": { + "description": "Operation location URL.", + "example": "/api/v1/ailake/operations/e9fd5d74-8a1b-46bd-ac60-bd91e9206897", + "required": true, + "schema": { + "type": "string" + }, + "style": "simple" + } + } + } + }, + "summary": "(BETA) Refresh a pipe table partition", + "tags": [ + "AI Lake", + "AI Lake - Pipe Tables" + ], + "x-gdc-security-info": { + "description": "Permissions required to refresh an AI Lake pipe table partition.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/ailake/objectStorages": { "get": { "description": "(BETA) Lists ObjectStorages registered for the organization. Use the returned `name` as `sourceStorageName` in CreatePipeTable, or pass `storageId` to the ProvisionDatabase `storageIds` list. Provider credentials are stripped — only safe descriptors (id, name, type, bucket, region, endpoint, …) are returned.", "operationId": "listAiLakeObjectStorages", + "parameters": [ + { + "description": "Zero-based page number.", + "in": "query", + "name": "page", + "required": false, + "schema": { + "default": "0", + "description": "Zero-based page number.", + "minimum": 0, + "type": "string" + } + }, + { + "description": "Number of items per page.", + "in": "query", + "name": "size", + "required": false, + "schema": { + "default": "50", + "description": "Number of items per page.", + "maximum": 500, + "minimum": 1, + "type": "string" + } + }, + { + "in": "query", + "name": "metaInclude", + "required": false, + "schema": { + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": true + } + } + ], "responses": { "200": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ListObjectStoragesResponse" + "$ref": "#/components/schemas/JsonApiListDocumentObjectStorageInfo" } } }, @@ -10207,27 +10602,32 @@ }, "/api/v1/ailake/services": { "get": { - "description": "(BETA) Lists services configured for the organization's AI Lake. Returns only non-sensitive fields (id, name). Supports paging via size and offset query parameters. Use metaInclude=page to get total count.", + "description": "(BETA) Lists services configured for the organization's AI Lake. Returns only non-sensitive fields (id, name).", "operationId": "listAiLakeServices", "parameters": [ { + "description": "Zero-based page number.", "in": "query", - "name": "size", + "name": "page", "required": false, "schema": { - "default": 50, - "format": "int32", - "type": "integer" + "default": "0", + "description": "Zero-based page number.", + "minimum": 0, + "type": "string" } }, { + "description": "Number of items per page.", "in": "query", - "name": "offset", + "name": "size", "required": false, "schema": { - "default": 0, - "format": "int32", - "type": "integer" + "default": "50", + "description": "Number of items per page.", + "maximum": 500, + "minimum": 1, + "type": "string" } }, { @@ -10248,7 +10648,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ListServicesResponse" + "$ref": "#/components/schemas/JsonApiListDocumentServiceInfo" } } }, diff --git a/schemas/gooddata-api-client.json b/schemas/gooddata-api-client.json index 652e4a393..65bb11271 100644 --- a/schemas/gooddata-api-client.json +++ b/schemas/gooddata-api-client.json @@ -1316,6 +1316,68 @@ ], "type": "object" }, + "AnthropicApiKeyAuth": { + "allOf": [ + { + "properties": { + "apiKey": { + "description": "Anthropic API key.", + "maxLength": 255, + "nullable": true, + "type": "string", + "writeOnly": true + }, + "type": { + "description": "Authentication type.", + "enum": [ + "API_KEY" + ], + "type": "string" + } + }, + "type": "object" + } + ], + "required": [ + "type" + ], + "type": "object" + }, + "AnthropicProviderAuth": { + "description": "Authentication configuration.", + "oneOf": [ + { + "$ref": "#/components/schemas/AnthropicApiKeyAuth" + } + ], + "type": "object" + }, + "AnthropicProviderConfig": { + "description": "Configuration for Anthropic provider.", + "properties": { + "auth": { + "$ref": "#/components/schemas/AnthropicProviderAuth" + }, + "baseUrl": { + "default": "https://api.anthropic.com", + "description": "Custom base URL for the Anthropic API. Defaults to the official endpoint; override only for enterprise proxies or compatible gateways.", + "maxLength": 255, + "type": "string" + }, + "type": { + "description": "Provider type.", + "enum": [ + "ANTHROPIC" + ], + "type": "string" + } + }, + "required": [ + "auth", + "type" + ], + "type": "object" + }, "ApiEntitlement": { "properties": { "expiry": { @@ -1355,7 +1417,8 @@ "AiModule", "AiQueryLimit", "AiKnowledgeStorageLimit", - "AiAgentLimit" + "AiAgentLimit", + "AiWorkspaceLimit" ], "type": "string" }, @@ -2666,13 +2729,6 @@ "description": "Chat History thread suffix appended to ID generated by backend. Enables more chat windows.", "type": "string" }, - "toolCallEvents": { - "description": "Tool call events emitted during the agentic loop (only present when GEN_AI_YIELD_TOOL_CALL_EVENTS is enabled).", - "items": { - "$ref": "#/components/schemas/ToolCallEventResult" - }, - "type": "array" - }, "usage": { "description": "AI usage metadata returned after the interaction (e.g. current query count vs. entitlement limit).", "items": { @@ -3868,8 +3924,8 @@ "type": "object" }, "DashboardCompoundComparisonCondition": { - "allOf": [ - { + "properties": { + "comparison": { "properties": { "operator": { "enum": [ @@ -3882,17 +3938,24 @@ ], "type": "string" }, + "treatNullValuesAs": { + "format": "double", + "type": "number" + }, "value": { "format": "double", "type": "number" } }, + "required": [ + "operator", + "value" + ], "type": "object" } - ], + }, "required": [ - "operator", - "value" + "comparison" ], "type": "object" }, @@ -3908,8 +3971,8 @@ "type": "object" }, "DashboardCompoundRangeCondition": { - "allOf": [ - { + "properties": { + "range": { "properties": { "from": { "format": "double", @@ -3925,15 +3988,22 @@ "to": { "format": "double", "type": "number" + }, + "treatNullValuesAs": { + "format": "double", + "type": "number" } }, + "required": [ + "from", + "operator", + "to" + ], "type": "object" } - ], + }, "required": [ - "from", - "operator", - "to" + "range" ], "type": "object" }, @@ -4160,7 +4230,7 @@ }, "DashboardMeasureValueFilter": { "properties": { - "measureValueFilter": { + "dashboardMeasureValueFilter": { "properties": { "conditions": { "items": { @@ -4168,6 +4238,12 @@ }, "type": "array" }, + "dimensionality": { + "items": { + "$ref": "#/components/schemas/IdentifierRef" + }, + "type": "array" + }, "localIdentifier": { "type": "string" }, @@ -4186,7 +4262,33 @@ } }, "required": [ - "measureValueFilter" + "dashboardMeasureValueFilter" + ], + "type": "object" + }, + "DashboardParameterValue": { + "description": "Parameter value override applied to the export. The (id, value) pair drives the execution; the title is FE-supplied for info-sheet display.", + "properties": { + "id": { + "description": "Identifier of the workspace parameter (matches the parameter entity id).", + "example": "year", + "type": "string" + }, + "title": { + "description": "Display title of the parameter as the client wants it rendered on the info sheet.", + "example": "Year", + "type": "string" + }, + "value": { + "description": "Value to use for this parameter when executing the export.", + "example": "2026", + "type": "string" + } + }, + "required": [ + "id", + "title", + "value" ], "type": "object" }, @@ -4289,6 +4391,13 @@ }, "type": "array" }, + "dashboardParametersOverride": { + "description": "Parameter value overrides applied to the export's executions. Each entry carries the parameter id (used as an AFM execution override) plus the FE-supplied title for the info sheet. Applied uniformly across all tabs; use dashboardTabsParametersOverrides for tab-scoped overrides.", + "items": { + "$ref": "#/components/schemas/DashboardParameterValue" + }, + "type": "array" + }, "dashboardTabsFiltersOverrides": { "additionalProperties": { "items": { @@ -4299,6 +4408,16 @@ "description": "Map of tab-specific filter overrides. Key is tabId, value is list of filters for that tab.", "type": "object" }, + "dashboardTabsParametersOverrides": { + "additionalProperties": { + "items": { + "$ref": "#/components/schemas/DashboardParameterValue" + }, + "type": "array" + }, + "description": "Map of tab-specific parameter overrides. Key is tabId, value is a list of (id, value, title) entries that override the dashboard-level parameters for that tab only. Mirrors dashboardTabsFiltersOverrides. When a tab is present in this map, its entries take precedence over dashboardParametersOverride for that tab's executions and info-sheet display.", + "type": "object" + }, "fileName": { "description": "Filename of downloaded file without extension.", "example": "result", @@ -4347,6 +4466,13 @@ "example": "761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0", "type": "string" }, + "dashboardParametersOverride": { + "description": "Parameter value overrides applied to the export's executions. Each entry carries the parameter id (used as an AFM execution override) plus the FE-supplied title for the info sheet. Applied uniformly across all tabs; use dashboardTabsParametersOverrides for tab-scoped overrides.", + "items": { + "$ref": "#/components/schemas/DashboardParameterValue" + }, + "type": "array" + }, "dashboardTabsFiltersOverrides": { "additionalProperties": { "items": { @@ -4357,6 +4483,16 @@ "description": "Map of tab-specific filter overrides. Key is tabId, value is list of filters for that tab.", "type": "object" }, + "dashboardTabsParametersOverrides": { + "additionalProperties": { + "items": { + "$ref": "#/components/schemas/DashboardParameterValue" + }, + "type": "array" + }, + "description": "Map of tab-specific parameter overrides. Key is tabId, value is a list of (id, value, title) entries that override the dashboard-level parameters for that tab only. Mirrors dashboardTabsFiltersOverrides. When a tab is present in this map, its entries take precedence over dashboardParametersOverride for that tab's executions and info-sheet display.", + "type": "object" + }, "fileName": { "description": "Filename of downloaded file without extension.", "example": "result", @@ -4866,10 +5002,8 @@ "what_if_analysis", "knowledge" ], - "nullable": true, "type": "string" }, - "nullable": true, "type": "array" }, "description": { @@ -6015,7 +6149,8 @@ "ATHENA", "MONGODB", "CRATEDB", - "AILAKEHOUSE" + "AILAKEHOUSE", + "DENODO" ], "example": "POSTGRESQL", "type": "string" @@ -6749,13 +6884,13 @@ "description": "A declarative form of an IP allowlist policy.", "properties": { "allowedSources": { - "description": "Allowed source IP addresses or CIDR ranges.", + "description": "Allowed source IPv4 addresses or CIDR ranges. Only IPv4 is supported; IPv6 are rejected. The /0 prefix is not allowed.", "example": [ "203.0.113.10/32", "198.51.100.0/24" ], "items": { - "description": "Allowed source IP addresses or CIDR ranges.", + "description": "Allowed source IPv4 addresses or CIDR ranges. Only IPv4 is supported; IPv6 are rejected. The /0 prefix is not allowed.", "example": "[\"203.0.113.10/32\",\"198.51.100.0/24\"]", "type": "string" }, @@ -7744,7 +7879,6 @@ "TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", - "ACTIVE_LLM_ENDPOINT", "ACTIVE_LLM_PROVIDER", "ACTIVE_CALENDARS", "WHITE_LABELING", @@ -7786,6 +7920,7 @@ "SORT_COLLATION", "METRIC_FORMAT_OVERRIDE", "ENABLE_AI_ON_DATA", + "ENABLE_PARTIAL_DATA_RESULTS", "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", @@ -9266,7 +9401,8 @@ "AiModule", "AiQueryLimit", "AiKnowledgeStorageLimit", - "AiAgentLimit" + "AiAgentLimit", + "AiWorkspaceLimit" ], "type": "string" }, @@ -9589,6 +9725,30 @@ ], "type": "object" }, + "ExecutionResultLimitBreak": { + "description": "Describes a limit that was broken, resulting in partial data being returned.", + "properties": { + "limit": { + "description": "The configured threshold value.", + "format": "int64", + "type": "integer" + }, + "limitType": { + "description": "Type of the limit that was broken, e.g. \"rowCount\".", + "type": "string" + }, + "value": { + "description": "The actual value that triggered the limit; null when it cannot be determined exactly.", + "format": "int64", + "type": "integer" + } + }, + "required": [ + "limit", + "limitType" + ], + "type": "object" + }, "ExecutionResultMetadata": { "description": "Additional metadata for the particular execution result.", "properties": { @@ -9598,6 +9758,13 @@ "$ref": "#/components/schemas/ExecutionResultDataSourceMessage" }, "type": "array" + }, + "limitBreaks": { + "description": "Limits that were broken during result computation, causing the result to be partial. Absent when the result is complete.", + "items": { + "$ref": "#/components/schemas/ExecutionResultLimitBreak" + }, + "type": "array" } }, "required": [ @@ -11031,118 +11198,22 @@ }, "type": "object" }, - "JsonApiAgentIn": { - "description": "JSON:API representation of agent entity.", + "IpAllowlistPolicyTargets": { + "description": "Target delta for IP allowlist policy actions.", "properties": { - "attributes": { - "properties": { - "aiKnowledge": { - "type": "boolean" - }, - "availableToAll": { - "type": "boolean" - }, - "customSkills": { - "items": { - "enum": [ - "alert", - "anomaly_detection", - "clustering", - "forecasting", - "key_driver_analysis", - "metric", - "schedule_export", - "visualization", - "visualization_summary", - "dashboard_summary", - "what_if_analysis", - "knowledge" - ], - "type": "string" - }, - "nullable": true, - "type": "array" - }, - "description": { - "maxLength": 10000, - "nullable": true, - "type": "string" - }, - "enabled": { - "type": "boolean" - }, - "isPreview": { - "type": "boolean" - }, - "name": { - "maxLength": 255, - "nullable": true, - "type": "string" - }, - "personality": { - "maxLength": 10000, - "nullable": true, - "type": "string" - }, - "skillsMode": { - "enum": [ - "all", - "custom" - ], - "type": "string" - } - }, - "type": "object" - }, - "id": { - "description": "API identifier of an object", - "example": "id1", - "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", - "type": "string" - }, - "relationships": { - "properties": { - "userGroups": { - "properties": { - "data": { - "$ref": "#/components/schemas/JsonApiUserGroupToManyLinkage" - } - }, - "required": [ - "data" - ], - "type": "object" - } + "targets": { + "items": { + "$ref": "#/components/schemas/AssigneeIdentifier" }, - "type": "object" - }, - "type": { - "description": "Object type", - "enum": [ - "agent" - ], - "example": "agent", - "type": "string" - } - }, - "required": [ - "id", - "type" - ], - "type": "object" - }, - "JsonApiAgentInDocument": { - "properties": { - "data": { - "$ref": "#/components/schemas/JsonApiAgentIn" + "type": "array" } }, "required": [ - "data" + "targets" ], "type": "object" }, - "JsonApiAgentOut": { + "JsonApiAgentIn": { "description": "JSON:API representation of agent entity.", "properties": { "attributes": { @@ -11153,10 +11224,121 @@ "availableToAll": { "type": "boolean" }, - "createdAt": { - "format": "date-time", - "type": "string" - }, + "customSkills": { + "items": { + "enum": [ + "alert", + "anomaly_detection", + "clustering", + "forecasting", + "key_driver_analysis", + "metric", + "schedule_export", + "visualization", + "visualization_summary", + "dashboard_summary", + "what_if_analysis", + "knowledge" + ], + "type": "string" + }, + "nullable": true, + "type": "array" + }, + "description": { + "maxLength": 10000, + "nullable": true, + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "isPreview": { + "type": "boolean" + }, + "name": { + "maxLength": 255, + "nullable": true, + "type": "string" + }, + "personality": { + "maxLength": 10000, + "nullable": true, + "type": "string" + }, + "skillsMode": { + "enum": [ + "all", + "custom" + ], + "type": "string" + } + }, + "type": "object" + }, + "id": { + "description": "API identifier of an object", + "example": "id1", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "relationships": { + "properties": { + "userGroups": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiUserGroupToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + } + }, + "type": "object" + }, + "type": { + "description": "Object type", + "enum": [ + "agent" + ], + "example": "agent", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "JsonApiAgentInDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiAgentIn" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiAgentOut": { + "description": "JSON:API representation of agent entity.", + "properties": { + "attributes": { + "properties": { + "aiKnowledge": { + "type": "boolean" + }, + "availableToAll": { + "type": "boolean" + }, + "createdAt": { + "format": "date-time", + "type": "string" + }, "customSkills": { "items": { "enum": [ @@ -16172,7 +16354,8 @@ "ATHENA", "MONGODB", "CRATEDB", - "AILAKEHOUSE" + "AILAKEHOUSE", + "DENODO" ], "type": "string" } @@ -16399,7 +16582,8 @@ "ATHENA", "MONGODB", "CRATEDB", - "AILAKEHOUSE" + "AILAKEHOUSE", + "DENODO" ], "type": "string" }, @@ -16584,7 +16768,8 @@ "ATHENA", "MONGODB", "CRATEDB", - "AILAKEHOUSE" + "AILAKEHOUSE", + "DENODO" ], "type": "string" }, @@ -16823,7 +17008,8 @@ "ATHENA", "MONGODB", "CRATEDB", - "AILAKEHOUSE" + "AILAKEHOUSE", + "DENODO" ], "type": "string" }, @@ -17358,6 +17544,38 @@ } ] }, + "JsonApiDocumentDatabaseInstance": { + "description": "JSON:API-compatible single-resource response envelope", + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiItemDatabaseInstance" + }, + "links": { + "$ref": "#/components/schemas/JsonApiListLinks" + } + }, + "required": [ + "data", + "links" + ], + "type": "object" + }, + "JsonApiDocumentPipeTable": { + "description": "JSON:API-compatible single-resource response envelope", + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiItemPipeTable" + }, + "links": { + "$ref": "#/components/schemas/JsonApiListLinks" + } + }, + "required": [ + "data", + "links" + ], + "type": "object" + }, "JsonApiEntitlementOut": { "description": "JSON:API representation of entitlement entity.", "properties": { @@ -19977,6 +20195,362 @@ } ] }, + "JsonApiIpAllowlistPolicyIn": { + "description": "JSON:API representation of ipAllowlistPolicy entity.", + "properties": { + "attributes": { + "properties": { + "allowedSources": { + "description": "Allowed source IPv4 addresses or CIDR ranges. Only IPv4 is supported; IPv6 are rejected. The /0 prefix is not allowed.", + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "required": [ + "allowedSources" + ], + "type": "object" + }, + "id": { + "description": "API identifier of an object", + "example": "id1", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "relationships": { + "properties": { + "userGroups": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiUserGroupToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "users": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiUserToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + } + }, + "type": "object" + }, + "type": { + "description": "Object type", + "enum": [ + "ipAllowlistPolicy" + ], + "example": "ipAllowlistPolicy", + "type": "string" + } + }, + "required": [ + "attributes", + "id", + "type" + ], + "type": "object" + }, + "JsonApiIpAllowlistPolicyInDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyIn" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiIpAllowlistPolicyOut": { + "description": "JSON:API representation of ipAllowlistPolicy entity.", + "properties": { + "attributes": { + "properties": { + "allowedSources": { + "description": "Allowed source IPv4 addresses or CIDR ranges. Only IPv4 is supported; IPv6 are rejected. The /0 prefix is not allowed.", + "items": { + "type": "string" + }, + "nullable": true, + "type": "array" + } + }, + "required": [ + "allowedSources" + ], + "type": "object" + }, + "id": { + "description": "API identifier of an object", + "example": "id1", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "relationships": { + "properties": { + "userGroups": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiUserGroupToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "users": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiUserToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + } + }, + "type": "object" + }, + "type": { + "description": "Object type", + "enum": [ + "ipAllowlistPolicy" + ], + "example": "ipAllowlistPolicy", + "type": "string" + } + }, + "required": [ + "attributes", + "id", + "type" + ], + "type": "object" + }, + "JsonApiIpAllowlistPolicyOutDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOut" + }, + "included": { + "description": "Included resources", + "items": { + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOutIncludes" + }, + "type": "array", + "uniqueItems": true + }, + "links": { + "$ref": "#/components/schemas/ObjectLinks" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiIpAllowlistPolicyOutIncludes": { + "oneOf": [ + { + "$ref": "#/components/schemas/JsonApiUserOutWithLinks" + }, + { + "$ref": "#/components/schemas/JsonApiUserGroupOutWithLinks" + } + ] + }, + "JsonApiIpAllowlistPolicyOutList": { + "description": "A JSON:API document with a list of resources", + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOutWithLinks" + }, + "type": "array", + "uniqueItems": true + }, + "included": { + "description": "Included resources", + "items": { + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOutIncludes" + }, + "type": "array", + "uniqueItems": true + }, + "links": { + "$ref": "#/components/schemas/ListLinks" + }, + "meta": { + "properties": { + "page": { + "$ref": "#/components/schemas/PageMetadata" + } + }, + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiIpAllowlistPolicyOutWithLinks": { + "allOf": [ + { + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOut" + }, + { + "$ref": "#/components/schemas/ObjectLinksContainer" + } + ] + }, + "JsonApiItemDataSourceInfo": { + "description": "A single JSON:API resource item", + "properties": { + "attributes": { + "$ref": "#/components/schemas/DataSourceInfo" + }, + "id": { + "description": "Resource identifier", + "type": "string" + }, + "type": { + "description": "Resource type", + "type": "string" + } + }, + "required": [ + "attributes", + "id", + "type" + ], + "type": "object" + }, + "JsonApiItemDatabaseInstance": { + "description": "A single JSON:API resource item", + "properties": { + "attributes": { + "$ref": "#/components/schemas/DatabaseInstance" + }, + "id": { + "description": "Resource identifier", + "type": "string" + }, + "type": { + "description": "Resource type", + "type": "string" + } + }, + "required": [ + "attributes", + "id", + "type" + ], + "type": "object" + }, + "JsonApiItemObjectStorageInfo": { + "description": "A single JSON:API resource item", + "properties": { + "attributes": { + "$ref": "#/components/schemas/ObjectStorageInfo" + }, + "id": { + "description": "Resource identifier", + "type": "string" + }, + "type": { + "description": "Resource type", + "type": "string" + } + }, + "required": [ + "attributes", + "id", + "type" + ], + "type": "object" + }, + "JsonApiItemPipeTable": { + "description": "A single JSON:API resource item", + "properties": { + "attributes": { + "$ref": "#/components/schemas/PipeTable" + }, + "id": { + "description": "Resource identifier", + "type": "string" + }, + "type": { + "description": "Resource type", + "type": "string" + } + }, + "required": [ + "attributes", + "id", + "type" + ], + "type": "object" + }, + "JsonApiItemPipeTableSummary": { + "description": "A single JSON:API resource item", + "properties": { + "attributes": { + "$ref": "#/components/schemas/PipeTableSummary" + }, + "id": { + "description": "Resource identifier", + "type": "string" + }, + "type": { + "description": "Resource type", + "type": "string" + } + }, + "required": [ + "attributes", + "id", + "type" + ], + "type": "object" + }, + "JsonApiItemServiceInfo": { + "description": "A single JSON:API resource item", + "properties": { + "attributes": { + "$ref": "#/components/schemas/ServiceInfo" + }, + "id": { + "description": "Resource identifier", + "type": "string" + }, + "type": { + "description": "Resource type", + "type": "string" + } + }, + "required": [ + "attributes", + "id", + "type" + ], + "type": "object" + }, "JsonApiJwkIn": { "description": "JSON:API representation of jwk entity.", "properties": { @@ -21278,53 +21852,222 @@ } ] }, - "JsonApiLlmEndpointIn": { - "deprecated": true, - "description": "Will be soon removed and replaced by LlmProvider.", + "JsonApiListDocumentDataSourceInfo": { + "description": "JSON:API-compatible list response envelope", + "properties": { + "data": { + "description": "Array of resource items", + "items": { + "$ref": "#/components/schemas/JsonApiItemDataSourceInfo" + }, + "type": "array" + }, + "links": { + "$ref": "#/components/schemas/JsonApiListLinks" + }, + "meta": { + "$ref": "#/components/schemas/JsonApiListMeta" + } + }, + "required": [ + "data", + "links" + ], + "type": "object" + }, + "JsonApiListDocumentDatabaseInstance": { + "description": "JSON:API-compatible list response envelope", + "properties": { + "data": { + "description": "Array of resource items", + "items": { + "$ref": "#/components/schemas/JsonApiItemDatabaseInstance" + }, + "type": "array" + }, + "links": { + "$ref": "#/components/schemas/JsonApiListLinks" + }, + "meta": { + "$ref": "#/components/schemas/JsonApiListMeta" + } + }, + "required": [ + "data", + "links" + ], + "type": "object" + }, + "JsonApiListDocumentObjectStorageInfo": { + "description": "JSON:API-compatible list response envelope", + "properties": { + "data": { + "description": "Array of resource items", + "items": { + "$ref": "#/components/schemas/JsonApiItemObjectStorageInfo" + }, + "type": "array" + }, + "links": { + "$ref": "#/components/schemas/JsonApiListLinks" + }, + "meta": { + "$ref": "#/components/schemas/JsonApiListMeta" + } + }, + "required": [ + "data", + "links" + ], + "type": "object" + }, + "JsonApiListDocumentPipeTableSummary": { + "description": "JSON:API-compatible list response envelope", + "properties": { + "data": { + "description": "Array of resource items", + "items": { + "$ref": "#/components/schemas/JsonApiItemPipeTableSummary" + }, + "type": "array" + }, + "links": { + "$ref": "#/components/schemas/JsonApiListLinks" + }, + "meta": { + "$ref": "#/components/schemas/JsonApiListMeta" + } + }, + "required": [ + "data", + "links" + ], + "type": "object" + }, + "JsonApiListDocumentServiceInfo": { + "description": "JSON:API-compatible list response envelope", + "properties": { + "data": { + "description": "Array of resource items", + "items": { + "$ref": "#/components/schemas/JsonApiItemServiceInfo" + }, + "type": "array" + }, + "links": { + "$ref": "#/components/schemas/JsonApiListLinks" + }, + "meta": { + "$ref": "#/components/schemas/JsonApiListMeta" + } + }, + "required": [ + "data", + "links" + ], + "type": "object" + }, + "JsonApiListLinks": { + "description": "Links object for a list response", + "properties": { + "self": { + "description": "The URL of this response", + "type": "string" + } + }, + "required": [ + "self" + ], + "type": "object" + }, + "JsonApiListMeta": { + "description": "Metadata for a paginated list response", + "properties": { + "page": { + "$ref": "#/components/schemas/JsonApiPageInfo" + } + }, + "required": [ + "page" + ], + "type": "object" + }, + "JsonApiLlmProviderIn": { + "description": "LLM Provider configuration for connecting to LLM services.", "properties": { "attributes": { "properties": { - "baseUrl": { - "description": "Custom LLM endpoint.", + "defaultModelId": { + "description": "Required ID of the default model to use from the models list.", "maxLength": 255, "nullable": true, "type": "string" }, - "llmModel": { - "description": "LLM Model. We provide a default model for each provider, but you can override it here.", - "maxLength": 255, - "type": "string" - }, - "llmOrganization": { - "description": "Organization in LLM provider.", - "maxLength": 255, + "description": { + "description": "Description of the LLM Provider.", + "maxLength": 10000, "nullable": true, "type": "string" }, - "provider": { - "deprecated": true, - "description": "LLM Provider.", - "enum": [ - "OPENAI", - "AZURE_OPENAI" - ], - "type": "string" + "models": { + "description": "List of LLM models available for this provider.", + "items": { + "description": "LLM Model configuration (id, family) within a provider.", + "properties": { + "family": { + "description": "Family of LLM models.", + "enum": [ + "OPENAI", + "ANTHROPIC", + "META", + "MISTRAL", + "AMAZON", + "GOOGLE", + "COHERE", + "UNKNOWN" + ], + "type": "string" + }, + "id": { + "description": "Unique identifier of the model (e.g., gpt-5.3, claude-4.6).", + "maxLength": 255, + "type": "string" + } + }, + "required": [ + "family", + "id" + ], + "type": "object" + }, + "nullable": true, + "type": "array" }, - "title": { - "description": "User-facing title of the LLM Provider.", + "name": { "maxLength": 255, + "nullable": true, "type": "string" }, - "token": { - "description": "The token to use to connect to the LLM provider.", - "maxLength": 10000, - "type": "string" + "providerConfig": { + "description": "Provider-specific configuration including authentication.", + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/OpenAIProviderConfig" + }, + { + "$ref": "#/components/schemas/AzureFoundryProviderConfig" + }, + { + "$ref": "#/components/schemas/AwsBedrockProviderConfig" + }, + { + "$ref": "#/components/schemas/AnthropicProviderConfig" + } + ], + "type": "object" } }, - "required": [ - "title", - "token" - ], "type": "object" }, "id": { @@ -21336,23 +22079,22 @@ "type": { "description": "Object type", "enum": [ - "llmEndpoint" + "llmProvider" ], - "example": "llmEndpoint", + "example": "llmProvider", "type": "string" } }, "required": [ - "attributes", "id", "type" ], "type": "object" }, - "JsonApiLlmEndpointInDocument": { + "JsonApiLlmProviderInDocument": { "properties": { "data": { - "$ref": "#/components/schemas/JsonApiLlmEndpointIn" + "$ref": "#/components/schemas/JsonApiLlmProviderIn" } }, "required": [ @@ -21360,47 +22102,82 @@ ], "type": "object" }, - "JsonApiLlmEndpointOut": { - "deprecated": true, - "description": "Will be soon removed and replaced by LlmProvider.", + "JsonApiLlmProviderOut": { + "description": "LLM Provider configuration for connecting to LLM services.", "properties": { "attributes": { "properties": { - "baseUrl": { - "description": "Custom LLM endpoint.", + "defaultModelId": { + "description": "Required ID of the default model to use from the models list.", "maxLength": 255, "nullable": true, "type": "string" }, - "llmModel": { - "description": "LLM Model. We provide a default model for each provider, but you can override it here.", - "maxLength": 255, + "description": { + "description": "Description of the LLM Provider.", + "maxLength": 10000, + "nullable": true, "type": "string" }, - "llmOrganization": { - "description": "Organization in LLM provider.", + "models": { + "description": "List of LLM models available for this provider.", + "items": { + "description": "LLM Model configuration (id, family) within a provider.", + "properties": { + "family": { + "description": "Family of LLM models.", + "enum": [ + "OPENAI", + "ANTHROPIC", + "META", + "MISTRAL", + "AMAZON", + "GOOGLE", + "COHERE", + "UNKNOWN" + ], + "type": "string" + }, + "id": { + "description": "Unique identifier of the model (e.g., gpt-5.3, claude-4.6).", + "maxLength": 255, + "type": "string" + } + }, + "required": [ + "family", + "id" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "name": { "maxLength": 255, "nullable": true, "type": "string" }, - "provider": { - "deprecated": true, - "description": "LLM Provider.", - "enum": [ - "OPENAI", - "AZURE_OPENAI" + "providerConfig": { + "description": "Provider-specific configuration including authentication.", + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/OpenAIProviderConfig" + }, + { + "$ref": "#/components/schemas/AzureFoundryProviderConfig" + }, + { + "$ref": "#/components/schemas/AwsBedrockProviderConfig" + }, + { + "$ref": "#/components/schemas/AnthropicProviderConfig" + } ], - "type": "string" - }, - "title": { - "description": "User-facing title of the LLM Provider.", - "maxLength": 255, - "type": "string" + "type": "object" } }, - "required": [ - "title" - ], "type": "object" }, "id": { @@ -21412,23 +22189,22 @@ "type": { "description": "Object type", "enum": [ - "llmEndpoint" + "llmProvider" ], - "example": "llmEndpoint", + "example": "llmProvider", "type": "string" } }, "required": [ - "attributes", "id", "type" ], "type": "object" }, - "JsonApiLlmEndpointOutDocument": { + "JsonApiLlmProviderOutDocument": { "properties": { "data": { - "$ref": "#/components/schemas/JsonApiLlmEndpointOut" + "$ref": "#/components/schemas/JsonApiLlmProviderOut" }, "links": { "$ref": "#/components/schemas/ObjectLinks" @@ -21439,12 +22215,12 @@ ], "type": "object" }, - "JsonApiLlmEndpointOutList": { + "JsonApiLlmProviderOutList": { "description": "A JSON:API document with a list of resources", "properties": { "data": { "items": { - "$ref": "#/components/schemas/JsonApiLlmEndpointOutWithLinks" + "$ref": "#/components/schemas/JsonApiLlmProviderOutWithLinks" }, "type": "array", "uniqueItems": true @@ -21466,95 +22242,17 @@ ], "type": "object" }, - "JsonApiLlmEndpointOutWithLinks": { + "JsonApiLlmProviderOutWithLinks": { "allOf": [ { - "$ref": "#/components/schemas/JsonApiLlmEndpointOut" + "$ref": "#/components/schemas/JsonApiLlmProviderOut" }, { "$ref": "#/components/schemas/ObjectLinksContainer" } ] }, - "JsonApiLlmEndpointPatch": { - "deprecated": true, - "description": "Will be soon removed and replaced by LlmProvider.", - "properties": { - "attributes": { - "properties": { - "baseUrl": { - "description": "Custom LLM endpoint.", - "maxLength": 255, - "nullable": true, - "type": "string" - }, - "llmModel": { - "description": "LLM Model. We provide a default model for each provider, but you can override it here.", - "maxLength": 255, - "type": "string" - }, - "llmOrganization": { - "description": "Organization in LLM provider.", - "maxLength": 255, - "nullable": true, - "type": "string" - }, - "provider": { - "deprecated": true, - "description": "LLM Provider.", - "enum": [ - "OPENAI", - "AZURE_OPENAI" - ], - "type": "string" - }, - "title": { - "description": "User-facing title of the LLM Provider.", - "maxLength": 255, - "type": "string" - }, - "token": { - "description": "The token to use to connect to the LLM provider.", - "maxLength": 10000, - "type": "string" - } - }, - "type": "object" - }, - "id": { - "description": "API identifier of an object", - "example": "id1", - "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", - "type": "string" - }, - "type": { - "description": "Object type", - "enum": [ - "llmEndpoint" - ], - "example": "llmEndpoint", - "type": "string" - } - }, - "required": [ - "attributes", - "id", - "type" - ], - "type": "object" - }, - "JsonApiLlmEndpointPatchDocument": { - "properties": { - "data": { - "$ref": "#/components/schemas/JsonApiLlmEndpointPatch" - } - }, - "required": [ - "data" - ], - "type": "object" - }, - "JsonApiLlmProviderIn": { + "JsonApiLlmProviderPatch": { "description": "LLM Provider configuration for connecting to LLM services.", "properties": { "attributes": { @@ -21614,268 +22312,20 @@ "description": "Provider-specific configuration including authentication.", "nullable": true, "oneOf": [ - { - "$ref": "#/components/schemas/AwsBedrockProviderConfig" - }, - { - "$ref": "#/components/schemas/AzureFoundryProviderConfig" - }, { "$ref": "#/components/schemas/OpenAIProviderConfig" - } - ] - } - }, - "type": "object" - }, - "id": { - "description": "API identifier of an object", - "example": "id1", - "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", - "type": "string" - }, - "type": { - "description": "Object type", - "enum": [ - "llmProvider" - ], - "example": "llmProvider", - "type": "string" - } - }, - "required": [ - "id", - "type" - ], - "type": "object" - }, - "JsonApiLlmProviderInDocument": { - "properties": { - "data": { - "$ref": "#/components/schemas/JsonApiLlmProviderIn" - } - }, - "required": [ - "data" - ], - "type": "object" - }, - "JsonApiLlmProviderOut": { - "description": "LLM Provider configuration for connecting to LLM services.", - "properties": { - "attributes": { - "properties": { - "defaultModelId": { - "description": "Required ID of the default model to use from the models list.", - "maxLength": 255, - "nullable": true, - "type": "string" - }, - "description": { - "description": "Description of the LLM Provider.", - "maxLength": 10000, - "nullable": true, - "type": "string" - }, - "models": { - "description": "List of LLM models available for this provider.", - "items": { - "description": "LLM Model configuration (id, family) within a provider.", - "properties": { - "family": { - "description": "Family of LLM models.", - "enum": [ - "OPENAI", - "ANTHROPIC", - "META", - "MISTRAL", - "AMAZON", - "GOOGLE", - "COHERE", - "UNKNOWN" - ], - "type": "string" - }, - "id": { - "description": "Unique identifier of the model (e.g., gpt-5.3, claude-4.6).", - "maxLength": 255, - "type": "string" - } - }, - "required": [ - "family", - "id" - ], - "type": "object" - }, - "nullable": true, - "type": "array" - }, - "name": { - "maxLength": 255, - "nullable": true, - "type": "string" - }, - "providerConfig": { - "description": "Provider-specific configuration including authentication.", - "nullable": true, - "oneOf": [ - { - "$ref": "#/components/schemas/AwsBedrockProviderConfig" }, { "$ref": "#/components/schemas/AzureFoundryProviderConfig" }, - { - "$ref": "#/components/schemas/OpenAIProviderConfig" - } - ] - } - }, - "type": "object" - }, - "id": { - "description": "API identifier of an object", - "example": "id1", - "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", - "type": "string" - }, - "type": { - "description": "Object type", - "enum": [ - "llmProvider" - ], - "example": "llmProvider", - "type": "string" - } - }, - "required": [ - "id", - "type" - ], - "type": "object" - }, - "JsonApiLlmProviderOutDocument": { - "properties": { - "data": { - "$ref": "#/components/schemas/JsonApiLlmProviderOut" - }, - "links": { - "$ref": "#/components/schemas/ObjectLinks" - } - }, - "required": [ - "data" - ], - "type": "object" - }, - "JsonApiLlmProviderOutList": { - "description": "A JSON:API document with a list of resources", - "properties": { - "data": { - "items": { - "$ref": "#/components/schemas/JsonApiLlmProviderOutWithLinks" - }, - "type": "array", - "uniqueItems": true - }, - "links": { - "$ref": "#/components/schemas/ListLinks" - }, - "meta": { - "properties": { - "page": { - "$ref": "#/components/schemas/PageMetadata" - } - }, - "type": "object" - } - }, - "required": [ - "data" - ], - "type": "object" - }, - "JsonApiLlmProviderOutWithLinks": { - "allOf": [ - { - "$ref": "#/components/schemas/JsonApiLlmProviderOut" - }, - { - "$ref": "#/components/schemas/ObjectLinksContainer" - } - ] - }, - "JsonApiLlmProviderPatch": { - "description": "LLM Provider configuration for connecting to LLM services.", - "properties": { - "attributes": { - "properties": { - "defaultModelId": { - "description": "Required ID of the default model to use from the models list.", - "maxLength": 255, - "nullable": true, - "type": "string" - }, - "description": { - "description": "Description of the LLM Provider.", - "maxLength": 10000, - "nullable": true, - "type": "string" - }, - "models": { - "description": "List of LLM models available for this provider.", - "items": { - "description": "LLM Model configuration (id, family) within a provider.", - "properties": { - "family": { - "description": "Family of LLM models.", - "enum": [ - "OPENAI", - "ANTHROPIC", - "META", - "MISTRAL", - "AMAZON", - "GOOGLE", - "COHERE", - "UNKNOWN" - ], - "type": "string" - }, - "id": { - "description": "Unique identifier of the model (e.g., gpt-5.3, claude-4.6).", - "maxLength": 255, - "type": "string" - } - }, - "required": [ - "family", - "id" - ], - "type": "object" - }, - "nullable": true, - "type": "array" - }, - "name": { - "maxLength": 255, - "nullable": true, - "type": "string" - }, - "providerConfig": { - "description": "Provider-specific configuration including authentication.", - "nullable": true, - "oneOf": [ { "$ref": "#/components/schemas/AwsBedrockProviderConfig" }, { - "$ref": "#/components/schemas/AzureFoundryProviderConfig" - }, - { - "$ref": "#/components/schemas/OpenAIProviderConfig" + "$ref": "#/components/schemas/AnthropicProviderConfig" } - ] + ], + "type": "object" } }, "type": "object" @@ -23989,7 +24439,6 @@ "TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", - "ACTIVE_LLM_ENDPOINT", "ACTIVE_LLM_PROVIDER", "ACTIVE_CALENDARS", "WHITE_LABELING", @@ -24031,6 +24480,7 @@ "SORT_COLLATION", "METRIC_FORMAT_OVERRIDE", "ENABLE_AI_ON_DATA", + "ENABLE_PARTIAL_DATA_RESULTS", "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", @@ -24090,7 +24540,6 @@ "TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", - "ACTIVE_LLM_ENDPOINT", "ACTIVE_LLM_PROVIDER", "ACTIVE_CALENDARS", "WHITE_LABELING", @@ -24132,6 +24581,7 @@ "SORT_COLLATION", "METRIC_FORMAT_OVERRIDE", "ENABLE_AI_ON_DATA", + "ENABLE_PARTIAL_DATA_RESULTS", "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", @@ -24231,7 +24681,6 @@ "TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", - "ACTIVE_LLM_ENDPOINT", "ACTIVE_LLM_PROVIDER", "ACTIVE_CALENDARS", "WHITE_LABELING", @@ -24273,6 +24722,7 @@ "SORT_COLLATION", "METRIC_FORMAT_OVERRIDE", "ENABLE_AI_ON_DATA", + "ENABLE_PARTIAL_DATA_RESULTS", "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", @@ -24317,6 +24767,36 @@ ], "type": "object" }, + "JsonApiPageInfo": { + "description": "Pagination information", + "properties": { + "number": { + "description": "Zero-based page number", + "format": "int32", + "type": "integer" + }, + "size": { + "description": "Page size", + "format": "int32", + "type": "integer" + }, + "totalElements": { + "description": "Total number of elements; only present when metaInclude=page was requested", + "format": "int32", + "type": "integer" + }, + "totalPages": { + "description": "Total number of pages; only present when metaInclude=page was requested", + "format": "int32", + "type": "integer" + } + }, + "required": [ + "number", + "size" + ], + "type": "object" + }, "JsonApiParameterIn": { "description": "JSON:API representation of parameter entity.", "properties": { @@ -24334,14 +24814,6 @@ "$ref": "#/components/schemas/StringParameterDefinition" } ], - "properties": { - "type": { - "type": "string" - } - }, - "required": [ - "type" - ], "type": "object" }, "description": { @@ -24441,14 +24913,6 @@ "$ref": "#/components/schemas/StringParameterDefinition" } ], - "properties": { - "type": { - "type": "string" - } - }, - "required": [ - "type" - ], "type": "object" }, "description": { @@ -24638,14 +25102,6 @@ "$ref": "#/components/schemas/StringParameterDefinition" } ], - "properties": { - "type": { - "type": "string" - } - }, - "required": [ - "type" - ], "type": "object" }, "description": { @@ -24715,14 +25171,6 @@ "$ref": "#/components/schemas/StringParameterDefinition" } ], - "properties": { - "type": { - "type": "string" - } - }, - "required": [ - "type" - ], "type": "object" }, "description": { @@ -25933,6 +26381,9 @@ "lastname": { "maxLength": 255, "type": "string" + }, + "systemAccount": { + "type": "boolean" } }, "type": "object" @@ -26024,6 +26475,9 @@ "lastname": { "maxLength": 255, "type": "string" + }, + "systemAccount": { + "type": "boolean" } }, "type": "object" @@ -26152,6 +26606,9 @@ "lastname": { "maxLength": 255, "type": "string" + }, + "systemAccount": { + "type": "boolean" } }, "type": "object" @@ -26219,7 +26676,6 @@ "TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", - "ACTIVE_LLM_ENDPOINT", "ACTIVE_LLM_PROVIDER", "ACTIVE_CALENDARS", "WHITE_LABELING", @@ -26261,6 +26717,7 @@ "SORT_COLLATION", "METRIC_FORMAT_OVERRIDE", "ENABLE_AI_ON_DATA", + "ENABLE_PARTIAL_DATA_RESULTS", "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", @@ -26320,7 +26777,6 @@ "TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", - "ACTIVE_LLM_ENDPOINT", "ACTIVE_LLM_PROVIDER", "ACTIVE_CALENDARS", "WHITE_LABELING", @@ -26362,6 +26818,7 @@ "SORT_COLLATION", "METRIC_FORMAT_OVERRIDE", "ENABLE_AI_ON_DATA", + "ENABLE_PARTIAL_DATA_RESULTS", "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", @@ -28588,7 +29045,6 @@ "TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", - "ACTIVE_LLM_ENDPOINT", "ACTIVE_LLM_PROVIDER", "ACTIVE_CALENDARS", "WHITE_LABELING", @@ -28630,6 +29086,7 @@ "SORT_COLLATION", "METRIC_FORMAT_OVERRIDE", "ENABLE_AI_ON_DATA", + "ENABLE_PARTIAL_DATA_RESULTS", "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", @@ -28689,7 +29146,6 @@ "TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", - "ACTIVE_LLM_ENDPOINT", "ACTIVE_LLM_PROVIDER", "ACTIVE_CALENDARS", "WHITE_LABELING", @@ -28731,6 +29187,7 @@ "SORT_COLLATION", "METRIC_FORMAT_OVERRIDE", "ENABLE_AI_ON_DATA", + "ENABLE_PARTIAL_DATA_RESULTS", "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", @@ -28856,7 +29313,6 @@ "TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", - "ACTIVE_LLM_ENDPOINT", "ACTIVE_LLM_PROVIDER", "ACTIVE_CALENDARS", "WHITE_LABELING", @@ -28898,6 +29354,7 @@ "SORT_COLLATION", "METRIC_FORMAT_OVERRIDE", "ENABLE_AI_ON_DATA", + "ENABLE_PARTIAL_DATA_RESULTS", "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", @@ -28957,7 +29414,6 @@ "TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", - "ACTIVE_LLM_ENDPOINT", "ACTIVE_LLM_PROVIDER", "ACTIVE_CALENDARS", "WHITE_LABELING", @@ -28999,6 +29455,7 @@ "SORT_COLLATION", "METRIC_FORMAT_OVERRIDE", "ENABLE_AI_ON_DATA", + "ENABLE_PARTIAL_DATA_RESULTS", "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", @@ -29223,40 +29680,96 @@ ], "type": "object" }, - "ListDatabaseDataSourcesResponse": { - "description": "All data source associations for an AI Lake Database instance", + "LdmObjectPermissions": { "properties": { - "dataSources": { - "description": "List of data source associations.", + "rules": { + "description": "List of rules", "items": { - "$ref": "#/components/schemas/DataSourceInfo" + "$ref": "#/components/schemas/RulePermission" + }, + "type": "array" + }, + "userGroups": { + "description": "List of user groups", + "items": { + "$ref": "#/components/schemas/UserGroupPermission" + }, + "type": "array" + }, + "users": { + "description": "List of users", + "items": { + "$ref": "#/components/schemas/UserPermission" }, "type": "array" } }, "required": [ - "dataSources" + "rules", + "userGroups", + "users" ], "type": "object" }, - "ListDatabaseInstancesResponse": { - "description": "Paged response for listing AI Lake database instances", + "LdmObjectPermissionsAssignment": { + "description": "Desired levels of permissions on an LDM object (attribute, label, fact) for an assignee.", "properties": { - "databases": { - "description": "List of database instances", + "permissions": { "items": { - "$ref": "#/components/schemas/DatabaseInstance" + "enum": [ + "EDIT", + "SHARE", + "VIEW" + ], + "type": "string" }, "type": "array" - }, - "totalCount": { - "description": "Total count of items (only set when metaInclude=page)", - "format": "int32", - "type": "integer" } }, "required": [ - "databases" + "permissions" + ], + "type": "object" + }, + "LdmObjectPermissionsForAssignee": { + "allOf": [ + { + "$ref": "#/components/schemas/LdmObjectPermissionsAssignment" + }, + { + "properties": { + "assigneeIdentifier": { + "$ref": "#/components/schemas/AssigneeIdentifier" + } + }, + "type": "object" + } + ], + "description": "Desired levels of LDM-object permissions for an assignee identified by an identifier.", + "required": [ + "assigneeIdentifier", + "permissions" + ], + "type": "object" + }, + "LdmObjectPermissionsForAssigneeRule": { + "allOf": [ + { + "$ref": "#/components/schemas/LdmObjectPermissionsAssignment" + }, + { + "properties": { + "assigneeRule": { + "$ref": "#/components/schemas/AssigneeRule" + } + }, + "type": "object" + } + ], + "description": "Desired levels of LDM-object permissions for a collection of assignees identified by a rule.", + "required": [ + "assigneeRule", + "permissions" ], "type": "object" }, @@ -29281,6 +29794,9 @@ "properties": { "providerConfig": { "oneOf": [ + { + "$ref": "#/components/schemas/AnthropicProviderConfig" + }, { "$ref": "#/components/schemas/AwsBedrockProviderConfig" }, @@ -29323,59 +29839,6 @@ ], "type": "object" }, - "ListObjectStoragesResponse": { - "description": "Response for listing ObjectStorages registered for the organization.", - "properties": { - "storages": { - "description": "Registered storages, ordered by name.", - "items": { - "$ref": "#/components/schemas/ObjectStorageInfo" - }, - "type": "array" - } - }, - "required": [ - "storages" - ], - "type": "object" - }, - "ListPipeTablesResponse": { - "description": "List of pipe tables for a database instance", - "properties": { - "pipeTables": { - "description": "Pipe tables in the requested database", - "items": { - "$ref": "#/components/schemas/PipeTableSummary" - }, - "type": "array" - } - }, - "required": [ - "pipeTables" - ], - "type": "object" - }, - "ListServicesResponse": { - "description": "Paged response for listing AI Lake services", - "properties": { - "services": { - "description": "List of services", - "items": { - "$ref": "#/components/schemas/ServiceInfo" - }, - "type": "array" - }, - "totalCount": { - "description": "Total count of items (only set when metaInclude=page)", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "services" - ], - "type": "object" - }, "LiveFeatureFlagConfiguration": { "properties": { "host": { @@ -29455,6 +29918,9 @@ "LlmProviderConfig": { "description": "Provider configuration overrides.", "oneOf": [ + { + "$ref": "#/components/schemas/AnthropicProviderConfig" + }, { "$ref": "#/components/schemas/AwsBedrockProviderConfig" }, @@ -30062,14 +30528,6 @@ "$ref": "#/components/schemas/InPlatform" } ], - "properties": { - "type": { - "type": "string" - } - }, - "required": [ - "type" - ], "type": "object" }, "NotificationContent": { @@ -30377,14 +30835,15 @@ "type": "string" }, "kind": { - "description": "Type of the long-running operation.\n* `provision-database` — Provisioning of an AI Lake database.\n* `deprovision-database` — Deprovisioning (deletion) of an AI Lake database.\n* `run-service-command` — Running a command in a particular AI Lake service.\n* `create-pipe-table` — Creating a pipe table backed by an S3 data source.\n* `delete-pipe-table` — Deleting a pipe table.\n* `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection.\n", + "description": "Type of the long-running operation.\n* `provision-database` — Provisioning of an AI Lake database.\n* `deprovision-database` — Deprovisioning (deletion) of an AI Lake database.\n* `run-service-command` — Running a command in a particular AI Lake service.\n* `create-pipe-table` — Creating a pipe table backed by an S3 data source.\n* `delete-pipe-table` — Deleting a pipe table.\n* `analyze-statistics` — Running ANALYZE TABLE for CBO statistics collection.\n* `refresh-partition` — Refreshing a specific Hive partition (delete + re-load from S3).\n", "enum": [ "provision-database", "deprovision-database", "run-service-command", "create-pipe-table", "delete-pipe-table", - "analyze-statistics" + "analyze-statistics", + "refresh-partition" ], "type": "string" }, @@ -30703,7 +31162,7 @@ }, "next": { "description": "Link to next page, or null if this is last page.", - "example": "https://sample.gooddata.com/api/v1/actions/workspaces/sampleWorkspace/execution/collectLabelElements?label=sample.price&limit=5&offset=10", + "example": "https://sample.gooddata.ai/api/v1/actions/workspaces/sampleWorkspace/execution/collectLabelElements?label=sample.price&limit=5&offset=10", "type": "string" }, "offset": { @@ -30751,14 +31210,6 @@ "$ref": "#/components/schemas/StringParameterDefinition" } ], - "properties": { - "type": { - "type": "string" - } - }, - "required": [ - "type" - ], "type": "object" }, "ParameterItem": { @@ -31129,7 +31580,8 @@ "name": { "enum": [ "UserCount", - "WorkspaceCount" + "WorkspaceCount", + "AiWorkspaceCount" ], "type": "string" } @@ -31145,7 +31597,8 @@ "items": { "enum": [ "UserCount", - "WorkspaceCount" + "WorkspaceCount", + "AiWorkspaceCount" ], "type": "string" }, @@ -32014,6 +32467,23 @@ ], "type": "object" }, + "RefreshPartitionRequest": { + "description": "Request to refresh a specific Hive partition in a pipe-backed OLAP table", + "properties": { + "partitionSpec": { + "additionalProperties": { + "description": "Partition column values identifying the partition to refresh. Keys must match the table's partition_columns exactly. Example: {\"date\": \"2026-01-01\"}", + "type": "string" + }, + "description": "Partition column values identifying the partition to refresh. Keys must match the table's partition_columns exactly. Example: {\"date\": \"2026-01-01\"}", + "type": "object" + } + }, + "required": [ + "partitionSpec" + ], + "type": "object" + }, "Relative": { "properties": { "measure": { @@ -32225,45 +32695,6 @@ ], "type": "object" }, - "ResolvedLlmEndpoint": { - "allOf": [ - { - "$ref": "#/components/schemas/ResolvedLlm" - }, - { - "properties": { - "id": { - "description": "Endpoint Id", - "type": "string" - }, - "title": { - "description": "Endpoint Title", - "type": "string" - } - }, - "type": "object" - } - ], - "required": [ - "id", - "title" - ], - "type": "object" - }, - "ResolvedLlmEndpoints": { - "properties": { - "data": { - "items": { - "$ref": "#/components/schemas/ResolvedLlmEndpoint" - }, - "type": "array" - } - }, - "required": [ - "data" - ], - "type": "object" - }, "ResolvedLlmProvider": { "allOf": [ { @@ -32302,9 +32733,6 @@ "properties": { "data": { "oneOf": [ - { - "$ref": "#/components/schemas/ResolvedLlmEndpoint" - }, { "$ref": "#/components/schemas/ResolvedLlmProvider" } @@ -32330,7 +32758,6 @@ "TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", - "ACTIVE_LLM_ENDPOINT", "ACTIVE_LLM_PROVIDER", "ACTIVE_CALENDARS", "WHITE_LABELING", @@ -32372,6 +32799,7 @@ "SORT_COLLATION", "METRIC_FORMAT_OVERRIDE", "ENABLE_AI_ON_DATA", + "ENABLE_PARTIAL_DATA_RESULTS", "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", @@ -32488,6 +32916,10 @@ "RichTextWidgetDescriptor": { "description": "Rich text widget displaying static content. Has no execution result.", "properties": { + "content": { + "description": "Markdown/text content of the rich text widget.", + "type": "string" + }, "filters": { "description": "Filters currently applied to the dashboard.", "items": { @@ -34063,7 +34495,8 @@ "ATHENA", "MONGODB", "CRATEDB", - "AILAKEHOUSE" + "AILAKEHOUSE", + "DENODO" ], "example": "POSTGRESQL", "type": "string" @@ -34130,6 +34563,9 @@ }, "providerConfig": { "oneOf": [ + { + "$ref": "#/components/schemas/AnthropicProviderConfig" + }, { "$ref": "#/components/schemas/AwsBedrockProviderConfig" }, @@ -34155,6 +34591,9 @@ }, "providerConfig": { "oneOf": [ + { + "$ref": "#/components/schemas/AnthropicProviderConfig" + }, { "$ref": "#/components/schemas/AwsBedrockProviderConfig" }, @@ -34361,29 +34800,6 @@ ], "type": "object" }, - "ToolCallEventResult": { - "description": "Tool call events emitted during the agentic loop (only present when GEN_AI_YIELD_TOOL_CALL_EVENTS is enabled).", - "properties": { - "functionArguments": { - "description": "JSON-encoded arguments passed to the tool function.", - "type": "string" - }, - "functionName": { - "description": "Name of the tool function that was called.", - "type": "string" - }, - "result": { - "description": "Result returned by the tool function.", - "type": "string" - } - }, - "required": [ - "functionArguments", - "functionName", - "result" - ], - "type": "object" - }, "Total": { "description": "Definition of a total. There are two types of totals: grand totals and subtotals. Grand total data will be returned in a separate section of the result structure while subtotals are fully integrated into the main result data. The mechanism for this distinction is automatic and it's described in `TotalDimension`", "properties": { @@ -34993,6 +35409,11 @@ "example": false, "type": "boolean" }, + "systemAccount": { + "description": "Is user system account", + "example": false, + "type": "boolean" + }, "userGroups": { "items": { "$ref": "#/components/schemas/UserGroupIdentifier" @@ -35010,6 +35431,7 @@ "dataSources", "id", "organizationAdmin", + "systemAccount", "userGroups", "workspaces" ], @@ -35119,77 +35541,6 @@ ], "type": "object" }, - "ValidateLLMEndpointByIdRequest": { - "properties": { - "baseUrl": { - "description": "Base URL for the LLM endpoint validation", - "type": "string" - }, - "llmModel": { - "description": "LLM model for the LLM endpoint validation", - "type": "string" - }, - "llmOrganization": { - "description": "Organization name for the LLM endpoint validation", - "type": "string" - }, - "provider": { - "description": "Provider for the LLM endpoint validation", - "type": "string" - }, - "token": { - "description": "Token for the LLM endpoint validation", - "type": "string" - } - }, - "type": "object" - }, - "ValidateLLMEndpointRequest": { - "properties": { - "baseUrl": { - "description": "Base URL for the LLM endpoint validation", - "type": "string" - }, - "llmModel": { - "description": "LLM model for the LLM endpoint validation", - "type": "string" - }, - "llmOrganization": { - "description": "Organization name for the LLM endpoint validation", - "type": "string" - }, - "provider": { - "description": "Provider for the LLM endpoint validation", - "type": "string" - }, - "token": { - "description": "Token for the LLM endpoint validation", - "type": "string" - } - }, - "required": [ - "provider", - "token" - ], - "type": "object" - }, - "ValidateLLMEndpointResponse": { - "properties": { - "message": { - "description": "Additional message about the LLM endpoint validation", - "type": "string" - }, - "successful": { - "description": "Whether the LLM endpoint validation was successful", - "type": "boolean" - } - }, - "required": [ - "message", - "successful" - ], - "type": "object" - }, "Value": { "properties": { "value": { @@ -36085,31 +36436,14 @@ "/api/v1/actions/ai/llmEndpoint/test": { "post": { "deprecated": true, - "description": "Will be soon removed and replaced by testLlmProvider.", + "description": "Permanently removed. Use POST /api/v1/actions/ai/llmProvider/test instead. Always returns 410 Gone.", "operationId": "validateLLMEndpoint", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidateLLMEndpointRequest" - } - } - }, - "required": true - }, "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidateLLMEndpointResponse" - } - } - }, - "description": "OK" + "410": { + "description": "Gone" } }, - "summary": "Validate LLM Endpoint", + "summary": "Validate LLM Endpoint (Removed)", "tags": [ "Smart Functions", "actions" @@ -36119,7 +36453,7 @@ "/api/v1/actions/ai/llmEndpoint/{llmEndpointId}/test": { "post": { "deprecated": true, - "description": "Will be soon removed and replaced by testLlmProviderById.", + "description": "Permanently removed. Use POST /api/v1/actions/ai/llmProvider/{llmProviderId}/test instead. Always returns 410 Gone.", "operationId": "validateLLMEndpointById", "parameters": [ { @@ -36131,28 +36465,12 @@ } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidateLLMEndpointByIdRequest" - } - } - } - }, "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidateLLMEndpointResponse" - } - } - }, - "description": "OK" + "410": { + "description": "Gone" } }, - "summary": "Validate LLM Endpoint By Id", + "summary": "Validate LLM Endpoint By Id (Removed)", "tags": [ "Smart Functions", "actions" @@ -37392,6 +37710,76 @@ } } }, + "/api/v1/actions/ipAllowlistPolicies/{id}/addTargets": { + "post": { + "operationId": "addTargets", + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IpAllowlistPolicyTargets" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "No Content" + } + }, + "summary": "Add targets to IP allowlist policy", + "tags": [ + "Organization - Entity APIs", + "actions" + ] + } + }, + "/api/v1/actions/ipAllowlistPolicies/{id}/removeTargets": { + "post": { + "operationId": "removeTargets", + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IpAllowlistPolicyTargets" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "No Content" + } + }, + "summary": "Remove targets from IP allowlist policy", + "tags": [ + "Organization - Entity APIs", + "actions" + ] + } + }, "/api/v1/actions/notificationChannels/test": { "post": { "description": "Tests the notification channel by sending a test notification.", @@ -38964,7 +39352,7 @@ "/api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmEndpoints": { "get": { "deprecated": true, - "description": "Will be soon removed and replaced by LlmProvider-based resolution.", + "description": "Permanently removed. Use GET /api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmProviders instead. Always returns 410 Gone.", "operationId": "resolveLlmEndpoints", "parameters": [ { @@ -38979,18 +39367,11 @@ } ], "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ResolvedLlmEndpoints" - } - } - }, - "description": "OK" + "410": { + "description": "Gone" } }, - "summary": "Get Active LLM Endpoints for this workspace", + "summary": "Get Active LLM Endpoints for this workspace (Removed)", "tags": [ "Smart Functions", "actions" @@ -38999,7 +39380,7 @@ }, "/api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmProviders": { "get": { - "description": "Resolves the active LLM configuration for the given workspace. When the ENABLE_LLM_ENDPOINT_REPLACEMENT feature flag is enabled, returns LLM Providers with their associated models. Otherwise, falls back to the legacy LLM Endpoints.", + "description": "Resolves the active LLM provider configuration for the given workspace.", "operationId": "resolveLlmProviders", "parameters": [ { @@ -39393,6 +39774,100 @@ ] } }, + "/api/v1/actions/workspaces/{workspaceId}/attributes/{attributeId}/managePermissions": { + "post": { + "operationId": "manageAttributePermissions", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "attributeId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "description": "An array of attribute-permission assignments.", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/LdmObjectPermissionsForAssignee" + }, + { + "$ref": "#/components/schemas/LdmObjectPermissionsForAssigneeRule" + } + ] + }, + "type": "array" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "No Content" + } + }, + "summary": "Manage Permissions for an Attribute", + "tags": [ + "Permissions", + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/attributes/{attributeId}/permissions": { + "get": { + "operationId": "attributePermissions", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "attributeId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LdmObjectPermissions" + } + } + }, + "description": "OK" + } + }, + "summary": "Get Attribute Permissions", + "tags": [ + "Permissions", + "actions" + ] + } + }, "/api/v1/actions/workspaces/{workspaceId}/automations/delete": { "post": { "operationId": "deleteWorkspaceAutomations", @@ -42156,6 +42631,100 @@ } } }, + "/api/v1/actions/workspaces/{workspaceId}/facts/{factId}/managePermissions": { + "post": { + "operationId": "manageFactPermissions", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "factId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "description": "An array of fact-permission assignments.", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/LdmObjectPermissionsForAssignee" + }, + { + "$ref": "#/components/schemas/LdmObjectPermissionsForAssigneeRule" + } + ] + }, + "type": "array" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "No Content" + } + }, + "summary": "Manage Permissions for a Fact", + "tags": [ + "Permissions", + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/facts/{factId}/permissions": { + "get": { + "operationId": "factPermissions", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "factId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LdmObjectPermissions" + } + } + }, + "description": "OK" + } + }, + "summary": "Get Fact Permissions", + "tags": [ + "Permissions", + "actions" + ] + } + }, "/api/v1/actions/workspaces/{workspaceId}/inheritedEntityConflicts": { "get": { "description": "Finds API identifier conflicts in given workspace hierarchy.", @@ -42240,6 +42809,100 @@ } } }, + "/api/v1/actions/workspaces/{workspaceId}/labels/{labelId}/managePermissions": { + "post": { + "operationId": "manageLabelPermissions", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "labelId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "description": "An array of label-permission assignments.", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/LdmObjectPermissionsForAssignee" + }, + { + "$ref": "#/components/schemas/LdmObjectPermissionsForAssigneeRule" + } + ] + }, + "type": "array" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "No Content" + } + }, + "summary": "Manage Permissions for a Label", + "tags": [ + "Permissions", + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/labels/{labelId}/permissions": { + "get": { + "operationId": "labelPermissions", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "labelId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LdmObjectPermissions" + } + } + }, + "description": "OK" + } + }, + "summary": "Get Label Permissions", + "tags": [ + "Permissions", + "actions" + ] + } + }, "/api/v1/actions/workspaces/{workspaceId}/managePermissions": { "post": { "description": "Manage Permissions for a Workspace and its Workspace Hierarchy", @@ -42848,27 +43511,32 @@ }, "/api/v1/ailake/database/instances": { "get": { - "description": "(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.", + "description": "(BETA) Lists database instances in the organization's AI Lake.", "operationId": "listAiLakeDatabaseInstances", "parameters": [ { + "description": "Zero-based page number.", "in": "query", - "name": "size", + "name": "page", "required": false, "schema": { - "default": 50, - "format": "int32", - "type": "integer" + "default": "0", + "description": "Zero-based page number.", + "minimum": 0, + "type": "string" } }, { + "description": "Number of items per page.", "in": "query", - "name": "offset", + "name": "size", "required": false, "schema": { - "default": 0, - "format": "int32", - "type": "integer" + "default": "50", + "description": "Number of items per page.", + "maximum": 500, + "minimum": 1, + "type": "string" } }, { @@ -42889,7 +43557,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ListDatabaseInstancesResponse" + "$ref": "#/components/schemas/JsonApiListDocumentDatabaseInstance" } } }, @@ -43064,7 +43732,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DatabaseInstance" + "$ref": "#/components/schemas/JsonApiDocumentDatabaseInstance" } } }, @@ -43205,7 +43873,7 @@ }, "/api/v1/ailake/database/instances/{instanceId}/dataSources": { "get": { - "description": "(BETA) Returns all data source associations for the specified AI Lake database instance.", + "description": "(BETA) Returns data source associations for the specified AI Lake database instance.", "operationId": "listAiLakeDatabaseDataSources", "parameters": [ { @@ -43217,6 +43885,43 @@ "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", "type": "string" } + }, + { + "description": "Zero-based page number.", + "in": "query", + "name": "page", + "required": false, + "schema": { + "default": "0", + "description": "Zero-based page number.", + "minimum": 0, + "type": "string" + } + }, + { + "description": "Number of items per page.", + "in": "query", + "name": "size", + "required": false, + "schema": { + "default": "50", + "description": "Number of items per page.", + "maximum": 500, + "minimum": 1, + "type": "string" + } + }, + { + "in": "query", + "name": "metaInclude", + "required": false, + "schema": { + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": true + } } ], "responses": { @@ -43224,7 +43929,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ListDatabaseDataSourcesResponse" + "$ref": "#/components/schemas/JsonApiListDocumentDataSourceInfo" } } }, @@ -43346,7 +44051,7 @@ }, "/api/v1/ailake/database/instances/{instanceId}/pipeTables": { "get": { - "description": "(BETA) Lists all active pipe tables in the given AI Lake database instance.", + "description": "(BETA) Lists active pipe tables in the given AI Lake database instance.", "operationId": "listAiLakePipeTables", "parameters": [ { @@ -43358,6 +44063,43 @@ "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", "type": "string" } + }, + { + "description": "Zero-based page number.", + "in": "query", + "name": "page", + "required": false, + "schema": { + "default": "0", + "description": "Zero-based page number.", + "minimum": 0, + "type": "string" + } + }, + { + "description": "Number of items per page.", + "in": "query", + "name": "size", + "required": false, + "schema": { + "default": "50", + "description": "Number of items per page.", + "maximum": 500, + "minimum": 1, + "type": "string" + } + }, + { + "in": "query", + "name": "metaInclude", + "required": false, + "schema": { + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": true + } } ], "responses": { @@ -43365,7 +44107,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ListPipeTablesResponse" + "$ref": "#/components/schemas/JsonApiListDocumentPipeTableSummary" } } }, @@ -43570,7 +44312,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PipeTable" + "$ref": "#/components/schemas/JsonApiDocumentPipeTable" } } }, @@ -43590,16 +44332,144 @@ } } }, - "/api/v1/ailake/object-storages": { + "/api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName}/refresh": { + "post": { + "description": "(BETA) Deletes all rows for the specified Hive partition and re-loads them from S3. Use after overwriting a partition file in object storage with corrected data. Returns an operation-id header the client can use to poll for progress.", + "operationId": "refreshAiLakePipeTablePartition", + "parameters": [ + { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "in": "path", + "name": "instanceId", + "required": true, + "schema": { + "description": "Database instance identifier. Accepts the database name (preferred) or UUID.", + "type": "string" + } + }, + { + "description": "Pipe table name.", + "in": "path", + "name": "tableName", + "required": true, + "schema": { + "description": "Pipe table name.", + "type": "string" + } + }, + { + "in": "header", + "name": "operation-id", + "required": false, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RefreshPartitionRequest" + } + } + }, + "required": true + }, + "responses": { + "202": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Unit" + } + } + }, + "description": "Accepted", + "headers": { + "operation-id": { + "description": "Operation ID to use for polling.", + "example": "e9fd5d74-8a1b-46bd-ac60-bd91e9206897", + "required": true, + "schema": { + "type": "string" + }, + "style": "simple" + }, + "operation-location": { + "description": "Operation location URL.", + "example": "/api/v1/ailake/operations/e9fd5d74-8a1b-46bd-ac60-bd91e9206897", + "required": true, + "schema": { + "type": "string" + }, + "style": "simple" + } + } + } + }, + "summary": "(BETA) Refresh a pipe table partition", + "tags": [ + "AI Lake", + "AI Lake - Pipe Tables" + ], + "x-gdc-security-info": { + "description": "Permissions required to refresh an AI Lake pipe table partition.", + "permissions": [ + "MANAGE" + ] + } + } + }, + "/api/v1/ailake/objectStorages": { "get": { "description": "(BETA) Lists ObjectStorages registered for the organization. Use the returned `name` as `sourceStorageName` in CreatePipeTable, or pass `storageId` to the ProvisionDatabase `storageIds` list. Provider credentials are stripped — only safe descriptors (id, name, type, bucket, region, endpoint, …) are returned.", "operationId": "listAiLakeObjectStorages", + "parameters": [ + { + "description": "Zero-based page number.", + "in": "query", + "name": "page", + "required": false, + "schema": { + "default": "0", + "description": "Zero-based page number.", + "minimum": 0, + "type": "string" + } + }, + { + "description": "Number of items per page.", + "in": "query", + "name": "size", + "required": false, + "schema": { + "default": "50", + "description": "Number of items per page.", + "maximum": 500, + "minimum": 1, + "type": "string" + } + }, + { + "in": "query", + "name": "metaInclude", + "required": false, + "schema": { + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": true + } + } + ], "responses": { "200": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ListObjectStoragesResponse" + "$ref": "#/components/schemas/JsonApiListDocumentObjectStorageInfo" } } }, @@ -43672,27 +44542,32 @@ }, "/api/v1/ailake/services": { "get": { - "description": "(BETA) Lists services configured for the organization's AI Lake. Returns only non-sensitive fields (id, name). Supports paging via size and offset query parameters. Use metaInclude=page to get total count.", + "description": "(BETA) Lists services configured for the organization's AI Lake. Returns only non-sensitive fields (id, name).", "operationId": "listAiLakeServices", "parameters": [ { + "description": "Zero-based page number.", "in": "query", - "name": "size", + "name": "page", "required": false, "schema": { - "default": 50, - "format": "int32", - "type": "integer" + "default": "0", + "description": "Zero-based page number.", + "minimum": 0, + "type": "string" } }, { + "description": "Number of items per page.", "in": "query", - "name": "offset", + "name": "size", "required": false, "schema": { - "default": 0, - "format": "int32", - "type": "integer" + "default": "50", + "description": "Number of items per page.", + "maximum": 500, + "minimum": 1, + "type": "string" } }, { @@ -43713,7 +44588,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ListServicesResponse" + "$ref": "#/components/schemas/JsonApiListDocumentServiceInfo" } } }, @@ -46836,20 +47711,39 @@ } } }, - "/api/v1/entities/jwks": { + "/api/v1/entities/ipAllowlistPolicies": { "get": { - "description": "Returns all JSON web keys - used to verify JSON web tokens (Jwts)", - "operationId": "getAllEntities@Jwks", + "operationId": "getAllEntities@IpAllowlistPolicies", "parameters": [ { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "content==JwkSpecificationValue", + "example": "allowedSources==v1,v2,v3", "in": "query", "name": "filter", "schema": { "type": "string" } }, + { + "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", + "example": "users,userGroups", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "users", + "userGroups", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" + }, { "$ref": "#/components/parameters/page" }, @@ -46887,38 +47781,65 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiJwkOutList" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiJwkOutList" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Jwks", + "summary": "Get all IpAllowlistPolicy entities", "tags": [ - "JWKS", + "Organization - Entity APIs", "entities", - "jwk-controller" - ] + "ip-allowlist-policy-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to view this object type.", + "permissions": [ + "VIEW" + ] + } }, "post": { - "description": "Creates JSON web key - used to verify JSON web tokens (Jwts)", - "operationId": "createEntity@Jwks", + "operationId": "createEntity@IpAllowlistPolicies", + "parameters": [ + { + "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", + "example": "users,userGroups", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "users", + "userGroups", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" + } + ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiJwkInDocument" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiJwkInDocument" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyInDocument" } } }, @@ -46929,23 +47850,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiJwkOutDocument" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiJwkOutDocument" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post Jwks", + "summary": "Post IpAllowlistPolicy entities", "tags": [ - "JWKS", + "Organization - Entity APIs", "entities", - "jwk-controller" + "ip-allowlist-policy-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -46955,10 +47876,9 @@ } } }, - "/api/v1/entities/jwks/{id}": { + "/api/v1/entities/ipAllowlistPolicies/{id}": { "delete": { - "description": "Deletes JSON web key - used to verify JSON web tokens (Jwts)", - "operationId": "deleteEntity@Jwks", + "operationId": "deleteEntity@IpAllowlistPolicies", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" @@ -46969,11 +47889,11 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete Jwk", + "summary": "Delete IpAllowlistPolicy entity", "tags": [ - "JWKS", + "Organization - Entity APIs", "entities", - "jwk-controller" + "ip-allowlist-policy-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -46983,135 +47903,117 @@ } }, "get": { - "description": "Returns JSON web key - used to verify JSON web tokens (Jwts)", - "operationId": "getEntity@Jwks", + "operationId": "getEntity@IpAllowlistPolicies", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "content==JwkSpecificationValue", + "example": "allowedSources==v1,v2,v3", "in": "query", "name": "filter", "schema": { "type": "string" } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiJwkOutDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiJwkOutDocument" - } - } - }, - "description": "Request successfully processed" - } - }, - "summary": "Get Jwk", - "tags": [ - "JWKS", - "entities", - "jwk-controller" - ] - }, - "patch": { - "description": "Patches JSON web key - used to verify JSON web tokens (Jwts)", - "operationId": "patchEntity@Jwks", - "parameters": [ - { - "$ref": "#/components/parameters/idPathParameter" }, { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "content==JwkSpecificationValue", + "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", + "example": "users,userGroups", + "explode": false, "in": "query", - "name": "filter", + "name": "include", + "required": false, "schema": { - "type": "string" - } + "items": { + "enum": [ + "users", + "userGroups", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiJwkPatchDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiJwkPatchDocument" - } - } - }, - "required": true - }, "responses": { "200": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiJwkOutDocument" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiJwkOutDocument" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch Jwk", + "summary": "Get IpAllowlistPolicy entity", "tags": [ - "JWKS", + "Organization - Entity APIs", "entities", - "jwk-controller" + "ip-allowlist-policy-controller" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", + "description": "Contains minimal permission level required to view this object type.", "permissions": [ - "MANAGE" + "VIEW" ] } }, "put": { - "description": "Updates JSON web key - used to verify JSON web tokens (Jwts)", - "operationId": "updateEntity@Jwks", + "operationId": "updateEntity@IpAllowlistPolicies", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "content==JwkSpecificationValue", + "example": "allowedSources==v1,v2,v3", "in": "query", "name": "filter", "schema": { "type": "string" } + }, + { + "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", + "example": "users,userGroups", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "users", + "userGroups", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiJwkInDocument" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiJwkInDocument" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyInDocument" } } }, @@ -47122,23 +48024,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiJwkOutDocument" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiJwkOutDocument" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Put Jwk", + "summary": "Put IpAllowlistPolicy entity", "tags": [ - "JWKS", + "Organization - Entity APIs", "entities", - "jwk-controller" + "ip-allowlist-policy-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -47148,15 +48050,14 @@ } } }, - "/api/v1/entities/llmEndpoints": { + "/api/v1/entities/jwks": { "get": { - "deprecated": true, - "description": "Will be soon removed and replaced by LlmProvider.", - "operationId": "getAllEntities@LlmEndpoints", + "description": "Returns all JSON web keys - used to verify JSON web tokens (Jwts)", + "operationId": "getAllEntities@Jwks", "parameters": [ { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;provider==LlmEndpointProviderValue", + "example": "content==JwkSpecificationValue", "in": "query", "name": "filter", "schema": { @@ -47200,45 +48101,38 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointOutList" + "$ref": "#/components/schemas/JsonApiJwkOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointOutList" + "$ref": "#/components/schemas/JsonApiJwkOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get all LLM endpoint entities", + "summary": "Get all Jwks", "tags": [ - "LLM Endpoints", + "JWKS", "entities", - "llm-endpoint-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } + "jwk-controller" + ] }, "post": { - "deprecated": true, - "description": "Will be soon removed and replaced by LlmProvider.", - "operationId": "createEntity@LlmEndpoints", + "description": "Creates JSON web key - used to verify JSON web tokens (Jwts)", + "operationId": "createEntity@Jwks", "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointInDocument" + "$ref": "#/components/schemas/JsonApiJwkInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointInDocument" + "$ref": "#/components/schemas/JsonApiJwkInDocument" } } }, @@ -47249,23 +48143,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointOutDocument" + "$ref": "#/components/schemas/JsonApiJwkOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointOutDocument" + "$ref": "#/components/schemas/JsonApiJwkOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post LLM endpoint entities", + "summary": "Post Jwks", "tags": [ - "LLM Endpoints", + "JWKS", "entities", - "llm-endpoint-controller" + "jwk-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -47275,11 +48169,10 @@ } } }, - "/api/v1/entities/llmEndpoints/{id}": { + "/api/v1/entities/jwks/{id}": { "delete": { - "deprecated": true, - "description": "Will be soon removed and replaced by LlmProvider.", - "operationId": "deleteEntity@LlmEndpoints", + "description": "Deletes JSON web key - used to verify JSON web tokens (Jwts)", + "operationId": "deleteEntity@Jwks", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" @@ -47290,11 +48183,11 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete LLM endpoint entity", + "summary": "Delete Jwk", "tags": [ - "LLM Endpoints", + "JWKS", "entities", - "llm-endpoint-controller" + "jwk-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -47304,16 +48197,15 @@ } }, "get": { - "deprecated": true, - "description": "Will be soon removed and replaced by LlmProvider.", - "operationId": "getEntity@LlmEndpoints", + "description": "Returns JSON web key - used to verify JSON web tokens (Jwts)", + "operationId": "getEntity@Jwks", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;provider==LlmEndpointProviderValue", + "example": "content==JwkSpecificationValue", "in": "query", "name": "filter", "schema": { @@ -47326,42 +48218,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointOutDocument" + "$ref": "#/components/schemas/JsonApiJwkOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointOutDocument" + "$ref": "#/components/schemas/JsonApiJwkOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get LLM endpoint entity", + "summary": "Get Jwk", "tags": [ - "LLM Endpoints", + "JWKS", "entities", - "llm-endpoint-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } + "jwk-controller" + ] }, "patch": { - "deprecated": true, - "description": "Will be soon removed and replaced by LlmProvider.", - "operationId": "patchEntity@LlmEndpoints", + "description": "Patches JSON web key - used to verify JSON web tokens (Jwts)", + "operationId": "patchEntity@Jwks", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;provider==LlmEndpointProviderValue", + "example": "content==JwkSpecificationValue", "in": "query", "name": "filter", "schema": { @@ -47373,12 +48258,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointPatchDocument" + "$ref": "#/components/schemas/JsonApiJwkPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointPatchDocument" + "$ref": "#/components/schemas/JsonApiJwkPatchDocument" } } }, @@ -47389,23 +48274,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointOutDocument" + "$ref": "#/components/schemas/JsonApiJwkOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointOutDocument" + "$ref": "#/components/schemas/JsonApiJwkOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch LLM endpoint entity", + "summary": "Patch Jwk", "tags": [ - "LLM Endpoints", + "JWKS", "entities", - "llm-endpoint-controller" + "jwk-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -47415,16 +48300,15 @@ } }, "put": { - "deprecated": true, - "description": "Will be soon removed and replaced by LlmProvider.", - "operationId": "updateEntity@LlmEndpoints", + "description": "Updates JSON web key - used to verify JSON web tokens (Jwts)", + "operationId": "updateEntity@Jwks", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;provider==LlmEndpointProviderValue", + "example": "content==JwkSpecificationValue", "in": "query", "name": "filter", "schema": { @@ -47436,12 +48320,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointInDocument" + "$ref": "#/components/schemas/JsonApiJwkInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointInDocument" + "$ref": "#/components/schemas/JsonApiJwkInDocument" } } }, @@ -47452,23 +48336,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointOutDocument" + "$ref": "#/components/schemas/JsonApiJwkOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointOutDocument" + "$ref": "#/components/schemas/JsonApiJwkOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "PUT LLM endpoint entity", + "summary": "Put Jwk", "tags": [ - "LLM Endpoints", + "JWKS", "entities", - "llm-endpoint-controller" + "jwk-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -47478,6 +48362,140 @@ } } }, + "/api/v1/entities/llmEndpoints": { + "get": { + "deprecated": true, + "description": "Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone.", + "operationId": "getAllEntities", + "responses": { + "410": { + "description": "Gone" + } + }, + "summary": "Get all LLM endpoint entities (Removed)", + "tags": [ + "LLM Endpoints", + "entities" + ] + }, + "post": { + "deprecated": true, + "description": "Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone.", + "operationId": "createEntity", + "responses": { + "410": { + "description": "Gone" + } + }, + "summary": "Post LLM endpoint entities (Removed)", + "tags": [ + "LLM Endpoints", + "entities" + ] + } + }, + "/api/v1/entities/llmEndpoints/{id}": { + "delete": { + "deprecated": true, + "description": "Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone.", + "operationId": "deleteEntity", + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "410": { + "description": "Gone" + } + }, + "summary": "Delete LLM endpoint entity (Removed)", + "tags": [ + "LLM Endpoints", + "entities" + ] + }, + "get": { + "deprecated": true, + "description": "Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone.", + "operationId": "getEntity", + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "410": { + "description": "Gone" + } + }, + "summary": "Get LLM endpoint entity (Removed)", + "tags": [ + "LLM Endpoints", + "entities" + ] + }, + "patch": { + "deprecated": true, + "description": "Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone.", + "operationId": "patchEntity", + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "410": { + "description": "Gone" + } + }, + "summary": "Patch LLM endpoint entity (Removed)", + "tags": [ + "LLM Endpoints", + "entities" + ] + }, + "put": { + "deprecated": true, + "description": "Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone.", + "operationId": "updateEntity", + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "410": { + "description": "Gone" + } + }, + "summary": "PUT LLM endpoint entity (Removed)", + "tags": [ + "LLM Endpoints", + "entities" + ] + } + }, "/api/v1/entities/llmProviders": { "get": { "operationId": "getAllEntities@LlmProviders", diff --git a/schemas/gooddata-automation-client.json b/schemas/gooddata-automation-client.json index 3b9d67f80..652412b7d 100644 --- a/schemas/gooddata-automation-client.json +++ b/schemas/gooddata-automation-client.json @@ -1459,8 +1459,8 @@ "type": "object" }, "DashboardCompoundComparisonCondition": { - "allOf": [ - { + "properties": { + "comparison": { "properties": { "operator": { "enum": [ @@ -1473,17 +1473,24 @@ ], "type": "string" }, + "treatNullValuesAs": { + "format": "double", + "type": "number" + }, "value": { "format": "double", "type": "number" } }, + "required": [ + "operator", + "value" + ], "type": "object" } - ], + }, "required": [ - "operator", - "value" + "comparison" ], "type": "object" }, @@ -1499,8 +1506,8 @@ "type": "object" }, "DashboardCompoundRangeCondition": { - "allOf": [ - { + "properties": { + "range": { "properties": { "from": { "format": "double", @@ -1516,15 +1523,22 @@ "to": { "format": "double", "type": "number" + }, + "treatNullValuesAs": { + "format": "double", + "type": "number" } }, + "required": [ + "from", + "operator", + "to" + ], "type": "object" } - ], + }, "required": [ - "from", - "operator", - "to" + "range" ], "type": "object" }, @@ -1730,7 +1744,7 @@ }, "DashboardMeasureValueFilter": { "properties": { - "measureValueFilter": { + "dashboardMeasureValueFilter": { "properties": { "conditions": { "items": { @@ -1738,6 +1752,12 @@ }, "type": "array" }, + "dimensionality": { + "items": { + "$ref": "#/components/schemas/IdentifierRef" + }, + "type": "array" + }, "localIdentifier": { "type": "string" }, @@ -1756,7 +1776,33 @@ } }, "required": [ - "measureValueFilter" + "dashboardMeasureValueFilter" + ], + "type": "object" + }, + "DashboardParameterValue": { + "description": "Parameter value override applied to the export. The (id, value) pair drives the execution; the title is FE-supplied for info-sheet display.", + "properties": { + "id": { + "description": "Identifier of the workspace parameter (matches the parameter entity id).", + "example": "year", + "type": "string" + }, + "title": { + "description": "Display title of the parameter as the client wants it rendered on the info sheet.", + "example": "Year", + "type": "string" + }, + "value": { + "description": "Value to use for this parameter when executing the export.", + "example": "2026", + "type": "string" + } + }, + "required": [ + "id", + "title", + "value" ], "type": "object" }, @@ -1775,6 +1821,13 @@ "example": "761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0", "type": "string" }, + "dashboardParametersOverride": { + "description": "Parameter value overrides applied to the export's executions. Each entry carries the parameter id (used as an AFM execution override) plus the FE-supplied title for the info sheet. Applied uniformly across all tabs; use dashboardTabsParametersOverrides for tab-scoped overrides.", + "items": { + "$ref": "#/components/schemas/DashboardParameterValue" + }, + "type": "array" + }, "dashboardTabsFiltersOverrides": { "additionalProperties": { "items": { @@ -1785,6 +1838,16 @@ "description": "Map of tab-specific filter overrides. Key is tabId, value is list of filters for that tab.", "type": "object" }, + "dashboardTabsParametersOverrides": { + "additionalProperties": { + "items": { + "$ref": "#/components/schemas/DashboardParameterValue" + }, + "type": "array" + }, + "description": "Map of tab-specific parameter overrides. Key is tabId, value is a list of (id, value, title) entries that override the dashboard-level parameters for that tab only. Mirrors dashboardTabsFiltersOverrides. When a tab is present in this map, its entries take precedence over dashboardParametersOverride for that tab's executions and info-sheet display.", + "type": "object" + }, "fileName": { "description": "Filename of downloaded file without extension.", "example": "result", @@ -2507,14 +2570,6 @@ "$ref": "#/components/schemas/InPlatform" } ], - "properties": { - "type": { - "type": "string" - } - }, - "required": [ - "type" - ], "type": "object" }, "NotificationContent": { diff --git a/schemas/gooddata-export-client.json b/schemas/gooddata-export-client.json index f7e71ab37..f2920e612 100644 --- a/schemas/gooddata-export-client.json +++ b/schemas/gooddata-export-client.json @@ -912,8 +912,8 @@ "type": "object" }, "DashboardCompoundComparisonCondition": { - "allOf": [ - { + "properties": { + "comparison": { "properties": { "operator": { "enum": [ @@ -926,17 +926,24 @@ ], "type": "string" }, + "treatNullValuesAs": { + "format": "double", + "type": "number" + }, "value": { "format": "double", "type": "number" } }, + "required": [ + "operator", + "value" + ], "type": "object" } - ], + }, "required": [ - "operator", - "value" + "comparison" ], "type": "object" }, @@ -952,8 +959,8 @@ "type": "object" }, "DashboardCompoundRangeCondition": { - "allOf": [ - { + "properties": { + "range": { "properties": { "from": { "format": "double", @@ -969,15 +976,22 @@ "to": { "format": "double", "type": "number" + }, + "treatNullValuesAs": { + "format": "double", + "type": "number" } }, + "required": [ + "from", + "operator", + "to" + ], "type": "object" } - ], + }, "required": [ - "from", - "operator", - "to" + "range" ], "type": "object" }, @@ -1183,7 +1197,7 @@ }, "DashboardMeasureValueFilter": { "properties": { - "measureValueFilter": { + "dashboardMeasureValueFilter": { "properties": { "conditions": { "items": { @@ -1191,6 +1205,12 @@ }, "type": "array" }, + "dimensionality": { + "items": { + "$ref": "#/components/schemas/IdentifierRef" + }, + "type": "array" + }, "localIdentifier": { "type": "string" }, @@ -1209,7 +1229,33 @@ } }, "required": [ - "measureValueFilter" + "dashboardMeasureValueFilter" + ], + "type": "object" + }, + "DashboardParameterValue": { + "description": "Parameter value override applied to the export. The (id, value) pair drives the execution; the title is FE-supplied for info-sheet display.", + "properties": { + "id": { + "description": "Identifier of the workspace parameter (matches the parameter entity id).", + "example": "year", + "type": "string" + }, + "title": { + "description": "Display title of the parameter as the client wants it rendered on the info sheet.", + "example": "Year", + "type": "string" + }, + "value": { + "description": "Value to use for this parameter when executing the export.", + "example": "2026", + "type": "string" + } + }, + "required": [ + "id", + "title", + "value" ], "type": "object" }, @@ -1223,6 +1269,13 @@ }, "type": "array" }, + "dashboardParametersOverride": { + "description": "Parameter value overrides applied to the export's executions. Each entry carries the parameter id (used as an AFM execution override) plus the FE-supplied title for the info sheet. Applied uniformly across all tabs; use dashboardTabsParametersOverrides for tab-scoped overrides.", + "items": { + "$ref": "#/components/schemas/DashboardParameterValue" + }, + "type": "array" + }, "dashboardTabsFiltersOverrides": { "additionalProperties": { "items": { @@ -1233,6 +1286,16 @@ "description": "Map of tab-specific filter overrides. Key is tabId, value is list of filters for that tab.", "type": "object" }, + "dashboardTabsParametersOverrides": { + "additionalProperties": { + "items": { + "$ref": "#/components/schemas/DashboardParameterValue" + }, + "type": "array" + }, + "description": "Map of tab-specific parameter overrides. Key is tabId, value is a list of (id, value, title) entries that override the dashboard-level parameters for that tab only. Mirrors dashboardTabsFiltersOverrides. When a tab is present in this map, its entries take precedence over dashboardParametersOverride for that tab's executions and info-sheet display.", + "type": "object" + }, "fileName": { "description": "Filename of downloaded file without extension.", "example": "result", diff --git a/schemas/gooddata-metadata-client.json b/schemas/gooddata-metadata-client.json index 4241117c7..650e5cfe6 100644 --- a/schemas/gooddata-metadata-client.json +++ b/schemas/gooddata-metadata-client.json @@ -584,6 +584,68 @@ ], "type": "object" }, + "AnthropicApiKeyAuth": { + "allOf": [ + { + "properties": { + "apiKey": { + "description": "Anthropic API key.", + "maxLength": 255, + "nullable": true, + "type": "string", + "writeOnly": true + }, + "type": { + "description": "Authentication type.", + "enum": [ + "API_KEY" + ], + "type": "string" + } + }, + "type": "object" + } + ], + "required": [ + "type" + ], + "type": "object" + }, + "AnthropicProviderAuth": { + "description": "Authentication configuration.", + "oneOf": [ + { + "$ref": "#/components/schemas/AnthropicApiKeyAuth" + } + ], + "type": "object" + }, + "AnthropicProviderConfig": { + "description": "Configuration for Anthropic provider.", + "properties": { + "auth": { + "$ref": "#/components/schemas/AnthropicProviderAuth" + }, + "baseUrl": { + "default": "https://api.anthropic.com", + "description": "Custom base URL for the Anthropic API. Defaults to the official endpoint; override only for enterprise proxies or compatible gateways.", + "maxLength": 255, + "type": "string" + }, + "type": { + "description": "Provider type.", + "enum": [ + "ANTHROPIC" + ], + "type": "string" + } + }, + "required": [ + "auth", + "type" + ], + "type": "object" + }, "ApiEntitlement": { "properties": { "expiry": { @@ -623,7 +685,8 @@ "AiModule", "AiQueryLimit", "AiKnowledgeStorageLimit", - "AiAgentLimit" + "AiAgentLimit", + "AiWorkspaceLimit" ], "type": "string" }, @@ -1712,8 +1775,8 @@ "type": "object" }, "DashboardCompoundComparisonCondition": { - "allOf": [ - { + "properties": { + "comparison": { "properties": { "operator": { "enum": [ @@ -1726,17 +1789,24 @@ ], "type": "string" }, + "treatNullValuesAs": { + "format": "double", + "type": "number" + }, "value": { "format": "double", "type": "number" } }, + "required": [ + "operator", + "value" + ], "type": "object" } - ], + }, "required": [ - "operator", - "value" + "comparison" ], "type": "object" }, @@ -1752,8 +1822,8 @@ "type": "object" }, "DashboardCompoundRangeCondition": { - "allOf": [ - { + "properties": { + "range": { "properties": { "from": { "format": "double", @@ -1769,15 +1839,22 @@ "to": { "format": "double", "type": "number" + }, + "treatNullValuesAs": { + "format": "double", + "type": "number" } }, + "required": [ + "from", + "operator", + "to" + ], "type": "object" } - ], + }, "required": [ - "from", - "operator", - "to" + "range" ], "type": "object" }, @@ -1983,7 +2060,7 @@ }, "DashboardMeasureValueFilter": { "properties": { - "measureValueFilter": { + "dashboardMeasureValueFilter": { "properties": { "conditions": { "items": { @@ -1991,6 +2068,12 @@ }, "type": "array" }, + "dimensionality": { + "items": { + "$ref": "#/components/schemas/IdentifierRef" + }, + "type": "array" + }, "localIdentifier": { "type": "string" }, @@ -2009,7 +2092,33 @@ } }, "required": [ - "measureValueFilter" + "dashboardMeasureValueFilter" + ], + "type": "object" + }, + "DashboardParameterValue": { + "description": "Parameter value override applied to the export. The (id, value) pair drives the execution; the title is FE-supplied for info-sheet display.", + "properties": { + "id": { + "description": "Identifier of the workspace parameter (matches the parameter entity id).", + "example": "year", + "type": "string" + }, + "title": { + "description": "Display title of the parameter as the client wants it rendered on the info sheet.", + "example": "Year", + "type": "string" + }, + "value": { + "description": "Value to use for this parameter when executing the export.", + "example": "2026", + "type": "string" + } + }, + "required": [ + "id", + "title", + "value" ], "type": "object" }, @@ -2117,6 +2226,13 @@ "example": "761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0", "type": "string" }, + "dashboardParametersOverride": { + "description": "Parameter value overrides applied to the export's executions. Each entry carries the parameter id (used as an AFM execution override) plus the FE-supplied title for the info sheet. Applied uniformly across all tabs; use dashboardTabsParametersOverrides for tab-scoped overrides.", + "items": { + "$ref": "#/components/schemas/DashboardParameterValue" + }, + "type": "array" + }, "dashboardTabsFiltersOverrides": { "additionalProperties": { "items": { @@ -2127,6 +2243,16 @@ "description": "Map of tab-specific filter overrides. Key is tabId, value is list of filters for that tab.", "type": "object" }, + "dashboardTabsParametersOverrides": { + "additionalProperties": { + "items": { + "$ref": "#/components/schemas/DashboardParameterValue" + }, + "type": "array" + }, + "description": "Map of tab-specific parameter overrides. Key is tabId, value is a list of (id, value, title) entries that override the dashboard-level parameters for that tab only. Mirrors dashboardTabsFiltersOverrides. When a tab is present in this map, its entries take precedence over dashboardParametersOverride for that tab's executions and info-sheet display.", + "type": "object" + }, "fileName": { "description": "Filename of downloaded file without extension.", "example": "result", @@ -2386,10 +2512,8 @@ "what_if_analysis", "knowledge" ], - "nullable": true, "type": "string" }, - "nullable": true, "type": "array" }, "description": { @@ -3535,7 +3659,8 @@ "ATHENA", "MONGODB", "CRATEDB", - "AILAKEHOUSE" + "AILAKEHOUSE", + "DENODO" ], "example": "POSTGRESQL", "type": "string" @@ -4269,13 +4394,13 @@ "description": "A declarative form of an IP allowlist policy.", "properties": { "allowedSources": { - "description": "Allowed source IP addresses or CIDR ranges.", + "description": "Allowed source IPv4 addresses or CIDR ranges. Only IPv4 is supported; IPv6 are rejected. The /0 prefix is not allowed.", "example": [ "203.0.113.10/32", "198.51.100.0/24" ], "items": { - "description": "Allowed source IP addresses or CIDR ranges.", + "description": "Allowed source IPv4 addresses or CIDR ranges. Only IPv4 is supported; IPv6 are rejected. The /0 prefix is not allowed.", "example": "[\"203.0.113.10/32\",\"198.51.100.0/24\"]", "type": "string" }, @@ -5264,7 +5389,6 @@ "TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", - "ACTIVE_LLM_ENDPOINT", "ACTIVE_LLM_PROVIDER", "ACTIVE_CALENDARS", "WHITE_LABELING", @@ -5306,6 +5430,7 @@ "SORT_COLLATION", "METRIC_FORMAT_OVERRIDE", "ENABLE_AI_ON_DATA", + "ENABLE_PARTIAL_DATA_RESULTS", "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", @@ -6388,7 +6513,8 @@ "AiModule", "AiQueryLimit", "AiKnowledgeStorageLimit", - "AiAgentLimit" + "AiAgentLimit", + "AiWorkspaceLimit" ], "type": "string" }, @@ -7175,6 +7301,21 @@ }, "type": "object" }, + "IpAllowlistPolicyTargets": { + "description": "Target delta for IP allowlist policy actions.", + "properties": { + "targets": { + "items": { + "$ref": "#/components/schemas/AssigneeIdentifier" + }, + "type": "array" + } + }, + "required": [ + "targets" + ], + "type": "object" + }, "JsonApiAgentIn": { "description": "JSON:API representation of agent entity.", "properties": { @@ -12316,7 +12457,8 @@ "ATHENA", "MONGODB", "CRATEDB", - "AILAKEHOUSE" + "AILAKEHOUSE", + "DENODO" ], "type": "string" } @@ -12543,7 +12685,8 @@ "ATHENA", "MONGODB", "CRATEDB", - "AILAKEHOUSE" + "AILAKEHOUSE", + "DENODO" ], "type": "string" }, @@ -12728,7 +12871,8 @@ "ATHENA", "MONGODB", "CRATEDB", - "AILAKEHOUSE" + "AILAKEHOUSE", + "DENODO" ], "type": "string" }, @@ -12967,7 +13111,8 @@ "ATHENA", "MONGODB", "CRATEDB", - "AILAKEHOUSE" + "AILAKEHOUSE", + "DENODO" ], "type": "string" }, @@ -16121,26 +16266,23 @@ } ] }, - "JsonApiJwkIn": { - "description": "JSON:API representation of jwk entity.", + "JsonApiIpAllowlistPolicyIn": { + "description": "JSON:API representation of ipAllowlistPolicy entity.", "properties": { "attributes": { "properties": { - "content": { - "description": "Specification of the cryptographic key", - "example": { - "alg": "RS256", - "kyt": "RSA", - "use": "sig" + "allowedSources": { + "description": "Allowed source IPv4 addresses or CIDR ranges. Only IPv4 is supported; IPv6 are rejected. The /0 prefix is not allowed.", + "items": { + "type": "string" }, - "oneOf": [ - { - "$ref": "#/components/schemas/RsaSpecification" - } - ], - "type": "object" + "nullable": true, + "type": "array" } }, + "required": [ + "allowedSources" + ], "type": "object" }, "id": { @@ -16149,25 +16291,53 @@ "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", "type": "string" }, + "relationships": { + "properties": { + "userGroups": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiUserGroupToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "users": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiUserToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + } + }, + "type": "object" + }, "type": { "description": "Object type", "enum": [ - "jwk" + "ipAllowlistPolicy" ], - "example": "jwk", + "example": "ipAllowlistPolicy", "type": "string" } }, "required": [ + "attributes", "id", "type" ], "type": "object" }, - "JsonApiJwkInDocument": { + "JsonApiIpAllowlistPolicyInDocument": { "properties": { "data": { - "$ref": "#/components/schemas/JsonApiJwkIn" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyIn" } }, "required": [ @@ -16175,26 +16345,23 @@ ], "type": "object" }, - "JsonApiJwkOut": { - "description": "JSON:API representation of jwk entity.", + "JsonApiIpAllowlistPolicyOut": { + "description": "JSON:API representation of ipAllowlistPolicy entity.", "properties": { "attributes": { "properties": { - "content": { - "description": "Specification of the cryptographic key", - "example": { - "alg": "RS256", - "kyt": "RSA", - "use": "sig" + "allowedSources": { + "description": "Allowed source IPv4 addresses or CIDR ranges. Only IPv4 is supported; IPv6 are rejected. The /0 prefix is not allowed.", + "items": { + "type": "string" }, - "oneOf": [ - { - "$ref": "#/components/schemas/RsaSpecification" - } - ], - "type": "object" + "nullable": true, + "type": "array" } }, + "required": [ + "allowedSources" + ], "type": "object" }, "id": { @@ -16203,25 +16370,61 @@ "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", "type": "string" }, + "relationships": { + "properties": { + "userGroups": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiUserGroupToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "users": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiUserToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + } + }, + "type": "object" + }, "type": { "description": "Object type", "enum": [ - "jwk" + "ipAllowlistPolicy" ], - "example": "jwk", + "example": "ipAllowlistPolicy", "type": "string" } }, "required": [ + "attributes", "id", "type" ], "type": "object" }, - "JsonApiJwkOutDocument": { + "JsonApiIpAllowlistPolicyOutDocument": { "properties": { "data": { - "$ref": "#/components/schemas/JsonApiJwkOut" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOut" + }, + "included": { + "description": "Included resources", + "items": { + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOutIncludes" + }, + "type": "array", + "uniqueItems": true }, "links": { "$ref": "#/components/schemas/ObjectLinks" @@ -16232,12 +16435,178 @@ ], "type": "object" }, - "JsonApiJwkOutList": { + "JsonApiIpAllowlistPolicyOutIncludes": { + "oneOf": [ + { + "$ref": "#/components/schemas/JsonApiUserOutWithLinks" + }, + { + "$ref": "#/components/schemas/JsonApiUserGroupOutWithLinks" + } + ] + }, + "JsonApiIpAllowlistPolicyOutList": { "description": "A JSON:API document with a list of resources", "properties": { "data": { "items": { - "$ref": "#/components/schemas/JsonApiJwkOutWithLinks" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOutWithLinks" + }, + "type": "array", + "uniqueItems": true + }, + "included": { + "description": "Included resources", + "items": { + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOutIncludes" + }, + "type": "array", + "uniqueItems": true + }, + "links": { + "$ref": "#/components/schemas/ListLinks" + }, + "meta": { + "properties": { + "page": { + "$ref": "#/components/schemas/PageMetadata" + } + }, + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiIpAllowlistPolicyOutWithLinks": { + "allOf": [ + { + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOut" + }, + { + "$ref": "#/components/schemas/ObjectLinksContainer" + } + ] + }, + "JsonApiJwkIn": { + "description": "JSON:API representation of jwk entity.", + "properties": { + "attributes": { + "properties": { + "content": { + "description": "Specification of the cryptographic key", + "example": { + "alg": "RS256", + "kyt": "RSA", + "use": "sig" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/RsaSpecification" + } + ], + "type": "object" + } + }, + "type": "object" + }, + "id": { + "description": "API identifier of an object", + "example": "id1", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "type": { + "description": "Object type", + "enum": [ + "jwk" + ], + "example": "jwk", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "JsonApiJwkInDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiJwkIn" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiJwkOut": { + "description": "JSON:API representation of jwk entity.", + "properties": { + "attributes": { + "properties": { + "content": { + "description": "Specification of the cryptographic key", + "example": { + "alg": "RS256", + "kyt": "RSA", + "use": "sig" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/RsaSpecification" + } + ], + "type": "object" + } + }, + "type": "object" + }, + "id": { + "description": "API identifier of an object", + "example": "id1", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "type": { + "description": "Object type", + "enum": [ + "jwk" + ], + "example": "jwk", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, + "JsonApiJwkOutDocument": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiJwkOut" + }, + "links": { + "$ref": "#/components/schemas/ObjectLinks" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "JsonApiJwkOutList": { + "description": "A JSON:API document with a list of resources", + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/JsonApiJwkOutWithLinks" }, "type": "array", "uniqueItems": true @@ -17422,53 +17791,82 @@ } ] }, - "JsonApiLlmEndpointIn": { - "deprecated": true, - "description": "Will be soon removed and replaced by LlmProvider.", + "JsonApiLlmProviderIn": { + "description": "LLM Provider configuration for connecting to LLM services.", "properties": { "attributes": { "properties": { - "baseUrl": { - "description": "Custom LLM endpoint.", + "defaultModelId": { + "description": "Required ID of the default model to use from the models list.", "maxLength": 255, "nullable": true, "type": "string" }, - "llmModel": { - "description": "LLM Model. We provide a default model for each provider, but you can override it here.", - "maxLength": 255, - "type": "string" - }, - "llmOrganization": { - "description": "Organization in LLM provider.", - "maxLength": 255, + "description": { + "description": "Description of the LLM Provider.", + "maxLength": 10000, "nullable": true, "type": "string" }, - "provider": { - "deprecated": true, - "description": "LLM Provider.", - "enum": [ - "OPENAI", - "AZURE_OPENAI" - ], - "type": "string" + "models": { + "description": "List of LLM models available for this provider.", + "items": { + "description": "LLM Model configuration (id, family) within a provider.", + "properties": { + "family": { + "description": "Family of LLM models.", + "enum": [ + "OPENAI", + "ANTHROPIC", + "META", + "MISTRAL", + "AMAZON", + "GOOGLE", + "COHERE", + "UNKNOWN" + ], + "type": "string" + }, + "id": { + "description": "Unique identifier of the model (e.g., gpt-5.3, claude-4.6).", + "maxLength": 255, + "type": "string" + } + }, + "required": [ + "family", + "id" + ], + "type": "object" + }, + "nullable": true, + "type": "array" }, - "title": { - "description": "User-facing title of the LLM Provider.", + "name": { "maxLength": 255, + "nullable": true, "type": "string" }, - "token": { - "description": "The token to use to connect to the LLM provider.", - "maxLength": 10000, - "type": "string" + "providerConfig": { + "description": "Provider-specific configuration including authentication.", + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/OpenAIProviderConfig" + }, + { + "$ref": "#/components/schemas/AzureFoundryProviderConfig" + }, + { + "$ref": "#/components/schemas/AwsBedrockProviderConfig" + }, + { + "$ref": "#/components/schemas/AnthropicProviderConfig" + } + ], + "type": "object" } }, - "required": [ - "title", - "token" - ], "type": "object" }, "id": { @@ -17480,23 +17878,22 @@ "type": { "description": "Object type", "enum": [ - "llmEndpoint" + "llmProvider" ], - "example": "llmEndpoint", + "example": "llmProvider", "type": "string" } }, "required": [ - "attributes", "id", "type" ], "type": "object" }, - "JsonApiLlmEndpointInDocument": { + "JsonApiLlmProviderInDocument": { "properties": { "data": { - "$ref": "#/components/schemas/JsonApiLlmEndpointIn" + "$ref": "#/components/schemas/JsonApiLlmProviderIn" } }, "required": [ @@ -17504,47 +17901,82 @@ ], "type": "object" }, - "JsonApiLlmEndpointOut": { - "deprecated": true, - "description": "Will be soon removed and replaced by LlmProvider.", + "JsonApiLlmProviderOut": { + "description": "LLM Provider configuration for connecting to LLM services.", "properties": { "attributes": { "properties": { - "baseUrl": { - "description": "Custom LLM endpoint.", + "defaultModelId": { + "description": "Required ID of the default model to use from the models list.", "maxLength": 255, "nullable": true, "type": "string" }, - "llmModel": { - "description": "LLM Model. We provide a default model for each provider, but you can override it here.", - "maxLength": 255, + "description": { + "description": "Description of the LLM Provider.", + "maxLength": 10000, + "nullable": true, "type": "string" }, - "llmOrganization": { - "description": "Organization in LLM provider.", + "models": { + "description": "List of LLM models available for this provider.", + "items": { + "description": "LLM Model configuration (id, family) within a provider.", + "properties": { + "family": { + "description": "Family of LLM models.", + "enum": [ + "OPENAI", + "ANTHROPIC", + "META", + "MISTRAL", + "AMAZON", + "GOOGLE", + "COHERE", + "UNKNOWN" + ], + "type": "string" + }, + "id": { + "description": "Unique identifier of the model (e.g., gpt-5.3, claude-4.6).", + "maxLength": 255, + "type": "string" + } + }, + "required": [ + "family", + "id" + ], + "type": "object" + }, + "nullable": true, + "type": "array" + }, + "name": { "maxLength": 255, "nullable": true, "type": "string" }, - "provider": { - "deprecated": true, - "description": "LLM Provider.", - "enum": [ - "OPENAI", - "AZURE_OPENAI" + "providerConfig": { + "description": "Provider-specific configuration including authentication.", + "nullable": true, + "oneOf": [ + { + "$ref": "#/components/schemas/OpenAIProviderConfig" + }, + { + "$ref": "#/components/schemas/AzureFoundryProviderConfig" + }, + { + "$ref": "#/components/schemas/AwsBedrockProviderConfig" + }, + { + "$ref": "#/components/schemas/AnthropicProviderConfig" + } ], - "type": "string" - }, - "title": { - "description": "User-facing title of the LLM Provider.", - "maxLength": 255, - "type": "string" + "type": "object" } }, - "required": [ - "title" - ], "type": "object" }, "id": { @@ -17556,23 +17988,22 @@ "type": { "description": "Object type", "enum": [ - "llmEndpoint" + "llmProvider" ], - "example": "llmEndpoint", + "example": "llmProvider", "type": "string" } }, "required": [ - "attributes", "id", "type" ], "type": "object" }, - "JsonApiLlmEndpointOutDocument": { + "JsonApiLlmProviderOutDocument": { "properties": { "data": { - "$ref": "#/components/schemas/JsonApiLlmEndpointOut" + "$ref": "#/components/schemas/JsonApiLlmProviderOut" }, "links": { "$ref": "#/components/schemas/ObjectLinks" @@ -17583,12 +18014,12 @@ ], "type": "object" }, - "JsonApiLlmEndpointOutList": { + "JsonApiLlmProviderOutList": { "description": "A JSON:API document with a list of resources", "properties": { "data": { "items": { - "$ref": "#/components/schemas/JsonApiLlmEndpointOutWithLinks" + "$ref": "#/components/schemas/JsonApiLlmProviderOutWithLinks" }, "type": "array", "uniqueItems": true @@ -17610,95 +18041,17 @@ ], "type": "object" }, - "JsonApiLlmEndpointOutWithLinks": { + "JsonApiLlmProviderOutWithLinks": { "allOf": [ { - "$ref": "#/components/schemas/JsonApiLlmEndpointOut" + "$ref": "#/components/schemas/JsonApiLlmProviderOut" }, { "$ref": "#/components/schemas/ObjectLinksContainer" } ] }, - "JsonApiLlmEndpointPatch": { - "deprecated": true, - "description": "Will be soon removed and replaced by LlmProvider.", - "properties": { - "attributes": { - "properties": { - "baseUrl": { - "description": "Custom LLM endpoint.", - "maxLength": 255, - "nullable": true, - "type": "string" - }, - "llmModel": { - "description": "LLM Model. We provide a default model for each provider, but you can override it here.", - "maxLength": 255, - "type": "string" - }, - "llmOrganization": { - "description": "Organization in LLM provider.", - "maxLength": 255, - "nullable": true, - "type": "string" - }, - "provider": { - "deprecated": true, - "description": "LLM Provider.", - "enum": [ - "OPENAI", - "AZURE_OPENAI" - ], - "type": "string" - }, - "title": { - "description": "User-facing title of the LLM Provider.", - "maxLength": 255, - "type": "string" - }, - "token": { - "description": "The token to use to connect to the LLM provider.", - "maxLength": 10000, - "type": "string" - } - }, - "type": "object" - }, - "id": { - "description": "API identifier of an object", - "example": "id1", - "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", - "type": "string" - }, - "type": { - "description": "Object type", - "enum": [ - "llmEndpoint" - ], - "example": "llmEndpoint", - "type": "string" - } - }, - "required": [ - "attributes", - "id", - "type" - ], - "type": "object" - }, - "JsonApiLlmEndpointPatchDocument": { - "properties": { - "data": { - "$ref": "#/components/schemas/JsonApiLlmEndpointPatch" - } - }, - "required": [ - "data" - ], - "type": "object" - }, - "JsonApiLlmProviderIn": { + "JsonApiLlmProviderPatch": { "description": "LLM Provider configuration for connecting to LLM services.", "properties": { "attributes": { @@ -17758,268 +18111,20 @@ "description": "Provider-specific configuration including authentication.", "nullable": true, "oneOf": [ - { - "$ref": "#/components/schemas/AwsBedrockProviderConfig" - }, - { - "$ref": "#/components/schemas/AzureFoundryProviderConfig" - }, { "$ref": "#/components/schemas/OpenAIProviderConfig" - } - ] - } - }, - "type": "object" - }, - "id": { - "description": "API identifier of an object", - "example": "id1", - "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", - "type": "string" - }, - "type": { - "description": "Object type", - "enum": [ - "llmProvider" - ], - "example": "llmProvider", - "type": "string" - } - }, - "required": [ - "id", - "type" - ], - "type": "object" - }, - "JsonApiLlmProviderInDocument": { - "properties": { - "data": { - "$ref": "#/components/schemas/JsonApiLlmProviderIn" - } - }, - "required": [ - "data" - ], - "type": "object" - }, - "JsonApiLlmProviderOut": { - "description": "LLM Provider configuration for connecting to LLM services.", - "properties": { - "attributes": { - "properties": { - "defaultModelId": { - "description": "Required ID of the default model to use from the models list.", - "maxLength": 255, - "nullable": true, - "type": "string" - }, - "description": { - "description": "Description of the LLM Provider.", - "maxLength": 10000, - "nullable": true, - "type": "string" - }, - "models": { - "description": "List of LLM models available for this provider.", - "items": { - "description": "LLM Model configuration (id, family) within a provider.", - "properties": { - "family": { - "description": "Family of LLM models.", - "enum": [ - "OPENAI", - "ANTHROPIC", - "META", - "MISTRAL", - "AMAZON", - "GOOGLE", - "COHERE", - "UNKNOWN" - ], - "type": "string" - }, - "id": { - "description": "Unique identifier of the model (e.g., gpt-5.3, claude-4.6).", - "maxLength": 255, - "type": "string" - } - }, - "required": [ - "family", - "id" - ], - "type": "object" - }, - "nullable": true, - "type": "array" - }, - "name": { - "maxLength": 255, - "nullable": true, - "type": "string" - }, - "providerConfig": { - "description": "Provider-specific configuration including authentication.", - "nullable": true, - "oneOf": [ - { - "$ref": "#/components/schemas/AwsBedrockProviderConfig" }, { "$ref": "#/components/schemas/AzureFoundryProviderConfig" }, - { - "$ref": "#/components/schemas/OpenAIProviderConfig" - } - ] - } - }, - "type": "object" - }, - "id": { - "description": "API identifier of an object", - "example": "id1", - "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", - "type": "string" - }, - "type": { - "description": "Object type", - "enum": [ - "llmProvider" - ], - "example": "llmProvider", - "type": "string" - } - }, - "required": [ - "id", - "type" - ], - "type": "object" - }, - "JsonApiLlmProviderOutDocument": { - "properties": { - "data": { - "$ref": "#/components/schemas/JsonApiLlmProviderOut" - }, - "links": { - "$ref": "#/components/schemas/ObjectLinks" - } - }, - "required": [ - "data" - ], - "type": "object" - }, - "JsonApiLlmProviderOutList": { - "description": "A JSON:API document with a list of resources", - "properties": { - "data": { - "items": { - "$ref": "#/components/schemas/JsonApiLlmProviderOutWithLinks" - }, - "type": "array", - "uniqueItems": true - }, - "links": { - "$ref": "#/components/schemas/ListLinks" - }, - "meta": { - "properties": { - "page": { - "$ref": "#/components/schemas/PageMetadata" - } - }, - "type": "object" - } - }, - "required": [ - "data" - ], - "type": "object" - }, - "JsonApiLlmProviderOutWithLinks": { - "allOf": [ - { - "$ref": "#/components/schemas/JsonApiLlmProviderOut" - }, - { - "$ref": "#/components/schemas/ObjectLinksContainer" - } - ] - }, - "JsonApiLlmProviderPatch": { - "description": "LLM Provider configuration for connecting to LLM services.", - "properties": { - "attributes": { - "properties": { - "defaultModelId": { - "description": "Required ID of the default model to use from the models list.", - "maxLength": 255, - "nullable": true, - "type": "string" - }, - "description": { - "description": "Description of the LLM Provider.", - "maxLength": 10000, - "nullable": true, - "type": "string" - }, - "models": { - "description": "List of LLM models available for this provider.", - "items": { - "description": "LLM Model configuration (id, family) within a provider.", - "properties": { - "family": { - "description": "Family of LLM models.", - "enum": [ - "OPENAI", - "ANTHROPIC", - "META", - "MISTRAL", - "AMAZON", - "GOOGLE", - "COHERE", - "UNKNOWN" - ], - "type": "string" - }, - "id": { - "description": "Unique identifier of the model (e.g., gpt-5.3, claude-4.6).", - "maxLength": 255, - "type": "string" - } - }, - "required": [ - "family", - "id" - ], - "type": "object" - }, - "nullable": true, - "type": "array" - }, - "name": { - "maxLength": 255, - "nullable": true, - "type": "string" - }, - "providerConfig": { - "description": "Provider-specific configuration including authentication.", - "nullable": true, - "oneOf": [ { "$ref": "#/components/schemas/AwsBedrockProviderConfig" }, { - "$ref": "#/components/schemas/AzureFoundryProviderConfig" - }, - { - "$ref": "#/components/schemas/OpenAIProviderConfig" + "$ref": "#/components/schemas/AnthropicProviderConfig" } - ] + ], + "type": "object" } }, "type": "object" @@ -20133,7 +20238,6 @@ "TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", - "ACTIVE_LLM_ENDPOINT", "ACTIVE_LLM_PROVIDER", "ACTIVE_CALENDARS", "WHITE_LABELING", @@ -20175,6 +20279,7 @@ "SORT_COLLATION", "METRIC_FORMAT_OVERRIDE", "ENABLE_AI_ON_DATA", + "ENABLE_PARTIAL_DATA_RESULTS", "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", @@ -20234,7 +20339,6 @@ "TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", - "ACTIVE_LLM_ENDPOINT", "ACTIVE_LLM_PROVIDER", "ACTIVE_CALENDARS", "WHITE_LABELING", @@ -20276,6 +20380,7 @@ "SORT_COLLATION", "METRIC_FORMAT_OVERRIDE", "ENABLE_AI_ON_DATA", + "ENABLE_PARTIAL_DATA_RESULTS", "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", @@ -20375,7 +20480,6 @@ "TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", - "ACTIVE_LLM_ENDPOINT", "ACTIVE_LLM_PROVIDER", "ACTIVE_CALENDARS", "WHITE_LABELING", @@ -20417,6 +20521,7 @@ "SORT_COLLATION", "METRIC_FORMAT_OVERRIDE", "ENABLE_AI_ON_DATA", + "ENABLE_PARTIAL_DATA_RESULTS", "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", @@ -20478,14 +20583,6 @@ "$ref": "#/components/schemas/StringParameterDefinition" } ], - "properties": { - "type": { - "type": "string" - } - }, - "required": [ - "type" - ], "type": "object" }, "description": { @@ -20585,14 +20682,6 @@ "$ref": "#/components/schemas/StringParameterDefinition" } ], - "properties": { - "type": { - "type": "string" - } - }, - "required": [ - "type" - ], "type": "object" }, "description": { @@ -20782,14 +20871,6 @@ "$ref": "#/components/schemas/StringParameterDefinition" } ], - "properties": { - "type": { - "type": "string" - } - }, - "required": [ - "type" - ], "type": "object" }, "description": { @@ -20859,14 +20940,6 @@ "$ref": "#/components/schemas/StringParameterDefinition" } ], - "properties": { - "type": { - "type": "string" - } - }, - "required": [ - "type" - ], "type": "object" }, "description": { @@ -22077,6 +22150,9 @@ "lastname": { "maxLength": 255, "type": "string" + }, + "systemAccount": { + "type": "boolean" } }, "type": "object" @@ -22168,6 +22244,9 @@ "lastname": { "maxLength": 255, "type": "string" + }, + "systemAccount": { + "type": "boolean" } }, "type": "object" @@ -22296,6 +22375,9 @@ "lastname": { "maxLength": 255, "type": "string" + }, + "systemAccount": { + "type": "boolean" } }, "type": "object" @@ -22363,7 +22445,6 @@ "TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", - "ACTIVE_LLM_ENDPOINT", "ACTIVE_LLM_PROVIDER", "ACTIVE_CALENDARS", "WHITE_LABELING", @@ -22405,6 +22486,7 @@ "SORT_COLLATION", "METRIC_FORMAT_OVERRIDE", "ENABLE_AI_ON_DATA", + "ENABLE_PARTIAL_DATA_RESULTS", "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", @@ -22464,7 +22546,6 @@ "TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", - "ACTIVE_LLM_ENDPOINT", "ACTIVE_LLM_PROVIDER", "ACTIVE_CALENDARS", "WHITE_LABELING", @@ -22506,6 +22587,7 @@ "SORT_COLLATION", "METRIC_FORMAT_OVERRIDE", "ENABLE_AI_ON_DATA", + "ENABLE_PARTIAL_DATA_RESULTS", "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", @@ -24732,7 +24814,6 @@ "TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", - "ACTIVE_LLM_ENDPOINT", "ACTIVE_LLM_PROVIDER", "ACTIVE_CALENDARS", "WHITE_LABELING", @@ -24774,6 +24855,7 @@ "SORT_COLLATION", "METRIC_FORMAT_OVERRIDE", "ENABLE_AI_ON_DATA", + "ENABLE_PARTIAL_DATA_RESULTS", "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", @@ -24833,7 +24915,6 @@ "TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", - "ACTIVE_LLM_ENDPOINT", "ACTIVE_LLM_PROVIDER", "ACTIVE_CALENDARS", "WHITE_LABELING", @@ -24875,6 +24956,7 @@ "SORT_COLLATION", "METRIC_FORMAT_OVERRIDE", "ENABLE_AI_ON_DATA", + "ENABLE_PARTIAL_DATA_RESULTS", "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", @@ -25000,7 +25082,6 @@ "TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", - "ACTIVE_LLM_ENDPOINT", "ACTIVE_LLM_PROVIDER", "ACTIVE_CALENDARS", "WHITE_LABELING", @@ -25042,6 +25123,7 @@ "SORT_COLLATION", "METRIC_FORMAT_OVERRIDE", "ENABLE_AI_ON_DATA", + "ENABLE_PARTIAL_DATA_RESULTS", "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", @@ -25101,7 +25183,6 @@ "TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", - "ACTIVE_LLM_ENDPOINT", "ACTIVE_LLM_PROVIDER", "ACTIVE_CALENDARS", "WHITE_LABELING", @@ -25143,6 +25224,7 @@ "SORT_COLLATION", "METRIC_FORMAT_OVERRIDE", "ENABLE_AI_ON_DATA", + "ENABLE_PARTIAL_DATA_RESULTS", "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", @@ -25226,6 +25308,99 @@ ], "type": "object" }, + "LdmObjectPermissions": { + "properties": { + "rules": { + "description": "List of rules", + "items": { + "$ref": "#/components/schemas/RulePermission" + }, + "type": "array" + }, + "userGroups": { + "description": "List of user groups", + "items": { + "$ref": "#/components/schemas/UserGroupPermission" + }, + "type": "array" + }, + "users": { + "description": "List of users", + "items": { + "$ref": "#/components/schemas/UserPermission" + }, + "type": "array" + } + }, + "required": [ + "rules", + "userGroups", + "users" + ], + "type": "object" + }, + "LdmObjectPermissionsAssignment": { + "description": "Desired levels of permissions on an LDM object (attribute, label, fact) for an assignee.", + "properties": { + "permissions": { + "items": { + "enum": [ + "EDIT", + "SHARE", + "VIEW" + ], + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "permissions" + ], + "type": "object" + }, + "LdmObjectPermissionsForAssignee": { + "allOf": [ + { + "$ref": "#/components/schemas/LdmObjectPermissionsAssignment" + }, + { + "properties": { + "assigneeIdentifier": { + "$ref": "#/components/schemas/AssigneeIdentifier" + } + }, + "type": "object" + } + ], + "description": "Desired levels of LDM-object permissions for an assignee identified by an identifier.", + "required": [ + "assigneeIdentifier", + "permissions" + ], + "type": "object" + }, + "LdmObjectPermissionsForAssigneeRule": { + "allOf": [ + { + "$ref": "#/components/schemas/LdmObjectPermissionsAssignment" + }, + { + "properties": { + "assigneeRule": { + "$ref": "#/components/schemas/AssigneeRule" + } + }, + "type": "object" + } + ], + "description": "Desired levels of LDM-object permissions for a collection of assignees identified by a rule.", + "required": [ + "assigneeRule", + "permissions" + ], + "type": "object" + }, "ListLinks": { "allOf": [ { @@ -25577,14 +25752,6 @@ "$ref": "#/components/schemas/InPlatform" } ], - "properties": { - "type": { - "type": "string" - } - }, - "required": [ - "type" - ], "type": "object" }, "NumberConstraints": { @@ -25842,14 +26009,6 @@ "$ref": "#/components/schemas/StringParameterDefinition" } ], - "properties": { - "type": { - "type": "string" - } - }, - "required": [ - "type" - ], "type": "object" }, "ParameterItem": { @@ -26050,7 +26209,8 @@ "name": { "enum": [ "UserCount", - "WorkspaceCount" + "WorkspaceCount", + "AiWorkspaceCount" ], "type": "string" } @@ -26066,7 +26226,8 @@ "items": { "enum": [ "UserCount", - "WorkspaceCount" + "WorkspaceCount", + "AiWorkspaceCount" ], "type": "string" }, @@ -26828,7 +26989,6 @@ "TIMEZONE", "ACTIVE_THEME", "ACTIVE_COLOR_PALETTE", - "ACTIVE_LLM_ENDPOINT", "ACTIVE_LLM_PROVIDER", "ACTIVE_CALENDARS", "WHITE_LABELING", @@ -26870,6 +27030,7 @@ "SORT_COLLATION", "METRIC_FORMAT_OVERRIDE", "ENABLE_AI_ON_DATA", + "ENABLE_PARTIAL_DATA_RESULTS", "API_ENTITIES_DEFAULT_CONTENT_MEDIA_TYPE", "EXPORT_CSV_CUSTOM_DELIMITER", "ENABLE_QUERY_TAGS", @@ -27872,6 +28033,11 @@ "example": false, "type": "boolean" }, + "systemAccount": { + "description": "Is user system account", + "example": false, + "type": "boolean" + }, "userGroups": { "items": { "$ref": "#/components/schemas/UserGroupIdentifier" @@ -27889,6 +28055,7 @@ "dataSources", "id", "organizationAdmin", + "systemAccount", "userGroups", "workspaces" ], @@ -28553,6 +28720,76 @@ } } }, + "/api/v1/actions/ipAllowlistPolicies/{id}/addTargets": { + "post": { + "operationId": "addTargets", + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IpAllowlistPolicyTargets" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "No Content" + } + }, + "summary": "Add targets to IP allowlist policy", + "tags": [ + "Organization - Entity APIs", + "actions" + ] + } + }, + "/api/v1/actions/ipAllowlistPolicies/{id}/removeTargets": { + "post": { + "operationId": "removeTargets", + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IpAllowlistPolicyTargets" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "No Content" + } + }, + "summary": "Remove targets from IP allowlist policy", + "tags": [ + "Organization - Entity APIs", + "actions" + ] + } + }, "/api/v1/actions/organization/automations/delete": { "post": { "operationId": "deleteOrganizationAutomations", @@ -29492,9 +29729,9 @@ ] } }, - "/api/v1/actions/workspaces/{workspaceId}/automations/delete": { + "/api/v1/actions/workspaces/{workspaceId}/attributes/{attributeId}/managePermissions": { "post": { - "operationId": "deleteWorkspaceAutomations", + "operationId": "manageAttributePermissions", "parameters": [ { "in": "path", @@ -29503,13 +29740,32 @@ "schema": { "type": "string" } + }, + { + "in": "path", + "name": "attributeId", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WorkspaceAutomationManagementBulkRequest" + "description": "An array of attribute-permission assignments.", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/LdmObjectPermissionsForAssignee" + }, + { + "$ref": "#/components/schemas/LdmObjectPermissionsForAssigneeRule" + } + ] + }, + "type": "array" } } }, @@ -29520,16 +29776,56 @@ "description": "No Content" } }, - "summary": "Delete selected automations in the workspace", + "summary": "Manage Permissions for an Attribute", "tags": [ - "Automations", + "Permissions", "actions" ] } }, - "/api/v1/actions/workspaces/{workspaceId}/automations/pause": { + "/api/v1/actions/workspaces/{workspaceId}/attributes/{attributeId}/permissions": { + "get": { + "operationId": "attributePermissions", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "attributeId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LdmObjectPermissions" + } + } + }, + "description": "OK" + } + }, + "summary": "Get Attribute Permissions", + "tags": [ + "Permissions", + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/automations/delete": { "post": { - "operationId": "pauseWorkspaceAutomations", + "operationId": "deleteWorkspaceAutomations", "parameters": [ { "in": "path", @@ -29555,16 +29851,51 @@ "description": "No Content" } }, - "summary": "Pause selected automations in the workspace", + "summary": "Delete selected automations in the workspace", "tags": [ "Automations", "actions" ] } }, - "/api/v1/actions/workspaces/{workspaceId}/automations/unpause": { + "/api/v1/actions/workspaces/{workspaceId}/automations/pause": { "post": { - "operationId": "unpauseWorkspaceAutomations", + "operationId": "pauseWorkspaceAutomations", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkspaceAutomationManagementBulkRequest" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "No Content" + } + }, + "summary": "Pause selected automations in the workspace", + "tags": [ + "Automations", + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/automations/unpause": { + "post": { + "operationId": "unpauseWorkspaceAutomations", "parameters": [ { "in": "path", @@ -29830,6 +30161,100 @@ } } }, + "/api/v1/actions/workspaces/{workspaceId}/facts/{factId}/managePermissions": { + "post": { + "operationId": "manageFactPermissions", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "factId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "description": "An array of fact-permission assignments.", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/LdmObjectPermissionsForAssignee" + }, + { + "$ref": "#/components/schemas/LdmObjectPermissionsForAssigneeRule" + } + ] + }, + "type": "array" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "No Content" + } + }, + "summary": "Manage Permissions for a Fact", + "tags": [ + "Permissions", + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/facts/{factId}/permissions": { + "get": { + "operationId": "factPermissions", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "factId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LdmObjectPermissions" + } + } + }, + "description": "OK" + } + }, + "summary": "Get Fact Permissions", + "tags": [ + "Permissions", + "actions" + ] + } + }, "/api/v1/actions/workspaces/{workspaceId}/inheritedEntityConflicts": { "get": { "description": "Finds API identifier conflicts in given workspace hierarchy.", @@ -29914,6 +30339,100 @@ } } }, + "/api/v1/actions/workspaces/{workspaceId}/labels/{labelId}/managePermissions": { + "post": { + "operationId": "manageLabelPermissions", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "labelId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "description": "An array of label-permission assignments.", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/LdmObjectPermissionsForAssignee" + }, + { + "$ref": "#/components/schemas/LdmObjectPermissionsForAssigneeRule" + } + ] + }, + "type": "array" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "No Content" + } + }, + "summary": "Manage Permissions for a Label", + "tags": [ + "Permissions", + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/labels/{labelId}/permissions": { + "get": { + "operationId": "labelPermissions", + "parameters": [ + { + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "labelId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LdmObjectPermissions" + } + } + }, + "description": "OK" + } + }, + "summary": "Get Label Permissions", + "tags": [ + "Permissions", + "actions" + ] + } + }, "/api/v1/actions/workspaces/{workspaceId}/managePermissions": { "post": { "description": "Manage Permissions for a Workspace and its Workspace Hierarchy", @@ -33499,20 +34018,39 @@ } } }, - "/api/v1/entities/jwks": { + "/api/v1/entities/ipAllowlistPolicies": { "get": { - "description": "Returns all JSON web keys - used to verify JSON web tokens (Jwts)", - "operationId": "getAllEntities@Jwks", + "operationId": "getAllEntities@IpAllowlistPolicies", "parameters": [ { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "content==JwkSpecificationValue", + "example": "allowedSources==v1,v2,v3", "in": "query", "name": "filter", "schema": { "type": "string" } }, + { + "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", + "example": "users,userGroups", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "users", + "userGroups", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" + }, { "$ref": "#/components/parameters/page" }, @@ -33550,38 +34088,65 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiJwkOutList" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiJwkOutList" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get all Jwks", + "summary": "Get all IpAllowlistPolicy entities", "tags": [ - "JWKS", + "Organization - Entity APIs", "entities", - "jwk-controller" - ] + "ip-allowlist-policy-controller" + ], + "x-gdc-security-info": { + "description": "Contains minimal permission level required to view this object type.", + "permissions": [ + "VIEW" + ] + } }, "post": { - "description": "Creates JSON web key - used to verify JSON web tokens (Jwts)", - "operationId": "createEntity@Jwks", + "operationId": "createEntity@IpAllowlistPolicies", + "parameters": [ + { + "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", + "example": "users,userGroups", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "users", + "userGroups", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" + } + ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiJwkInDocument" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiJwkInDocument" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyInDocument" } } }, @@ -33592,23 +34157,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiJwkOutDocument" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiJwkOutDocument" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post Jwks", + "summary": "Post IpAllowlistPolicy entities", "tags": [ - "JWKS", + "Organization - Entity APIs", "entities", - "jwk-controller" + "ip-allowlist-policy-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -33618,10 +34183,9 @@ } } }, - "/api/v1/entities/jwks/{id}": { + "/api/v1/entities/ipAllowlistPolicies/{id}": { "delete": { - "description": "Deletes JSON web key - used to verify JSON web tokens (Jwts)", - "operationId": "deleteEntity@Jwks", + "operationId": "deleteEntity@IpAllowlistPolicies", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" @@ -33632,11 +34196,11 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete Jwk", + "summary": "Delete IpAllowlistPolicy entity", "tags": [ - "JWKS", + "Organization - Entity APIs", "entities", - "jwk-controller" + "ip-allowlist-policy-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -33646,135 +34210,117 @@ } }, "get": { - "description": "Returns JSON web key - used to verify JSON web tokens (Jwts)", - "operationId": "getEntity@Jwks", + "operationId": "getEntity@IpAllowlistPolicies", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "content==JwkSpecificationValue", + "example": "allowedSources==v1,v2,v3", "in": "query", "name": "filter", "schema": { "type": "string" } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiJwkOutDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiJwkOutDocument" - } - } - }, - "description": "Request successfully processed" - } - }, - "summary": "Get Jwk", - "tags": [ - "JWKS", - "entities", - "jwk-controller" - ] - }, - "patch": { - "description": "Patches JSON web key - used to verify JSON web tokens (Jwts)", - "operationId": "patchEntity@Jwks", - "parameters": [ - { - "$ref": "#/components/parameters/idPathParameter" }, { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "content==JwkSpecificationValue", + "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", + "example": "users,userGroups", + "explode": false, "in": "query", - "name": "filter", + "name": "include", + "required": false, "schema": { - "type": "string" - } + "items": { + "enum": [ + "users", + "userGroups", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JsonApiJwkPatchDocument" - } - }, - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiJwkPatchDocument" - } - } - }, - "required": true - }, "responses": { "200": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiJwkOutDocument" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiJwkOutDocument" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch Jwk", + "summary": "Get IpAllowlistPolicy entity", "tags": [ - "JWKS", + "Organization - Entity APIs", "entities", - "jwk-controller" + "ip-allowlist-policy-controller" ], "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", + "description": "Contains minimal permission level required to view this object type.", "permissions": [ - "MANAGE" + "VIEW" ] } }, "put": { - "description": "Updates JSON web key - used to verify JSON web tokens (Jwts)", - "operationId": "updateEntity@Jwks", + "operationId": "updateEntity@IpAllowlistPolicies", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "content==JwkSpecificationValue", + "example": "allowedSources==v1,v2,v3", "in": "query", "name": "filter", "schema": { "type": "string" } + }, + { + "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", + "example": "users,userGroups", + "explode": false, + "in": "query", + "name": "include", + "required": false, + "schema": { + "items": { + "enum": [ + "users", + "userGroups", + "ALL" + ], + "type": "string" + }, + "type": "array" + }, + "style": "form" } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiJwkInDocument" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiJwkInDocument" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyInDocument" } } }, @@ -33785,23 +34331,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiJwkOutDocument" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiJwkOutDocument" + "$ref": "#/components/schemas/JsonApiIpAllowlistPolicyOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Put Jwk", + "summary": "Put IpAllowlistPolicy entity", "tags": [ - "JWKS", + "Organization - Entity APIs", "entities", - "jwk-controller" + "ip-allowlist-policy-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -33811,15 +34357,14 @@ } } }, - "/api/v1/entities/llmEndpoints": { + "/api/v1/entities/jwks": { "get": { - "deprecated": true, - "description": "Will be soon removed and replaced by LlmProvider.", - "operationId": "getAllEntities@LlmEndpoints", + "description": "Returns all JSON web keys - used to verify JSON web tokens (Jwts)", + "operationId": "getAllEntities@Jwks", "parameters": [ { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;provider==LlmEndpointProviderValue", + "example": "content==JwkSpecificationValue", "in": "query", "name": "filter", "schema": { @@ -33863,45 +34408,38 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointOutList" + "$ref": "#/components/schemas/JsonApiJwkOutList" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointOutList" + "$ref": "#/components/schemas/JsonApiJwkOutList" } } }, "description": "Request successfully processed" } }, - "summary": "Get all LLM endpoint entities", + "summary": "Get all Jwks", "tags": [ - "LLM Endpoints", + "JWKS", "entities", - "llm-endpoint-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } + "jwk-controller" + ] }, "post": { - "deprecated": true, - "description": "Will be soon removed and replaced by LlmProvider.", - "operationId": "createEntity@LlmEndpoints", + "description": "Creates JSON web key - used to verify JSON web tokens (Jwts)", + "operationId": "createEntity@Jwks", "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointInDocument" + "$ref": "#/components/schemas/JsonApiJwkInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointInDocument" + "$ref": "#/components/schemas/JsonApiJwkInDocument" } } }, @@ -33912,23 +34450,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointOutDocument" + "$ref": "#/components/schemas/JsonApiJwkOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointOutDocument" + "$ref": "#/components/schemas/JsonApiJwkOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Post LLM endpoint entities", + "summary": "Post Jwks", "tags": [ - "LLM Endpoints", + "JWKS", "entities", - "llm-endpoint-controller" + "jwk-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -33938,11 +34476,10 @@ } } }, - "/api/v1/entities/llmEndpoints/{id}": { + "/api/v1/entities/jwks/{id}": { "delete": { - "deprecated": true, - "description": "Will be soon removed and replaced by LlmProvider.", - "operationId": "deleteEntity@LlmEndpoints", + "description": "Deletes JSON web key - used to verify JSON web tokens (Jwts)", + "operationId": "deleteEntity@Jwks", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" @@ -33953,11 +34490,11 @@ "$ref": "#/components/responses/Deleted" } }, - "summary": "Delete LLM endpoint entity", + "summary": "Delete Jwk", "tags": [ - "LLM Endpoints", + "JWKS", "entities", - "llm-endpoint-controller" + "jwk-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -33967,16 +34504,15 @@ } }, "get": { - "deprecated": true, - "description": "Will be soon removed and replaced by LlmProvider.", - "operationId": "getEntity@LlmEndpoints", + "description": "Returns JSON web key - used to verify JSON web tokens (Jwts)", + "operationId": "getEntity@Jwks", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;provider==LlmEndpointProviderValue", + "example": "content==JwkSpecificationValue", "in": "query", "name": "filter", "schema": { @@ -33989,42 +34525,35 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointOutDocument" + "$ref": "#/components/schemas/JsonApiJwkOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointOutDocument" + "$ref": "#/components/schemas/JsonApiJwkOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Get LLM endpoint entity", + "summary": "Get Jwk", "tags": [ - "LLM Endpoints", + "JWKS", "entities", - "llm-endpoint-controller" - ], - "x-gdc-security-info": { - "description": "Contains minimal permission level required to manage this object type.", - "permissions": [ - "MANAGE" - ] - } + "jwk-controller" + ] }, "patch": { - "deprecated": true, - "description": "Will be soon removed and replaced by LlmProvider.", - "operationId": "patchEntity@LlmEndpoints", + "description": "Patches JSON web key - used to verify JSON web tokens (Jwts)", + "operationId": "patchEntity@Jwks", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;provider==LlmEndpointProviderValue", + "example": "content==JwkSpecificationValue", "in": "query", "name": "filter", "schema": { @@ -34036,12 +34565,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointPatchDocument" + "$ref": "#/components/schemas/JsonApiJwkPatchDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointPatchDocument" + "$ref": "#/components/schemas/JsonApiJwkPatchDocument" } } }, @@ -34052,23 +34581,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointOutDocument" + "$ref": "#/components/schemas/JsonApiJwkOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointOutDocument" + "$ref": "#/components/schemas/JsonApiJwkOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "Patch LLM endpoint entity", + "summary": "Patch Jwk", "tags": [ - "LLM Endpoints", + "JWKS", "entities", - "llm-endpoint-controller" + "jwk-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -34078,16 +34607,15 @@ } }, "put": { - "deprecated": true, - "description": "Will be soon removed and replaced by LlmProvider.", - "operationId": "updateEntity@LlmEndpoints", + "description": "Updates JSON web key - used to verify JSON web tokens (Jwts)", + "operationId": "updateEntity@Jwks", "parameters": [ { "$ref": "#/components/parameters/idPathParameter" }, { "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;provider==LlmEndpointProviderValue", + "example": "content==JwkSpecificationValue", "in": "query", "name": "filter", "schema": { @@ -34099,12 +34627,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointInDocument" + "$ref": "#/components/schemas/JsonApiJwkInDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointInDocument" + "$ref": "#/components/schemas/JsonApiJwkInDocument" } } }, @@ -34115,23 +34643,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointOutDocument" + "$ref": "#/components/schemas/JsonApiJwkOutDocument" } }, "application/vnd.gooddata.api+json": { "schema": { - "$ref": "#/components/schemas/JsonApiLlmEndpointOutDocument" + "$ref": "#/components/schemas/JsonApiJwkOutDocument" } } }, "description": "Request successfully processed" } }, - "summary": "PUT LLM endpoint entity", + "summary": "Put Jwk", "tags": [ - "LLM Endpoints", + "JWKS", "entities", - "llm-endpoint-controller" + "jwk-controller" ], "x-gdc-security-info": { "description": "Contains minimal permission level required to manage this object type.", @@ -34141,6 +34669,140 @@ } } }, + "/api/v1/entities/llmEndpoints": { + "get": { + "deprecated": true, + "description": "Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone.", + "operationId": "getAllEntities", + "responses": { + "410": { + "description": "Gone" + } + }, + "summary": "Get all LLM endpoint entities (Removed)", + "tags": [ + "LLM Endpoints", + "entities" + ] + }, + "post": { + "deprecated": true, + "description": "Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone.", + "operationId": "createEntity", + "responses": { + "410": { + "description": "Gone" + } + }, + "summary": "Post LLM endpoint entities (Removed)", + "tags": [ + "LLM Endpoints", + "entities" + ] + } + }, + "/api/v1/entities/llmEndpoints/{id}": { + "delete": { + "deprecated": true, + "description": "Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone.", + "operationId": "deleteEntity", + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "410": { + "description": "Gone" + } + }, + "summary": "Delete LLM endpoint entity (Removed)", + "tags": [ + "LLM Endpoints", + "entities" + ] + }, + "get": { + "deprecated": true, + "description": "Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone.", + "operationId": "getEntity", + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "410": { + "description": "Gone" + } + }, + "summary": "Get LLM endpoint entity (Removed)", + "tags": [ + "LLM Endpoints", + "entities" + ] + }, + "patch": { + "deprecated": true, + "description": "Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone.", + "operationId": "patchEntity", + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "410": { + "description": "Gone" + } + }, + "summary": "Patch LLM endpoint entity (Removed)", + "tags": [ + "LLM Endpoints", + "entities" + ] + }, + "put": { + "deprecated": true, + "description": "Permanently removed. Use /api/v1/entities/llmProviders instead. Always returns 410 Gone.", + "operationId": "updateEntity", + "parameters": [ + { + "in": "path", + "name": "id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "410": { + "description": "Gone" + } + }, + "summary": "PUT LLM endpoint entity (Removed)", + "tags": [ + "LLM Endpoints", + "entities" + ] + } + }, "/api/v1/entities/llmProviders": { "get": { "operationId": "getAllEntities@LlmProviders", diff --git a/schemas/gooddata-scan-client.json b/schemas/gooddata-scan-client.json index cb3612cf0..e2615e8dc 100644 --- a/schemas/gooddata-scan-client.json +++ b/schemas/gooddata-scan-client.json @@ -770,7 +770,8 @@ "ATHENA", "MONGODB", "CRATEDB", - "AILAKEHOUSE" + "AILAKEHOUSE", + "DENODO" ], "example": "POSTGRESQL", "type": "string" From 0544cac8d359a2c4a8a37c3fe4d49e43e9c54ead Mon Sep 17 00:00:00 2001 From: dmitriinikitingd Date: Tue, 2 Jun 2026 09:09:51 +0200 Subject: [PATCH 2/2] feat: add support for IP allowlist policies jira: STL-2872 risk: low --- .../gooddata-sdk/src/gooddata_sdk/__init__.py | 4 + .../entity_model/ip_allowlist_policy.py | 91 ++++++++++ .../catalog/organization/service.py | 60 +++++++ .../unit_tests/test_ip_allowlist_policy.py | 160 ++++++++++++++++++ 4 files changed, 315 insertions(+) create mode 100644 packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/entity_model/ip_allowlist_policy.py create mode 100644 packages/gooddata-sdk/tests/catalog/unit_tests/test_ip_allowlist_policy.py diff --git a/packages/gooddata-sdk/src/gooddata_sdk/__init__.py b/packages/gooddata-sdk/src/gooddata_sdk/__init__.py index 9f8e46819..52373a260 100644 --- a/packages/gooddata-sdk/src/gooddata_sdk/__init__.py +++ b/packages/gooddata-sdk/src/gooddata_sdk/__init__.py @@ -109,6 +109,10 @@ CatalogExportTemplate, CatalogExportTemplateAttributes, ) +from gooddata_sdk.catalog.organization.entity_model.ip_allowlist_policy import ( + CatalogIpAllowlistPolicy, + CatalogIpAllowlistPolicyTargets, +) from gooddata_sdk.catalog.organization.entity_model.jwk import ( CatalogJwk, CatalogJwkAttributes, diff --git a/packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/entity_model/ip_allowlist_policy.py b/packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/entity_model/ip_allowlist_policy.py new file mode 100644 index 000000000..002f11ac0 --- /dev/null +++ b/packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/entity_model/ip_allowlist_policy.py @@ -0,0 +1,91 @@ +# (C) 2026 GoodData Corporation +from __future__ import annotations + +from typing import Any + +from attrs import define, field +from gooddata_api_client.model.assignee_identifier import AssigneeIdentifier +from gooddata_api_client.model.ip_allowlist_policy_targets import IpAllowlistPolicyTargets +from gooddata_api_client.model.json_api_agent_in_relationships_user_groups import JsonApiAgentInRelationshipsUserGroups +from gooddata_api_client.model.json_api_automation_in_relationships_recipients import ( + JsonApiAutomationInRelationshipsRecipients, +) +from gooddata_api_client.model.json_api_ip_allowlist_policy_in import JsonApiIpAllowlistPolicyIn +from gooddata_api_client.model.json_api_ip_allowlist_policy_in_attributes import JsonApiIpAllowlistPolicyInAttributes +from gooddata_api_client.model.json_api_ip_allowlist_policy_in_document import JsonApiIpAllowlistPolicyInDocument +from gooddata_api_client.model.json_api_ip_allowlist_policy_in_relationships import ( + JsonApiIpAllowlistPolicyInRelationships, +) +from gooddata_api_client.model.json_api_user_group_linkage import JsonApiUserGroupLinkage +from gooddata_api_client.model.json_api_user_group_to_many_linkage import JsonApiUserGroupToManyLinkage +from gooddata_api_client.model.json_api_user_linkage import JsonApiUserLinkage +from gooddata_api_client.model.json_api_user_to_many_linkage import JsonApiUserToManyLinkage + +from gooddata_sdk.catalog.base import Base +from gooddata_sdk.catalog.identifier import CatalogAssigneeIdentifier + +_POLICY_TYPE = "ipAllowlistPolicy" + + +@define(kw_only=True) +class CatalogIpAllowlistPolicy(Base): + """Represents an IP allowlist policy entity.""" + + id: str + allowed_sources: list[str] = field(factory=list) + users: list[CatalogAssigneeIdentifier] = field(factory=list) + user_groups: list[CatalogAssigneeIdentifier] = field(factory=list) + + @staticmethod + def client_class() -> type[JsonApiIpAllowlistPolicyIn]: + return JsonApiIpAllowlistPolicyIn + + @classmethod + def from_api(cls, entity: dict[str, Any]) -> CatalogIpAllowlistPolicy: + attributes = entity.get("attributes") or {} + relationships = entity.get("relationships") or {} + users = (relationships.get("users") or {}).get("data") or [] + user_groups = (relationships.get("userGroups") or {}).get("data") or [] + return cls( + id=entity["id"], + allowed_sources=list(attributes.get("allowedSources") or []), + users=[CatalogAssigneeIdentifier(id=user["id"], type=user["type"]) for user in users], + user_groups=[CatalogAssigneeIdentifier(id=group["id"], type=group["type"]) for group in user_groups], + ) + + def to_api(self) -> JsonApiIpAllowlistPolicyInDocument: + relationships: dict[str, Any] = {} + if self.users: + relationships["users"] = JsonApiAutomationInRelationshipsRecipients( + data=JsonApiUserToManyLinkage([JsonApiUserLinkage(id=user.id, type=user.type) for user in self.users]) + ) + if self.user_groups: + relationships["user_groups"] = JsonApiAgentInRelationshipsUserGroups( + data=JsonApiUserGroupToManyLinkage( + [JsonApiUserGroupLinkage(id=group.id, type=group.type) for group in self.user_groups] + ) + ) + data_kwargs: dict[str, Any] = { + "id": self.id, + "type": _POLICY_TYPE, + "attributes": JsonApiIpAllowlistPolicyInAttributes(allowed_sources=self.allowed_sources), + } + if relationships: + data_kwargs["relationships"] = JsonApiIpAllowlistPolicyInRelationships(**relationships) + return JsonApiIpAllowlistPolicyInDocument(data=JsonApiIpAllowlistPolicyIn(**data_kwargs)) + + +@define(kw_only=True) +class CatalogIpAllowlistPolicyTargets(Base): + """Target payload for IP allowlist policy add/remove target actions.""" + + targets: list[CatalogAssigneeIdentifier] = field(factory=list) + + @staticmethod + def client_class() -> type[IpAllowlistPolicyTargets]: + return IpAllowlistPolicyTargets + + def to_api(self) -> IpAllowlistPolicyTargets: + return IpAllowlistPolicyTargets( + targets=[AssigneeIdentifier(id=target.id, type=target.type) for target in self.targets] + ) diff --git a/packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/service.py b/packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/service.py index 250f0a264..aa9de621b 100644 --- a/packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/service.py +++ b/packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/service.py @@ -25,6 +25,10 @@ from gooddata_sdk.catalog.catalog_service_base import CatalogServiceBase from gooddata_sdk.catalog.organization.entity_model.directive import CatalogCspDirective from gooddata_sdk.catalog.organization.entity_model.identity_provider import CatalogIdentityProvider +from gooddata_sdk.catalog.organization.entity_model.ip_allowlist_policy import ( + CatalogIpAllowlistPolicy, + CatalogIpAllowlistPolicyTargets, +) from gooddata_sdk.catalog.organization.entity_model.jwk import CatalogJwk, CatalogJwkDocument from gooddata_sdk.catalog.organization.entity_model.llm_provider import ( CatalogLlmProvider, @@ -706,6 +710,62 @@ def list_llm_provider_models_by_id(self, id: str) -> CatalogLlmProviderModelsRes response = self._actions_api.list_llm_provider_models_by_id(id) return CatalogLlmProviderModelsResult.from_api(response) + # IP Allowlist Policy APIs + + def get_ip_allowlist_policy(self, policy_id: str) -> CatalogIpAllowlistPolicy: + """Get an IP allowlist policy by ID. + + Args: + policy_id: IP allowlist policy identifier. + + Returns: + CatalogIpAllowlistPolicy: Retrieved policy. + """ + response = self._entities_api.get_entity_ip_allowlist_policies(policy_id, _check_return_type=False) + return CatalogIpAllowlistPolicy.from_api(response.data) + + def list_ip_allowlist_policies(self) -> list[CatalogIpAllowlistPolicy]: + """Return all IP allowlist policies in the organization.""" + get_policies = functools.partial( + self._entities_api.get_all_entities_ip_allowlist_policies, _check_return_type=False + ) + policies = load_all_entities(get_policies) + return [CatalogIpAllowlistPolicy.from_api(policy) for policy in policies.data] + + def create_ip_allowlist_policy(self, policy: CatalogIpAllowlistPolicy) -> CatalogIpAllowlistPolicy: + """Create a new IP allowlist policy.""" + response = self._entities_api.create_entity_ip_allowlist_policies( + json_api_ip_allowlist_policy_in_document=policy.to_api(), _check_return_type=False + ) + return CatalogIpAllowlistPolicy.from_api(response.data) + + def update_ip_allowlist_policy(self, policy: CatalogIpAllowlistPolicy) -> CatalogIpAllowlistPolicy: + """Replace an existing IP allowlist policy.""" + response = self._entities_api.update_entity_ip_allowlist_policies( + policy.id, policy.to_api(), _check_return_type=False + ) + return CatalogIpAllowlistPolicy.from_api(response.data) + + def delete_ip_allowlist_policy(self, policy_id: str) -> None: + """Delete an IP allowlist policy.""" + self._entities_api.delete_entity_ip_allowlist_policies(policy_id, _check_return_type=False) + + def add_targets_to_ip_allowlist_policy( + self, + policy_id: str, + targets: CatalogIpAllowlistPolicyTargets, + ) -> None: + """Add users or user groups to an IP allowlist policy.""" + self._actions_api.add_targets(policy_id, targets.to_api()) + + def remove_targets_from_ip_allowlist_policy( + self, + policy_id: str, + targets: CatalogIpAllowlistPolicyTargets, + ) -> None: + """Remove users or user groups from an IP allowlist policy.""" + self._actions_api.remove_targets(policy_id, targets.to_api()) + # Layout APIs def get_declarative_notification_channels(self) -> list[CatalogDeclarativeNotificationChannel]: diff --git a/packages/gooddata-sdk/tests/catalog/unit_tests/test_ip_allowlist_policy.py b/packages/gooddata-sdk/tests/catalog/unit_tests/test_ip_allowlist_policy.py new file mode 100644 index 000000000..234476e8c --- /dev/null +++ b/packages/gooddata-sdk/tests/catalog/unit_tests/test_ip_allowlist_policy.py @@ -0,0 +1,160 @@ +# (C) 2026 GoodData Corporation +from __future__ import annotations + +from types import SimpleNamespace +from unittest.mock import MagicMock + +from gooddata_sdk.catalog.identifier import CatalogAssigneeIdentifier +from gooddata_sdk.catalog.organization.entity_model.ip_allowlist_policy import ( + CatalogIpAllowlistPolicy, + CatalogIpAllowlistPolicyTargets, +) +from gooddata_sdk.catalog.organization.service import CatalogOrganizationService + + +def _make_service() -> tuple[CatalogOrganizationService, MagicMock, MagicMock]: + """Build a service whose entities-api and actions-api sides are fully mocked.""" + fake_entities_api = MagicMock(name="EntitiesApi") + fake_actions_api = MagicMock(name="ActionsApi") + fake_client = SimpleNamespace( + entities_api=fake_entities_api, + layout_api=MagicMock(name="LayoutApi"), + actions_api=fake_actions_api, + user_management_api=MagicMock(name="UserManagementApi"), + ) + service = CatalogOrganizationService(fake_client) # type: ignore[arg-type] + return service, fake_entities_api, fake_actions_api + + +def test_ip_allowlist_policy_from_api_reads_attributes_and_relationships() -> None: + policy = CatalogIpAllowlistPolicy.from_api( + { + "id": "corp-vpn-only", + "type": "ipAllowlistPolicy", + "attributes": {"allowedSources": ["203.0.113.10/32", "198.51.100.0/24"]}, + "relationships": { + "users": {"data": [{"id": "admin", "type": "user"}]}, + "userGroups": {"data": [{"id": "admins", "type": "userGroup"}]}, + }, + } + ) + + assert policy.id == "corp-vpn-only" + assert policy.allowed_sources == ["203.0.113.10/32", "198.51.100.0/24"] + assert policy.users == [CatalogAssigneeIdentifier(id="admin", type="user")] + assert policy.user_groups == [CatalogAssigneeIdentifier(id="admins", type="userGroup")] + + +def test_ip_allowlist_policy_from_api_defaults_missing_optional_fields() -> None: + policy = CatalogIpAllowlistPolicy.from_api({"id": "corp-vpn-only", "type": "ipAllowlistPolicy"}) + + assert policy.id == "corp-vpn-only" + assert policy.allowed_sources == [] + assert policy.users == [] + assert policy.user_groups == [] + + +def test_ip_allowlist_policy_to_api_uses_json_api_shape() -> None: + policy = CatalogIpAllowlistPolicy( + id="corp-vpn-only", + allowed_sources=["203.0.113.10/32"], + users=[CatalogAssigneeIdentifier(id="admin", type="user")], + user_groups=[CatalogAssigneeIdentifier(id="admins", type="userGroup")], + ) + + document = policy.to_api() + data = document.data + + assert data.id == "corp-vpn-only" + assert data.type == "ipAllowlistPolicy" + assert data.attributes.allowed_sources == ["203.0.113.10/32"] + users = data.relationships.users.data.value + assert [(user.id, user.type) for user in users] == [("admin", "user")] + user_groups = data.relationships.user_groups.data.value + assert [(group.id, group.type) for group in user_groups] == [("admins", "userGroup")] + + +def test_ip_allowlist_policy_to_api_omits_empty_relationships() -> None: + policy = CatalogIpAllowlistPolicy(id="corp-vpn-only", allowed_sources=["203.0.113.10/32"]) + + document = policy.to_api() + + assert document.data.attributes.allowed_sources == ["203.0.113.10/32"] + assert "relationships" not in document.data + + +def test_ip_allowlist_targets_to_api_uses_action_payload_shape() -> None: + targets = CatalogIpAllowlistPolicyTargets( + targets=[ + CatalogAssigneeIdentifier(id="admin", type="user"), + CatalogAssigneeIdentifier(id="admins", type="userGroup"), + ] + ) + + payload = targets.to_api() + + assert [(target.id, target.type) for target in payload.targets] == [ + ("admin", "user"), + ("admins", "userGroup"), + ] + + +def test_ip_allowlist_policy_crud_methods_call_generated_client() -> None: + service, entities_api, _ = _make_service() + policy_out = SimpleNamespace( + data={ + "id": "corp-vpn-only", + "type": "ipAllowlistPolicy", + "attributes": {"allowedSources": ["203.0.113.10/32"]}, + } + ) + entities_api.get_entity_ip_allowlist_policies.return_value = policy_out + entities_api.create_entity_ip_allowlist_policies.return_value = policy_out + entities_api.update_entity_ip_allowlist_policies.return_value = policy_out + + policy = CatalogIpAllowlistPolicy(id="corp-vpn-only", allowed_sources=["203.0.113.10/32"]) + + assert service.get_ip_allowlist_policy("corp-vpn-only").id == "corp-vpn-only" + assert service.create_ip_allowlist_policy(policy).allowed_sources == ["203.0.113.10/32"] + assert service.update_ip_allowlist_policy(policy).id == "corp-vpn-only" + service.delete_ip_allowlist_policy("corp-vpn-only") + + assert entities_api.get_entity_ip_allowlist_policies.call_args.args[0] == "corp-vpn-only" + create_doc = entities_api.create_entity_ip_allowlist_policies.call_args.kwargs[ + "json_api_ip_allowlist_policy_in_document" + ] + assert create_doc.data.id == "corp-vpn-only" + assert entities_api.update_entity_ip_allowlist_policies.call_args.args[0] == "corp-vpn-only" + assert entities_api.delete_entity_ip_allowlist_policies.call_args.args[0] == "corp-vpn-only" + + +def test_list_ip_allowlist_policies_loads_all_entities() -> None: + service, entities_api, _ = _make_service() + entities_api.get_all_entities_ip_allowlist_policies.return_value = SimpleNamespace( + data=[ + {"id": "first", "type": "ipAllowlistPolicy"}, + {"id": "second", "type": "ipAllowlistPolicy"}, + ], + included=[], + links=SimpleNamespace(next=None), + ) + + policies = service.list_ip_allowlist_policies() + + assert [policy.id for policy in policies] == ["first", "second"] + assert entities_api.get_all_entities_ip_allowlist_policies.called + + +def test_ip_allowlist_target_actions_call_generated_client() -> None: + service, _, actions_api = _make_service() + targets = CatalogIpAllowlistPolicyTargets(targets=[CatalogAssigneeIdentifier(id="admin", type="user")]) + + service.add_targets_to_ip_allowlist_policy("corp-vpn-only", targets) + service.remove_targets_from_ip_allowlist_policy("corp-vpn-only", targets) + + add_targets = actions_api.add_targets.call_args.args[1].targets + assert actions_api.add_targets.call_args.args[0] == "corp-vpn-only" + assert [(target.id, target.type) for target in add_targets] == [("admin", "user")] + remove_targets = actions_api.remove_targets.call_args.args[1].targets + assert actions_api.remove_targets.call_args.args[0] == "corp-vpn-only" + assert [(target.id, target.type) for target in remove_targets] == [("admin", "user")]