/** * 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 UpdateConnectionConfigurationRequest { /** * Unique ID or name of the connection. */ 'connection_identifier': string; /** * Name of the configuration to update. */ 'name'?: string; /** * Description of the configuration. */ 'description'?: 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. */ 'authentication_type'?: UpdateConnectionConfigurationRequestAuthenticationTypeEnum; /** * Configuration properties in JSON. */ 'configuration'?: any; /** * Type of policy. */ 'policy_type'?: UpdateConnectionConfigurationRequestPolicyTypeEnum; /** * 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; /** * Indicates whether the configuration enable/disable. */ 'disable'?: boolean | null; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "connection_identifier", "baseName": "connection_identifier", "type": "string", "format": "" }, { "name": "name", "baseName": "name", "type": "string", "format": "" }, { "name": "description", "baseName": "description", "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": "UpdateConnectionConfigurationRequestAuthenticationTypeEnum", "format": "" }, { "name": "configuration", "baseName": "configuration", "type": "any", "format": "" }, { "name": "policy_type", "baseName": "policy_type", "type": "UpdateConnectionConfigurationRequestPolicyTypeEnum", "format": "" }, { "name": "policy_principals", "baseName": "policy_principals", "type": "Array", "format": "" }, { "name": "policy_processes", "baseName": "policy_processes", "type": "Array", "format": "" }, { "name": "disable", "baseName": "disable", "type": "boolean", "format": "" } ]; static getAttributeTypeMap() { return UpdateConnectionConfigurationRequest.attributeTypeMap; } public constructor() { } } export type UpdateConnectionConfigurationRequestAuthenticationTypeEnum = "SERVICE_ACCOUNT" | "OAUTH" | "OAUTH_WITH_SERVICE_PRINCIPAL" | "EXTOAUTH" | "KEY_PAIR" | "EXTOAUTH_WITH_PKCE" | "OAUTH_WITH_PKCE" | "PERSONAL_ACCESS_TOKEN" | "OAUTH_CLIENT_CREDENTIALS" ; export type UpdateConnectionConfigurationRequestPolicyTypeEnum = "NO_POLICY" | "PRINCIPALS" | "PROCESSES" ; export type UpdateConnectionConfigurationRequestPolicyProcessesEnum = "SAGE_INDEXING" | "ROW_COUNT_STATS" ;