/** * ThoughtSpot Public REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: 2.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { CreateConnectionConfigurationRequestPolicyProcessOptions } from '../models/CreateConnectionConfigurationRequestPolicyProcessOptions'; import { HttpFile } from '../http/http'; export class CreateConnectionConfigurationRequest { /** * Unique name for the configuration. */ 'name': string; /** * Description of the configuration. */ 'description'?: string; /** * Unique ID or name of the connection. */ 'connection_identifier': string; /** * Specifies whether the connection configuration should inherit all properties and authentication type from its parent connection. This attribute is only applicable to parameterized connections. When set to true, the configuration uses only the connection properties and authentication type inherited from the parent. Version: 26.2.0.cl or later */ 'same_as_parent'?: boolean | null; 'policy_process_options'?: CreateConnectionConfigurationRequestPolicyProcessOptions; /** * Type of authentication used for the connection. */ 'authentication_type'?: CreateConnectionConfigurationRequestAuthenticationTypeEnum; /** * Configuration properties in JSON. */ 'configuration': any; /** * Type of policy. */ 'policy_type'?: CreateConnectionConfigurationRequestPolicyTypeEnum; /** * Unique ID or name of the User and User Groups. */ 'policy_principals'?: Array; /** * Action that the query performed on the data warehouse, such as SAGE_INDEXING and ROW_COUNT_STATS. */ 'policy_processes'?: Array; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "name", "baseName": "name", "type": "string", "format": "" }, { "name": "description", "baseName": "description", "type": "string", "format": "" }, { "name": "connection_identifier", "baseName": "connection_identifier", "type": "string", "format": "" }, { "name": "same_as_parent", "baseName": "same_as_parent", "type": "boolean", "format": "" }, { "name": "policy_process_options", "baseName": "policy_process_options", "type": "CreateConnectionConfigurationRequestPolicyProcessOptions", "format": "" }, { "name": "authentication_type", "baseName": "authentication_type", "type": "CreateConnectionConfigurationRequestAuthenticationTypeEnum", "format": "" }, { "name": "configuration", "baseName": "configuration", "type": "any", "format": "" }, { "name": "policy_type", "baseName": "policy_type", "type": "CreateConnectionConfigurationRequestPolicyTypeEnum", "format": "" }, { "name": "policy_principals", "baseName": "policy_principals", "type": "Array", "format": "" }, { "name": "policy_processes", "baseName": "policy_processes", "type": "Array", "format": "" } ]; static getAttributeTypeMap() { return CreateConnectionConfigurationRequest.attributeTypeMap; } public constructor() { } } export type CreateConnectionConfigurationRequestAuthenticationTypeEnum = "SERVICE_ACCOUNT" | "KEY_PAIR" | "PERSONAL_ACCESS_TOKEN" | "OAUTH_WITH_SERVICE_PRINCIPAL" | "OAUTH_CLIENT_CREDENTIALS" ; export type CreateConnectionConfigurationRequestPolicyTypeEnum = "NO_POLICY" | "PRINCIPALS" | "PROCESSES" ; export type CreateConnectionConfigurationRequestPolicyProcessesEnum = "SAGE_INDEXING" | "ROW_COUNT_STATS" ;