/** * 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 { PolicyProcessOptionsInput } from '../models/PolicyProcessOptionsInput'; 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; /** * This attribute is only applicable to parameterized connections. Ensure that the policy is set to Processes to allow the configuration to be used exclusively for system processes. Version: 26.2.0.cl or later */ 'policy_process_options'?: PolicyProcessOptionsInput; /** * Type of authentication. */ 'authentication_type'?: UpdateConnectionConfigurationRequestAuthenticationTypeEnum; /** * Configuration properties in JSON. */ 'configuration'?: any | null; /** * 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, ROW_COUNT_STATS, and SCHEDULED_LIVEBOARDS. */ 'policy_processes'?: Array; /** * Indicates whether the configuration enable/disable. */ 'disable'?: boolean | null; static readonly discriminator: string | undefined = undefined; static readonly mapping: {[index: string]: 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": "PolicyProcessOptionsInput", "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" | "OAUTH_CLIENT_CREDENTIALS_WITH_X509" ; export type UpdateConnectionConfigurationRequestPolicyTypeEnum = "NO_POLICY" | "PRINCIPALS" | "PROCESSES" ; export type UpdateConnectionConfigurationRequestPolicyProcessesEnum = "SAGE_INDEXING" | "ROW_COUNT_STATS" | "SCHEDULED_LIVEBOARDS" ;