import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
import { Readable } from 'stream';
export declare namespace ces_v1 {
    export interface Options extends GlobalOptions {
        version: 'v1';
    }
    interface StandardParameters {
        /**
         * Auth client or API Key for the request
         */
        auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient | BaseExternalAccountClient | GoogleAuth;
        /**
         * V1 error format.
         */
        '$.xgafv'?: string;
        /**
         * OAuth access token.
         */
        access_token?: string;
        /**
         * Data format for response.
         */
        alt?: string;
        /**
         * JSONP
         */
        callback?: string;
        /**
         * Selector specifying which fields to include in a partial response.
         */
        fields?: string;
        /**
         * API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
         */
        key?: string;
        /**
         * OAuth 2.0 token for the current user.
         */
        oauth_token?: string;
        /**
         * Returns response with indentations and line breaks.
         */
        prettyPrint?: boolean;
        /**
         * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
         */
        quotaUser?: string;
        /**
         * Legacy upload protocol for media (e.g. "media", "multipart").
         */
        uploadType?: string;
        /**
         * Upload protocol for media (e.g. "raw", "multipart").
         */
        upload_protocol?: string;
    }
    /**
     * Gemini Enterprise for Customer Experience API
     *
     *
     *
     * @example
     * ```js
     * const {google} = require('googleapis');
     * const ces = google.ces('v1');
     * ```
     */
    export class Ces {
        context: APIRequestContext;
        projects: Resource$Projects;
        constructor(options: GlobalOptions, google?: GoogleConfigurable);
    }
    /**
     * Configuration of an Action for the tool to use. Note: This can be either an Action or an Operation. See https://cloud.google.com/integration-connectors/docs/entities-operation-action for details.
     */
    export interface Schema$Action {
        /**
         * ID of a Connection action for the tool to use.
         */
        connectionActionId?: string | null;
        /**
         * Entity operation configuration for the tool to use.
         */
        entityOperation?: Schema$ActionEntityOperation;
        /**
         * Optional. Entity fields to use as inputs for the operation. If no fields are specified, all fields of the Entity will be used.
         */
        inputFields?: string[] | null;
        /**
         * Optional. Entity fields to return from the operation. If no fields are specified, all fields of the Entity will be returned.
         */
        outputFields?: string[] | null;
    }
    /**
     * Entity CRUD operation specification.
     */
    export interface Schema$ActionEntityOperation {
        /**
         * Required. ID of the entity.
         */
        entityId?: string | null;
        /**
         * Required. Operation to perform on the entity.
         */
        operation?: string | null;
    }
    /**
     * An agent acts as the fundamental building block that provides instructions to the Large Language Model (LLM) for executing specific tasks.
     */
    export interface Schema$Agent {
        /**
         * Optional. The callbacks to execute after the agent is called. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
         */
        afterAgentCallbacks?: Schema$Callback[];
        /**
         * Optional. The callbacks to execute after the model is called. If there are multiple calls to the model, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
         */
        afterModelCallbacks?: Schema$Callback[];
        /**
         * Optional. The callbacks to execute after the tool is invoked. If there are multiple tool invocations, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
         */
        afterToolCallbacks?: Schema$Callback[];
        /**
         * Optional. The callbacks to execute before the agent is called. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
         */
        beforeAgentCallbacks?: Schema$Callback[];
        /**
         * Optional. The callbacks to execute before the model is called. If there are multiple calls to the model, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
         */
        beforeModelCallbacks?: Schema$Callback[];
        /**
         * Optional. The callbacks to execute before the tool is invoked. If there are multiple tool invocations, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.
         */
        beforeToolCallbacks?: Schema$Callback[];
        /**
         * Optional. List of child agents in the agent tree. Format: `projects/{project\}/locations/{location\}/apps/{app\}/agents/{agent\}`
         */
        childAgents?: string[] | null;
        /**
         * Output only. Timestamp when the agent was created.
         */
        createTime?: string | null;
        /**
         * Optional. Human-readable description of the agent.
         */
        description?: string | null;
        /**
         * Required. Display name of the agent.
         */
        displayName?: string | null;
        /**
         * Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
         */
        etag?: string | null;
        /**
         * Output only. If the agent is generated by the LLM assistant, this field contains a descriptive summary of the generation.
         */
        generatedSummary?: string | null;
        /**
         * Optional. List of guardrails for the agent. Format: `projects/{project\}/locations/{location\}/apps/{app\}/guardrails/{guardrail\}`
         */
        guardrails?: string[] | null;
        /**
         * Optional. Instructions for the LLM model to guide the agent's behavior.
         */
        instruction?: string | null;
        /**
         * Optional. The default agent type.
         */
        llmAgent?: Schema$AgentLlmAgent;
        /**
         * Optional. Configurations for the LLM model.
         */
        modelSettings?: Schema$ModelSettings;
        /**
         * Identifier. The unique identifier of the agent. Format: `projects/{project\}/locations/{location\}/apps/{app\}/agents/{agent\}`
         */
        name?: string | null;
        /**
         * Optional. The remote [Dialogflow](https://cloud.google.com/dialogflow/cx/docs/concept/console-conversational-agents) agent to be used for the agent execution. If this field is set, all other agent level properties will be ignored. Note: If the Dialogflow agent is in a different project from the app, you should grant `roles/dialogflow.client` to the CES service agent `service-@gcp-sa-ces.iam.gserviceaccount.com`.
         */
        remoteDialogflowAgent?: Schema$AgentRemoteDialogflowAgent;
        /**
         * Optional. List of available tools for the agent. Format: `projects/{project\}/locations/{location\}/apps/{app\}/tools/{tool\}`
         */
        tools?: string[] | null;
        /**
         * Optional. List of toolsets for the agent.
         */
        toolsets?: Schema$AgentAgentToolset[];
        /**
         * Optional. Agent transfer rules. If multiple rules match, the first one in the list will be used.
         */
        transferRules?: Schema$TransferRule[];
        /**
         * Output only. Timestamp when the agent was last updated.
         */
        updateTime?: string | null;
        /**
         * Output only. Misconfigurations or errors in the agent that may affect agent quality.
         */
        validationErrors?: string[] | null;
    }
    /**
     * A toolset with a selection of its tools.
     */
    export interface Schema$AgentAgentToolset {
        /**
         * Optional. The tools IDs to filter the toolset.
         */
        toolIds?: string[] | null;
        /**
         * Required. The resource name of the toolset. Format: `projects/{project\}/locations/{location\}/apps/{app\}/toolsets/{toolset\}`
         */
        toolset?: string | null;
    }
    /**
     * AgentCard conveys key information about a remote agent. It is a trimmed version of the AgentCard defined in the A2A protocol https://a2a-protocol.org/dev/specification/#441-agentcard
     */
    export interface Schema$AgentCard {
        /**
         * Required. A description of the agent's domain of action/solution space.
         */
        description?: string | null;
        /**
         * Required. A human-readable name for the agent.
         */
        name?: string | null;
        /**
         * Required. Skills represent a unit of ability an agent can perform. This may somewhat abstract but represents a more focused set of actions that the agent is highly likely to succeed at.
         */
        skills?: Schema$AgentSkill[];
        /**
         * Required. Ordered list of supported interfaces. The first entry is preferred.
         */
        supportedInterfaces?: Schema$AgentInterface[];
        /**
         * Required. The version of the agent.
         */
        version?: string | null;
    }
    /**
     * Declares a combination of a target URL, transport and protocol version for interacting with the agent. This allows agents to expose the same functionality over multiple protocol binding mechanisms.
     */
    export interface Schema$AgentInterface {
        /**
         * Required. The protocol binding supported at this URL. This is an open form string, to be easily extended for other protocol bindings. The core ones officially supported are `JSONRPC`, `GRPC` and `HTTP+JSON`.
         */
        protocolBinding?: string | null;
        /**
         * Required. The version of the A2A protocol this interface exposes. Use the latest supported minor version per major version. Examples: "0.3", "1.0"
         */
        protocolVersion?: string | null;
        /**
         * Tenant ID to be used in the request when calling the agent.
         */
        tenant?: string | null;
        /**
         * Required. The URL where this interface is available. Must be a valid absolute HTTPS URL in production. Example: "https://api.example.com/a2a/v1", "https://grpc.example.com/a2a"
         */
        url?: string | null;
    }
    /**
     * Default agent type. The agent uses instructions and callbacks specified in the agent to perform the task using a large language model.
     */
    export interface Schema$AgentLlmAgent {
    }
    /**
     * The agent which will transfer execution to a remote [Dialogflow CX](https://docs.cloud.google.com/dialogflow/cx/docs/concept/agent) agent. The Dialogflow agent will process subsequent user queries until the session ends or flow ends, and the control is transferred back to the parent CES agent.
     */
    export interface Schema$AgentRemoteDialogflowAgent {
        /**
         * Required. The [Dialogflow](https://docs.cloud.google.com/dialogflow/cx/docs/concept/agent) agent resource name. Format: `projects/{project\}/locations/{location\}/agents/{agent\}`
         */
        agent?: string | null;
        /**
         * Optional. The environment ID of the Dialogflow agent to be used for the agent execution. If not specified, the draft environment will be used.
         */
        environmentId?: string | null;
        /**
         * Optional. The flow ID of the flow in the Dialogflow agent.
         */
        flowId?: string | null;
        /**
         * Optional. The mapping of the app variables names to the Dialogflow session parameters names to be sent to the Dialogflow agent as input.
         */
        inputVariableMapping?: {
            [key: string]: string;
        } | null;
        /**
         * Optional. The name of the variable that contains the language code to be used for the Dialogflow session. If unspecified, the default language code of the Dialogflow agent will be used.
         */
        languageCodeVariable?: string | null;
        /**
         * Optional. The mapping of the Dialogflow session parameters names to the app variables names to be sent back to the CES agent after the Dialogflow agent execution ends.
         */
        outputVariableMapping?: {
            [key: string]: string;
        } | null;
        /**
         * Optional. Indicates whether to respect the message-level interruption settings configured in the Dialogflow agent. * If false: all response messages from the Dialogflow agent follow the app-level barge-in settings. * If true: only response messages with [`allow_playback_interruption`](https://docs.cloud.google.com/dialogflow/cx/docs/reference/rpc/google.cloud.dialogflow.cx.v3#text) set to true will be interruptable, all other messages follow the app-level barge-in settings.
         */
        respectResponseInterruptionSettings?: boolean | null;
    }
    /**
     * Represents a distinct capability or function that an agent can perform.
     */
    export interface Schema$AgentSkill {
        /**
         * Required. A detailed description of the skill.
         */
        description?: string | null;
        /**
         * Example prompts or scenarios that this skill can handle.
         */
        examples?: string[] | null;
        /**
         * Required. A unique identifier for the agent's skill.
         */
        id?: string | null;
        /**
         * The set of supported input media types for this skill, overriding the agent's defaults.
         */
        inputModes?: string[] | null;
        /**
         * Required. A human-readable name for the skill.
         */
        name?: string | null;
        /**
         * The set of supported output media types for this skill, overriding the agent's defaults.
         */
        outputModes?: string[] | null;
        /**
         * Required. A set of keywords describing the skill's capabilities.
         */
        tags?: string[] | null;
    }
    /**
     * Represents a tool that allows the agent to call another agent.
     */
    export interface Schema$AgentTool {
        /**
         * Optional. The resource name of the agent that is the entry point of the tool. Format: `projects/{project\}/locations/{location\}/agents/{agent\}`
         */
        agent?: string | null;
        /**
         * Optional. Description of the tool's purpose.
         */
        description?: string | null;
        /**
         * Required. The name of the agent tool.
         */
        name?: string | null;
    }
    /**
     * Represents an event indicating the transfer of a conversation to a different agent.
     */
    export interface Schema$AgentTransfer {
        /**
         * Output only. Display name of the agent.
         */
        displayName?: string | null;
        /**
         * Required. The agent to which the conversation is being transferred. The agent will handle the conversation from this point forward. Format: `projects/{project\}/locations/{location\}/apps/{app\}/agents/{agent\}`
         */
        targetAgent?: string | null;
    }
    /**
     * Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation.
     */
    export interface Schema$AmbientSoundConfig {
        /**
         * Optional. Ambient noise as a mono-channel, 16kHz WAV file stored in [Cloud Storage](https://cloud.google.com/storage). Note: Please make sure the CES service agent `service-@gcp-sa-ces.iam.gserviceaccount.com` has `storage.objects.get` permission to the Cloud Storage object.
         */
        gcsUri?: string | null;
        /**
         * Optional. Deprecated: `prebuilt_ambient_noise` is deprecated in favor of `prebuilt_ambient_sound`.
         */
        prebuiltAmbientNoise?: string | null;
        /**
         * Optional. Name of the prebuilt ambient sound. Valid values are: - "coffee_shop" - "keyboard" - "keypad" - "hum" - "office_1" - "office_2" - "office_3" - "room_1" - "room_2" - "room_3" - "room_4" - "room_5" - "air_conditioner"
         */
        prebuiltAmbientSound?: string | null;
        /**
         * Optional. Volume gain (in dB) of the normal native volume supported by ambient noise, in the range [-96.0, 16.0]. If unset, or set to a value of 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB) will play at approximately half the amplitude of the normal native signal amplitude. A value of +6.0 (dB) will play at approximately twice the amplitude of the normal native signal amplitude. We strongly recommend not to exceed +10 (dB) as there's usually no effective increase in loudness for any value greater than that.
         */
        volumeGainDb?: number | null;
    }
    /**
     * Authentication information required for API calls.
     */
    export interface Schema$ApiAuthentication {
        /**
         * Optional. Config for API key auth.
         */
        apiKeyConfig?: Schema$ApiKeyConfig;
        /**
         * Optional. Config for bearer token auth.
         */
        bearerTokenConfig?: Schema$BearerTokenConfig;
        /**
         * Optional. Config for OAuth.
         */
        oauthConfig?: Schema$OAuthConfig;
        /**
         * Optional. Config for service account authentication.
         */
        serviceAccountAuthConfig?: Schema$ServiceAccountAuthConfig;
        /**
         * Optional. Config for ID token auth generated from CES service agent.
         */
        serviceAgentIdTokenAuthConfig?: Schema$ServiceAgentIdTokenAuthConfig;
    }
    /**
     * Configurations for authentication with API key.
     */
    export interface Schema$ApiKeyConfig {
        /**
         * Required. The name of the SecretManager secret version resource storing the API key. Format: `projects/{project\}/secrets/{secret\}/versions/{version\}` Note: You should grant `roles/secretmanager.secretAccessor` role to the CES service agent `service-@gcp-sa-ces.iam.gserviceaccount.com`.
         */
        apiKeySecretVersion?: string | null;
        /**
         * Required. The parameter name or the header name of the API key. E.g., If the API request is "https://example.com/act?X-Api-Key=", "X-Api-Key" would be the parameter name.
         */
        keyName?: string | null;
        /**
         * Required. Key location in the request.
         */
        requestLocation?: string | null;
    }
    /**
     * An app serves as a top-level container for a group of agents, including the root agent and its sub-agents, along with their associated configurations. These agents work together to achieve specific goals within the app's context.
     */
    export interface Schema$App {
        /**
         * Optional. Audio processing configuration of the app.
         */
        audioProcessingConfig?: Schema$AudioProcessingConfig;
        /**
         * Optional. The default client certificate settings for the app.
         */
        clientCertificateSettings?: Schema$ClientCertificateSettings;
        /**
         * Output only. Timestamp when the app was created.
         */
        createTime?: string | null;
        /**
         * Optional. The data store settings for the app.
         */
        dataStoreSettings?: Schema$DataStoreSettings;
        /**
         * Optional. The default channel profile used by the app.
         */
        defaultChannelProfile?: Schema$ChannelProfile;
        /**
         * Output only. Number of deployments in the app.
         */
        deploymentCount?: number | null;
        /**
         * Optional. Human-readable description of the app.
         */
        description?: string | null;
        /**
         * Required. Display name of the app.
         */
        displayName?: string | null;
        /**
         * Optional. Error handling settings of the app.
         */
        errorHandlingSettings?: Schema$ErrorHandlingSettings;
        /**
         * Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
         */
        etag?: string | null;
        /**
         * Optional. The evaluation thresholds for the app.
         */
        evaluationMetricsThresholds?: Schema$EvaluationMetricsThresholds;
        /**
         * Optional. Instructions for all the agents in the app. You can use this instruction to set up a stable identity or personality across all the agents.
         */
        globalInstruction?: string | null;
        /**
         * Optional. List of guardrails for the app. Format: `projects/{project\}/locations/{location\}/apps/{app\}/guardrails/{guardrail\}`
         */
        guardrails?: string[] | null;
        /**
         * Optional. Language settings of the app.
         */
        languageSettings?: Schema$LanguageSettings;
        /**
         * Optional. Indicates whether the app is locked for changes. If the app is locked, modifications to the app resources will be rejected.
         */
        locked?: boolean | null;
        /**
         * Optional. Logging settings of the app.
         */
        loggingSettings?: Schema$LoggingSettings;
        /**
         * Optional. Metadata about the app. This field can be used to store additional information relevant to the app's details or intended usages.
         */
        metadata?: {
            [key: string]: string;
        } | null;
        /**
         * Optional. The default LLM model settings for the app. Individual resources (e.g. agents, guardrails) can override these configurations as needed.
         */
        modelSettings?: Schema$ModelSettings;
        /**
         * Identifier. The unique identifier of the app. Format: `projects/{project\}/locations/{location\}/apps/{app\}`
         */
        name?: string | null;
        /**
         * Optional. Whether the app is pinned in the app list.
         */
        pinned?: boolean | null;
        /**
         * Output only. The declarations of predefined variables for the app.
         */
        predefinedVariableDeclarations?: Schema$AppVariableDeclaration[];
        /**
         * Optional. The root agent is the entry point of the app. Format: `projects/{project\}/locations/{location\}/apps/{app\}/agents/{agent\}`
         */
        rootAgent?: string | null;
        /**
         * Optional. TimeZone settings of the app.
         */
        timeZoneSettings?: Schema$TimeZoneSettings;
        /**
         * Optional. The tool execution mode for the app. If not provided, will default to PARALLEL.
         */
        toolExecutionMode?: string | null;
        /**
         * Output only. Timestamp when the app was last updated.
         */
        updateTime?: string | null;
        /**
         * Output only. Misconfigurations or warnings in the app.
         */
        validationErrors?: string[] | null;
        /**
         * Optional. The declarations of the variables.
         */
        variableDeclarations?: Schema$AppVariableDeclaration[];
        /**
         * Optional. VPC-SC settings for the app.
         */
        vpcScSettings?: Schema$VpcScSettings;
    }
    /**
     * A snapshot of the app.
     */
    export interface Schema$AppSnapshot {
        /**
         * Optional. List of agents in the app.
         */
        agents?: Schema$Agent[];
        /**
         * Optional. The basic settings for the app.
         */
        app?: Schema$App;
        /**
         * Optional. List of examples in the app.
         */
        examples?: Schema$Example[];
        /**
         * Optional. List of guardrails in the app.
         */
        guardrails?: Schema$Guardrail[];
        /**
         * Optional. List of tools in the app.
         */
        tools?: Schema$Tool[];
        /**
         * Optional. List of toolsets in the app.
         */
        toolsets?: Schema$Toolset[];
    }
    /**
     * Defines the structure and metadata for a variable.
     */
    export interface Schema$AppVariableDeclaration {
        /**
         * Required. The description of the variable.
         */
        description?: string | null;
        /**
         * Required. The name of the variable. The name must start with a letter or underscore and contain only letters, numbers, or underscores.
         */
        name?: string | null;
        /**
         * Required. The schema of the variable.
         */
        schema?: Schema$Schema;
    }
    /**
     * In Customer Engagement Suite (CES), an app version is a snapshot of the app at a specific point in time. It is immutable and cannot be modified once created.
     */
    export interface Schema$AppVersion {
        /**
         * Output only. Timestamp when the app version was created.
         */
        createTime?: string | null;
        /**
         * Output only. Email of the user who created the app version.
         */
        creator?: string | null;
        /**
         * Optional. The description of the app version.
         */
        description?: string | null;
        /**
         * Optional. The display name of the app version.
         */
        displayName?: string | null;
        /**
         * Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
         */
        etag?: string | null;
        /**
         * Identifier. The unique identifier of the app version. Format: `projects/{project\}/locations/{location\}/apps/{app\}/versions/{version\}`
         */
        name?: string | null;
        /**
         * Output only. The snapshot of the app when the version is created.
         */
        snapshot?: Schema$AppSnapshot;
    }
    /**
     * Configuration for how the input and output audio should be processed and delivered.
     */
    export interface Schema$AudioProcessingConfig {
        /**
         * Optional. Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation.
         */
        ambientSoundConfig?: Schema$AmbientSoundConfig;
        /**
         * Optional. Configures the agent behavior for the user barge-in activities.
         */
        bargeInConfig?: Schema$BargeInConfig;
        /**
         * Optional. The duration of user inactivity (no speech or interaction) before the agent prompts the user for reengagement. If not set, the agent will not prompt the user for reengagement.
         */
        inactivityTimeout?: string | null;
        /**
         * Optional. Configuration of how the agent response should be synthesized, mapping from the language code to SynthesizeSpeechConfig. If the configuration for the specified language code is not found, the configuration for the root language code will be used. For example, if the map contains "en-us" and "en", and the specified language code is "en-gb", then "en" configuration will be used. Note: Language code is case-insensitive.
         */
        synthesizeSpeechConfigs?: {
            [key: string]: Schema$SynthesizeSpeechConfig;
        } | null;
    }
    /**
     * Configuration for how the audio interactions should be recorded.
     */
    export interface Schema$AudioRecordingConfig {
        /**
         * Optional. The [Cloud Storage](https://cloud.google.com/storage) bucket to store the session audio recordings. The URI must start with "gs://". Please choose a bucket location that meets your data residency requirements. Note: If the Cloud Storage bucket is in a different project from the app, you should grant `storage.objects.create` permission to the CES service agent `service-@gcp-sa-ces.iam.gserviceaccount.com`.
         */
        gcsBucket?: string | null;
        /**
         * Optional. The Cloud Storage path prefix for audio recordings. This prefix can include the following placeholders, which will be dynamically substituted at serving time: - $project: project ID - $location: app location - $app: app ID - $date: session date in YYYY-MM-DD format - $session: session ID If the path prefix is not specified, the default prefix `$project/$location/$app/$date/$session/` will be used.
         */
        gcsPathPrefix?: string | null;
    }
    /**
     * Configuration for how the user barge-in activities should be handled.
     */
    export interface Schema$BargeInConfig {
        /**
         * Optional. If enabled, the agent will adapt its next response based on the assumption that the user hasn't heard the full preceding agent message. This should not be used in scenarios where agent responses are displayed visually.
         */
        bargeInAwareness?: boolean | null;
        /**
         * Optional. Deprecated: `disable_barge_in` is deprecated in favor of `disable_barge_in_control` in ChannelProfile. Disables user barge-in while the agent is speaking. If true, user input during agent response playback will be ignored.
         */
        disableBargeIn?: boolean | null;
    }
    /**
     * Request message for AgentService.BatchDeleteConversations.
     */
    export interface Schema$BatchDeleteConversationsRequest {
        /**
         * Required. The resource names of the conversations to delete.
         */
        conversations?: string[] | null;
    }
    /**
     * Configurations for authentication with a bearer token.
     */
    export interface Schema$BearerTokenConfig {
        /**
         * Required. The bearer token. Must be in the format `$context.variables.`.
         */
        token?: string | null;
    }
    /**
     * Settings to describe the BigQuery export behaviors for the app.
     */
    export interface Schema$BigQueryExportSettings {
        /**
         * Optional. The BigQuery **dataset ID** to export the data to.
         */
        dataset?: string | null;
        /**
         * Optional. Indicates whether the BigQuery export is enabled.
         */
        enabled?: boolean | null;
        /**
         * Optional. The **project ID** of the BigQuery dataset to export the data to. Note: If the BigQuery dataset is in a different project from the app, you should grant `roles/bigquery.admin` role to the CES service agent `service-@gcp-sa-ces.iam.gserviceaccount.com`.
         */
        project?: string | null;
    }
    /**
     * Represents a blob input or output in the conversation.
     */
    export interface Schema$Blob {
        /**
         * Required. Raw bytes of the blob.
         */
        data?: string | null;
        /**
         * Required. The IANA standard MIME type of the source data.
         */
        mimeType?: string | null;
    }
    /**
     * A callback defines the custom logic to be executed at various stages of agent interaction.
     */
    export interface Schema$Callback {
        /**
         * Optional. Human-readable description of the callback.
         */
        description?: string | null;
        /**
         * Optional. Whether the callback is disabled. Disabled callbacks are ignored by the agent.
         */
        disabled?: boolean | null;
        /**
         * Optional. If enabled, the callback will also be executed on intermediate model outputs. This setting only affects after model callback. **ENABLE WITH CAUTION**. Typically after model callback only needs to be executed after receiving all model responses. Enabling proactive execution may have negative implication on the execution cost and latency, and should only be enabled in rare situations.
         */
        proactiveExecutionEnabled?: boolean | null;
        /**
         * Required. The python code to execute for the callback.
         */
        pythonCode?: string | null;
    }
    /**
     * The request message for Operations.CancelOperation.
     */
    export interface Schema$CancelOperationRequest {
    }
    /**
     * Changelogs represent a change made to the app or to an resource within the app.
     */
    export interface Schema$Changelog {
        /**
         * Output only. The action that was performed on the resource.
         */
        action?: string | null;
        /**
         * Output only. Email address of the change author.
         */
        author?: string | null;
        /**
         * Output only. The time when the change was made.
         */
        createTime?: string | null;
        /**
         * Output only. The dependent resources that were changed.
         */
        dependentResources?: Array<{
            [key: string]: any;
        }> | null;
        /**
         * Output only. Description of the change. which typically captures the changed fields in the resource.
         */
        description?: string | null;
        /**
         * Output only. Display name of the change. It typically should be the display name of the resource that was changed.
         */
        displayName?: string | null;
        /**
         * Identifier. The unique identifier of the changelog. Format: `projects/{project\}/locations/{location\}/apps/{app\}/changelogs/{changelog\}`
         */
        name?: string | null;
        /**
         * Output only. The new resource after the change.
         */
        newResource?: {
            [key: string]: any;
        } | null;
        /**
         * Output only. The original resource before the change.
         */
        originalResource?: {
            [key: string]: any;
        } | null;
        /**
         * Output only. The resource that was changed.
         */
        resource?: string | null;
        /**
         * Output only. The type of the resource that was changed.
         */
        resourceType?: string | null;
        /**
         * Output only. The monotonically increasing sequence number of the changelog.
         */
        sequenceNumber?: string | null;
    }
    /**
     * A ChannelProfile configures the agent's behavior for a specific communication channel, such as web UI or telephony.
     */
    export interface Schema$ChannelProfile {
        /**
         * Optional. The type of the channel profile.
         */
        channelType?: string | null;
        /**
         * Optional. Whether to disable user barge-in control in the conversation. - **true**: User interruptions are disabled while the agent is speaking. - **false**: The agent retains automatic control over when the user can interrupt.
         */
        disableBargeInControl?: boolean | null;
        /**
         * Optional. Whether to disable DTMF (dual-tone multi-frequency).
         */
        disableDtmf?: boolean | null;
        /**
         * Optional. Configuration specific to Instagram deployments.
         */
        instagramConfig?: Schema$ChannelProfileInstagramConfig;
        /**
         * Optional. The noise suppression level of the channel profile. Available values are "low", "moderate", "high", "very_high".
         */
        noiseSuppressionLevel?: string | null;
        /**
         * Optional. The persona property of the channel profile.
         */
        personaProperty?: Schema$ChannelProfilePersonaProperty;
        /**
         * Optional. The unique identifier of the channel profile.
         */
        profileId?: string | null;
        /**
         * Optional. The configuration for the web widget.
         */
        webWidgetConfig?: Schema$ChannelProfileWebWidgetConfig;
        /**
         * Optional. Configuration specific to WhatsApp deployments.
         */
        whatsappConfig?: Schema$ChannelProfileWhatsAppConfig;
    }
    /**
     * Configuration specific to Instagram deployments.
     */
    export interface Schema$ChannelProfileInstagramConfig {
        /**
         * Output only. The description of the Meta business page or profile.
         */
        description?: string | null;
        /**
         * Output only. The fetched Meta business page name.
         */
        displayName?: string | null;
        /**
         * Required. The Instagram Account ID.
         */
        instagramAccountId?: string | null;
        /**
         * Output only. The fetched Meta business profile thumbnail URL.
         */
        thumbnailUrl?: string | null;
    }
    /**
     * Represents the persona property of a channel.
     */
    export interface Schema$ChannelProfilePersonaProperty {
        /**
         * Optional. The persona of the channel.
         */
        persona?: string | null;
    }
    /**
     * Message for configuration for the web widget.
     */
    export interface Schema$ChannelProfileWebWidgetConfig {
        /**
         * Optional. The modality of the web widget.
         */
        modality?: string | null;
        /**
         * Optional. The security settings of the web widget.
         */
        securitySettings?: Schema$ChannelProfileWebWidgetConfigSecuritySettings;
        /**
         * Optional. The theme of the web widget.
         */
        theme?: string | null;
        /**
         * Optional. The title of the web widget.
         */
        webWidgetTitle?: string | null;
    }
    /**
     * Security settings for the web widget.
     */
    export interface Schema$ChannelProfileWebWidgetConfigSecuritySettings {
        /**
         * Optional. The origins that are allowed to host the web widget. An origin is defined by RFC 6454. If empty, all origins are allowed. A maximum of 100 origins is allowed. Example: "https://example.com"
         */
        allowedOrigins?: string[] | null;
        /**
         * Optional. Indicates whether origin check for the web widget is enabled. If `true`, the web widget will check the origin of the website that loads the web widget and only allow it to be loaded in the same origin or any of the allowed origins.
         */
        enableOriginCheck?: boolean | null;
        /**
         * Optional. Indicates whether public access to the web widget is enabled. If `true`, the web widget will be publicly accessible. If `false`, the web widget must be integrated with your own authentication and authorization system to return valid credentials for accessing the CES agent.
         */
        enablePublicAccess?: boolean | null;
        /**
         * Optional. Indicates whether reCAPTCHA verification for the web widget is enabled.
         */
        enableRecaptcha?: boolean | null;
    }
    /**
     * Configuration specific to WhatsApp deployments.
     */
    export interface Schema$ChannelProfileWhatsAppConfig {
        /**
         * Output only. The description of the Meta business page or profile.
         */
        description?: string | null;
        /**
         * Output only. The fetched Meta business page name.
         */
        displayName?: string | null;
        /**
         * Optional. The phone number in E.164 format.
         */
        phoneNumber?: string | null;
        /**
         * Required. The Meta phone number ID.
         */
        phoneNumberId?: string | null;
        /**
         * Output only. The fetched Meta business profile thumbnail URL.
         */
        thumbnailUrl?: string | null;
        /**
         * Required. The WhatsApp Business Account ID.
         */
        wabaId?: string | null;
    }
    /**
     * A chunk of content within a message.
     */
    export interface Schema$Chunk {
        /**
         * Optional. Agent transfer event.
         */
        agentTransfer?: Schema$AgentTransfer;
        /**
         * Optional. Blob data.
         */
        blob?: Schema$Blob;
        /**
         * A struct represents default variables at the start of the conversation, keyed by variable names.
         */
        defaultVariables?: {
            [key: string]: any;
        } | null;
        /**
         * Optional. Image data.
         */
        image?: Schema$Image;
        /**
         * Optional. Custom payload data.
         */
        payload?: {
            [key: string]: any;
        } | null;
        /**
         * Optional. Text data.
         */
        text?: string | null;
        /**
         * Optional. Tool execution request.
         */
        toolCall?: Schema$ToolCall;
        /**
         * Optional. Tool execution response.
         */
        toolResponse?: Schema$ToolResponse;
        /**
         * Optional. Transcript associated with the audio.
         */
        transcript?: string | null;
        /**
         * A struct represents variables that were updated in the conversation, keyed by variable names.
         */
        updatedVariables?: {
            [key: string]: any;
        } | null;
    }
    /**
     * Citations associated with the agent response.
     */
    export interface Schema$Citations {
        /**
         * List of cited pieces of information.
         */
        citedChunks?: Schema$CitationsCitedChunk[];
    }
    /**
     * Piece of cited information.
     */
    export interface Schema$CitationsCitedChunk {
        /**
         * Whether this citation requires attribution to be shown to the end users.
         */
        requiresAttribution?: boolean | null;
        /**
         * Text used for citation.
         */
        text?: string | null;
        /**
         * Title of the cited document.
         */
        title?: string | null;
        /**
         * URI used for citation.
         */
        uri?: string | null;
    }
    /**
     * Settings for custom client certificates.
     */
    export interface Schema$ClientCertificateSettings {
        /**
         * Optional. The name of the SecretManager secret version resource storing the passphrase to decrypt the private key. Should be left unset if the private key is not encrypted. Format: `projects/{project\}/secrets/{secret\}/versions/{version\}`
         */
        passphrase?: string | null;
        /**
         * Required. The name of the SecretManager secret version resource storing the private key encoded in PEM format. Format: `projects/{project\}/secrets/{secret\}/versions/{version\}`
         */
        privateKey?: string | null;
        /**
         * Required. The TLS certificate encoded in PEM format. This string must include the begin header and end footer lines.
         */
        tlsCertificate?: string | null;
    }
    /**
     * Represents a client-side function that the agent can invoke. When the tool is chosen by the agent, control is handed off to the client. The client is responsible for executing the function and returning the result as a ToolResponse to continue the interaction with the agent.
     */
    export interface Schema$ClientFunction {
        /**
         * Optional. The function description.
         */
        description?: string | null;
        /**
         * Required. The function name.
         */
        name?: string | null;
        /**
         * Optional. The schema of the function parameters.
         */
        parameters?: Schema$Schema;
        /**
         * Optional. The schema of the function response.
         */
        response?: Schema$Schema;
    }
    /**
     * Settings to describe the Cloud Logging behaviors for the app.
     */
    export interface Schema$CloudLoggingSettings {
        /**
         * Optional. Whether to enable Cloud Logging for the sessions.
         */
        enableCloudLogging?: boolean | null;
    }
    /**
     * A code block to be executed instead of a real tool call.
     */
    export interface Schema$CodeBlock {
        /**
         * Required. Python code which will be invoked in tool fake mode. Expected Python function signature - To catch all tool calls: def fake_tool_call(tool: Tool, input: dict[str, Any], callback_context: CallbackContext) -\> Optional[dict[str, Any]]: To catch a specific tool call: def fake_{tool_id\}(tool: Tool, input: dict[str, Any], callback_context: CallbackContext) -\> Optional[dict[str, Any]]: If the function returns None, the real tool will be invoked instead.
         */
        pythonCode?: string | null;
    }
    /**
     * A ConnectorTool allows connections to different integrations. See: https://cloud.google.com/integration-connectors/docs/overview.
     */
    export interface Schema$ConnectorTool {
        /**
         * Required. Action for the tool to use.
         */
        action?: Schema$Action;
        /**
         * Optional. Configures how authentication is handled in Integration Connectors. By default, an admin authentication is passed in the Integration Connectors API requests. You can override it with a different end-user authentication config. **Note**: The Connection must have authentication override enabled in order to specify an EUC configuration here - otherwise, the ConnectorTool creation will fail. See https://cloud.google.com/application-integration/docs/configure-connectors-task#configure-authentication-override for details.
         */
        authConfig?: Schema$EndUserAuthConfig;
        /**
         * Required. The full resource name of the referenced Integration Connectors Connection. Format: `projects/{project\}/locations/{location\}/connections/{connection\}`
         */
        connection?: string | null;
        /**
         * Optional. The description of the tool that can be used by the Agent to decide whether to call this ConnectorTool.
         */
        description?: string | null;
        /**
         * Optional. The name of the tool that can be used by the Agent to decide whether to call this ConnectorTool.
         */
        name?: string | null;
    }
    /**
     * A toolset that generates tools from an Integration Connectors Connection.
     */
    export interface Schema$ConnectorToolset {
        /**
         * Optional. Configures how authentication is handled in Integration Connectors. By default, an admin authentication is passed in the Integration Connectors API requests. You can override it with a different end-user authentication config. **Note**: The Connection must have authentication override enabled in order to specify an EUC configuration here - otherwise, the Toolset creation will fail. See: https://cloud.google.com/application-integration/docs/configure-connectors-task#configure-authentication-override
         */
        authConfig?: Schema$EndUserAuthConfig;
        /**
         * Required. The full resource name of the referenced Integration Connectors Connection. Format: `projects/{project\}/locations/{location\}/connections/{connection\}`
         */
        connection?: string | null;
        /**
         * Required. The list of connector actions/entity operations to generate tools for.
         */
        connectorActions?: Schema$Action[];
    }
    /**
     * A conversation represents an interaction between an end user and the CES app.
     */
    export interface Schema$Conversation {
        /**
         * Output only. The version of the app used for processing the conversation. Format: `projects/{project\}/locations/{location\}/apps/{app\}/versions/{version\}`
         */
        appVersion?: string | null;
        /**
         * DEPRECATED. Please use input_types instead.
         */
        channelType?: string | null;
        /**
         * Output only. The deployment of the app used for processing the conversation. Format: `projects/{project\}/locations/{location\}/apps/{app\}/deployments/{deployment\}`
         */
        deployment?: string | null;
        /**
         * Output only. Timestamp when the conversation was completed.
         */
        endTime?: string | null;
        /**
         * Output only. The agent that initially handles the conversation. If not specified, the conversation is handled by the root agent. Format: `projects/{project\}/locations/{location\}/apps/{app\}/agents/{agent\}`
         */
        entryAgent?: string | null;
        /**
         * Output only. The input types of the conversation.
         */
        inputTypes?: string[] | null;
        /**
         * Output only. The language code of the conversation.
         */
        languageCode?: string | null;
        /**
         * Deprecated. Use turns instead.
         */
        messages?: Schema$Message[];
        /**
         * Identifier. The unique identifier of the conversation. Format: `projects/{project\}/locations/{location\}/apps/{app\}/conversations/{conversation\}`
         */
        name?: string | null;
        /**
         * Output only. Indicate the source of the conversation.
         */
        source?: string | null;
        /**
         * Output only. Timestamp when the conversation was created.
         */
        startTime?: string | null;
        /**
         * Output only. The number of turns in the conversation.
         */
        turnCount?: number | null;
        /**
         * Required. The turns in the conversation.
         */
        turns?: Schema$ConversationTurn[];
    }
    /**
     * Settings to describe the conversation logging behaviors for the app.
     */
    export interface Schema$ConversationLoggingSettings {
        /**
         * Optional. Whether to disable conversation logging for the sessions.
         */
        disableConversationLogging?: boolean | null;
        /**
         * Optional. Controls the retention window for the conversation. If not set, the conversation will be retained for 365 days.
         */
        retentionWindow?: string | null;
    }
    /**
     * All information about a single turn in the conversation.
     */
    export interface Schema$ConversationTurn {
        /**
         * Optional. List of messages in the conversation turn, including user input, agent responses and intermediate events during the processing.
         */
        messages?: Schema$Message[];
        /**
         * Optional. The root span of the action processing.
         */
        rootSpan?: Schema$Span;
        /**
         * Optional. The intended ground-truth text from the Simulated Caller (Polysynth). Only populated when word error rate metrics are enabled.
         */
        userIntendedText?: string | null;
    }
    /**
     * A DataStore resource in Vertex AI Search.
     */
    export interface Schema$DataStore {
        /**
         * Output only. The connector config for the data store connection.
         */
        connectorConfig?: Schema$DataStoreConnectorConfig;
        /**
         * Output only. Timestamp when the data store was created.
         */
        createTime?: string | null;
        /**
         * Output only. The display name of the data store.
         */
        displayName?: string | null;
        /**
         * Output only. The document processing mode for the data store connection. Only set for PUBLIC_WEB and UNSTRUCTURED data stores.
         */
        documentProcessingMode?: string | null;
        /**
         * Required. Full resource name of the DataStore. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{dataStore\}`
         */
        name?: string | null;
        /**
         * Output only. The type of the data store. This field is readonly and populated by the server.
         */
        type?: string | null;
    }
    /**
     * The connector config for the data store connection.
     */
    export interface Schema$DataStoreConnectorConfig {
        /**
         * Resource name of the collection the data store belongs to.
         */
        collection?: string | null;
        /**
         * Display name of the collection the data store belongs to.
         */
        collectionDisplayName?: string | null;
        /**
         * The name of the data source. Example: `salesforce`, `jira`, `confluence`, `bigquery`.
         */
        dataSource?: string | null;
    }
    /**
     * Data store related settings for the app.
     */
    export interface Schema$DataStoreSettings {
        /**
         * Output only. The engines for the app.
         */
        engines?: Schema$DataStoreSettingsEngine[];
    }
    /**
     * An engine to which the data stores are connected. See Vertex AI Search: https://cloud.google.com/generative-ai-app-builder/docs/enterprise-search-introduction.
     */
    export interface Schema$DataStoreSettingsEngine {
        /**
         * Output only. The resource name of the engine. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
         */
        name?: string | null;
        /**
         * Output only. The type of the engine.
         */
        type?: string | null;
    }
    /**
     * Tool to retrieve from Vertex AI Search datastore or engine for grounding. Accepts either a datastore or an engine, but not both. See Vertex AI Search: https://cloud.google.com/generative-ai-app-builder/docs/enterprise-search-introduction.
     */
    export interface Schema$DataStoreTool {
        /**
         * Optional. Boost specification to boost certain documents.
         */
        boostSpecs?: Schema$DataStoreToolBoostSpecs[];
        /**
         * Optional. Search within a single specific DataStore.
         */
        dataStoreSource?: Schema$DataStoreToolDataStoreSource;
        /**
         * Optional. The tool description.
         */
        description?: string | null;
        /**
         * Optional. Search within an Engine (potentially across multiple DataStores).
         */
        engineSource?: Schema$DataStoreToolEngineSource;
        /**
         * Optional. The filter parameter behavior.
         */
        filterParameterBehavior?: string | null;
        /**
         * Optional. The modality configs for the data store.
         */
        modalityConfigs?: Schema$DataStoreToolModalityConfig[];
        /**
         * Required. The data store tool name.
         */
        name?: string | null;
    }
    /**
     * Boost specification to boost certain documents.
     */
    export interface Schema$DataStoreToolBoostSpec {
        /**
         * Required. A list of boosting specifications.
         */
        conditionBoostSpecs?: Schema$DataStoreToolBoostSpecConditionBoostSpec[];
    }
    /**
     * Boost specification for a condition.
     */
    export interface Schema$DataStoreToolBoostSpecConditionBoostSpec {
        /**
         * Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the suggestions a big promotion. However, it does not necessarily mean that the top result will be a boosted suggestion. Setting to -1.0 gives the suggestions a big demotion. However, other suggestions that are relevant might still be shown. Setting to 0.0 means no boost applied. The boosting condition is ignored.
         */
        boost?: number | null;
        /**
         * Optional. Complex specification for custom ranking based on customer defined attribute value.
         */
        boostControlSpec?: Schema$DataStoreToolBoostSpecConditionBoostSpecBoostControlSpec;
        /**
         * Required. An expression which specifies a boost condition. The syntax is the same as filter expression syntax. Currently, the only supported condition is a list of BCP-47 lang codes. Example: To boost suggestions in languages en or fr: (lang_code: ANY("en", "fr"))
         */
        condition?: string | null;
    }
    /**
     * Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above.
     */
    export interface Schema$DataStoreToolBoostSpecConditionBoostSpecBoostControlSpec {
        /**
         * Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).
         */
        attributeType?: string | null;
        /**
         * Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.
         */
        controlPoints?: Schema$DataStoreToolBoostSpecConditionBoostSpecBoostControlSpecControlPoint[];
        /**
         * Optional. The name of the field whose value will be used to determine the boost amount.
         */
        fieldName?: string | null;
        /**
         * Optional. The interpolation type to be applied to connect the control points listed below.
         */
        interpolationType?: string | null;
    }
    /**
     * The control points used to define the curve. The curve defined through these control points can only be monotonically increasing or decreasing(constant values are acceptable).
     */
    export interface Schema$DataStoreToolBoostSpecConditionBoostSpecBoostControlSpecControlPoint {
        /**
         * Optional. Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`.
         */
        attributeValue?: string | null;
        /**
         * Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.
         */
        boostAmount?: number | null;
    }
    /**
     * Boost specifications to boost certain documents. For more information, please refer to https://cloud.google.com/generative-ai-app-builder/docs/boosting.
     */
    export interface Schema$DataStoreToolBoostSpecs {
        /**
         * Required. The Data Store where the boosting configuration is applied. Full resource name of DataStore, such as projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{dataStore\}.
         */
        dataStores?: string[] | null;
        /**
         * Required. A list of boosting specifications.
         */
        spec?: Schema$DataStoreToolBoostSpec[];
    }
    /**
     * Configuration for searching within a specific DataStore.
     */
    export interface Schema$DataStoreToolDataStoreSource {
        /**
         * Optional. The data store.
         */
        dataStore?: Schema$DataStore;
        /**
         * Optional. Filter specification for the DataStore. See: https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata
         */
        filter?: string | null;
    }
    /**
     * Configuration for searching within an Engine, potentially targeting specific DataStores.
     */
    export interface Schema$DataStoreToolEngineSource {
        /**
         * Optional. Use to target specific DataStores within the Engine. If empty, the search applies to all DataStores associated with the Engine.
         */
        dataStoreSources?: Schema$DataStoreToolDataStoreSource[];
        /**
         * Required. Full resource name of the Engine. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
         */
        engine?: string | null;
        /**
         * Optional. A filter applied to the search across the Engine. Not relevant and not used if 'data_store_sources' is provided. See: https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata
         */
        filter?: string | null;
    }
    /**
     * Grounding configuration.
     */
    export interface Schema$DataStoreToolGroundingConfig {
        /**
         * Optional. Whether grounding is disabled.
         */
        disabled?: boolean | null;
        /**
         * Optional. The groundedness threshold of the answer based on the retrieved sources. The value has a configurable range of [1, 5]. The level is used to threshold the groundedness of the answer, meaning that all responses with a groundedness score below the threshold will fall back to returning relevant snippets only. For example, a level of 3 means that the groundedness score must be 3 or higher for the response to be returned.
         */
        groundingLevel?: number | null;
    }
    /**
     * If specified, will apply the given configuration for the specified modality.
     */
    export interface Schema$DataStoreToolModalityConfig {
        /**
         * Optional. The grounding configuration.
         */
        groundingConfig?: Schema$DataStoreToolGroundingConfig;
        /**
         * Required. The modality type.
         */
        modalityType?: string | null;
        /**
         * Optional. The rewriter config.
         */
        rewriterConfig?: Schema$DataStoreToolRewriterConfig;
        /**
         * Optional. The snippets configuration.
         */
        snippetsConfig?: Schema$DataStoreToolSnippetsConfig;
        /**
         * Optional. The summarization config.
         */
        summarizationConfig?: Schema$DataStoreToolSummarizationConfig;
    }
    /**
     * Rewriter configuration.
     */
    export interface Schema$DataStoreToolRewriterConfig {
        /**
         * Optional. Whether the rewriter is disabled.
         */
        disabled?: boolean | null;
        /**
         * Required. Configurations for the LLM model.
         */
        modelSettings?: Schema$ModelSettings;
        /**
         * Optional. The prompt definition. If not set, default prompt will be used.
         */
        prompt?: string | null;
    }
    /**
     * Snippets configuration.
     */
    export interface Schema$DataStoreToolSnippetsConfig {
        /**
         * Optional. Whether snippets are enabled.
         */
        enableSnippets?: boolean | null;
    }
    /**
     * Summarization configuration.
     */
    export interface Schema$DataStoreToolSummarizationConfig {
        /**
         * Optional. Whether summarization is disabled.
         */
        disabled?: boolean | null;
        /**
         * Optional. Configurations for the LLM model.
         */
        modelSettings?: Schema$ModelSettings;
        /**
         * Optional. The prompt definition. If not set, default prompt will be used.
         */
        prompt?: string | null;
    }
    /**
     * A deployment represents an immutable, queryable version of the app. It is used to deploy an app version with a specific channel profile.
     */
    export interface Schema$Deployment {
        /**
         * Optional. The resource name of the app version to deploy. Format: `projects/{project\}/locations/{location\}/apps/{app\}/versions/{version\}` Use `projects/{project\}/locations/{location\}/apps/{app\}/versions/-` to use the draft app.
         */
        appVersion?: string | null;
        /**
         * Required. The channel profile used in the deployment.
         */
        channelProfile?: Schema$ChannelProfile;
        /**
         * Output only. Timestamp when this deployment was created.
         */
        createTime?: string | null;
        /**
         * Required. Display name of the deployment.
         */
        displayName?: string | null;
        /**
         * Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
         */
        etag?: string | null;
        /**
         * Optional. Experiment configuration for the deployment.
         */
        experimentConfig?: Schema$ExperimentConfig;
        /**
         * Optional. Input only. Ephemeral Instagram credentials required when configuring a Instagram channel profile.
         */
        instagramCredentials?: Schema$InstagramCredentials;
        /**
         * Optional. The modality of the deployment. Note: Deployment-level modality override is gated behind an allowlist. Contact the CXAS team to enable this field.
         */
        modality?: string | null;
        /**
         * Optional. Model settings for the deployment. Overrides model settings configured at the app/agent levels. Note: Deployment-level model settings override is gated behind an allowlist. Contact the CXAS team to enable this field.
         */
        modelSettings?: Schema$ModelSettings;
        /**
         * Identifier. The resource name of the deployment. Format: `projects/{project\}/locations/{location\}/apps/{app\}/deployments/{deployment\}`
         */
        name?: string | null;
        /**
         * Output only. Timestamp when this deployment was last updated.
         */
        updateTime?: string | null;
        /**
         * Optional. Input only. Ephemeral WhatsApp credentials required when configuring a WhatsApp channel profile.
         */
        whatsappCredentials?: Schema$WhatsAppCredentials;
    }
    /**
     * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
     */
    export interface Schema$Empty {
    }
    /**
     * Defines project/location level endpoint control policy.
     */
    export interface Schema$EndpointControlPolicy {
        /**
         * Optional. The allowed HTTP(s) origins that tools in the App are able to directly call. The enforcement depends on the value of enforcement_scope and the VPC-SC status of the project. If a port number is not provided, all ports will be allowed. Otherwise, the port number must match exactly. For example, "https://example.com" will match "https://example.com:443" and any other port. "https://example.com:443" will only match "https://example.com:443".
         */
        allowedOrigins?: string[] | null;
        /**
         * Optional. The scope in which this policy's allowed_origins list is enforced.
         */
        enforcementScope?: string | null;
    }
    /**
     * Indicates the session has terminated, due to either successful completion (e.g. user says "Good bye!" ) or an agent escalation. The agent will not process any further inputs after session is terminated and the client should half-close and disconnect after receiving all remaining responses from the agent.
     */
    export interface Schema$EndSession {
        /**
         * Optional. Provides additional information about the end session signal, such as the reason for ending the session.
         */
        metadata?: {
            [key: string]: any;
        } | null;
    }
    /**
     * End-user authentication configuration used for Connection calls. The field values must be the names of context variables in the format `$context.variables.`.
     */
    export interface Schema$EndUserAuthConfig {
        /**
         * Oauth 2.0 Authorization Code authentication.
         */
        oauth2AuthCodeConfig?: Schema$EndUserAuthConfigOauth2AuthCodeConfig;
        /**
         * JWT Profile Oauth 2.0 Authorization Grant authentication.
         */
        oauth2JwtBearerConfig?: Schema$EndUserAuthConfigOauth2JwtBearerConfig;
    }
    /**
     * Oauth 2.0 Authorization Code authentication configuration.
     */
    export interface Schema$EndUserAuthConfigOauth2AuthCodeConfig {
        /**
         * Required. Oauth token parameter name to pass through. Must be in the format `$context.variables.`.
         */
        oauthToken?: string | null;
    }
    /**
     * JWT Profile Oauth 2.0 Authorization Grant authentication configuration.
     */
    export interface Schema$EndUserAuthConfigOauth2JwtBearerConfig {
        /**
         * Required. Client parameter name to pass through. Must be in the format `$context.variables.`.
         */
        clientKey?: string | null;
        /**
         * Required. Issuer parameter name to pass through. Must be in the format `$context.variables.`.
         */
        issuer?: string | null;
        /**
         * Required. Subject parameter name to pass through. Must be in the format `$context.variables.`.
         */
        subject?: string | null;
    }
    /**
     * Settings to describe how errors should be handled in the app.
     */
    export interface Schema$ErrorHandlingSettings {
        /**
         * Optional. Configuration for ending the session in case of system errors (e.g. LLM errors).
         */
        endSessionConfig?: Schema$ErrorHandlingSettingsEndSessionConfig;
        /**
         * Optional. The strategy to use for error handling.
         */
        errorHandlingStrategy?: string | null;
        /**
         * Optional. Configuration for handling fallback responses.
         */
        fallbackResponseConfig?: Schema$ErrorHandlingSettingsFallbackResponseConfig;
    }
    /**
     * Configuration for ending the session in case of system errors (e.g. LLM errors).
     */
    export interface Schema$ErrorHandlingSettingsEndSessionConfig {
        /**
         * Optional. Whether to escalate the session in EndSession. If session is escalated, metadata in EndSession will contain `session_escalated = true`. See https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/deploy/google-telephony-platform#transfer_a_call_to_a_human_agent for details.
         */
        escalateSession?: boolean | null;
    }
    /**
     * Configuration for handling fallback responses.
     */
    export interface Schema$ErrorHandlingSettingsFallbackResponseConfig {
        /**
         * Optional. The fallback messages in case of system errors (e.g. LLM errors), mapped by [supported language code](https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/reference/language).
         */
        customFallbackMessages?: {
            [key: string]: string;
        } | null;
        /**
         * Optional. The maximum number of fallback attempts to make before the agent emitting EndSession Signal.
         */
        maxFallbackAttempts?: number | null;
    }
    /**
     * Threshold settings for metrics in an Evaluation.
     */
    export interface Schema$EvaluationMetricsThresholds {
        /**
         * Optional. The golden evaluation metrics thresholds.
         */
        goldenEvaluationMetricsThresholds?: Schema$EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds;
        /**
         * Optional. The hallucination metric behavior for golden evaluations.
         */
        goldenHallucinationMetricBehavior?: string | null;
        /**
         * Optional. Deprecated: Use `golden_hallucination_metric_behavior` instead. The hallucination metric behavior is currently used for golden evaluations.
         */
        hallucinationMetricBehavior?: string | null;
        /**
         * Optional. The hallucination metric behavior for scenario evaluations.
         */
        scenarioHallucinationMetricBehavior?: string | null;
    }
    /**
     * Settings for golden evaluations.
     */
    export interface Schema$EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds {
        /**
         * Optional. The expectation level metrics thresholds.
         */
        expectationLevelMetricsThresholds?: Schema$EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds;
        /**
         * Optional. The tool matching settings. An extra tool call is a tool call that is present in the execution but does not match any tool call in the golden expectation.
         */
        toolMatchingSettings?: Schema$EvaluationMetricsThresholdsToolMatchingSettings;
        /**
         * Optional. The turn level metrics thresholds.
         */
        turnLevelMetricsThresholds?: Schema$EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds;
    }
    /**
     * Expectation level metrics thresholds.
     */
    export interface Schema$EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds {
        /**
         * Optional. The success threshold for individual tool invocation parameter correctness. Must be a float between 0 and 1. Default is 1.0.
         */
        toolInvocationParameterCorrectnessThreshold?: number | null;
    }
    /**
     * Turn level metrics thresholds.
     */
    export interface Schema$EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds {
        /**
         * Optional. The success threshold for overall tool invocation correctness. Must be a float between 0 and 1. Default is 1.0.
         */
        overallToolInvocationCorrectnessThreshold?: number | null;
        /**
         * Optional. The semantic similarity channel to use for evaluation.
         */
        semanticSimilarityChannel?: string | null;
        /**
         * Optional. The success threshold for semantic similarity. Must be an integer between 0 and 4. Default is \>= 3.
         */
        semanticSimilaritySuccessThreshold?: number | null;
    }
    /**
     * Settings for matching tool calls.
     */
    export interface Schema$EvaluationMetricsThresholdsToolMatchingSettings {
        /**
         * Optional. Behavior for extra tool calls. Defaults to FAIL.
         */
        extraToolCallBehavior?: string | null;
    }
    /**
     * Event input.
     */
    export interface Schema$Event {
        /**
         * Required. The name of the event.
         */
        event?: string | null;
    }
    /**
     * An example represents a sample conversation between the user and the agent(s).
     */
    export interface Schema$Example {
        /**
         * Output only. Timestamp when the example was created.
         */
        createTime?: string | null;
        /**
         * Optional. Human-readable description of the example.
         */
        description?: string | null;
        /**
         * Required. Display name of the example.
         */
        displayName?: string | null;
        /**
         * Optional. The agent that initially handles the conversation. If not specified, the example represents a conversation that is handled by the root agent. Format: `projects/{project\}/locations/{location\}/apps/{app\}/agents/{agent\}`
         */
        entryAgent?: string | null;
        /**
         * Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
         */
        etag?: string | null;
        /**
         * Output only. The example may become invalid if referencing resources are deleted. Invalid examples will not be used as few-shot examples.
         */
        invalid?: boolean | null;
        /**
         * Optional. The collection of messages that make up the conversation.
         */
        messages?: Schema$Message[];
        /**
         * Identifier. The unique identifier of the example. Format: `projects/{project\}/locations/{location\}/apps/{app\}/examples/{example\}`
         */
        name?: string | null;
        /**
         * Output only. Timestamp when the example was last updated.
         */
        updateTime?: string | null;
    }
    /**
     * Request message for ToolService.ExecuteTool.
     */
    export interface Schema$ExecuteToolRequest {
        /**
         * Optional. The input parameters and values for the tool in JSON object format.
         */
        args?: {
            [key: string]: any;
        } | null;
        /**
         * Optional. The [ToolCallContext](https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/python#environment for details) to be passed to the Python tool.
         */
        context?: {
            [key: string]: any;
        } | null;
        /**
         * Optional. Mock configuration for the tool execution. If this field is set, tools that call other tools will be mocked based on the provided patterns and responses.
         */
        mockConfig?: Schema$MockConfig;
        /**
         * Optional. The name of the tool to execute. Format: projects/{project\}/locations/{location\}/apps/{app\}/tools/{tool\}
         */
        tool?: string | null;
        /**
         * Optional. The toolset tool to execute. Only one tool should match the predicate from the toolset. Otherwise, an error will be returned.
         */
        toolsetTool?: Schema$ToolsetTool;
        /**
         * Optional. The variables that are available for the tool execution.
         */
        variables?: {
            [key: string]: any;
        } | null;
    }
    /**
     * Response message for ToolService.ExecuteTool.
     */
    export interface Schema$ExecuteToolResponse {
        /**
         * Citations that provide the source information for the tool's execution.
         */
        citations?: Schema$Citations;
        /**
         * The suggestions returned from Google Search as a result of invoking the Google Search Tool during the tool execution.
         */
        googleSearchSuggestions?: Schema$GoogleSearchSuggestions;
        /**
         * The tool execution result in JSON object format. Use "output" key to specify tool response and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as tool execution result.
         */
        response?: {
            [key: string]: any;
        } | null;
        /**
         * The name of the tool that got executed. Format: `projects/{project\}/locations/{location\}/apps/{app\}/tools/{tool\}`
         */
        tool?: string | null;
        /**
         * The toolset tool that got executed.
         */
        toolsetTool?: Schema$ToolsetTool;
        /**
         * The variable values at the end of the tool execution.
         */
        variables?: {
            [key: string]: any;
        } | null;
    }
    /**
     * Experiment for the deployment.
     */
    export interface Schema$ExperimentConfig {
        /**
         * Optional. Version release for the experiment.
         */
        versionRelease?: Schema$ExperimentConfigVersionRelease;
    }
    /**
     * Version release for the experiment.
     */
    export interface Schema$ExperimentConfigVersionRelease {
        /**
         * Optional. State of the version release.
         */
        state?: string | null;
        /**
         * Optional. Traffic allocations for the version release.
         */
        trafficAllocations?: Schema$ExperimentConfigVersionReleaseTrafficAllocation[];
    }
    /**
     * Traffic allocation for the version release.
     */
    export interface Schema$ExperimentConfigVersionReleaseTrafficAllocation {
        /**
         * Optional. App version of the traffic allocation. Format: `projects/{project\}/locations/{location\}/apps/{app\}/versions/{version\}`
         */
        appVersion?: string | null;
        /**
         * Optional. Id of the traffic allocation. Free format string, up to 128 characters.
         */
        id?: string | null;
        /**
         * Optional. Traffic percentage of the traffic allocation. Must be between 0 and 100.
         */
        trafficPercentage?: number | null;
    }
    /**
     * Request message for AgentService.ExportApp.
     */
    export interface Schema$ExportAppRequest {
        /**
         * Optional. The resource name of the app version to export. Format: `projects/{project\}/locations/{location\}/apps/{app\}/versions/{version\}`.
         */
        appVersion?: string | null;
        /**
         * Required. The format to export the app in.
         */
        exportFormat?: string | null;
        /**
         * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to which to export the app. The format of this URI must be `gs:///`. The exported app archive will be written directly to the specified GCS object.
         */
        gcsUri?: string | null;
    }
    /**
     * Response message for AgentService.ExportApp.
     */
    export interface Schema$ExportAppResponse {
        /**
         * App folder compressed as a zip file.
         */
        appContent?: string | null;
        /**
         * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to which the app was exported.
         */
        appUri?: string | null;
    }
    /**
     * Expression condition based on session state.
     */
    export interface Schema$ExpressionCondition {
        /**
         * Required. The string representation of cloud.api.Expression condition.
         */
        expression?: string | null;
    }
    /**
     * The file search tool allows the agent to search across the files uploaded by the app/agent developer. It has presets to give relatively good quality search over the uploaded files and summarization of the retrieved results.
     */
    export interface Schema$FileSearchTool {
        /**
         * Optional. The type of the corpus. Default is FULLY_MANAGED.
         */
        corpusType?: string | null;
        /**
         * Optional. The tool description.
         */
        description?: string | null;
        /**
         * Optional. The corpus where files are stored. Format: projects/{project\}/locations/{location\}/ragCorpora/{rag_corpus\}
         */
        fileCorpus?: string | null;
        /**
         * Required. The tool name.
         */
        name?: string | null;
    }
    /**
     * Request message for WidgetService.GenerateChatToken.
     */
    export interface Schema$GenerateChatTokenRequest {
        /**
         * Required. The deployment of the app to use for the session. Format: projects/{project\}/locations/{location\}/apps/{app\}/deployments/{deployment\}
         */
        deployment?: string | null;
        /**
         * Optional. Indicates if live handoff is enabled for the session.
         */
        liveHandoffEnabled?: boolean | null;
        /**
         * Optional. The reCAPTCHA token generated by the client-side chat widget.
         */
        recaptchaToken?: string | null;
    }
    /**
     * Response message for WidgetService.GenerateChatToken.
     */
    export interface Schema$GenerateChatTokenResponse {
        /**
         * The session scoped token for chat widget to authenticate with Session APIs.
         */
        chatToken?: string | null;
        /**
         * The time at which the chat token expires.
         */
        expireTime?: string | null;
    }
    /**
     * Search suggestions from Google Search Tool.
     */
    export interface Schema$GoogleSearchSuggestions {
        /**
         * Compliant HTML and CSS styling for search suggestions. The provided HTML and CSS automatically adapts to your device settings, displaying in either light or dark mode indicated by `@media(prefers-color-scheme)`.
         */
        htmls?: string[] | null;
        /**
         * List of queries used to perform the google search along with the search result URIs forming the search suggestions.
         */
        webSearchQueries?: Schema$WebSearchQuery[];
    }
    /**
     * Represents a tool to perform Google web searches for grounding. See https://cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool#google-search.
     */
    export interface Schema$GoogleSearchTool {
        /**
         * Optional. Content will be fetched directly from these URLs for context and grounding. Example: "https://example.com/path.html". A maximum of 20 URLs are allowed.
         */
        contextUrls?: string[] | null;
        /**
         * Optional. Description of the tool's purpose.
         */
        description?: string | null;
        /**
         * Optional. List of domains to be excluded from the search results. Example: "example.com". A maximum of 2000 domains can be excluded.
         */
        excludeDomains?: string[] | null;
        /**
         * Required. The name of the tool.
         */
        name?: string | null;
        /**
         * Optional. Specifies domains to restrict search results to. Example: "example.com", "another.site". A maximum of 20 domains can be specified.
         */
        preferredDomains?: string[] | null;
        /**
         * Optional. Prompt instructions passed to planner on how the search results should be processed for text and voice.
         */
        promptConfig?: Schema$GoogleSearchToolPromptConfig;
    }
    /**
     * Prompt settings used by the model when processing or summarizing the google search results.
     */
    export interface Schema$GoogleSearchToolPromptConfig {
        /**
         * Optional. Defines the prompt used for the system instructions when interacting with the agent in chat conversations. If not set, default prompt will be used.
         */
        textPrompt?: string | null;
        /**
         * Optional. Defines the prompt used for the system instructions when interacting with the agent in voice conversations. If not set, default prompt will be used.
         */
        voicePrompt?: string | null;
    }
    /**
     * Guardrail contains a list of checks and balances to keep the agents safe and secure.
     */
    export interface Schema$Guardrail {
        /**
         * Optional. Action to take when the guardrail is triggered.
         */
        action?: Schema$TriggerAction;
        /**
         * Optional. Guardrail that potentially blocks the conversation based on the result of the callback execution.
         */
        codeCallback?: Schema$GuardrailCodeCallback;
        /**
         * Optional. Guardrail that bans certain content from being used in the conversation.
         */
        contentFilter?: Schema$GuardrailContentFilter;
        /**
         * Output only. Timestamp when the guardrail was created.
         */
        createTime?: string | null;
        /**
         * Optional. Description of the guardrail.
         */
        description?: string | null;
        /**
         * Required. Display name of the guardrail.
         */
        displayName?: string | null;
        /**
         * Optional. Whether the guardrail is enabled.
         */
        enabled?: boolean | null;
        /**
         * Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
         */
        etag?: string | null;
        /**
         * Optional. Guardrail that blocks the conversation if the LLM response is considered violating the policy based on the LLM classification.
         */
        llmPolicy?: Schema$GuardrailLlmPolicy;
        /**
         * Optional. Guardrail that blocks the conversation if the prompt is considered unsafe based on the LLM classification.
         */
        llmPromptSecurity?: Schema$GuardrailLlmPromptSecurity;
        /**
         * Optional. Guardrail that blocks the conversation if the LLM response is considered unsafe based on the model safety settings.
         */
        modelSafety?: Schema$GuardrailModelSafety;
        /**
         * Identifier. The unique identifier of the guardrail. Format: `projects/{project\}/locations/{location\}/apps/{app\}/guardrails/{guardrail\}`
         */
        name?: string | null;
        /**
         * Output only. Timestamp when the guardrail was last updated.
         */
        updateTime?: string | null;
    }
    /**
     * Guardrail that blocks the conversation based on the code callbacks provided.
     */
    export interface Schema$GuardrailCodeCallback {
        /**
         * Optional. The callback to execute after the agent is called. Each callback function is expected to return a structure (e.g., a dict or object) containing at least: - 'decision': Either 'OK' or 'TRIGGER'. - 'reason': A string explaining the decision. A 'TRIGGER' decision may halt further processing.
         */
        afterAgentCallback?: Schema$Callback;
        /**
         * Optional. The callback to execute after the model is called. If there are multiple calls to the model, the callback will be executed multiple times. Each callback function is expected to return a structure (e.g., a dict or object) containing at least: - 'decision': Either 'OK' or 'TRIGGER'. - 'reason': A string explaining the decision. A 'TRIGGER' decision may halt further processing.
         */
        afterModelCallback?: Schema$Callback;
        /**
         * Optional. The callback to execute before the agent is called. Each callback function is expected to return a structure (e.g., a dict or object) containing at least: - 'decision': Either 'OK' or 'TRIGGER'. - 'reason': A string explaining the decision. A 'TRIGGER' decision may halt further processing.
         */
        beforeAgentCallback?: Schema$Callback;
        /**
         * Optional. The callback to execute before the model is called. If there are multiple calls to the model, the callback will be executed multiple times. Each callback function is expected to return a structure (e.g., a dict or object) containing at least: - 'decision': Either 'OK' or 'TRIGGER'. - 'reason': A string explaining the decision. A 'TRIGGER' decision may halt further processing.
         */
        beforeModelCallback?: Schema$Callback;
    }
    /**
     * Guardrail that bans certain content from being used in the conversation.
     */
    export interface Schema$GuardrailContentFilter {
        /**
         * Optional. List of banned phrases. Applies to both user inputs and agent responses.
         */
        bannedContents?: string[] | null;
        /**
         * Optional. List of banned phrases. Applies only to agent responses.
         */
        bannedContentsInAgentResponse?: string[] | null;
        /**
         * Optional. List of banned phrases. Applies only to user inputs.
         */
        bannedContentsInUserInput?: string[] | null;
        /**
         * Optional. If true, diacritics are ignored during matching.
         */
        disregardDiacritics?: boolean | null;
        /**
         * Required. Match type for the content filter.
         */
        matchType?: string | null;
    }
    /**
     * Guardrail that blocks the conversation if the LLM response is considered violating the policy based on the LLM classification.
     */
    export interface Schema$GuardrailLlmPolicy {
        /**
         * Optional. By default, the LLM policy check is bypassed for short utterances. Enabling this setting applies the policy check to all utterances, including those that would normally be skipped.
         */
        allowShortUtterance?: boolean | null;
        /**
         * Optional. If an error occurs during the policy check, fail open and do not trigger the guardrail.
         */
        failOpen?: boolean | null;
        /**
         * Optional. When checking this policy, consider the last 'n' messages in the conversation. When not set a default value of 10 will be used.
         */
        maxConversationMessages?: number | null;
        /**
         * Optional. Model settings.
         */
        modelSettings?: Schema$ModelSettings;
        /**
         * Required. Defines when to apply the policy check during the conversation. If set to `POLICY_SCOPE_UNSPECIFIED`, the policy will be applied to the user input. When applying the policy to the agent response, additional latency will be introduced before the agent can respond.
         */
        policyScope?: string | null;
        /**
         * Required. Policy prompt.
         */
        prompt?: string | null;
    }
    /**
     * Guardrail that blocks the conversation if the input is considered unsafe based on the LLM classification.
     */
    export interface Schema$GuardrailLlmPromptSecurity {
        /**
         * Optional. Use a user-defined LlmPolicy to configure the security guardrail.
         */
        customPolicy?: Schema$GuardrailLlmPolicy;
        /**
         * Optional. Use the system's predefined default security settings. To select this mode, include an empty 'default_settings' message in the request. The 'default_prompt_template' field within will be populated by the server in the response.
         */
        defaultSettings?: Schema$GuardrailLlmPromptSecurityDefaultSecuritySettings;
        /**
         * Optional. Determines the behavior when the guardrail encounters an LLM error. - If true: the guardrail is bypassed. - If false (default): the guardrail triggers/blocks. Note: If a custom policy is provided, this field is ignored in favor of the policy's 'fail_open' configuration.
         */
        failOpen?: boolean | null;
    }
    /**
     * Configuration for default system security settings.
     */
    export interface Schema$GuardrailLlmPromptSecurityDefaultSecuritySettings {
        /**
         * Output only. The default prompt template used by the system. This field is for display purposes to show the user what prompt the system uses by default. It is OUTPUT_ONLY.
         */
        defaultPromptTemplate?: string | null;
    }
    /**
     * Model safety settings overrides. When this is set, it will override the default settings and trigger the guardrail if the response is considered unsafe.
     */
    export interface Schema$GuardrailModelSafety {
        /**
         * Required. List of safety settings.
         */
        safetySettings?: Schema$GuardrailModelSafetySafetySetting[];
    }
    /**
     * Safety setting.
     */
    export interface Schema$GuardrailModelSafetySafetySetting {
        /**
         * Required. The harm category.
         */
        category?: string | null;
        /**
         * Required. The harm block threshold.
         */
        threshold?: string | null;
    }
    /**
     * Represents an image input or output in the conversation.
     */
    export interface Schema$Image {
        /**
         * Required. Raw bytes of the image.
         */
        data?: string | null;
        /**
         * Required. The IANA standard MIME type of the source data. Supported image types includes: * image/png * image/jpeg * image/webp
         */
        mimeType?: string | null;
    }
    /**
     * Request message for AgentService.ImportApp.
     */
    export interface Schema$ImportAppRequest {
        /**
         * Raw bytes representing the compressed zip file with the app folder structure.
         */
        appContent?: string | null;
        /**
         * Optional. The ID to use for the imported app. * If not specified, a unique ID will be automatically assigned for the app. * Otherwise, the imported app will use this ID as the final component of its resource name. If an app with the same ID already exists at the specified location in the project, the content of the existing app will be replaced.
         */
        appId?: string | null;
        /**
         * Optional. The display name of the app to import. * If the app is created on import, and the display name is specified, the imported app will use this display name. If a conflict is detected with an existing app, a timestamp will be appended to the display name to make it unique. * If the app is a reimport, this field should not be set. Providing a display name during reimport will result in an INVALID_ARGUMENT error.
         */
        displayName?: string | null;
        /**
         * The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI from which to import app. The format of this URI must be `gs:///`.
         */
        gcsUri?: string | null;
        /**
         * Optional. Flag for overriding the app lock during import. If set to true, the import process will ignore the app lock.
         */
        ignoreAppLock?: boolean | null;
        /**
         * Optional. Options governing the import process for the app.
         */
        importOptions?: Schema$ImportAppRequestImportOptions;
    }
    /**
     * Configuration options for the app import process. These options control how the import behaves, particularly when conflicts arise with existing app data.
     */
    export interface Schema$ImportAppRequestImportOptions {
        /**
         * Optional. The strategy to use when resolving conflicts during import.
         */
        conflictResolutionStrategy?: string | null;
        /**
         * Optional. Flag for dry-running the import process. If set to true, the import process will only perform validations and will not make any changes to the existing app or create a new one.
         */
        validateOnly?: boolean | null;
    }
    /**
     * Response message for AgentService.ImportApp.
     */
    export interface Schema$ImportAppResponse {
        /**
         * The resource name of the app that was imported.
         */
        name?: string | null;
        /**
         * Warning messages generated during the import process. If errors occur for specific resources, they will not be included in the imported app and the error will be mentioned here.
         */
        warnings?: string[] | null;
    }
    /**
     * InputAudioConfig configures how the CES agent should interpret the incoming audio data.
     */
    export interface Schema$InputAudioConfig {
        /**
         * Required. The encoding of the input audio data.
         */
        audioEncoding?: string | null;
        /**
         * Optional. Whether to enable noise suppression on the input audio. Available values are "low", "moderate", "high", "very_high".
         */
        noiseSuppressionLevel?: string | null;
        /**
         * Required. The sample rate (in Hertz) of the input audio data.
         */
        sampleRateHertz?: number | null;
    }
    /**
     * Ephemeral Meta credentials for Instagram native integration.
     */
    export interface Schema$InstagramCredentials {
        /**
         * Required. The Meta auth code provided by the embedded signup flow.
         */
        authCode?: string | null;
        /**
         * Optional. The Conversation Profile ID to use for the deployment.
         */
        conversationProfileId?: string | null;
    }
    /**
     * Language settings of the app.
     */
    export interface Schema$LanguageSettings {
        /**
         * Optional. The default language code of the app.
         */
        defaultLanguageCode?: string | null;
        /**
         * Optional. Enables multilingual support. If true, agents in the app will use pre-built instructions to improve handling of multilingual input.
         */
        enableMultilingualSupport?: boolean | null;
        /**
         * Optional. Deprecated: This feature is no longer supported. Use `enable_multilingual_support` instead to improve handling of multilingual input. The action to perform when an agent receives input in an unsupported language. This can be a predefined action or a custom tool call. Valid values are: - A tool's full resource name, which triggers a specific tool execution. - A predefined system action, such as "escalate" or "exit", which triggers an EndSession signal with corresponding metadata to terminate the conversation.
         */
        fallbackAction?: string | null;
        /**
         * Optional. List of languages codes supported by the app, in addition to the `default_language_code`.
         */
        supportedLanguageCodes?: string[] | null;
    }
    /**
     * Defines optional capabilities supported by an agent.
     */
    export interface Schema$LfA2aV1AgentCapabilities {
        /**
         * Indicates if the agent supports providing an extended agent card when authenticated.
         */
        extendedAgentCard?: boolean | null;
        /**
         * A list of protocol extensions supported by the agent.
         */
        extensions?: Schema$LfA2aV1AgentExtension[];
        /**
         * Indicates if the agent supports sending push notifications for asynchronous task updates.
         */
        pushNotifications?: boolean | null;
        /**
         * Indicates if the agent supports streaming responses.
         */
        streaming?: boolean | null;
    }
    /**
     * A self-describing manifest for an agent. It provides essential metadata including the agent's identity, capabilities, skills, supported communication methods, and security requirements. Next ID: 20
     */
    export interface Schema$LfA2aV1AgentCard {
        /**
         * Required. A2A Capability set supported by the agent.
         */
        capabilities?: Schema$LfA2aV1AgentCapabilities;
        /**
         * Required. protolint:enable REPEATED_FIELD_NAMES_PLURALIZED The set of interaction modes that the agent supports across all skills. This can be overridden per skill. Defined as media types.
         */
        defaultInputModes?: string[] | null;
        /**
         * Required. The media types supported as outputs from this agent.
         */
        defaultOutputModes?: string[] | null;
        /**
         * Required. A human-readable description of the agent, assisting users and other agents in understanding its purpose. Example: "Agent that helps users with recipes and cooking."
         */
        description?: string | null;
        /**
         * A URL providing additional documentation about the agent.
         */
        documentationUrl?: string | null;
        /**
         * Optional. A URL to an icon for the agent.
         */
        iconUrl?: string | null;
        /**
         * Required. A human readable name for the agent. Example: "Recipe Agent"
         */
        name?: string | null;
        /**
         * The service provider of the agent.
         */
        provider?: Schema$LfA2aV1AgentProvider;
        /**
         * Security requirements for contacting the agent.
         */
        securityRequirements?: Schema$LfA2aV1SecurityRequirement[];
        /**
         * The security scheme details used for authenticating with this agent.
         */
        securitySchemes?: {
            [key: string]: Schema$LfA2aV1SecurityScheme;
        } | null;
        /**
         * JSON Web Signatures computed for this `AgentCard`.
         */
        signatures?: Schema$LfA2aV1AgentCardSignature[];
        /**
         * Required. Skills represent the abilities of an agent. It is largely a descriptive concept but represents a more focused set of behaviors that the agent is likely to succeed at.
         */
        skills?: Schema$LfA2aV1AgentSkill[];
        /**
         * Required. Ordered list of supported interfaces. The first entry is preferred.
         */
        supportedInterfaces?: Schema$LfA2aV1AgentInterface[];
        /**
         * Required. The version of the agent. Example: "1.0.0"
         */
        version?: string | null;
    }
    /**
     * AgentCardSignature represents a JWS signature of an AgentCard. This follows the JSON format of an RFC 7515 JSON Web Signature (JWS).
     */
    export interface Schema$LfA2aV1AgentCardSignature {
        /**
         * The unprotected JWS header values.
         */
        header?: {
            [key: string]: any;
        } | null;
        /**
         * Required. Required. The protected JWS header for the signature. This is always a base64url-encoded JSON object.
         */
        protected?: string | null;
        /**
         * Required. The computed signature, base64url-encoded.
         */
        signature?: string | null;
    }
    /**
     * A declaration of a protocol extension supported by an Agent.
     */
    export interface Schema$LfA2aV1AgentExtension {
        /**
         * A human-readable description of how this agent uses the extension.
         */
        description?: string | null;
        /**
         * Optional. Extension-specific configuration parameters.
         */
        params?: {
            [key: string]: any;
        } | null;
        /**
         * If true, the client must understand and comply with the extension's requirements.
         */
        required?: boolean | null;
        /**
         * The unique URI identifying the extension.
         */
        uri?: string | null;
    }
    /**
     * Declares a combination of a target URL, transport and protocol version for interacting with the agent. This allows agents to expose the same functionality over multiple protocol binding mechanisms.
     */
    export interface Schema$LfA2aV1AgentInterface {
        /**
         * Required. The protocol binding supported at this URL. This is an open form string, to be easily extended for other protocol bindings. The core ones officially supported are `JSONRPC`, `GRPC` and `HTTP+JSON`.
         */
        protocolBinding?: string | null;
        /**
         * Required. The version of the A2A protocol this interface exposes. Use the latest supported minor version per major version. Examples: "0.3", "1.0"
         */
        protocolVersion?: string | null;
        /**
         * Optional. An opaque string used for routing requests to a specific agent or tenant when multiple agents are served behind a single A2A endpoint. When set, clients MUST include this value in the `tenant` field of all request messages sent to this interface. The server is responsible for interpreting the value and routing requests accordingly; the protocol does not define its format or semantics.
         */
        tenant?: string | null;
        /**
         * Required. The URL where this interface is available. Must be a valid absolute HTTPS URL in production. Example: "https://api.example.com/a2a/v1", "https://grpc.example.com/a2a"
         */
        url?: string | null;
    }
    /**
     * Represents the service provider of an agent.
     */
    export interface Schema$LfA2aV1AgentProvider {
        /**
         * Required. The name of the agent provider's organization. Example: "Google"
         */
        organization?: string | null;
        /**
         * Required. A URL for the agent provider's website or relevant documentation. Example: "https://ai.google.dev"
         */
        url?: string | null;
    }
    /**
     * Represents a distinct capability or function that an agent can perform.
     */
    export interface Schema$LfA2aV1AgentSkill {
        /**
         * Required. A detailed description of the skill.
         */
        description?: string | null;
        /**
         * Example prompts or scenarios that this skill can handle.
         */
        examples?: string[] | null;
        /**
         * Required. A unique identifier for the agent's skill.
         */
        id?: string | null;
        /**
         * The set of supported input media types for this skill, overriding the agent's defaults.
         */
        inputModes?: string[] | null;
        /**
         * Required. A human-readable name for the skill.
         */
        name?: string | null;
        /**
         * The set of supported output media types for this skill, overriding the agent's defaults.
         */
        outputModes?: string[] | null;
        /**
         * Security schemes necessary for this skill.
         */
        securityRequirements?: Schema$LfA2aV1SecurityRequirement[];
        /**
         * Required. A set of keywords describing the skill's capabilities.
         */
        tags?: string[] | null;
    }
    /**
     * Defines a security scheme using an API key.
     */
    export interface Schema$LfA2aV1APIKeySecurityScheme {
        /**
         * An optional description for the security scheme.
         */
        description?: string | null;
        /**
         * Required. The location of the API key. Valid values are "query", "header", or "cookie".
         */
        location?: string | null;
        /**
         * Required. The name of the header, query, or cookie parameter to be used.
         */
        name?: string | null;
    }
    /**
     * Artifacts represent task outputs.
     */
    export interface Schema$LfA2aV1Artifact {
        /**
         * Required. Unique identifier (e.g. UUID) for the artifact. It must be unique within a task.
         */
        artifactId?: string | null;
        /**
         * Optional. A human readable description of the artifact.
         */
        description?: string | null;
        /**
         * The URIs of extensions that are present or contributed to this Artifact.
         */
        extensions?: string[] | null;
        /**
         * Optional. Metadata included with the artifact.
         */
        metadata?: {
            [key: string]: any;
        } | null;
        /**
         * A human readable name for the artifact.
         */
        name?: string | null;
        /**
         * Required. The content of the artifact. Must contain at least one part.
         */
        parts?: Schema$LfA2aV1Part[];
    }
    /**
     * Defines authentication details, used for push notifications.
     */
    export interface Schema$LfA2aV1AuthenticationInfo {
        /**
         * Push Notification credentials. Format depends on the scheme (e.g., token for Bearer).
         */
        credentials?: string | null;
        /**
         * Required. HTTP Authentication Scheme from the [IANA registry](https://www.iana.org/assignments/http-authschemes/). Examples: `Bearer`, `Basic`, `Digest`. Scheme names are case-insensitive per [RFC 9110 Section 11.1](https://www.rfc-editor.org/rfc/rfc9110#section-11.1).
         */
        scheme?: string | null;
    }
    /**
     * Defines configuration details for the OAuth 2.0 Authorization Code flow.
     */
    export interface Schema$LfA2aV1AuthorizationCodeOAuthFlow {
        /**
         * Required. The authorization URL to be used for this flow.
         */
        authorizationUrl?: string | null;
        /**
         * Indicates if PKCE (RFC 7636) is required for this flow. PKCE should always be used for public clients and is recommended for all clients.
         */
        pkceRequired?: boolean | null;
        /**
         * The URL to be used for obtaining refresh tokens.
         */
        refreshUrl?: string | null;
        /**
         * Required. The available scopes for the OAuth2 security scheme.
         */
        scopes?: {
            [key: string]: string;
        } | null;
        /**
         * Required. The token URL to be used for this flow.
         */
        tokenUrl?: string | null;
    }
    /**
     * Defines configuration details for the OAuth 2.0 Client Credentials flow.
     */
    export interface Schema$LfA2aV1ClientCredentialsOAuthFlow {
        /**
         * The URL to be used for obtaining refresh tokens.
         */
        refreshUrl?: string | null;
        /**
         * Required. The available scopes for the OAuth2 security scheme.
         */
        scopes?: {
            [key: string]: string;
        } | null;
        /**
         * Required. The token URL to be used for this flow.
         */
        tokenUrl?: string | null;
    }
    /**
     * Defines configuration details for the OAuth 2.0 Device Code flow (RFC 8628). This flow is designed for input-constrained devices such as IoT devices, and CLI tools where the user authenticates on a separate device.
     */
    export interface Schema$LfA2aV1DeviceCodeOAuthFlow {
        /**
         * Required. The device authorization endpoint URL.
         */
        deviceAuthorizationUrl?: string | null;
        /**
         * The URL to be used for obtaining refresh tokens.
         */
        refreshUrl?: string | null;
        /**
         * Required. The available scopes for the OAuth2 security scheme.
         */
        scopes?: {
            [key: string]: string;
        } | null;
        /**
         * Required. The token URL to be used for this flow.
         */
        tokenUrl?: string | null;
    }
    /**
     * Defines a security scheme using HTTP authentication.
     */
    export interface Schema$LfA2aV1HTTPAuthSecurityScheme {
        /**
         * A hint to the client to identify how the bearer token is formatted (e.g., "JWT"). Primarily for documentation purposes.
         */
        bearerFormat?: string | null;
        /**
         * An optional description for the security scheme.
         */
        description?: string | null;
        /**
         * Required. The name of the HTTP Authentication scheme to be used in the Authorization header, as defined in RFC7235 (e.g., "Bearer"). This value should be registered in the IANA Authentication Scheme registry.
         */
        scheme?: string | null;
    }
    /**
     * Deprecated: Use Authorization Code + PKCE instead.
     */
    export interface Schema$LfA2aV1ImplicitOAuthFlow {
        /**
         * The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS
         */
        authorizationUrl?: string | null;
        /**
         * The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.
         */
        refreshUrl?: string | null;
        /**
         * The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.
         */
        scopes?: {
            [key: string]: string;
        } | null;
    }
    /**
     * `Message` is one unit of communication between client and server. It can be associated with a context and/or a task. For server messages, `context_id` must be provided, and `task_id` only if a task was created. For client messages, both fields are optional, with the caveat that if both are provided, they have to match (the `context_id` has to be the one that is set on the task). If only `task_id` is provided, the server will infer `context_id` from it.
     */
    export interface Schema$LfA2aV1Message {
        /**
         * Optional. The context id of the message. If set, the message will be associated with the given context.
         */
        contextId?: string | null;
        /**
         * The URIs of extensions that are present or contributed to this Message.
         */
        extensions?: string[] | null;
        /**
         * Required. The unique identifier (e.g. UUID) of the message. This is created by the message creator.
         */
        messageId?: string | null;
        /**
         * Optional. Any metadata to provide along with the message.
         */
        metadata?: {
            [key: string]: any;
        } | null;
        /**
         * Required. Parts is the container of the message content.
         */
        parts?: Schema$LfA2aV1Part[];
        /**
         * A list of task IDs that this message references for additional context.
         */
        referenceTaskIds?: string[] | null;
        /**
         * Required. Identifies the sender of the message.
         */
        role?: string | null;
        /**
         * Optional. The task id of the message. If set, the message will be associated with the given task.
         */
        taskId?: string | null;
    }
    /**
     * Defines a security scheme using mTLS authentication.
     */
    export interface Schema$LfA2aV1MutualTlsSecurityScheme {
        /**
         * An optional description for the security scheme.
         */
        description?: string | null;
    }
    /**
     * Defines a security scheme using OAuth 2.0.
     */
    export interface Schema$LfA2aV1OAuth2SecurityScheme {
        /**
         * An optional description for the security scheme.
         */
        description?: string | null;
        /**
         * Required. An object containing configuration information for the supported OAuth 2.0 flows.
         */
        flows?: Schema$LfA2aV1OAuthFlows;
        /**
         * URL to the OAuth2 authorization server metadata [RFC 8414](https://datatracker.ietf.org/doc/html/rfc8414). TLS is required.
         */
        oauth2MetadataUrl?: string | null;
    }
    /**
     * Defines the configuration for the supported OAuth 2.0 flows.
     */
    export interface Schema$LfA2aV1OAuthFlows {
        /**
         * Configuration for the OAuth Authorization Code flow.
         */
        authorizationCode?: Schema$LfA2aV1AuthorizationCodeOAuthFlow;
        /**
         * Configuration for the OAuth Client Credentials flow.
         */
        clientCredentials?: Schema$LfA2aV1ClientCredentialsOAuthFlow;
        /**
         * Configuration for the OAuth Device Code flow.
         */
        deviceCode?: Schema$LfA2aV1DeviceCodeOAuthFlow;
        /**
         * Deprecated: Use Authorization Code + PKCE instead.
         */
        implicit?: Schema$LfA2aV1ImplicitOAuthFlow;
        /**
         * Deprecated: Use Authorization Code + PKCE or Device Code.
         */
        password?: Schema$LfA2aV1PasswordOAuthFlow;
    }
    /**
     * Defines a security scheme using OpenID Connect.
     */
    export interface Schema$LfA2aV1OpenIdConnectSecurityScheme {
        /**
         * An optional description for the security scheme.
         */
        description?: string | null;
        /**
         * Required. The [OpenID Connect Discovery URL](https://openid.net/specs/openid-connect-discovery-1_0.html) for the OIDC provider's metadata.
         */
        openIdConnectUrl?: string | null;
    }
    /**
     * `Part` represents a container for a section of communication content. Parts can be purely textual, some sort of file (image, video, etc) or a structured data blob (i.e. JSON).
     */
    export interface Schema$LfA2aV1Part {
        /**
         * Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).
         */
        data?: any | null;
        /**
         * An optional `filename` for the file (e.g., "document.pdf").
         */
        filename?: string | null;
        /**
         * The `media_type` (MIME type) of the part content (e.g., "text/plain", "application/json", "image/png"). This field is available for all part types.
         */
        mediaType?: string | null;
        /**
         * Optional. metadata associated with this part.
         */
        metadata?: {
            [key: string]: any;
        } | null;
        /**
         * The `raw` byte content of a file. In JSON serialization, this is encoded as a base64 string.
         */
        raw?: string | null;
        /**
         * The string content of the `text` part.
         */
        text?: string | null;
        /**
         * A `url` pointing to the file's content.
         */
        url?: string | null;
    }
    /**
     * Deprecated: Use Authorization Code + PKCE or Device Code.
     */
    export interface Schema$LfA2aV1PasswordOAuthFlow {
        /**
         * The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.
         */
        refreshUrl?: string | null;
        /**
         * The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.
         */
        scopes?: {
            [key: string]: string;
        } | null;
        /**
         * The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.
         */
        tokenUrl?: string | null;
    }
    /**
     * Defines the security requirements for an agent.
     */
    export interface Schema$LfA2aV1SecurityRequirement {
        /**
         * A map of security schemes to the required scopes.
         */
        schemes?: {
            [key: string]: Schema$LfA2aV1StringList;
        } | null;
    }
    /**
     * Defines a security scheme that can be used to secure an agent's endpoints. This is a discriminated union type based on the OpenAPI 3.2 Security Scheme Object. See: https://spec.openapis.org/oas/v3.2.0.html#security-scheme-object
     */
    export interface Schema$LfA2aV1SecurityScheme {
        /**
         * API key-based authentication.
         */
        apiKeySecurityScheme?: Schema$LfA2aV1APIKeySecurityScheme;
        /**
         * HTTP authentication (Basic, Bearer, etc.).
         */
        httpAuthSecurityScheme?: Schema$LfA2aV1HTTPAuthSecurityScheme;
        /**
         * Mutual TLS authentication.
         */
        mtlsSecurityScheme?: Schema$LfA2aV1MutualTlsSecurityScheme;
        /**
         * OAuth 2.0 authentication.
         */
        oauth2SecurityScheme?: Schema$LfA2aV1OAuth2SecurityScheme;
        /**
         * OpenID Connect authentication.
         */
        openIdConnectSecurityScheme?: Schema$LfA2aV1OpenIdConnectSecurityScheme;
    }
    /**
     * Configuration of a send message request.
     */
    export interface Schema$LfA2aV1SendMessageConfiguration {
        /**
         * A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output.
         */
        acceptedOutputModes?: string[] | null;
        /**
         * The maximum number of most recent messages from the task's history to retrieve in the response. An unset value means the client does not impose any limit. A value of zero is a request to not include any messages. The server MUST NOT return more messages than the provided value, but MAY apply a lower limit.
         */
        historyLength?: number | null;
        /**
         * If `true`, the operation returns immediately after creating the task, even if processing is still in progress. If `false` (default), the operation MUST wait until the task reaches a terminal (`COMPLETED`, `FAILED`, `CANCELED`, `REJECTED`) or interrupted (`INPUT_REQUIRED`, `AUTH_REQUIRED`) state before returning.
         */
        returnImmediately?: boolean | null;
        /**
         * Configuration for the agent to send push notifications for task updates. Task id should be empty when sending this configuration in a `SendMessage` request.
         */
        taskPushNotificationConfig?: Schema$LfA2aV1TaskPushNotificationConfig;
    }
    /**
     * Represents a request for the `SendMessage` method.
     */
    export interface Schema$LfA2aV1SendMessageRequest {
        /**
         * Configuration for the send request.
         */
        configuration?: Schema$LfA2aV1SendMessageConfiguration;
        /**
         * Required. The message to send to the agent.
         */
        message?: Schema$LfA2aV1Message;
        /**
         * A flexible key-value map for passing additional context or parameters.
         */
        metadata?: {
            [key: string]: any;
        } | null;
    }
    /**
     * Represents the response for the `SendMessage` method.
     */
    export interface Schema$LfA2aV1SendMessageResponse {
        /**
         * A message from the agent.
         */
        message?: Schema$LfA2aV1Message;
        /**
         * The task created or updated by the message.
         */
        task?: Schema$LfA2aV1Task;
    }
    /**
     * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED A list of strings.
     */
    export interface Schema$LfA2aV1StringList {
        /**
         * The individual string values.
         */
        list?: string[] | null;
    }
    /**
     * `Task` is the core unit of action for A2A. It has a current status and when results are created for the task they are stored in the artifact. If there are multiple turns for a task, these are stored in history.
     */
    export interface Schema$LfA2aV1Task {
        /**
         * A set of output artifacts for a `Task`.
         */
        artifacts?: Schema$LfA2aV1Artifact[];
        /**
         * Unique identifier (e.g. UUID) for the contextual collection of interactions (tasks and messages).
         */
        contextId?: string | null;
        /**
         * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED The history of interactions from a `Task`.
         */
        history?: Schema$LfA2aV1Message[];
        /**
         * Required. Unique identifier (e.g. UUID) for the task, generated by the server for a new task.
         */
        id?: string | null;
        /**
         * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED A key/value object to store custom metadata about a task.
         */
        metadata?: {
            [key: string]: any;
        } | null;
        /**
         * Required. The current status of a `Task`, including `state` and a `message`.
         */
        status?: Schema$LfA2aV1TaskStatus;
    }
    /**
     * A container associating a push notification configuration with a specific task.
     */
    export interface Schema$LfA2aV1TaskPushNotificationConfig {
        /**
         * Authentication information required to send the notification.
         */
        authentication?: Schema$LfA2aV1AuthenticationInfo;
        /**
         * The push notification configuration details. A unique identifier (e.g. UUID) for this push notification configuration.
         */
        id?: string | null;
        /**
         * The ID of the task this configuration is associated with.
         */
        taskId?: string | null;
        /**
         * Optional. Opaque routing identifier. Must match the `tenant` value from the selected `AgentInterface` in the Agent Card when that field is set.
         */
        tenant?: string | null;
        /**
         * A token unique for this task or session.
         */
        token?: string | null;
        /**
         * Required. The URL where the notification should be sent.
         */
        url?: string | null;
    }
    /**
     * A container for the status of a task
     */
    export interface Schema$LfA2aV1TaskStatus {
        /**
         * A message associated with the status.
         */
        message?: Schema$LfA2aV1Message;
        /**
         * Required. The current state of this task.
         */
        state?: string | null;
        /**
         * ISO 8601 Timestamp when the status was recorded. Example: "2023-10-27T10:00:00Z"
         */
        timestamp?: string | null;
    }
    /**
     * Response message for AgentService.ListAgents.
     */
    export interface Schema$ListAgentsResponse {
        /**
         * The list of agents.
         */
        agents?: Schema$Agent[];
        /**
         * A token that can be sent as ListAgentsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.
         */
        nextPageToken?: string | null;
    }
    /**
     * Response message for AgentService.ListApps.
     */
    export interface Schema$ListAppsResponse {
        /**
         * The list of apps.
         */
        apps?: Schema$App[];
        /**
         * A token that can be sent as ListAppsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.
         */
        nextPageToken?: string | null;
        /**
         * Unordered list. Locations that could not be reached.
         */
        unreachable?: string[] | null;
    }
    /**
     * Response message for AgentService.ListAppVersions.
     */
    export interface Schema$ListAppVersionsResponse {
        /**
         * The list of app versions.
         */
        appVersions?: Schema$AppVersion[];
        /**
         * A token that can be sent as ListAppVersionsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.
         */
        nextPageToken?: string | null;
    }
    /**
     * Response message for AgentService.ListChangelogs.
     */
    export interface Schema$ListChangelogsResponse {
        /**
         * The list of changelogs.
         */
        changelogs?: Schema$Changelog[];
        /**
         * A token that can be sent as ListChangelogsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.
         */
        nextPageToken?: string | null;
    }
    /**
     * Response message for AgentService.ListConversations.
     */
    export interface Schema$ListConversationsResponse {
        /**
         * The list of conversations.
         */
        conversations?: Schema$Conversation[];
        /**
         * A token that can be sent as ListConversationsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.
         */
        nextPageToken?: string | null;
    }
    /**
     * Response message for AgentService.ListDeployments.
     */
    export interface Schema$ListDeploymentsResponse {
        /**
         * The list of deployments.
         */
        deployments?: Schema$Deployment[];
        /**
         * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
         */
        nextPageToken?: string | null;
    }
    /**
     * Response message for AgentService.ListExamples.
     */
    export interface Schema$ListExamplesResponse {
        /**
         * The list of examples.
         */
        examples?: Schema$Example[];
        /**
         * A token that can be sent as ListExamplesRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.
         */
        nextPageToken?: string | null;
    }
    /**
     * Response message for AgentService.ListGuardrails.
     */
    export interface Schema$ListGuardrailsResponse {
        /**
         * The list of guardrails.
         */
        guardrails?: Schema$Guardrail[];
        /**
         * A token that can be sent as ListGuardrailsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.
         */
        nextPageToken?: string | null;
    }
    /**
     * The response message for Locations.ListLocations.
     */
    export interface Schema$ListLocationsResponse {
        /**
         * A list of locations that matches the specified filter in the request.
         */
        locations?: Schema$Location[];
        /**
         * The standard List next-page token.
         */
        nextPageToken?: string | null;
    }
    /**
     * The response message for Operations.ListOperations.
     */
    export interface Schema$ListOperationsResponse {
        /**
         * The standard List next-page token.
         */
        nextPageToken?: string | null;
        /**
         * A list of operations that matches the specified filter in the request.
         */
        operations?: Schema$Operation[];
        /**
         * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.
         */
        unreachable?: string[] | null;
    }
    /**
     * Response message for AgentService.ListToolsets.
     */
    export interface Schema$ListToolsetsResponse {
        /**
         * A token that can be sent as ListToolsetsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.
         */
        nextPageToken?: string | null;
        /**
         * The list of toolsets.
         */
        toolsets?: Schema$Toolset[];
    }
    /**
     * Response message for AgentService.ListTools.
     */
    export interface Schema$ListToolsResponse {
        /**
         * A token that can be sent as ListToolsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.
         */
        nextPageToken?: string | null;
        /**
         * The list of tools.
         */
        tools?: Schema$Tool[];
    }
    /**
     * A resource that represents a Google Cloud location.
     */
    export interface Schema$Location {
        /**
         * The friendly name for this location, typically a nearby city name. For example, "Tokyo".
         */
        displayName?: string | null;
        /**
         * Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"\}
         */
        labels?: {
            [key: string]: string;
        } | null;
        /**
         * The canonical id for this location. For example: `"us-east1"`.
         */
        locationId?: string | null;
        /**
         * Service-specific metadata. For example the available capacity at the given location.
         */
        metadata?: {
            [key: string]: any;
        } | null;
        /**
         * Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"`
         */
        name?: string | null;
    }
    /**
     * Settings to describe the logging behaviors for the app.
     */
    export interface Schema$LoggingSettings {
        /**
         * Optional. Configuration for how audio interactions should be recorded. The audio is subject to redaction as configured in RedactionConfig.
         */
        audioRecordingConfig?: Schema$AudioRecordingConfig;
        /**
         * Optional. Configures the BigQuery export behaviors for the app. The conversation data is subject to redaction as configured in RedactionConfig.
         */
        bigqueryExportSettings?: Schema$BigQueryExportSettings;
        /**
         * Optional. Settings to describe the Cloud Logging behaviors for the app.
         */
        cloudLoggingSettings?: Schema$CloudLoggingSettings;
        /**
         * Optional. Settings to describe the conversation logging behaviors for the app.
         */
        conversationLoggingSettings?: Schema$ConversationLoggingSettings;
        /**
         * Optional. Configuration for how audio interactions should be recorded for the evaluation. By default, audio recording is not enabled for evaluation sessions.
         */
        evaluationAudioRecordingConfig?: Schema$AudioRecordingConfig;
        /**
         * Optional. Settings to describe the conversation data collection behaviors for the LLM analysis pipeline for the app.
         */
        metricAnalysisSettings?: Schema$MetricAnalysisSettings;
        /**
         * Optional. Configuration for how sensitive data should be redacted.
         */
        redactionConfig?: Schema$RedactionConfig;
        /**
         * Optional. Configures an additional recording of unredacted audio. This can be used to maintain a raw audio copy when audio redaction is enabled, typically for auditing or monitoring purposes.
         */
        unredactedAudioRecordingConfig?: Schema$AudioRecordingConfig;
        /**
         * Optional. Configures the BigQuery export behaviors for the app. The unredacted conversation data will be exported to BigQuery tables if it is enabled.
         */
        unredactedBigqueryExportSettings?: Schema$BigQueryExportSettings;
    }
    /**
     * An MCP tool. See https://modelcontextprotocol.io/specification/2025-06-18/server/tools for more details.
     */
    export interface Schema$McpTool {
        /**
         * Optional. Authentication information required to execute the tool against the MCP server. For bearer token authentication, the token applies only to tool execution, not to listing tools. This requires that tools can be listed without authentication.
         */
        apiAuthentication?: Schema$ApiAuthentication;
        /**
         * Optional. The custom headers to send in the request to the MCP server. The values must be in the format `$context.variables.` and can be set in the session variables. See https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection for more details.
         */
        customHeaders?: {
            [key: string]: string;
        } | null;
        /**
         * Optional. The description of the MCP tool.
         */
        description?: string | null;
        /**
         * Optional. The schema of the input arguments of the MCP tool.
         */
        inputSchema?: Schema$Schema;
        /**
         * Required. The name of the MCP tool.
         */
        name?: string | null;
        /**
         * Optional. The name override of the MCP tool. This is populated if the name was overridden by a Toolset override.
         */
        nameOverride?: string | null;
        /**
         * Optional. The schema of the output arguments of the MCP tool.
         */
        outputSchema?: Schema$Schema;
        /**
         * Required. The server address of the MCP server, e.g., "https://example.com/mcp/". If the server is built with the MCP SDK, the url should be suffixed with "/mcp/". Only Streamable HTTP transport based servers are supported. This is the same as the server_address in the McpToolset. See https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http for more details.
         */
        serverAddress?: string | null;
        /**
         * Optional. Service Directory configuration for VPC-SC, used to resolve service names within a perimeter.
         */
        serviceDirectoryConfig?: Schema$ServiceDirectoryConfig;
        /**
         * Output only. The dynamic availability state of the tool on the external server.
         */
        state?: string | null;
        /**
         * Optional. The TLS configuration. Includes the custom server certificates that the client should trust.
         */
        tlsConfig?: Schema$TlsConfig;
    }
    /**
     * Container for a tool's core definition elements that are snapshot. Schemas in the snapshot are used as-is and cannot be overridden.
     */
    export interface Schema$McpToolDefinition {
        /**
         * Output only. The description of the MCP tool. This can be overridden by `description_override` in `McpToolOverride`.
         */
        description?: string | null;
        /**
         * Output only. The schema of the input arguments of the MCP tool.
         */
        inputSchema?: Schema$Schema;
        /**
         * Output only. The schema of the output arguments of the MCP tool.
         */
        outputSchema?: Schema$Schema;
    }
    /**
     * Overrides associated with a given tool in a Toolset. This enables "pinning" or "overriding" of tool definitions from the external dynamic server.
     */
    export interface Schema$McpToolOverride {
        /**
         * Optional. If present, this tool uses this description instead of the original description from the server.
         */
        descriptionOverride?: string | null;
        /**
         * Optional. If present, this tool uses this name in the Agent instead of the original name. This is primarily used as an alias if the MCP server offers poorly named tools.
         */
        nameOverride?: string | null;
        /**
         * Output only. If present, this tool is "Pinned" and uses the snapshot values as fallbacks if the server becomes temporarily unavailable or if no Override is present.
         */
        snapshot?: Schema$McpToolDefinition;
        /**
         * Required. The original name of the tool as it is emitted by the MCP server.
         */
        tool?: string | null;
    }
    /**
     * A toolset that contains a list of tools that are offered by the MCP server.
     */
    export interface Schema$McpToolset {
        /**
         * Optional. Authentication information required to access tools and execute a tool against the MCP server. For bearer token authentication, the token applies only to tool execution, not to listing tools. This requires that tools can be listed without authentication.
         */
        apiAuthentication?: Schema$ApiAuthentication;
        /**
         * Optional. The custom headers to send in the request to the MCP server. The values must be in the format `$context.variables.` and can be set in the session variables. See https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection for more details.
         */
        customHeaders?: {
            [key: string]: string;
        } | null;
        /**
         * Required. The address of the MCP server, for example, "https://example.com/mcp/". If the server is built with the MCP SDK, the url should be suffixed with "/mcp/". Only Streamable HTTP transport based servers are supported. See https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http for more details.
         */
        serverAddress?: string | null;
        /**
         * Optional. Service Directory configuration for VPC-SC, used to resolve service names within a perimeter.
         */
        serviceDirectoryConfig?: Schema$ServiceDirectoryConfig;
        /**
         * Optional. The TLS configuration. Includes the custom server certificates that the client should trust.
         */
        tlsConfig?: Schema$TlsConfig;
        /**
         * Optional. Overrides for individual tools within this toolset. This allows overriding specific details like descriptions, names, or pinning the tools' states so they aren't fully dynamic.
         */
        toolOverrides?: Schema$McpToolOverride[];
    }
    /**
     * A message within a conversation.
     */
    export interface Schema$Message {
        /**
         * Optional. Content of the message as a series of chunks.
         */
        chunks?: Schema$Chunk[];
        /**
         * Optional. Timestamp when the message was sent or received. Should not be used if the message is part of an example.
         */
        eventTime?: string | null;
        /**
         * Optional. The role within the conversation, e.g., user, agent.
         */
        role?: string | null;
    }
    /**
     * Settings to describe the conversation data collection behaviors for LLM analysis metrics pipeline.
     */
    export interface Schema$MetricAnalysisSettings {
        /**
         * Optional. Whether to collect conversation data for llm analysis metrics. If true, conversation data will not be collected for llm analysis metrics; otherwise, conversation data will be collected.
         */
        llmMetricsOptedOut?: boolean | null;
    }
    /**
     * Mock tool calls configuration for the session.
     */
    export interface Schema$MockConfig {
        /**
         * Optional. All tool calls to mock for the duration of the session.
         */
        mockedToolCalls?: Schema$MockedToolCall[];
        /**
         * Required. Beavhior for tool calls that don't match any args patterns in mocked_tool_calls.
         */
        unmatchedToolCallBehavior?: string | null;
    }
    /**
     * A mocked tool call. Expresses the target tool + a pattern to match against that tool's args / inputs. If the pattern matches, then the mock response will be returned.
     */
    export interface Schema$MockedToolCall {
        /**
         * Required. A pattern to match against the args / inputs of all dispatched tool calls. If the tool call inputs match this pattern, then mock output will be returned.
         */
        expectedArgsPattern?: {
            [key: string]: any;
        } | null;
        /**
         * Optional. The mock response / output to return if the tool call args / inputs match the pattern.
         */
        mockResponse?: {
            [key: string]: any;
        } | null;
        /**
         * Optional. Deprecated. Use tool_identifier instead.
         */
        tool?: string | null;
        /**
         * Optional. The name of the tool to mock. Format: `projects/{project\}/locations/{location\}/apps/{app\}/tools/{tool\}`
         */
        toolId?: string | null;
        /**
         * Optional. The toolset to mock.
         */
        toolset?: Schema$ToolsetTool;
    }
    /**
     * Model settings contains various configurations for the LLM model.
     */
    export interface Schema$ModelSettings {
        /**
         * Optional. The LLM model that the agent should use. If not set, the agent will inherit the model from its parent agent.
         */
        model?: string | null;
        /**
         * Optional. If set, this temperature will be used for the LLM model. Temperature controls the randomness of the model's responses. Lower temperatures produce responses that are more predictable. Higher temperatures produce responses that are more creative.
         */
        temperature?: number | null;
    }
    /**
     * Configurations for authentication with OAuth.
     */
    export interface Schema$OAuthConfig {
        /**
         * Required. The client ID from the OAuth provider.
         */
        clientId?: string | null;
        /**
         * Required. The name of the SecretManager secret version resource storing the client secret. Format: `projects/{project\}/secrets/{secret\}/versions/{version\}` Note: You should grant `roles/secretmanager.secretAccessor` role to the CES service agent `service-@gcp-sa-ces.iam.gserviceaccount.com`.
         */
        clientSecretVersion?: string | null;
        /**
         * Required. OAuth grant types.
         */
        oauthGrantType?: string | null;
        /**
         * Optional. The OAuth scopes to grant.
         */
        scopes?: string[] | null;
        /**
         * Required. The token endpoint in the OAuth provider to exchange for an access token.
         */
        tokenEndpoint?: string | null;
    }
    /**
     * A remote API tool defined by an OpenAPI schema.
     */
    export interface Schema$OpenApiTool {
        /**
         * Optional. Authentication information required by the API.
         */
        apiAuthentication?: Schema$ApiAuthentication;
        /**
         * Optional. The description of the tool. If not provided, the description of the tool will be derived from the OpenAPI schema, from `operation.description` or `operation.summary`.
         */
        description?: string | null;
        /**
         * Optional. If true, the agent will ignore unknown fields in the API response.
         */
        ignoreUnknownFields?: boolean | null;
        /**
         * Optional. The name of the tool. If not provided, the name of the tool will be derived from the OpenAPI schema, from `operation.operationId`.
         */
        name?: string | null;
        /**
         * Required. The OpenAPI schema in JSON or YAML format.
         */
        openApiSchema?: string | null;
        /**
         * Optional. Service Directory configuration.
         */
        serviceDirectoryConfig?: Schema$ServiceDirectoryConfig;
        /**
         * Optional. The TLS configuration. Includes the custom server certificates that the client will trust.
         */
        tlsConfig?: Schema$TlsConfig;
        /**
         * Optional. The server URL of the Open API schema. This field is only set in tools in the environment dependencies during the export process if the schema contains a server url. During the import process, if this url is present in the environment dependencies and the schema has the $env_var placeholder, it will replace the placeholder in the schema.
         */
        url?: string | null;
    }
    /**
     * A toolset that contains a list of tools that are defined by an OpenAPI schema.
     */
    export interface Schema$OpenApiToolset {
        /**
         * Optional. Authentication information required by the API.
         */
        apiAuthentication?: Schema$ApiAuthentication;
        /**
         * Optional. If true, the agent will ignore unknown fields in the API response for all operations defined in the OpenAPI schema.
         */
        ignoreUnknownFields?: boolean | null;
        /**
         * Required. The OpenAPI schema of the toolset.
         */
        openApiSchema?: string | null;
        /**
         * Optional. Service Directory configuration.
         */
        serviceDirectoryConfig?: Schema$ServiceDirectoryConfig;
        /**
         * Optional. The TLS configuration. Includes the custom server certificates
         */
        tlsConfig?: Schema$TlsConfig;
        /**
         * Optional. The server URL of the Open API schema. This field is only set in toolsets in the environment dependencies during the export process if the schema contains a server url. During the import process, if this url is present in the environment dependencies and the schema has the $env_var placeholder, it will replace the placeholder in the schema.
         */
        url?: string | null;
    }
    /**
     * This resource represents a long-running operation that is the result of a network API call.
     */
    export interface Schema$Operation {
        /**
         * If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
         */
        done?: boolean | null;
        /**
         * The error result of the operation in case of failure or cancellation.
         */
        error?: Schema$Status;
        /**
         * Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
         */
        metadata?: {
            [key: string]: any;
        } | null;
        /**
         * The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id\}`.
         */
        name?: string | null;
        /**
         * The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
         */
        response?: {
            [key: string]: any;
        } | null;
    }
    /**
     * Represents the metadata of the long-running operation.
     */
    export interface Schema$OperationMetadata {
        /**
         * Output only. The time the operation was created.
         */
        createTime?: string | null;
        /**
         * Output only. The time the operation finished running.
         */
        endTime?: string | null;
        /**
         * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
         */
        requestedCancellation?: boolean | null;
        /**
         * Output only. Human-readable status of the operation, if any.
         */
        statusMessage?: string | null;
    }
    /**
     * OutputAudioConfig configures how the CES agent should synthesize outgoing audio responses.
     */
    export interface Schema$OutputAudioConfig {
        /**
         * Required. The encoding of the output audio data.
         */
        audioEncoding?: string | null;
        /**
         * Required. The sample rate (in Hertz) of the output audio data.
         */
        sampleRateHertz?: number | null;
    }
    /**
     * Python code block to evaluate the condition.
     */
    export interface Schema$PythonCodeCondition {
        /**
         * Required. The python code to execute.
         */
        pythonCode?: string | null;
    }
    /**
     * A Python function tool.
     */
    export interface Schema$PythonFunction {
        /**
         * Output only. The description of the Python function, parsed from the python code's docstring.
         */
        description?: string | null;
        /**
         * Optional. The name of the Python function to execute. Must match a Python function name defined in the python code. Case sensitive. If the name is not provided, the first function defined in the python code will be used.
         */
        name?: string | null;
        /**
         * Optional. The Python code to execute for the tool.
         */
        pythonCode?: string | null;
        /**
         * Optional. Service Directory configuration for the tool.
         */
        serviceDirectoryConfig?: Schema$ServiceDirectoryConfig;
    }
    /**
     * Configuration to instruct how sensitive data should be handled.
     */
    export interface Schema$RedactionConfig {
        /**
         * Optional. [DLP](https://cloud.google.com/dlp/docs) deidentify template name to instruct on how to de-identify content. Format: `projects/{project\}/locations/{location\}/deidentifyTemplates/{deidentify_template\}`
         */
        deidentifyTemplate?: string | null;
        /**
         * Optional. If true, redaction will be applied in various logging scenarios, including conversation history, Cloud Logging and audio recording.
         */
        enableRedaction?: boolean | null;
        /**
         * Optional. [DLP](https://cloud.google.com/dlp/docs) inspect template name to configure detection of sensitive data types. Format: `projects/{project\}/locations/{location\}/inspectTemplates/{inspect_template\}`
         */
        inspectTemplate?: string | null;
    }
    /**
     * Represents a tool that allows the agent to call another remote agent.
     */
    export interface Schema$RemoteAgentTool {
        /**
         * Required. The agent card of the remote agent that this tool invokes.
         */
        agentCard?: Schema$AgentCard;
        /**
         * Required. The description of the tool.
         */
        description?: string | null;
        /**
         * Required. The name of the tool.
         */
        name?: string | null;
    }
    /**
     * Request message for AgentService.RestoreAppVersion
     */
    export interface Schema$RestoreAppVersionRequest {
    }
    /**
     * Request message for ToolService.RetrieveToolSchema.
     */
    export interface Schema$RetrieveToolSchemaRequest {
        /**
         * Optional. The name of the tool to retrieve the schema for. Format: projects/{project\}/locations/{location\}/apps/{app\}/tools/{tool\}
         */
        tool?: string | null;
        /**
         * Optional. The toolset tool to retrieve the schema for. Only one tool should match the predicate from the toolset. Otherwise, an error will be returned.
         */
        toolsetTool?: Schema$ToolsetTool;
    }
    /**
     * Response message for ToolService.RetrieveToolSchema.
     */
    export interface Schema$RetrieveToolSchemaResponse {
        /**
         * The schema of the tool input parameters.
         */
        inputSchema?: Schema$Schema;
        /**
         * The schema of the tool output parameters.
         */
        outputSchema?: Schema$Schema;
        /**
         * The name of the tool that the schema is for. Format: `projects/{project\}/locations/{location\}/apps/{app\}/tools/{tool\}`
         */
        tool?: string | null;
        /**
         * The toolset tool that the schema is for.
         */
        toolsetTool?: Schema$ToolsetTool;
    }
    /**
     * Request message for ToolService.RetrieveTools.
     */
    export interface Schema$RetrieveToolsRequest {
        /**
         * Optional. If true, the returned tools will contain raw descriptions and schemas directly from the server, bypassing any stored persistence configurations (overrides/snapshots).
         */
        bypassPersistenceConfig?: boolean | null;
        /**
         * Optional. The identifiers of the tools to retrieve from the toolset. If empty, all tools in the toolset will be returned.
         */
        toolIds?: string[] | null;
    }
    /**
     * Response message for ToolService.RetrieveTools.
     */
    export interface Schema$RetrieveToolsResponse {
        /**
         * The list of tools that are included in the specified toolset.
         */
        tools?: Schema$Tool[];
    }
    /**
     * Request message for SessionService.RunSession.
     */
    export interface Schema$RunSessionRequest {
        /**
         * Required. The configuration for the session.
         */
        config?: Schema$SessionConfig;
        /**
         * Required. Inputs for the session.
         */
        inputs?: Schema$SessionInput[];
    }
    /**
     * Response message for SessionService.RunSession.
     */
    export interface Schema$RunSessionResponse {
        /**
         * Outputs for the session.
         */
        outputs?: Schema$SessionOutput[];
    }
    /**
     * Represents a select subset of an OpenAPI 3.0 schema object.
     */
    export interface Schema$Schema {
        /**
         * Optional. Can either be a boolean or an object, controls the presence of additional properties.
         */
        additionalProperties?: Schema$Schema;
        /**
         * Optional. The value should be validated against any (one or more) of the subschemas in the list.
         */
        anyOf?: Schema$Schema[];
        /**
         * Optional. Default value of the data.
         */
        default?: any | null;
        /**
         * Optional. A map of definitions for use by `ref`. Only allowed at the root of the schema.
         */
        defs?: {
            [key: string]: Schema$Schema;
        } | null;
        /**
         * Optional. The description of the data.
         */
        description?: string | null;
        /**
         * Optional. Possible values of the element of primitive type with enum format. Examples: 1. We can define direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]\} 2. We can define apartment number as : {type:INTEGER, format:enum, enum:["101", "201", "301"]\}
         */
        enum?: string[] | null;
        /**
         * Optional. Schema of the elements of Type.ARRAY.
         */
        items?: Schema$Schema;
        /**
         * Optional. Maximum value for Type.INTEGER and Type.NUMBER.
         */
        maximum?: number | null;
        /**
         * Optional. Maximum number of the elements for Type.ARRAY.
         */
        maxItems?: string | null;
        /**
         * Optional. Minimum value for Type.INTEGER and Type.NUMBER.
         */
        minimum?: number | null;
        /**
         * Optional. Minimum number of the elements for Type.ARRAY.
         */
        minItems?: string | null;
        /**
         * Optional. Indicates if the value may be null.
         */
        nullable?: boolean | null;
        /**
         * Optional. Schemas of initial elements of Type.ARRAY.
         */
        prefixItems?: Schema$Schema[];
        /**
         * Optional. Properties of Type.OBJECT.
         */
        properties?: {
            [key: string]: Schema$Schema;
        } | null;
        /**
         * Optional. Allows indirect references between schema nodes. The value should be a valid reference to a child of the root `defs`. For example, the following schema defines a reference to a schema node named "Pet": ``` type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string ``` The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring.
         */
        ref?: string | null;
        /**
         * Optional. Required properties of Type.OBJECT.
         */
        required?: string[] | null;
        /**
         * Optional. The title of the schema.
         */
        title?: string | null;
        /**
         * Required. The type of the data.
         */
        type?: string | null;
        /**
         * Optional. Indicate the items in the array must be unique. Only applies to TYPE.ARRAY.
         */
        uniqueItems?: boolean | null;
    }
    /**
     * Project/Location level security settings for CES.
     */
    export interface Schema$SecuritySettings {
        /**
         * Output only. Create time of the security settings.
         */
        createTime?: string | null;
        /**
         * Optional. Endpoint control related settings.
         */
        endpointControlPolicy?: Schema$EndpointControlPolicy;
        /**
         * Output only. Etag of the security settings.
         */
        etag?: string | null;
        /**
         * Identifier. The unique identifier of the security settings. Format: `projects/{project\}/locations/{location\}/securitySettings`
         */
        name?: string | null;
        /**
         * Output only. Last update time of the security settings.
         */
        updateTime?: string | null;
    }
    /**
     * Configurations for authentication using a custom service account.
     */
    export interface Schema$ServiceAccountAuthConfig {
        /**
         * Optional. The OAuth scopes to grant. If not specified, the default scope `https://www.googleapis.com/auth/cloud-platform` is used.
         */
        scopes?: string[] | null;
        /**
         * Required. The email address of the service account used for authentication. CES uses this service account to exchange an access token and the access token is then sent in the `Authorization` header of the request. The service account must have the `roles/iam.serviceAccountTokenCreator` role granted to the CES service agent `service-@gcp-sa-ces.iam.gserviceaccount.com`.
         */
        serviceAccount?: string | null;
    }
    /**
     * Configurations for authentication with [ID token](https://cloud.google.com/docs/authentication/token-types#id) generated from service agent.
     */
    export interface Schema$ServiceAgentIdTokenAuthConfig {
    }
    /**
     * Configuration for tools using Service Directory.
     */
    export interface Schema$ServiceDirectoryConfig {
        /**
         * Required. The name of [Service Directory](https://cloud.google.com/service-directory) service. Format: `projects/{project\}/locations/{location\}/namespaces/{namespace\}/services/{service\}`. Location of the service directory must be the same as the location of the app.
         */
        service?: string | null;
    }
    /**
     * The configuration for the session.
     */
    export interface Schema$SessionConfig {
        /**
         * Optional. The deployment of the app to use for the session. Format: `projects/{project\}/locations/{location\}/apps/{app\}/deployments/{deployment\}`
         */
        deployment?: string | null;
        /**
         * Optional. Whether to enable streaming text outputs from the model. By default, text outputs from the model are collected before sending to the client. NOTE: This is only supported for text (non-voice) sessions via StreamRunSession or BidiRunSession.
         */
        enableTextStreaming?: boolean | null;
        /**
         * Optional. The entry agent to handle the session. If not specified, the session will be handled by the root agent of the app. Format: `projects/{project\}/locations/{location\}/apps/{app\}/agents/{agent\}`
         */
        entryAgent?: string | null;
        /**
         * Optional. Whether to exclude diagnostic info from the session output.
         */
        excludeDiagnosticInfo?: boolean | null;
        /**
         * Optional. The historical context of the session, including user inputs, agent responses, and other messages. Typically, CES agent would manage session automatically so client doesn't need to explicitly populate this field. However, client can optionally override the historical contexts to force the session start from certain state.
         */
        historicalContexts?: Schema$Message[];
        /**
         * Optional. Configuration for processing the input audio.
         */
        inputAudioConfig?: Schema$InputAudioConfig;
        /**
         * Optional. Configuration for generating the output audio.
         */
        outputAudioConfig?: Schema$OutputAudioConfig;
        /**
         * Optional. [QueryParameters](https://cloud.google.com/dialogflow/cx/docs/reference/rpc/google.cloud.dialogflow.cx.v3#queryparameters) to send to the remote [Dialogflow](https://cloud.google.com/dialogflow/cx/docs/concept/console-conversational-agents) agent when the session control is transferred to the remote agent.
         */
        remoteDialogflowQueryParameters?: Schema$SessionConfigRemoteDialogflowQueryParameters;
        /**
         * Optional. The time zone of the user. If provided, the agent will use the time zone for date and time related variables. Otherwise, the agent will use the time zone specified in the App.time_zone_settings. The format is the IANA Time Zone Database time zone, e.g. "America/Los_Angeles".
         */
        timeZone?: string | null;
        /**
         * Optional. Whether to use tool fakes for the session. If this field is set, the agent will attempt use tool fakes instead of calling the real tools.
         */
        useToolFakes?: boolean | null;
    }
    /**
     * [QueryParameters](https://cloud.google.com/dialogflow/cx/docs/reference/rpc/google.cloud.dialogflow.cx.v3#queryparameters) to send to the remote [Dialogflow](https://cloud.google.com/dialogflow/cx/docs/concept/console-conversational-agents) agent when the session control is transferred to the remote agent.
     */
    export interface Schema$SessionConfigRemoteDialogflowQueryParameters {
        /**
         * Optional. The end user metadata to be sent in [QueryParameters](https://cloud.google.com/dialogflow/cx/docs/reference/rpc/google.cloud.dialogflow.cx.v3#queryparameters).
         */
        endUserMetadata?: {
            [key: string]: any;
        } | null;
        /**
         * Optional. The payload to be sent in [QueryParameters](https://cloud.google.com/dialogflow/cx/docs/reference/rpc/google.cloud.dialogflow.cx.v3#queryparameters).
         */
        payload?: {
            [key: string]: any;
        } | null;
        /**
         * Optional. The HTTP headers to be sent as webhook_headers in [QueryParameters](https://cloud.google.com/dialogflow/cx/docs/reference/rpc/google.cloud.dialogflow.cx.v3#queryparameters).
         */
        webhookHeaders?: {
            [key: string]: string;
        } | null;
    }
    /**
     * Input for the session.
     */
    export interface Schema$SessionInput {
        /**
         * Optional. Audio data from the end user.
         */
        audio?: string | null;
        /**
         * Optional. Blob data from the end user.
         */
        blob?: Schema$Blob;
        /**
         * Optional. DTMF digits from the end user.
         */
        dtmf?: string | null;
        /**
         * Optional. Event input.
         */
        event?: Schema$Event;
        /**
         * Optional. Image data from the end user.
         */
        image?: Schema$Image;
        /**
         * Optional. Text data from the end user.
         */
        text?: string | null;
        /**
         * Optional. Execution results for the tool calls from the client.
         */
        toolResponses?: Schema$ToolResponses;
        /**
         * Optional. Contextual variables for the session, keyed by name. Only variables declared in the app will be used by the CES agent. Unrecognized variables will still be sent to the Dialogflow agent as additional session parameters.
         */
        variables?: {
            [key: string]: any;
        } | null;
        /**
         * Optional. A flag to indicate if the current message is a fragment of a larger input in the bidi streaming session. When set to `true`, the agent defers processing until it receives a subsequent message where `will_continue` is `false`, or until the system detects an endpoint in the audio input. NOTE: This field does not apply to audio and DTMF inputs, as they are always processed automatically based on the endpointing signal.
         */
        willContinue?: boolean | null;
    }
    /**
     * Output for the session.
     */
    export interface Schema$SessionOutput {
        /**
         * Output audio from the CES agent.
         */
        audio?: string | null;
        /**
         * Citations that provide the source information for the agent's generated text.
         */
        citations?: Schema$Citations;
        /**
         * Context messages for external supervision guardrails.
         */
        context?: Array<{
            [key: string]: any;
        }> | null;
        /**
         * Optional. Diagnostic information contains execution details during the processing of the input. Only populated in the last SessionOutput (with `turn_completed=true`) for each turn.
         */
        diagnosticInfo?: Schema$SessionOutputDiagnosticInfo;
        /**
         * Indicates the session has ended.
         */
        endSession?: Schema$EndSession;
        /**
         * The suggestions returned from Google Search as a result of invoking the GoogleSearchTool.
         */
        googleSearchSuggestions?: Schema$GoogleSearchSuggestions;
        /**
         * Custom payload with structured output from the CES agent.
         */
        payload?: {
            [key: string]: any;
        } | null;
        /**
         * Output text from the CES agent.
         */
        text?: string | null;
        /**
         * Request for the client to execute the tools.
         */
        toolCalls?: Schema$ToolCalls;
        /**
         * If true, the CES agent has detected the end of the current conversation turn and will provide no further output for this turn.
         */
        turnCompleted?: boolean | null;
        /**
         * Indicates the sequential order of conversation turn to which this output belongs to, starting from 1.
         */
        turnIndex?: number | null;
    }
    /**
     * Contains execution details during the processing.
     */
    export interface Schema$SessionOutputDiagnosticInfo {
        /**
         * List of the messages that happened during the processing.
         */
        messages?: Schema$Message[];
        /**
         * A trace of the entire request processing, represented as a root span. This span can contain nested child spans for specific operations.
         */
        rootSpan?: Schema$Span;
    }
    /**
     * A span is a unit of work or a single operation during the request processing.
     */
    export interface Schema$Span {
        /**
         * Output only. Key-value attributes associated with the span.
         */
        attributes?: {
            [key: string]: any;
        } | null;
        /**
         * Output only. The child spans that are nested under this span.
         */
        childSpans?: Schema$Span[];
        /**
         * Output only. The duration of the span.
         */
        duration?: string | null;
        /**
         * Output only. The end time of the span.
         */
        endTime?: string | null;
        /**
         * Output only. The name of the span.
         */
        name?: string | null;
        /**
         * Output only. The start time of the span.
         */
        startTime?: string | null;
    }
    /**
     * The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
     */
    export interface Schema$Status {
        /**
         * The status code, which should be an enum value of google.rpc.Code.
         */
        code?: number | null;
        /**
         * A list of messages that carry the error details. There is a common set of message types for APIs to use.
         */
        details?: Array<{
            [key: string]: any;
        }> | null;
        /**
         * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
         */
        message?: string | null;
    }
    /**
     * Configuration for how the agent response should be synthesized.
     */
    export interface Schema$SynthesizeSpeechConfig {
        /**
         * Optional. Deprecated: Use `custom_voice_samples` in AudioProcessingConfig instead. The Cloud Storage URI to the consent audio for voice cloning.
         */
        consentAudioGcsUri?: string | null;
        /**
         * Optional. The instruction used to synthesize speech when using a generative model.
         */
        instruction?: string | null;
        /**
         * Optional. The model used to synthesize audio. Currently supported values: - "gemini-3.1-flash-tts-preview" If empty, Chirp3-HD is used.
         */
        model?: string | null;
        /**
         * Optional. The speaking rate/speed in the range [0.25, 2.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. Values outside of the range [0.25, 2.0] will return an error.
         */
        speakingRate?: number | null;
        /**
         * Optional. The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code. For the list of available voices, please refer to [Supported voices and languages](https://cloud.google.com/text-to-speech/docs/voices) from Cloud Text-to-Speech.
         */
        voice?: string | null;
        /**
         * Optional. Deprecated: Use `custom_voice_samples` in AudioProcessingConfig instead. The Cloud Storage URI to the audio sample for voice cloning. The audio sample should be a mono-channel, 24kHz WAV file. Note: Please make sure the CES service agent `service-@gcp-sa-ces.iam.gserviceaccount.com` has `storage.objects.get` permission to the Cloud Storage object.
         */
        voiceSampleGcsUri?: string | null;
    }
    /**
     * Pre-defined system tool.
     */
    export interface Schema$SystemTool {
        /**
         * Output only. The description of the system tool.
         */
        description?: string | null;
        /**
         * Required. The name of the system tool.
         */
        name?: string | null;
    }
    /**
     * TimeZone settings of the app.
     */
    export interface Schema$TimeZoneSettings {
        /**
         * Optional. The time zone of the app from the [time zone database](https://www.iana.org/time-zones), e.g., America/Los_Angeles, Europe/Paris.
         */
        timeZone?: string | null;
    }
    /**
     * The TLS configuration.
     */
    export interface Schema$TlsConfig {
        /**
         * Required. Specifies a list of allowed custom CA certificates for HTTPS verification.
         */
        caCerts?: Schema$TlsConfigCaCert[];
    }
    /**
     * The CA certificate.
     */
    export interface Schema$TlsConfigCaCert {
        /**
         * Required. The allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store. If this is empty or unspecified, CES will use Google's default trust store to verify certificates. N.B. Make sure the HTTPS server certificates are signed with "subject alt name". For instance a certificate can be self-signed using the following command: ``` openssl x509 -req -days 200 -in example.com.csr \ -signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\nsubjectAltName='DNS:www.example.com'") ```
         */
        cert?: string | null;
        /**
         * Required. The name of the allowed custom CA certificates. This can be used to disambiguate the custom CA certificates.
         */
        displayName?: string | null;
    }
    /**
     * A tool represents an action that the CES agent can take to achieve certain goals.
     */
    export interface Schema$Tool {
        /**
         * Optional. The agent tool.
         */
        agentTool?: Schema$AgentTool;
        /**
         * Optional. The client function.
         */
        clientFunction?: Schema$ClientFunction;
        /**
         * Optional. The Integration Connector tool.
         */
        connectorTool?: Schema$ConnectorTool;
        /**
         * Output only. Timestamp when the tool was created.
         */
        createTime?: string | null;
        /**
         * Optional. The data store tool.
         */
        dataStoreTool?: Schema$DataStoreTool;
        /**
         * Output only. The display name of the tool, derived based on the tool's type. For example, display name of a ClientFunction is derived from its `name` property.
         */
        displayName?: string | null;
        /**
         * Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
         */
        etag?: string | null;
        /**
         * Optional. The execution type of the tool.
         */
        executionType?: string | null;
        /**
         * Optional. The file search tool.
         */
        fileSearchTool?: Schema$FileSearchTool;
        /**
         * Output only. If the tool is generated by the LLM assistant, this field contains a descriptive summary of the generation.
         */
        generatedSummary?: string | null;
        /**
         * Optional. The google search tool.
         */
        googleSearchTool?: Schema$GoogleSearchTool;
        /**
         * Optional. The MCP tool. An MCP tool cannot be created or updated directly and is managed by the MCP toolset.
         */
        mcpTool?: Schema$McpTool;
        /**
         * Identifier. The resource name of the tool. Format: * `projects/{project\}/locations/{location\}/apps/{app\}/tools/{tool\}` for standalone tools. * `projects/{project\}/locations/{location\}/apps/{app\}/toolsets/{toolset\}/tools/{tool\}` for tools retrieved from a toolset. These tools are dynamic and output-only; they cannot be referenced directly where a tool is expected.
         */
        name?: string | null;
        /**
         * Optional. The open API tool.
         */
        openApiTool?: Schema$OpenApiTool;
        /**
         * Optional. The python function tool.
         */
        pythonFunction?: Schema$PythonFunction;
        /**
         * Optional. The remote agent tool.
         */
        remoteAgentTool?: Schema$RemoteAgentTool;
        /**
         * Optional. The system tool.
         */
        systemTool?: Schema$SystemTool;
        /**
         * Optional. The timeout for the tool execution. If not set, the default timeout is 30 seconds for `SYNCHRONOUS` tools and 60 seconds for `ASYNCHRONOUS` tools.
         */
        timeout?: string | null;
        /**
         * Optional. Configuration for tool behavior in fake mode.
         */
        toolFakeConfig?: Schema$ToolFakeConfig;
        /**
         * Output only. Timestamp when the tool was last updated.
         */
        updateTime?: string | null;
        /**
         * Optional. The widget tool.
         */
        widgetTool?: Schema$WidgetTool;
    }
    /**
     * Request for the client or the agent to execute the specified tool.
     */
    export interface Schema$ToolCall {
        /**
         * Optional. The input parameters and values for the tool in JSON object format.
         */
        args?: {
            [key: string]: any;
        } | null;
        /**
         * Output only. Display name of the tool.
         */
        displayName?: string | null;
        /**
         * Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse.
         */
        id?: string | null;
        /**
         * Optional. The name of the tool to execute. Format: `projects/{project\}/locations/{location\}/apps/{app\}/tools/{tool\}`
         */
        tool?: string | null;
        /**
         * Optional. The toolset tool to execute.
         */
        toolsetTool?: Schema$ToolsetTool;
    }
    /**
     * Request for the client to execute the tools and return the execution results before continuing the session.
     */
    export interface Schema$ToolCalls {
        /**
         * Optional. The list of tool calls to execute.
         */
        toolCalls?: Schema$ToolCall[];
    }
    /**
     * Configuration for tool behavior in fake mode.
     */
    export interface Schema$ToolFakeConfig {
        /**
         * Optional. Code block which will be executed instead of a real tool call.
         */
        codeBlock?: Schema$CodeBlock;
        /**
         * Optional. Whether the tool is using fake mode.
         */
        enableFakeMode?: boolean | null;
    }
    /**
     * The execution result of a specific tool from the client or the agent.
     */
    export interface Schema$ToolResponse {
        /**
         * Output only. Display name of the tool.
         */
        displayName?: string | null;
        /**
         * Optional. The matching ID of the tool call the response is for.
         */
        id?: string | null;
        /**
         * Required. The tool execution result in JSON object format. Use "output" key to specify tool response and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as tool execution result.
         */
        response?: {
            [key: string]: any;
        } | null;
        /**
         * Optional. The name of the tool to execute. Format: `projects/{project\}/locations/{location\}/apps/{app\}/tools/{tool\}`
         */
        tool?: string | null;
        /**
         * Optional. The toolset tool that got executed.
         */
        toolsetTool?: Schema$ToolsetTool;
    }
    /**
     * Execution results for the requested tool calls from the client.
     */
    export interface Schema$ToolResponses {
        /**
         * Optional. The list of tool execution results.
         */
        toolResponses?: Schema$ToolResponse[];
    }
    /**
     * A toolset represents a group of dynamically managed tools that can be used by the agent.
     */
    export interface Schema$Toolset {
        /**
         * Optional. A toolset that generates tools from an Integration Connectors Connection.
         */
        connectorToolset?: Schema$ConnectorToolset;
        /**
         * Output only. Timestamp when the toolset was created.
         */
        createTime?: string | null;
        /**
         * Optional. The description of the toolset.
         */
        description?: string | null;
        /**
         * Optional. The display name of the toolset. Must be unique within the same app.
         */
        displayName?: string | null;
        /**
         * ETag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
         */
        etag?: string | null;
        /**
         * Optional. The execution type of the tools in the toolset.
         */
        executionType?: string | null;
        /**
         * Optional. A toolset that contains a list of tools that are offered by the MCP server.
         */
        mcpToolset?: Schema$McpToolset;
        /**
         * Identifier. The unique identifier of the toolset. Format: `projects/{project\}/locations/{location\}/apps/{app\}/toolsets/{toolset\}`
         */
        name?: string | null;
        /**
         * Optional. A toolset that contains a list of tools that are defined by an OpenAPI schema.
         */
        openApiToolset?: Schema$OpenApiToolset;
        /**
         * Optional. The timeout for the toolset execution. If not set, the default timeout is 30 seconds for `SYNCHRONOUS` toolsets and 60 seconds for `ASYNCHRONOUS` toolsets.
         */
        timeout?: string | null;
        /**
         * Optional. Configuration for tools behavior in fake mode.
         */
        toolFakeConfig?: Schema$ToolFakeConfig;
        /**
         * Output only. Timestamp when the toolset was last updated.
         */
        updateTime?: string | null;
    }
    /**
     * A tool that is created from a toolset.
     */
    export interface Schema$ToolsetTool {
        /**
         * Optional. The tool ID to filter the tools to retrieve the schema for.
         */
        toolId?: string | null;
        /**
         * Required. The resource name of the Toolset from which this tool is derived. Format: `projects/{project\}/locations/{location\}/apps/{app\}/toolsets/{toolset\}`
         */
        toolset?: string | null;
    }
    /**
     * Rule for transferring to a specific agent.
     */
    export interface Schema$TransferRule {
        /**
         * Required. The resource name of the child agent the rule applies to. Format: `projects/{project\}/locations/{location\}/apps/{app\}/agents/{agent\}`
         */
        childAgent?: string | null;
        /**
         * Optional. A rule that immediately transfers to the target agent when the condition is met.
         */
        deterministicTransfer?: Schema$TransferRuleDeterministicTransfer;
        /**
         * Required. The direction of the transfer.
         */
        direction?: string | null;
        /**
         * Optional. Rule that prevents the planner from transferring to the target agent.
         */
        disablePlannerTransfer?: Schema$TransferRuleDisablePlannerTransfer;
    }
    /**
     * Deterministic transfer rule. When the condition evaluates to true, the transfer occurs.
     */
    export interface Schema$TransferRuleDeterministicTransfer {
        /**
         * Optional. A rule that evaluates a session state condition. If the condition evaluates to true, the transfer occurs.
         */
        expressionCondition?: Schema$ExpressionCondition;
        /**
         * Optional. A rule that uses Python code block to evaluate the conditions. If the condition evaluates to true, the transfer occurs.
         */
        pythonCodeCondition?: Schema$PythonCodeCondition;
    }
    /**
     * A rule that prevents the planner from transferring to the target agent.
     */
    export interface Schema$TransferRuleDisablePlannerTransfer {
        /**
         * Required. If the condition evaluates to true, planner will not be allowed to transfer to the target agent.
         */
        expressionCondition?: Schema$ExpressionCondition;
    }
    /**
     * Action that is taken when a certain precondition is met.
     */
    export interface Schema$TriggerAction {
        /**
         * Optional. Respond with a generative answer.
         */
        generativeAnswer?: Schema$TriggerActionGenerativeAnswer;
        /**
         * Optional. Immediately respond with a preconfigured response.
         */
        respondImmediately?: Schema$TriggerActionRespondImmediately;
        /**
         * Optional. Transfer the conversation to a different agent.
         */
        transferAgent?: Schema$TriggerActionTransferAgent;
    }
    /**
     * The agent will immediately respond with a generative answer.
     */
    export interface Schema$TriggerActionGenerativeAnswer {
        /**
         * Required. The prompt to use for the generative answer.
         */
        prompt?: string | null;
    }
    /**
     * The agent will immediately respond with a preconfigured response.
     */
    export interface Schema$TriggerActionRespondImmediately {
        /**
         * Required. The canned responses for the agent to choose from. The response is chosen randomly.
         */
        responses?: Schema$TriggerActionResponse[];
    }
    /**
     * Represents a response from the agent.
     */
    export interface Schema$TriggerActionResponse {
        /**
         * Optional. Whether the response is disabled. Disabled responses are not used by the agent.
         */
        disabled?: boolean | null;
        /**
         * Required. Text for the agent to respond with.
         */
        text?: string | null;
    }
    /**
     * The agent will transfer the conversation to a different agent.
     */
    export interface Schema$TriggerActionTransferAgent {
        /**
         * Required. The name of the agent to transfer the conversation to. The agent must be in the same app as the current agent. Format: `projects/{project\}/locations/{location\}/apps/{app\}/agents/{agent\}`
         */
        agent?: string | null;
    }
    /**
     * VPC-SC settings for the app.
     */
    export interface Schema$VpcScSettings {
        /**
         * Optional. The allowed HTTP(s) origins that OpenAPI tools in the App are able to directly call when VPC Service Controls are enabled. These strings must match the origin exactly, including the port if specified. For example, "https://example.com" or "https://example.com:443". This list does not yet apply to Python tools that may make direct HTTP calls.
         */
        allowedOrigins?: string[] | null;
    }
    /**
     * Represents a single web search query and its associated search uri.
     */
    export interface Schema$WebSearchQuery {
        /**
         * The search query text.
         */
        query?: string | null;
        /**
         * The URI to the Google Search results page for the query.
         */
        uri?: string | null;
    }
    /**
     * Ephemeral Meta credentials for WhatsApp native integration.
     */
    export interface Schema$WhatsAppCredentials {
        /**
         * Required. The Meta auth code provided by the embedded signup flow.
         */
        authCode?: string | null;
        /**
         * Required. The Business Account ID to use for the phone number.
         */
        businessAccountId?: string | null;
        /**
         * Optional. The Conversation Profile ID to use for the deployment.
         */
        conversationProfileId?: string | null;
        /**
         * Required. The phone number to register with WhatsApp.
         */
        phoneNumber?: string | null;
        /**
         * Required. The 6-digit PIN created by the user for two-step verification.
         */
        pin?: string | null;
        /**
         * Required. The WhatsApp Business Account ID.
         */
        wabaId?: string | null;
    }
    /**
     * Represents a widget tool that the agent can invoke. When the tool is chosen by the agent, agent will return the widget to the client. The client is responsible for processing the widget and generating the next user query to continue the interaction with the agent.
     */
    export interface Schema$WidgetTool {
        /**
         * Optional. The mapping that defines how data from a source tool is mapped to the widget's input parameters.
         */
        dataMapping?: Schema$WidgetToolDataMapping;
        /**
         * Optional. The description of the widget tool.
         */
        description?: string | null;
        /**
         * Required. The display name of the widget tool.
         */
        name?: string | null;
        /**
         * Optional. The input parameters of the widget tool.
         */
        parameters?: Schema$Schema;
        /**
         * Optional. Configuration for always-included text responses.
         */
        textResponseConfig?: Schema$WidgetToolTextResponseConfig;
        /**
         * Optional. Configuration for rendering the widget.
         */
        uiConfig?: {
            [key: string]: any;
        } | null;
        /**
         * Optional. The type of the widget tool. If not specified, the default type will be CUSTOMIZED.
         */
        widgetType?: string | null;
    }
    /**
     * Configuration for mapping data from a source tool to the widget's input parameters.
     */
    export interface Schema$WidgetToolDataMapping {
        /**
         * Optional. A map of widget input parameter fields to the corresponding output fields of the source tool.
         */
        fieldMappings?: {
            [key: string]: string;
        } | null;
        /**
         * Optional. The mode of the data mapping.
         */
        mode?: string | null;
        /**
         * Optional. Configuration for a Python function used to transform the source tool's output into the widget's input format.
         */
        pythonFunction?: Schema$PythonFunction;
        /**
         * Deprecated: Use `python_function` instead.
         */
        pythonScript?: string | null;
        /**
         * Optional. The resource name of the tool that provides the data for the widget (e.g., a search tool or a custom function). Format: `projects/{project\}/locations/{location\}/agents/{agent\}/tools/{tool\}`
         */
        sourceToolName?: string | null;
    }
    /**
     * Configuration for the text response returned with the widget.
     */
    export interface Schema$WidgetToolTextResponseConfig {
        /**
         * Optional. The static text response to return when type is STATIC.
         */
        staticText?: string | null;
        /**
         * Optional. Instruction for the LLM on how to generate the text response. Used as the description for the text response parameter if type is LLM_GENERATED.
         */
        textResponseInstruction?: string | null;
        /**
         * Optional. The strategy for providing the text response.
         */
        type?: string | null;
    }
    export class Resource$Projects {
        context: APIRequestContext;
        locations: Resource$Projects$Locations;
        constructor(context: APIRequestContext);
    }
    export class Resource$Projects$Locations {
        context: APIRequestContext;
        apps: Resource$Projects$Locations$Apps;
        operations: Resource$Projects$Locations$Operations;
        constructor(context: APIRequestContext);
        /**
         * Gets information about a location.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.get({
         *     // Resource name for the location.
         *     name: 'projects/my-project/locations/my-location',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "displayName": "my_displayName",
         *   //   "labels": {},
         *   //   "locationId": "my_locationId",
         *   //   "metadata": {},
         *   //   "name": "my_name"
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        get(params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        get(params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Location>>;
        get(params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        get(params: Params$Resource$Projects$Locations$Get, options: MethodOptions | BodyResponseCallback<Schema$Location>, callback: BodyResponseCallback<Schema$Location>): void;
        get(params: Params$Resource$Projects$Locations$Get, callback: BodyResponseCallback<Schema$Location>): void;
        get(callback: BodyResponseCallback<Schema$Location>): void;
        /**
         * Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.list({
         *     // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
         *     extraLocationTypes: 'placeholder-value',
         *     // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
         *     filter: 'placeholder-value',
         *     // The resource that owns the locations collection, if applicable.
         *     name: 'projects/my-project',
         *     // The maximum number of results to return. If not set, the service selects a default.
         *     pageSize: 'placeholder-value',
         *     // A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
         *     pageToken: 'placeholder-value',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "locations": [],
         *   //   "nextPageToken": "my_nextPageToken"
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        list(params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        list(params?: Params$Resource$Projects$Locations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListLocationsResponse>>;
        list(params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        list(params: Params$Resource$Projects$Locations$List, options: MethodOptions | BodyResponseCallback<Schema$ListLocationsResponse>, callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
        list(params: Params$Resource$Projects$Locations$List, callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
        list(callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
    }
    export interface Params$Resource$Projects$Locations$Get extends StandardParameters {
        /**
         * Resource name for the location.
         */
        name?: string;
    }
    export interface Params$Resource$Projects$Locations$List extends StandardParameters {
        /**
         * Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
         */
        extraLocationTypes?: string[];
        /**
         * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
         */
        filter?: string;
        /**
         * The resource that owns the locations collection, if applicable.
         */
        name?: string;
        /**
         * The maximum number of results to return. If not set, the service selects a default.
         */
        pageSize?: number;
        /**
         * A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
         */
        pageToken?: string;
    }
    export class Resource$Projects$Locations$Apps {
        context: APIRequestContext;
        agents: Resource$Projects$Locations$Apps$Agents;
        changelogs: Resource$Projects$Locations$Apps$Changelogs;
        conversations: Resource$Projects$Locations$Apps$Conversations;
        deployments: Resource$Projects$Locations$Apps$Deployments;
        examples: Resource$Projects$Locations$Apps$Examples;
        guardrails: Resource$Projects$Locations$Apps$Guardrails;
        message: Resource$Projects$Locations$Apps$Message;
        sessions: Resource$Projects$Locations$Apps$Sessions;
        tools: Resource$Projects$Locations$Apps$Tools;
        toolsets: Resource$Projects$Locations$Apps$Toolsets;
        versions: Resource$Projects$Locations$Apps$Versions;
        constructor(context: APIRequestContext);
        /**
         * Creates a new app in the given project and location.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.create({
         *     // Optional. The ID to use for the app, which will become the final component of the app's resource name. If not provided, a unique ID will be automatically assigned for the app.
         *     appId: 'placeholder-value',
         *     // Required. The resource name of the location to create an app in.
         *     parent: 'projects/my-project/locations/my-location',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "audioProcessingConfig": {},
         *       //   "clientCertificateSettings": {},
         *       //   "createTime": "my_createTime",
         *       //   "dataStoreSettings": {},
         *       //   "defaultChannelProfile": {},
         *       //   "deploymentCount": 0,
         *       //   "description": "my_description",
         *       //   "displayName": "my_displayName",
         *       //   "errorHandlingSettings": {},
         *       //   "etag": "my_etag",
         *       //   "evaluationMetricsThresholds": {},
         *       //   "globalInstruction": "my_globalInstruction",
         *       //   "guardrails": [],
         *       //   "languageSettings": {},
         *       //   "locked": false,
         *       //   "loggingSettings": {},
         *       //   "metadata": {},
         *       //   "modelSettings": {},
         *       //   "name": "my_name",
         *       //   "pinned": false,
         *       //   "predefinedVariableDeclarations": [],
         *       //   "rootAgent": "my_rootAgent",
         *       //   "timeZoneSettings": {},
         *       //   "toolExecutionMode": "my_toolExecutionMode",
         *       //   "updateTime": "my_updateTime",
         *       //   "validationErrors": [],
         *       //   "variableDeclarations": [],
         *       //   "vpcScSettings": {}
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "done": false,
         *   //   "error": {},
         *   //   "metadata": {},
         *   //   "name": "my_name",
         *   //   "response": {}
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        create(params: Params$Resource$Projects$Locations$Apps$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        create(params?: Params$Resource$Projects$Locations$Apps$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
        create(params: Params$Resource$Projects$Locations$Apps$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        create(params: Params$Resource$Projects$Locations$Apps$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
        create(params: Params$Resource$Projects$Locations$Apps$Create, callback: BodyResponseCallback<Schema$Operation>): void;
        create(callback: BodyResponseCallback<Schema$Operation>): void;
        /**
         * Deletes the specified app.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.delete({
         *     // Optional. The current etag of the app. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the app, deletion will be blocked and an ABORTED error will be returned.
         *     etag: 'placeholder-value',
         *     // Required. The resource name of the app to delete.
         *     name: 'projects/my-project/locations/my-location/apps/my-app',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "done": false,
         *   //   "error": {},
         *   //   "metadata": {},
         *   //   "name": "my_name",
         *   //   "response": {}
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        delete(params: Params$Resource$Projects$Locations$Apps$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        delete(params?: Params$Resource$Projects$Locations$Apps$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
        delete(params: Params$Resource$Projects$Locations$Apps$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        delete(params: Params$Resource$Projects$Locations$Apps$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
        delete(params: Params$Resource$Projects$Locations$Apps$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
        delete(callback: BodyResponseCallback<Schema$Operation>): void;
        /**
         * Executes the given tool with the given arguments.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.executeTool({
         *     // Required. The resource name of the app which the tool/toolset belongs to. Format: `projects/{project\}/locations/{location\}/apps/{app\}`
         *     parent: 'projects/my-project/locations/my-location/apps/my-app',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "args": {},
         *       //   "context": {},
         *       //   "mockConfig": {},
         *       //   "tool": "my_tool",
         *       //   "toolsetTool": {},
         *       //   "variables": {}
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "citations": {},
         *   //   "googleSearchSuggestions": {},
         *   //   "response": {},
         *   //   "tool": "my_tool",
         *   //   "toolsetTool": {},
         *   //   "variables": {}
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        executeTool(params: Params$Resource$Projects$Locations$Apps$Executetool, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        executeTool(params?: Params$Resource$Projects$Locations$Apps$Executetool, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ExecuteToolResponse>>;
        executeTool(params: Params$Resource$Projects$Locations$Apps$Executetool, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        executeTool(params: Params$Resource$Projects$Locations$Apps$Executetool, options: MethodOptions | BodyResponseCallback<Schema$ExecuteToolResponse>, callback: BodyResponseCallback<Schema$ExecuteToolResponse>): void;
        executeTool(params: Params$Resource$Projects$Locations$Apps$Executetool, callback: BodyResponseCallback<Schema$ExecuteToolResponse>): void;
        executeTool(callback: BodyResponseCallback<Schema$ExecuteToolResponse>): void;
        /**
         * Exports the specified app.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.exportApp({
         *     // Required. The resource name of the app to export.
         *     name: 'projects/my-project/locations/my-location/apps/my-app',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "appVersion": "my_appVersion",
         *       //   "exportFormat": "my_exportFormat",
         *       //   "gcsUri": "my_gcsUri"
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "done": false,
         *   //   "error": {},
         *   //   "metadata": {},
         *   //   "name": "my_name",
         *   //   "response": {}
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        exportApp(params: Params$Resource$Projects$Locations$Apps$Exportapp, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        exportApp(params?: Params$Resource$Projects$Locations$Apps$Exportapp, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
        exportApp(params: Params$Resource$Projects$Locations$Apps$Exportapp, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        exportApp(params: Params$Resource$Projects$Locations$Apps$Exportapp, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
        exportApp(params: Params$Resource$Projects$Locations$Apps$Exportapp, callback: BodyResponseCallback<Schema$Operation>): void;
        exportApp(callback: BodyResponseCallback<Schema$Operation>): void;
        /**
         * Gets details of the specified app.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.get({
         *     // Required. The resource name of the app to retrieve.
         *     name: 'projects/my-project/locations/my-location/apps/my-app',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "audioProcessingConfig": {},
         *   //   "clientCertificateSettings": {},
         *   //   "createTime": "my_createTime",
         *   //   "dataStoreSettings": {},
         *   //   "defaultChannelProfile": {},
         *   //   "deploymentCount": 0,
         *   //   "description": "my_description",
         *   //   "displayName": "my_displayName",
         *   //   "errorHandlingSettings": {},
         *   //   "etag": "my_etag",
         *   //   "evaluationMetricsThresholds": {},
         *   //   "globalInstruction": "my_globalInstruction",
         *   //   "guardrails": [],
         *   //   "languageSettings": {},
         *   //   "locked": false,
         *   //   "loggingSettings": {},
         *   //   "metadata": {},
         *   //   "modelSettings": {},
         *   //   "name": "my_name",
         *   //   "pinned": false,
         *   //   "predefinedVariableDeclarations": [],
         *   //   "rootAgent": "my_rootAgent",
         *   //   "timeZoneSettings": {},
         *   //   "toolExecutionMode": "my_toolExecutionMode",
         *   //   "updateTime": "my_updateTime",
         *   //   "validationErrors": [],
         *   //   "variableDeclarations": [],
         *   //   "vpcScSettings": {}
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        get(params: Params$Resource$Projects$Locations$Apps$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        get(params?: Params$Resource$Projects$Locations$Apps$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$App>>;
        get(params: Params$Resource$Projects$Locations$Apps$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        get(params: Params$Resource$Projects$Locations$Apps$Get, options: MethodOptions | BodyResponseCallback<Schema$App>, callback: BodyResponseCallback<Schema$App>): void;
        get(params: Params$Resource$Projects$Locations$Apps$Get, callback: BodyResponseCallback<Schema$App>): void;
        get(callback: BodyResponseCallback<Schema$App>): void;
        /**
         * Gets the extended agent card for the authenticated agent.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.getExtendedAgentCard({
         *     // Optional. Opaque routing identifier. Must match the `tenant` value from the selected `AgentInterface` in the Agent Card when that field is set.
         *     tenant: 'projects/my-project/locations/my-location/apps/my-app',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "capabilities": {},
         *   //   "defaultInputModes": [],
         *   //   "defaultOutputModes": [],
         *   //   "description": "my_description",
         *   //   "documentationUrl": "my_documentationUrl",
         *   //   "iconUrl": "my_iconUrl",
         *   //   "name": "my_name",
         *   //   "provider": {},
         *   //   "securityRequirements": [],
         *   //   "securitySchemes": {},
         *   //   "signatures": [],
         *   //   "skills": [],
         *   //   "supportedInterfaces": [],
         *   //   "version": "my_version"
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        getExtendedAgentCard(params: Params$Resource$Projects$Locations$Apps$Getextendedagentcard, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        getExtendedAgentCard(params?: Params$Resource$Projects$Locations$Apps$Getextendedagentcard, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LfA2aV1AgentCard>>;
        getExtendedAgentCard(params: Params$Resource$Projects$Locations$Apps$Getextendedagentcard, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        getExtendedAgentCard(params: Params$Resource$Projects$Locations$Apps$Getextendedagentcard, options: MethodOptions | BodyResponseCallback<Schema$LfA2aV1AgentCard>, callback: BodyResponseCallback<Schema$LfA2aV1AgentCard>): void;
        getExtendedAgentCard(params: Params$Resource$Projects$Locations$Apps$Getextendedagentcard, callback: BodyResponseCallback<Schema$LfA2aV1AgentCard>): void;
        getExtendedAgentCard(callback: BodyResponseCallback<Schema$LfA2aV1AgentCard>): void;
        /**
         * Imports the specified app.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.importApp({
         *     // Required. The parent resource name with the location of the app to import.
         *     parent: 'projects/my-project/locations/my-location',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "appContent": "my_appContent",
         *       //   "appId": "my_appId",
         *       //   "displayName": "my_displayName",
         *       //   "gcsUri": "my_gcsUri",
         *       //   "ignoreAppLock": false,
         *       //   "importOptions": {}
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "done": false,
         *   //   "error": {},
         *   //   "metadata": {},
         *   //   "name": "my_name",
         *   //   "response": {}
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        importApp(params: Params$Resource$Projects$Locations$Apps$Importapp, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        importApp(params?: Params$Resource$Projects$Locations$Apps$Importapp, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
        importApp(params: Params$Resource$Projects$Locations$Apps$Importapp, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        importApp(params: Params$Resource$Projects$Locations$Apps$Importapp, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
        importApp(params: Params$Resource$Projects$Locations$Apps$Importapp, callback: BodyResponseCallback<Schema$Operation>): void;
        importApp(callback: BodyResponseCallback<Schema$Operation>): void;
        /**
         * Lists apps in the given project and location.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.list({
         *     // Optional. Filter to be applied when listing the apps. See https://google.aip.dev/160 for more details.
         *     filter: 'placeholder-value',
         *     // Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.
         *     orderBy: 'placeholder-value',
         *     // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
         *     pageSize: 'placeholder-value',
         *     // Optional. The next_page_token value returned from a previous list AgentService.ListApps call.
         *     pageToken: 'placeholder-value',
         *     // Required. The resource name of the location to list apps from.
         *     parent: 'projects/my-project/locations/my-location',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "apps": [],
         *   //   "nextPageToken": "my_nextPageToken",
         *   //   "unreachable": []
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        list(params: Params$Resource$Projects$Locations$Apps$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        list(params?: Params$Resource$Projects$Locations$Apps$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListAppsResponse>>;
        list(params: Params$Resource$Projects$Locations$Apps$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        list(params: Params$Resource$Projects$Locations$Apps$List, options: MethodOptions | BodyResponseCallback<Schema$ListAppsResponse>, callback: BodyResponseCallback<Schema$ListAppsResponse>): void;
        list(params: Params$Resource$Projects$Locations$Apps$List, callback: BodyResponseCallback<Schema$ListAppsResponse>): void;
        list(callback: BodyResponseCallback<Schema$ListAppsResponse>): void;
        /**
         * Updates the specified app.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.patch({
         *     // Identifier. The unique identifier of the app. Format: `projects/{project\}/locations/{location\}/apps/{app\}`
         *     name: 'projects/my-project/locations/my-location/apps/my-app',
         *     // Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
         *     updateMask: 'placeholder-value',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "audioProcessingConfig": {},
         *       //   "clientCertificateSettings": {},
         *       //   "createTime": "my_createTime",
         *       //   "dataStoreSettings": {},
         *       //   "defaultChannelProfile": {},
         *       //   "deploymentCount": 0,
         *       //   "description": "my_description",
         *       //   "displayName": "my_displayName",
         *       //   "errorHandlingSettings": {},
         *       //   "etag": "my_etag",
         *       //   "evaluationMetricsThresholds": {},
         *       //   "globalInstruction": "my_globalInstruction",
         *       //   "guardrails": [],
         *       //   "languageSettings": {},
         *       //   "locked": false,
         *       //   "loggingSettings": {},
         *       //   "metadata": {},
         *       //   "modelSettings": {},
         *       //   "name": "my_name",
         *       //   "pinned": false,
         *       //   "predefinedVariableDeclarations": [],
         *       //   "rootAgent": "my_rootAgent",
         *       //   "timeZoneSettings": {},
         *       //   "toolExecutionMode": "my_toolExecutionMode",
         *       //   "updateTime": "my_updateTime",
         *       //   "validationErrors": [],
         *       //   "variableDeclarations": [],
         *       //   "vpcScSettings": {}
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "audioProcessingConfig": {},
         *   //   "clientCertificateSettings": {},
         *   //   "createTime": "my_createTime",
         *   //   "dataStoreSettings": {},
         *   //   "defaultChannelProfile": {},
         *   //   "deploymentCount": 0,
         *   //   "description": "my_description",
         *   //   "displayName": "my_displayName",
         *   //   "errorHandlingSettings": {},
         *   //   "etag": "my_etag",
         *   //   "evaluationMetricsThresholds": {},
         *   //   "globalInstruction": "my_globalInstruction",
         *   //   "guardrails": [],
         *   //   "languageSettings": {},
         *   //   "locked": false,
         *   //   "loggingSettings": {},
         *   //   "metadata": {},
         *   //   "modelSettings": {},
         *   //   "name": "my_name",
         *   //   "pinned": false,
         *   //   "predefinedVariableDeclarations": [],
         *   //   "rootAgent": "my_rootAgent",
         *   //   "timeZoneSettings": {},
         *   //   "toolExecutionMode": "my_toolExecutionMode",
         *   //   "updateTime": "my_updateTime",
         *   //   "validationErrors": [],
         *   //   "variableDeclarations": [],
         *   //   "vpcScSettings": {}
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        patch(params: Params$Resource$Projects$Locations$Apps$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        patch(params?: Params$Resource$Projects$Locations$Apps$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$App>>;
        patch(params: Params$Resource$Projects$Locations$Apps$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        patch(params: Params$Resource$Projects$Locations$Apps$Patch, options: MethodOptions | BodyResponseCallback<Schema$App>, callback: BodyResponseCallback<Schema$App>): void;
        patch(params: Params$Resource$Projects$Locations$Apps$Patch, callback: BodyResponseCallback<Schema$App>): void;
        patch(callback: BodyResponseCallback<Schema$App>): void;
        /**
         * Retrieve the schema of the given tool. The schema is computed on the fly for the given instance of the tool.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.retrieveToolSchema({
         *     // Required. The resource name of the app which the tool/toolset belongs to. Format: `projects/{project\}/locations/{location\}/apps/{app\}`
         *     parent: 'projects/my-project/locations/my-location/apps/my-app',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "tool": "my_tool",
         *       //   "toolsetTool": {}
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "inputSchema": {},
         *   //   "outputSchema": {},
         *   //   "tool": "my_tool",
         *   //   "toolsetTool": {}
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        retrieveToolSchema(params: Params$Resource$Projects$Locations$Apps$Retrievetoolschema, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        retrieveToolSchema(params?: Params$Resource$Projects$Locations$Apps$Retrievetoolschema, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$RetrieveToolSchemaResponse>>;
        retrieveToolSchema(params: Params$Resource$Projects$Locations$Apps$Retrievetoolschema, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        retrieveToolSchema(params: Params$Resource$Projects$Locations$Apps$Retrievetoolschema, options: MethodOptions | BodyResponseCallback<Schema$RetrieveToolSchemaResponse>, callback: BodyResponseCallback<Schema$RetrieveToolSchemaResponse>): void;
        retrieveToolSchema(params: Params$Resource$Projects$Locations$Apps$Retrievetoolschema, callback: BodyResponseCallback<Schema$RetrieveToolSchemaResponse>): void;
        retrieveToolSchema(callback: BodyResponseCallback<Schema$RetrieveToolSchemaResponse>): void;
    }
    export interface Params$Resource$Projects$Locations$Apps$Create extends StandardParameters {
        /**
         * Optional. The ID to use for the app, which will become the final component of the app's resource name. If not provided, a unique ID will be automatically assigned for the app.
         */
        appId?: string;
        /**
         * Required. The resource name of the location to create an app in.
         */
        parent?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$App;
    }
    export interface Params$Resource$Projects$Locations$Apps$Delete extends StandardParameters {
        /**
         * Optional. The current etag of the app. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the app, deletion will be blocked and an ABORTED error will be returned.
         */
        etag?: string;
        /**
         * Required. The resource name of the app to delete.
         */
        name?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Executetool extends StandardParameters {
        /**
         * Required. The resource name of the app which the tool/toolset belongs to. Format: `projects/{project\}/locations/{location\}/apps/{app\}`
         */
        parent?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$ExecuteToolRequest;
    }
    export interface Params$Resource$Projects$Locations$Apps$Exportapp extends StandardParameters {
        /**
         * Required. The resource name of the app to export.
         */
        name?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$ExportAppRequest;
    }
    export interface Params$Resource$Projects$Locations$Apps$Get extends StandardParameters {
        /**
         * Required. The resource name of the app to retrieve.
         */
        name?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Getextendedagentcard extends StandardParameters {
        /**
         * Optional. Opaque routing identifier. Must match the `tenant` value from the selected `AgentInterface` in the Agent Card when that field is set.
         */
        tenant?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Importapp extends StandardParameters {
        /**
         * Required. The parent resource name with the location of the app to import.
         */
        parent?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$ImportAppRequest;
    }
    export interface Params$Resource$Projects$Locations$Apps$List extends StandardParameters {
        /**
         * Optional. Filter to be applied when listing the apps. See https://google.aip.dev/160 for more details.
         */
        filter?: string;
        /**
         * Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.
         */
        orderBy?: string;
        /**
         * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
         */
        pageSize?: number;
        /**
         * Optional. The next_page_token value returned from a previous list AgentService.ListApps call.
         */
        pageToken?: string;
        /**
         * Required. The resource name of the location to list apps from.
         */
        parent?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Patch extends StandardParameters {
        /**
         * Identifier. The unique identifier of the app. Format: `projects/{project\}/locations/{location\}/apps/{app\}`
         */
        name?: string;
        /**
         * Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
         */
        updateMask?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$App;
    }
    export interface Params$Resource$Projects$Locations$Apps$Retrievetoolschema extends StandardParameters {
        /**
         * Required. The resource name of the app which the tool/toolset belongs to. Format: `projects/{project\}/locations/{location\}/apps/{app\}`
         */
        parent?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$RetrieveToolSchemaRequest;
    }
    export class Resource$Projects$Locations$Apps$Agents {
        context: APIRequestContext;
        constructor(context: APIRequestContext);
        /**
         * Creates a new agent in the given app.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.agents.create({
         *     // Optional. The ID to use for the agent, which will become the final component of the agent's resource name. If not provided, a unique ID will be automatically assigned for the agent.
         *     agentId: 'placeholder-value',
         *     // Required. The resource name of the app to create an agent in.
         *     parent: 'projects/my-project/locations/my-location/apps/my-app',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "afterAgentCallbacks": [],
         *       //   "afterModelCallbacks": [],
         *       //   "afterToolCallbacks": [],
         *       //   "beforeAgentCallbacks": [],
         *       //   "beforeModelCallbacks": [],
         *       //   "beforeToolCallbacks": [],
         *       //   "childAgents": [],
         *       //   "createTime": "my_createTime",
         *       //   "description": "my_description",
         *       //   "displayName": "my_displayName",
         *       //   "etag": "my_etag",
         *       //   "generatedSummary": "my_generatedSummary",
         *       //   "guardrails": [],
         *       //   "instruction": "my_instruction",
         *       //   "llmAgent": {},
         *       //   "modelSettings": {},
         *       //   "name": "my_name",
         *       //   "remoteDialogflowAgent": {},
         *       //   "tools": [],
         *       //   "toolsets": [],
         *       //   "transferRules": [],
         *       //   "updateTime": "my_updateTime",
         *       //   "validationErrors": []
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "afterAgentCallbacks": [],
         *   //   "afterModelCallbacks": [],
         *   //   "afterToolCallbacks": [],
         *   //   "beforeAgentCallbacks": [],
         *   //   "beforeModelCallbacks": [],
         *   //   "beforeToolCallbacks": [],
         *   //   "childAgents": [],
         *   //   "createTime": "my_createTime",
         *   //   "description": "my_description",
         *   //   "displayName": "my_displayName",
         *   //   "etag": "my_etag",
         *   //   "generatedSummary": "my_generatedSummary",
         *   //   "guardrails": [],
         *   //   "instruction": "my_instruction",
         *   //   "llmAgent": {},
         *   //   "modelSettings": {},
         *   //   "name": "my_name",
         *   //   "remoteDialogflowAgent": {},
         *   //   "tools": [],
         *   //   "toolsets": [],
         *   //   "transferRules": [],
         *   //   "updateTime": "my_updateTime",
         *   //   "validationErrors": []
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        create(params: Params$Resource$Projects$Locations$Apps$Agents$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        create(params?: Params$Resource$Projects$Locations$Apps$Agents$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Agent>>;
        create(params: Params$Resource$Projects$Locations$Apps$Agents$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        create(params: Params$Resource$Projects$Locations$Apps$Agents$Create, options: MethodOptions | BodyResponseCallback<Schema$Agent>, callback: BodyResponseCallback<Schema$Agent>): void;
        create(params: Params$Resource$Projects$Locations$Apps$Agents$Create, callback: BodyResponseCallback<Schema$Agent>): void;
        create(callback: BodyResponseCallback<Schema$Agent>): void;
        /**
         * Deletes the specified agent.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.agents.delete({
         *     // Optional. The current etag of the agent. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the agent, deletion will be blocked and an ABORTED error will be returned.
         *     etag: 'placeholder-value',
         *     // Optional. Indicates whether to forcefully delete the agent, even if it is still referenced by other app/agents/examples. * If `force = false`, the deletion fails if other agents/examples reference it. * If `force = true`, delete the agent and remove it from all referencing apps/agents/examples.
         *     force: 'placeholder-value',
         *     // Required. The resource name of the agent to delete.
         *     name: 'projects/my-project/locations/my-location/apps/my-app/agents/my-agent',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {}
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        delete(params: Params$Resource$Projects$Locations$Apps$Agents$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        delete(params?: Params$Resource$Projects$Locations$Apps$Agents$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
        delete(params: Params$Resource$Projects$Locations$Apps$Agents$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        delete(params: Params$Resource$Projects$Locations$Apps$Agents$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
        delete(params: Params$Resource$Projects$Locations$Apps$Agents$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
        delete(callback: BodyResponseCallback<Schema$Empty>): void;
        /**
         * Gets details of the specified agent.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.agents.get({
         *     // Required. The resource name of the agent to retrieve.
         *     name: 'projects/my-project/locations/my-location/apps/my-app/agents/my-agent',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "afterAgentCallbacks": [],
         *   //   "afterModelCallbacks": [],
         *   //   "afterToolCallbacks": [],
         *   //   "beforeAgentCallbacks": [],
         *   //   "beforeModelCallbacks": [],
         *   //   "beforeToolCallbacks": [],
         *   //   "childAgents": [],
         *   //   "createTime": "my_createTime",
         *   //   "description": "my_description",
         *   //   "displayName": "my_displayName",
         *   //   "etag": "my_etag",
         *   //   "generatedSummary": "my_generatedSummary",
         *   //   "guardrails": [],
         *   //   "instruction": "my_instruction",
         *   //   "llmAgent": {},
         *   //   "modelSettings": {},
         *   //   "name": "my_name",
         *   //   "remoteDialogflowAgent": {},
         *   //   "tools": [],
         *   //   "toolsets": [],
         *   //   "transferRules": [],
         *   //   "updateTime": "my_updateTime",
         *   //   "validationErrors": []
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        get(params: Params$Resource$Projects$Locations$Apps$Agents$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        get(params?: Params$Resource$Projects$Locations$Apps$Agents$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Agent>>;
        get(params: Params$Resource$Projects$Locations$Apps$Agents$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        get(params: Params$Resource$Projects$Locations$Apps$Agents$Get, options: MethodOptions | BodyResponseCallback<Schema$Agent>, callback: BodyResponseCallback<Schema$Agent>): void;
        get(params: Params$Resource$Projects$Locations$Apps$Agents$Get, callback: BodyResponseCallback<Schema$Agent>): void;
        get(callback: BodyResponseCallback<Schema$Agent>): void;
        /**
         * Lists agents in the given app.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.agents.list({
         *     // Optional. Filter to be applied when listing the agents. See https://google.aip.dev/160 for more details.
         *     filter: 'placeholder-value',
         *     // Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.
         *     orderBy: 'placeholder-value',
         *     // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
         *     pageSize: 'placeholder-value',
         *     // Optional. The next_page_token value returned from a previous list AgentService.ListAgents call.
         *     pageToken: 'placeholder-value',
         *     // Required. The resource name of the app to list agents from.
         *     parent: 'projects/my-project/locations/my-location/apps/my-app',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "agents": [],
         *   //   "nextPageToken": "my_nextPageToken"
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        list(params: Params$Resource$Projects$Locations$Apps$Agents$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        list(params?: Params$Resource$Projects$Locations$Apps$Agents$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListAgentsResponse>>;
        list(params: Params$Resource$Projects$Locations$Apps$Agents$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        list(params: Params$Resource$Projects$Locations$Apps$Agents$List, options: MethodOptions | BodyResponseCallback<Schema$ListAgentsResponse>, callback: BodyResponseCallback<Schema$ListAgentsResponse>): void;
        list(params: Params$Resource$Projects$Locations$Apps$Agents$List, callback: BodyResponseCallback<Schema$ListAgentsResponse>): void;
        list(callback: BodyResponseCallback<Schema$ListAgentsResponse>): void;
        /**
         * Updates the specified agent.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.agents.patch({
         *     // Identifier. The unique identifier of the agent. Format: `projects/{project\}/locations/{location\}/apps/{app\}/agents/{agent\}`
         *     name: 'projects/my-project/locations/my-location/apps/my-app/agents/my-agent',
         *     // Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
         *     updateMask: 'placeholder-value',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "afterAgentCallbacks": [],
         *       //   "afterModelCallbacks": [],
         *       //   "afterToolCallbacks": [],
         *       //   "beforeAgentCallbacks": [],
         *       //   "beforeModelCallbacks": [],
         *       //   "beforeToolCallbacks": [],
         *       //   "childAgents": [],
         *       //   "createTime": "my_createTime",
         *       //   "description": "my_description",
         *       //   "displayName": "my_displayName",
         *       //   "etag": "my_etag",
         *       //   "generatedSummary": "my_generatedSummary",
         *       //   "guardrails": [],
         *       //   "instruction": "my_instruction",
         *       //   "llmAgent": {},
         *       //   "modelSettings": {},
         *       //   "name": "my_name",
         *       //   "remoteDialogflowAgent": {},
         *       //   "tools": [],
         *       //   "toolsets": [],
         *       //   "transferRules": [],
         *       //   "updateTime": "my_updateTime",
         *       //   "validationErrors": []
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "afterAgentCallbacks": [],
         *   //   "afterModelCallbacks": [],
         *   //   "afterToolCallbacks": [],
         *   //   "beforeAgentCallbacks": [],
         *   //   "beforeModelCallbacks": [],
         *   //   "beforeToolCallbacks": [],
         *   //   "childAgents": [],
         *   //   "createTime": "my_createTime",
         *   //   "description": "my_description",
         *   //   "displayName": "my_displayName",
         *   //   "etag": "my_etag",
         *   //   "generatedSummary": "my_generatedSummary",
         *   //   "guardrails": [],
         *   //   "instruction": "my_instruction",
         *   //   "llmAgent": {},
         *   //   "modelSettings": {},
         *   //   "name": "my_name",
         *   //   "remoteDialogflowAgent": {},
         *   //   "tools": [],
         *   //   "toolsets": [],
         *   //   "transferRules": [],
         *   //   "updateTime": "my_updateTime",
         *   //   "validationErrors": []
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        patch(params: Params$Resource$Projects$Locations$Apps$Agents$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        patch(params?: Params$Resource$Projects$Locations$Apps$Agents$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Agent>>;
        patch(params: Params$Resource$Projects$Locations$Apps$Agents$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        patch(params: Params$Resource$Projects$Locations$Apps$Agents$Patch, options: MethodOptions | BodyResponseCallback<Schema$Agent>, callback: BodyResponseCallback<Schema$Agent>): void;
        patch(params: Params$Resource$Projects$Locations$Apps$Agents$Patch, callback: BodyResponseCallback<Schema$Agent>): void;
        patch(callback: BodyResponseCallback<Schema$Agent>): void;
    }
    export interface Params$Resource$Projects$Locations$Apps$Agents$Create extends StandardParameters {
        /**
         * Optional. The ID to use for the agent, which will become the final component of the agent's resource name. If not provided, a unique ID will be automatically assigned for the agent.
         */
        agentId?: string;
        /**
         * Required. The resource name of the app to create an agent in.
         */
        parent?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$Agent;
    }
    export interface Params$Resource$Projects$Locations$Apps$Agents$Delete extends StandardParameters {
        /**
         * Optional. The current etag of the agent. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the agent, deletion will be blocked and an ABORTED error will be returned.
         */
        etag?: string;
        /**
         * Optional. Indicates whether to forcefully delete the agent, even if it is still referenced by other app/agents/examples. * If `force = false`, the deletion fails if other agents/examples reference it. * If `force = true`, delete the agent and remove it from all referencing apps/agents/examples.
         */
        force?: boolean;
        /**
         * Required. The resource name of the agent to delete.
         */
        name?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Agents$Get extends StandardParameters {
        /**
         * Required. The resource name of the agent to retrieve.
         */
        name?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Agents$List extends StandardParameters {
        /**
         * Optional. Filter to be applied when listing the agents. See https://google.aip.dev/160 for more details.
         */
        filter?: string;
        /**
         * Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.
         */
        orderBy?: string;
        /**
         * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
         */
        pageSize?: number;
        /**
         * Optional. The next_page_token value returned from a previous list AgentService.ListAgents call.
         */
        pageToken?: string;
        /**
         * Required. The resource name of the app to list agents from.
         */
        parent?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Agents$Patch extends StandardParameters {
        /**
         * Identifier. The unique identifier of the agent. Format: `projects/{project\}/locations/{location\}/apps/{app\}/agents/{agent\}`
         */
        name?: string;
        /**
         * Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
         */
        updateMask?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$Agent;
    }
    export class Resource$Projects$Locations$Apps$Changelogs {
        context: APIRequestContext;
        constructor(context: APIRequestContext);
        /**
         * Gets the specified changelog.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.changelogs.get({
         *     // Required. The resource name of the changelog to retrieve.
         *     name: 'projects/my-project/locations/my-location/apps/my-app/changelogs/my-changelog',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "action": "my_action",
         *   //   "author": "my_author",
         *   //   "createTime": "my_createTime",
         *   //   "dependentResources": [],
         *   //   "description": "my_description",
         *   //   "displayName": "my_displayName",
         *   //   "name": "my_name",
         *   //   "newResource": {},
         *   //   "originalResource": {},
         *   //   "resource": "my_resource",
         *   //   "resourceType": "my_resourceType",
         *   //   "sequenceNumber": "my_sequenceNumber"
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        get(params: Params$Resource$Projects$Locations$Apps$Changelogs$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        get(params?: Params$Resource$Projects$Locations$Apps$Changelogs$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Changelog>>;
        get(params: Params$Resource$Projects$Locations$Apps$Changelogs$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        get(params: Params$Resource$Projects$Locations$Apps$Changelogs$Get, options: MethodOptions | BodyResponseCallback<Schema$Changelog>, callback: BodyResponseCallback<Schema$Changelog>): void;
        get(params: Params$Resource$Projects$Locations$Apps$Changelogs$Get, callback: BodyResponseCallback<Schema$Changelog>): void;
        get(callback: BodyResponseCallback<Schema$Changelog>): void;
        /**
         * Lists the changelogs of the specified app.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.changelogs.list({
         *     // Optional. Filter to be applied when listing the changelogs. See https://google.aip.dev/160 for more details. The filter string can be used to filter by `action`, `resource_type`, `resource_name`, `author`, and `create_time`. The `:` comparator can be used for case-insensitive partial matching on string fields, while `=` performs an exact case-sensitive match. Examples: * `action:update` (case-insensitive partial match) * `action="Create"` (case-sensitive exact match) * `resource_type:agent` * `resource_name:my-agent` * `author:me@example.com` * `create_time \> "2025-01-01T00:00:00Z"` * `create_time <= "2025-01-01T00:00:00Z" AND resource_type:tool`
         *     filter: 'placeholder-value',
         *     // Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.
         *     orderBy: 'placeholder-value',
         *     // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
         *     pageSize: 'placeholder-value',
         *     // Optional. The next_page_token value returned from a previous list AgentService.ListChangelogs call.
         *     pageToken: 'placeholder-value',
         *     // Required. The resource name of the app to list changelogs from.
         *     parent: 'projects/my-project/locations/my-location/apps/my-app',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "changelogs": [],
         *   //   "nextPageToken": "my_nextPageToken"
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        list(params: Params$Resource$Projects$Locations$Apps$Changelogs$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        list(params?: Params$Resource$Projects$Locations$Apps$Changelogs$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListChangelogsResponse>>;
        list(params: Params$Resource$Projects$Locations$Apps$Changelogs$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        list(params: Params$Resource$Projects$Locations$Apps$Changelogs$List, options: MethodOptions | BodyResponseCallback<Schema$ListChangelogsResponse>, callback: BodyResponseCallback<Schema$ListChangelogsResponse>): void;
        list(params: Params$Resource$Projects$Locations$Apps$Changelogs$List, callback: BodyResponseCallback<Schema$ListChangelogsResponse>): void;
        list(callback: BodyResponseCallback<Schema$ListChangelogsResponse>): void;
    }
    export interface Params$Resource$Projects$Locations$Apps$Changelogs$Get extends StandardParameters {
        /**
         * Required. The resource name of the changelog to retrieve.
         */
        name?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Changelogs$List extends StandardParameters {
        /**
         * Optional. Filter to be applied when listing the changelogs. See https://google.aip.dev/160 for more details. The filter string can be used to filter by `action`, `resource_type`, `resource_name`, `author`, and `create_time`. The `:` comparator can be used for case-insensitive partial matching on string fields, while `=` performs an exact case-sensitive match. Examples: * `action:update` (case-insensitive partial match) * `action="Create"` (case-sensitive exact match) * `resource_type:agent` * `resource_name:my-agent` * `author:me@example.com` * `create_time \> "2025-01-01T00:00:00Z"` * `create_time <= "2025-01-01T00:00:00Z" AND resource_type:tool`
         */
        filter?: string;
        /**
         * Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.
         */
        orderBy?: string;
        /**
         * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
         */
        pageSize?: number;
        /**
         * Optional. The next_page_token value returned from a previous list AgentService.ListChangelogs call.
         */
        pageToken?: string;
        /**
         * Required. The resource name of the app to list changelogs from.
         */
        parent?: string;
    }
    export class Resource$Projects$Locations$Apps$Conversations {
        context: APIRequestContext;
        constructor(context: APIRequestContext);
        /**
         * Batch deletes the specified conversations.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.conversations.batchDelete({
         *     // Required. The resource name of the app to delete conversations from. Format: `projects/{project\}/locations/{location\}/apps/{app\}`
         *     parent: 'projects/my-project/locations/my-location/apps/my-app',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "conversations": []
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "done": false,
         *   //   "error": {},
         *   //   "metadata": {},
         *   //   "name": "my_name",
         *   //   "response": {}
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        batchDelete(params: Params$Resource$Projects$Locations$Apps$Conversations$Batchdelete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        batchDelete(params?: Params$Resource$Projects$Locations$Apps$Conversations$Batchdelete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
        batchDelete(params: Params$Resource$Projects$Locations$Apps$Conversations$Batchdelete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        batchDelete(params: Params$Resource$Projects$Locations$Apps$Conversations$Batchdelete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
        batchDelete(params: Params$Resource$Projects$Locations$Apps$Conversations$Batchdelete, callback: BodyResponseCallback<Schema$Operation>): void;
        batchDelete(callback: BodyResponseCallback<Schema$Operation>): void;
        /**
         * Deletes the specified conversation.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.conversations.delete({
         *     // Required. The resource name of the conversation to delete.
         *     name: 'projects/my-project/locations/my-location/apps/my-app/conversations/my-conversation',
         *     // Optional. Indicate the source of the conversation. If not set, Source.Live will be applied by default.
         *     source: 'placeholder-value',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {}
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        delete(params: Params$Resource$Projects$Locations$Apps$Conversations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        delete(params?: Params$Resource$Projects$Locations$Apps$Conversations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
        delete(params: Params$Resource$Projects$Locations$Apps$Conversations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        delete(params: Params$Resource$Projects$Locations$Apps$Conversations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
        delete(params: Params$Resource$Projects$Locations$Apps$Conversations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
        delete(callback: BodyResponseCallback<Schema$Empty>): void;
        /**
         * Gets details of the specified conversation.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.conversations.get({
         *     // Required. The resource name of the conversation to retrieve.
         *     name: 'projects/my-project/locations/my-location/apps/my-app/conversations/my-conversation',
         *     // Optional. Indicate the source of the conversation. If not set, all source will be searched.
         *     source: 'placeholder-value',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "appVersion": "my_appVersion",
         *   //   "channelType": "my_channelType",
         *   //   "deployment": "my_deployment",
         *   //   "endTime": "my_endTime",
         *   //   "entryAgent": "my_entryAgent",
         *   //   "inputTypes": [],
         *   //   "languageCode": "my_languageCode",
         *   //   "messages": [],
         *   //   "name": "my_name",
         *   //   "source": "my_source",
         *   //   "startTime": "my_startTime",
         *   //   "turnCount": 0,
         *   //   "turns": []
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        get(params: Params$Resource$Projects$Locations$Apps$Conversations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        get(params?: Params$Resource$Projects$Locations$Apps$Conversations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Conversation>>;
        get(params: Params$Resource$Projects$Locations$Apps$Conversations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        get(params: Params$Resource$Projects$Locations$Apps$Conversations$Get, options: MethodOptions | BodyResponseCallback<Schema$Conversation>, callback: BodyResponseCallback<Schema$Conversation>): void;
        get(params: Params$Resource$Projects$Locations$Apps$Conversations$Get, callback: BodyResponseCallback<Schema$Conversation>): void;
        get(callback: BodyResponseCallback<Schema$Conversation>): void;
        /**
         * Lists conversations in the given app.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.conversations.list({
         *     // Optional. Filter to be applied when listing the conversations. See https://google.aip.dev/160 for more details.
         *     filter: 'placeholder-value',
         *     // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
         *     pageSize: 'placeholder-value',
         *     // Optional. The next_page_token value returned from a previous list AgentService.ListConversations call.
         *     pageToken: 'placeholder-value',
         *     // Required. The resource name of the app to list conversations from.
         *     parent: 'projects/my-project/locations/my-location/apps/my-app',
         *     // Optional. Indicate the source of the conversation. If not set, Source.Live will be applied by default. Will be deprecated in favor of `sources` field.
         *     source: 'placeholder-value',
         *     // Optional. Indicate the sources of the conversations. If not set, all available sources will be applied by default.
         *     sources: 'placeholder-value',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "conversations": [],
         *   //   "nextPageToken": "my_nextPageToken"
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        list(params: Params$Resource$Projects$Locations$Apps$Conversations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        list(params?: Params$Resource$Projects$Locations$Apps$Conversations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListConversationsResponse>>;
        list(params: Params$Resource$Projects$Locations$Apps$Conversations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        list(params: Params$Resource$Projects$Locations$Apps$Conversations$List, options: MethodOptions | BodyResponseCallback<Schema$ListConversationsResponse>, callback: BodyResponseCallback<Schema$ListConversationsResponse>): void;
        list(params: Params$Resource$Projects$Locations$Apps$Conversations$List, callback: BodyResponseCallback<Schema$ListConversationsResponse>): void;
        list(callback: BodyResponseCallback<Schema$ListConversationsResponse>): void;
    }
    export interface Params$Resource$Projects$Locations$Apps$Conversations$Batchdelete extends StandardParameters {
        /**
         * Required. The resource name of the app to delete conversations from. Format: `projects/{project\}/locations/{location\}/apps/{app\}`
         */
        parent?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$BatchDeleteConversationsRequest;
    }
    export interface Params$Resource$Projects$Locations$Apps$Conversations$Delete extends StandardParameters {
        /**
         * Required. The resource name of the conversation to delete.
         */
        name?: string;
        /**
         * Optional. Indicate the source of the conversation. If not set, Source.Live will be applied by default.
         */
        source?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Conversations$Get extends StandardParameters {
        /**
         * Required. The resource name of the conversation to retrieve.
         */
        name?: string;
        /**
         * Optional. Indicate the source of the conversation. If not set, all source will be searched.
         */
        source?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Conversations$List extends StandardParameters {
        /**
         * Optional. Filter to be applied when listing the conversations. See https://google.aip.dev/160 for more details.
         */
        filter?: string;
        /**
         * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
         */
        pageSize?: number;
        /**
         * Optional. The next_page_token value returned from a previous list AgentService.ListConversations call.
         */
        pageToken?: string;
        /**
         * Required. The resource name of the app to list conversations from.
         */
        parent?: string;
        /**
         * Optional. Indicate the source of the conversation. If not set, Source.Live will be applied by default. Will be deprecated in favor of `sources` field.
         */
        source?: string;
        /**
         * Optional. Indicate the sources of the conversations. If not set, all available sources will be applied by default.
         */
        sources?: string[];
    }
    export class Resource$Projects$Locations$Apps$Deployments {
        context: APIRequestContext;
        message: Resource$Projects$Locations$Apps$Deployments$Message;
        constructor(context: APIRequestContext);
        /**
         * Creates a new deployment in the given app.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.deployments.create({
         *     // Optional. The ID to use for the deployment, which will become the final component of the deployment's resource name. If not provided, a unique ID will be automatically assigned for the deployment.
         *     deploymentId: 'placeholder-value',
         *     // Required. The parent app. Format: `projects/{project\}/locations/{location\}/apps/{app\}`
         *     parent: 'projects/my-project/locations/my-location/apps/my-app',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "appVersion": "my_appVersion",
         *       //   "channelProfile": {},
         *       //   "createTime": "my_createTime",
         *       //   "displayName": "my_displayName",
         *       //   "etag": "my_etag",
         *       //   "experimentConfig": {},
         *       //   "instagramCredentials": {},
         *       //   "modality": "my_modality",
         *       //   "modelSettings": {},
         *       //   "name": "my_name",
         *       //   "updateTime": "my_updateTime",
         *       //   "whatsappCredentials": {}
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "appVersion": "my_appVersion",
         *   //   "channelProfile": {},
         *   //   "createTime": "my_createTime",
         *   //   "displayName": "my_displayName",
         *   //   "etag": "my_etag",
         *   //   "experimentConfig": {},
         *   //   "instagramCredentials": {},
         *   //   "modality": "my_modality",
         *   //   "modelSettings": {},
         *   //   "name": "my_name",
         *   //   "updateTime": "my_updateTime",
         *   //   "whatsappCredentials": {}
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        create(params: Params$Resource$Projects$Locations$Apps$Deployments$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        create(params?: Params$Resource$Projects$Locations$Apps$Deployments$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Deployment>>;
        create(params: Params$Resource$Projects$Locations$Apps$Deployments$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        create(params: Params$Resource$Projects$Locations$Apps$Deployments$Create, options: MethodOptions | BodyResponseCallback<Schema$Deployment>, callback: BodyResponseCallback<Schema$Deployment>): void;
        create(params: Params$Resource$Projects$Locations$Apps$Deployments$Create, callback: BodyResponseCallback<Schema$Deployment>): void;
        create(callback: BodyResponseCallback<Schema$Deployment>): void;
        /**
         * Deletes the specified deployment.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.deployments.delete({
         *     // Optional. The etag of the deployment. If an etag is provided and does not match the current etag of the deployment, deletion will be blocked and an ABORTED error will be returned.
         *     etag: 'placeholder-value',
         *     // Required. The name of the deployment to delete. Format: `projects/{project\}/locations/{location\}/apps/{app\}/deployments/{deployment\}`
         *     name: 'projects/my-project/locations/my-location/apps/my-app/deployments/my-deployment',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {}
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        delete(params: Params$Resource$Projects$Locations$Apps$Deployments$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        delete(params?: Params$Resource$Projects$Locations$Apps$Deployments$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
        delete(params: Params$Resource$Projects$Locations$Apps$Deployments$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        delete(params: Params$Resource$Projects$Locations$Apps$Deployments$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
        delete(params: Params$Resource$Projects$Locations$Apps$Deployments$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
        delete(callback: BodyResponseCallback<Schema$Empty>): void;
        /**
         * Gets details of the specified deployment.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.deployments.get({
         *     // Required. The name of the deployment. Format: `projects/{project\}/locations/{location\}/apps/{app\}/deployments/{deployment\}`
         *     name: 'projects/my-project/locations/my-location/apps/my-app/deployments/my-deployment',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "appVersion": "my_appVersion",
         *   //   "channelProfile": {},
         *   //   "createTime": "my_createTime",
         *   //   "displayName": "my_displayName",
         *   //   "etag": "my_etag",
         *   //   "experimentConfig": {},
         *   //   "instagramCredentials": {},
         *   //   "modality": "my_modality",
         *   //   "modelSettings": {},
         *   //   "name": "my_name",
         *   //   "updateTime": "my_updateTime",
         *   //   "whatsappCredentials": {}
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        get(params: Params$Resource$Projects$Locations$Apps$Deployments$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        get(params?: Params$Resource$Projects$Locations$Apps$Deployments$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Deployment>>;
        get(params: Params$Resource$Projects$Locations$Apps$Deployments$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        get(params: Params$Resource$Projects$Locations$Apps$Deployments$Get, options: MethodOptions | BodyResponseCallback<Schema$Deployment>, callback: BodyResponseCallback<Schema$Deployment>): void;
        get(params: Params$Resource$Projects$Locations$Apps$Deployments$Get, callback: BodyResponseCallback<Schema$Deployment>): void;
        get(callback: BodyResponseCallback<Schema$Deployment>): void;
        /**
         * Gets the extended agent card for the authenticated agent.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res =
         *     await ces.projects.locations.apps.deployments.getExtendedAgentCard({
         *       // Optional. Opaque routing identifier. Must match the `tenant` value from the selected `AgentInterface` in the Agent Card when that field is set.
         *       tenant:
         *         'projects/my-project/locations/my-location/apps/my-app/deployments/my-deployment',
         *     });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "capabilities": {},
         *   //   "defaultInputModes": [],
         *   //   "defaultOutputModes": [],
         *   //   "description": "my_description",
         *   //   "documentationUrl": "my_documentationUrl",
         *   //   "iconUrl": "my_iconUrl",
         *   //   "name": "my_name",
         *   //   "provider": {},
         *   //   "securityRequirements": [],
         *   //   "securitySchemes": {},
         *   //   "signatures": [],
         *   //   "skills": [],
         *   //   "supportedInterfaces": [],
         *   //   "version": "my_version"
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        getExtendedAgentCard(params: Params$Resource$Projects$Locations$Apps$Deployments$Getextendedagentcard, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        getExtendedAgentCard(params?: Params$Resource$Projects$Locations$Apps$Deployments$Getextendedagentcard, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LfA2aV1AgentCard>>;
        getExtendedAgentCard(params: Params$Resource$Projects$Locations$Apps$Deployments$Getextendedagentcard, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        getExtendedAgentCard(params: Params$Resource$Projects$Locations$Apps$Deployments$Getextendedagentcard, options: MethodOptions | BodyResponseCallback<Schema$LfA2aV1AgentCard>, callback: BodyResponseCallback<Schema$LfA2aV1AgentCard>): void;
        getExtendedAgentCard(params: Params$Resource$Projects$Locations$Apps$Deployments$Getextendedagentcard, callback: BodyResponseCallback<Schema$LfA2aV1AgentCard>): void;
        getExtendedAgentCard(callback: BodyResponseCallback<Schema$LfA2aV1AgentCard>): void;
        /**
         * Lists deployments in the given app.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.deployments.list({
         *     // Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.
         *     orderBy: 'placeholder-value',
         *     // Optional. The maximum number of deployments to return. The service may return fewer than this value. If unspecified, at most 50 deployments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
         *     pageSize: 'placeholder-value',
         *     // Optional. A page token, received from a previous `ListDeployments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDeployments` must match the call that provided the page token.
         *     pageToken: 'placeholder-value',
         *     // Required. The parent app. Format: `projects/{project\}/locations/{location\}/apps/{app\}`
         *     parent: 'projects/my-project/locations/my-location/apps/my-app',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "deployments": [],
         *   //   "nextPageToken": "my_nextPageToken"
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        list(params: Params$Resource$Projects$Locations$Apps$Deployments$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        list(params?: Params$Resource$Projects$Locations$Apps$Deployments$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListDeploymentsResponse>>;
        list(params: Params$Resource$Projects$Locations$Apps$Deployments$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        list(params: Params$Resource$Projects$Locations$Apps$Deployments$List, options: MethodOptions | BodyResponseCallback<Schema$ListDeploymentsResponse>, callback: BodyResponseCallback<Schema$ListDeploymentsResponse>): void;
        list(params: Params$Resource$Projects$Locations$Apps$Deployments$List, callback: BodyResponseCallback<Schema$ListDeploymentsResponse>): void;
        list(callback: BodyResponseCallback<Schema$ListDeploymentsResponse>): void;
        /**
         * Updates the specified deployment.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.deployments.patch({
         *     // Identifier. The resource name of the deployment. Format: `projects/{project\}/locations/{location\}/apps/{app\}/deployments/{deployment\}`
         *     name: 'projects/my-project/locations/my-location/apps/my-app/deployments/my-deployment',
         *     // Optional. The list of fields to update.
         *     updateMask: 'placeholder-value',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "appVersion": "my_appVersion",
         *       //   "channelProfile": {},
         *       //   "createTime": "my_createTime",
         *       //   "displayName": "my_displayName",
         *       //   "etag": "my_etag",
         *       //   "experimentConfig": {},
         *       //   "instagramCredentials": {},
         *       //   "modality": "my_modality",
         *       //   "modelSettings": {},
         *       //   "name": "my_name",
         *       //   "updateTime": "my_updateTime",
         *       //   "whatsappCredentials": {}
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "appVersion": "my_appVersion",
         *   //   "channelProfile": {},
         *   //   "createTime": "my_createTime",
         *   //   "displayName": "my_displayName",
         *   //   "etag": "my_etag",
         *   //   "experimentConfig": {},
         *   //   "instagramCredentials": {},
         *   //   "modality": "my_modality",
         *   //   "modelSettings": {},
         *   //   "name": "my_name",
         *   //   "updateTime": "my_updateTime",
         *   //   "whatsappCredentials": {}
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        patch(params: Params$Resource$Projects$Locations$Apps$Deployments$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        patch(params?: Params$Resource$Projects$Locations$Apps$Deployments$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Deployment>>;
        patch(params: Params$Resource$Projects$Locations$Apps$Deployments$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        patch(params: Params$Resource$Projects$Locations$Apps$Deployments$Patch, options: MethodOptions | BodyResponseCallback<Schema$Deployment>, callback: BodyResponseCallback<Schema$Deployment>): void;
        patch(params: Params$Resource$Projects$Locations$Apps$Deployments$Patch, callback: BodyResponseCallback<Schema$Deployment>): void;
        patch(callback: BodyResponseCallback<Schema$Deployment>): void;
    }
    export interface Params$Resource$Projects$Locations$Apps$Deployments$Create extends StandardParameters {
        /**
         * Optional. The ID to use for the deployment, which will become the final component of the deployment's resource name. If not provided, a unique ID will be automatically assigned for the deployment.
         */
        deploymentId?: string;
        /**
         * Required. The parent app. Format: `projects/{project\}/locations/{location\}/apps/{app\}`
         */
        parent?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$Deployment;
    }
    export interface Params$Resource$Projects$Locations$Apps$Deployments$Delete extends StandardParameters {
        /**
         * Optional. The etag of the deployment. If an etag is provided and does not match the current etag of the deployment, deletion will be blocked and an ABORTED error will be returned.
         */
        etag?: string;
        /**
         * Required. The name of the deployment to delete. Format: `projects/{project\}/locations/{location\}/apps/{app\}/deployments/{deployment\}`
         */
        name?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Deployments$Get extends StandardParameters {
        /**
         * Required. The name of the deployment. Format: `projects/{project\}/locations/{location\}/apps/{app\}/deployments/{deployment\}`
         */
        name?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Deployments$Getextendedagentcard extends StandardParameters {
        /**
         * Optional. Opaque routing identifier. Must match the `tenant` value from the selected `AgentInterface` in the Agent Card when that field is set.
         */
        tenant?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Deployments$List extends StandardParameters {
        /**
         * Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.
         */
        orderBy?: string;
        /**
         * Optional. The maximum number of deployments to return. The service may return fewer than this value. If unspecified, at most 50 deployments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
         */
        pageSize?: number;
        /**
         * Optional. A page token, received from a previous `ListDeployments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDeployments` must match the call that provided the page token.
         */
        pageToken?: string;
        /**
         * Required. The parent app. Format: `projects/{project\}/locations/{location\}/apps/{app\}`
         */
        parent?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Deployments$Patch extends StandardParameters {
        /**
         * Identifier. The resource name of the deployment. Format: `projects/{project\}/locations/{location\}/apps/{app\}/deployments/{deployment\}`
         */
        name?: string;
        /**
         * Optional. The list of fields to update.
         */
        updateMask?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$Deployment;
    }
    export class Resource$Projects$Locations$Apps$Deployments$Message {
        context: APIRequestContext;
        constructor(context: APIRequestContext);
        /**
         * Sends a message to an agent.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.deployments.message.send({
         *     // Optional. Opaque routing identifier. Must match the `tenant` value from the selected `AgentInterface` in the Agent Card when that field is set.
         *     tenant:
         *       'projects/my-project/locations/my-location/apps/my-app/deployments/my-deployment',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "configuration": {},
         *       //   "message": {},
         *       //   "metadata": {}
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "message": {},
         *   //   "task": {}
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        send(params: Params$Resource$Projects$Locations$Apps$Deployments$Message$Send, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        send(params?: Params$Resource$Projects$Locations$Apps$Deployments$Message$Send, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LfA2aV1SendMessageResponse>>;
        send(params: Params$Resource$Projects$Locations$Apps$Deployments$Message$Send, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        send(params: Params$Resource$Projects$Locations$Apps$Deployments$Message$Send, options: MethodOptions | BodyResponseCallback<Schema$LfA2aV1SendMessageResponse>, callback: BodyResponseCallback<Schema$LfA2aV1SendMessageResponse>): void;
        send(params: Params$Resource$Projects$Locations$Apps$Deployments$Message$Send, callback: BodyResponseCallback<Schema$LfA2aV1SendMessageResponse>): void;
        send(callback: BodyResponseCallback<Schema$LfA2aV1SendMessageResponse>): void;
    }
    export interface Params$Resource$Projects$Locations$Apps$Deployments$Message$Send extends StandardParameters {
        /**
         * Optional. Opaque routing identifier. Must match the `tenant` value from the selected `AgentInterface` in the Agent Card when that field is set.
         */
        tenant?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$LfA2aV1SendMessageRequest;
    }
    export class Resource$Projects$Locations$Apps$Examples {
        context: APIRequestContext;
        constructor(context: APIRequestContext);
        /**
         * Creates a new example in the given app.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.examples.create({
         *     // Optional. The ID to use for the example, which will become the final component of the example's resource name. If not provided, a unique ID will be automatically assigned for the example.
         *     exampleId: 'placeholder-value',
         *     // Required. The resource name of the app to create an example in.
         *     parent: 'projects/my-project/locations/my-location/apps/my-app',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "createTime": "my_createTime",
         *       //   "description": "my_description",
         *       //   "displayName": "my_displayName",
         *       //   "entryAgent": "my_entryAgent",
         *       //   "etag": "my_etag",
         *       //   "invalid": false,
         *       //   "messages": [],
         *       //   "name": "my_name",
         *       //   "updateTime": "my_updateTime"
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "createTime": "my_createTime",
         *   //   "description": "my_description",
         *   //   "displayName": "my_displayName",
         *   //   "entryAgent": "my_entryAgent",
         *   //   "etag": "my_etag",
         *   //   "invalid": false,
         *   //   "messages": [],
         *   //   "name": "my_name",
         *   //   "updateTime": "my_updateTime"
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        create(params: Params$Resource$Projects$Locations$Apps$Examples$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        create(params?: Params$Resource$Projects$Locations$Apps$Examples$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Example>>;
        create(params: Params$Resource$Projects$Locations$Apps$Examples$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        create(params: Params$Resource$Projects$Locations$Apps$Examples$Create, options: MethodOptions | BodyResponseCallback<Schema$Example>, callback: BodyResponseCallback<Schema$Example>): void;
        create(params: Params$Resource$Projects$Locations$Apps$Examples$Create, callback: BodyResponseCallback<Schema$Example>): void;
        create(callback: BodyResponseCallback<Schema$Example>): void;
        /**
         * Deletes the specified example.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.examples.delete({
         *     // Optional. The current etag of the example. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the example, deletion will be blocked and an ABORTED error will be returned.
         *     etag: 'placeholder-value',
         *     // Required. The resource name of the example to delete.
         *     name: 'projects/my-project/locations/my-location/apps/my-app/examples/my-example',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {}
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        delete(params: Params$Resource$Projects$Locations$Apps$Examples$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        delete(params?: Params$Resource$Projects$Locations$Apps$Examples$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
        delete(params: Params$Resource$Projects$Locations$Apps$Examples$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        delete(params: Params$Resource$Projects$Locations$Apps$Examples$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
        delete(params: Params$Resource$Projects$Locations$Apps$Examples$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
        delete(callback: BodyResponseCallback<Schema$Empty>): void;
        /**
         * Gets details of the specified example.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.examples.get({
         *     // Required. The resource name of the example to retrieve.
         *     name: 'projects/my-project/locations/my-location/apps/my-app/examples/my-example',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "createTime": "my_createTime",
         *   //   "description": "my_description",
         *   //   "displayName": "my_displayName",
         *   //   "entryAgent": "my_entryAgent",
         *   //   "etag": "my_etag",
         *   //   "invalid": false,
         *   //   "messages": [],
         *   //   "name": "my_name",
         *   //   "updateTime": "my_updateTime"
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        get(params: Params$Resource$Projects$Locations$Apps$Examples$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        get(params?: Params$Resource$Projects$Locations$Apps$Examples$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Example>>;
        get(params: Params$Resource$Projects$Locations$Apps$Examples$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        get(params: Params$Resource$Projects$Locations$Apps$Examples$Get, options: MethodOptions | BodyResponseCallback<Schema$Example>, callback: BodyResponseCallback<Schema$Example>): void;
        get(params: Params$Resource$Projects$Locations$Apps$Examples$Get, callback: BodyResponseCallback<Schema$Example>): void;
        get(callback: BodyResponseCallback<Schema$Example>): void;
        /**
         * Lists examples in the given app.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.examples.list({
         *     // Optional. Filter to be applied when listing the examples. See https://google.aip.dev/160 for more details.
         *     filter: 'placeholder-value',
         *     // Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.
         *     orderBy: 'placeholder-value',
         *     // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
         *     pageSize: 'placeholder-value',
         *     // Optional. The next_page_token value returned from a previous list AgentService.ListExamples call.
         *     pageToken: 'placeholder-value',
         *     // Required. The resource name of the app to list examples from.
         *     parent: 'projects/my-project/locations/my-location/apps/my-app',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "examples": [],
         *   //   "nextPageToken": "my_nextPageToken"
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        list(params: Params$Resource$Projects$Locations$Apps$Examples$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        list(params?: Params$Resource$Projects$Locations$Apps$Examples$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListExamplesResponse>>;
        list(params: Params$Resource$Projects$Locations$Apps$Examples$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        list(params: Params$Resource$Projects$Locations$Apps$Examples$List, options: MethodOptions | BodyResponseCallback<Schema$ListExamplesResponse>, callback: BodyResponseCallback<Schema$ListExamplesResponse>): void;
        list(params: Params$Resource$Projects$Locations$Apps$Examples$List, callback: BodyResponseCallback<Schema$ListExamplesResponse>): void;
        list(callback: BodyResponseCallback<Schema$ListExamplesResponse>): void;
        /**
         * Updates the specified example.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.examples.patch({
         *     // Identifier. The unique identifier of the example. Format: `projects/{project\}/locations/{location\}/apps/{app\}/examples/{example\}`
         *     name: 'projects/my-project/locations/my-location/apps/my-app/examples/my-example',
         *     // Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
         *     updateMask: 'placeholder-value',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "createTime": "my_createTime",
         *       //   "description": "my_description",
         *       //   "displayName": "my_displayName",
         *       //   "entryAgent": "my_entryAgent",
         *       //   "etag": "my_etag",
         *       //   "invalid": false,
         *       //   "messages": [],
         *       //   "name": "my_name",
         *       //   "updateTime": "my_updateTime"
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "createTime": "my_createTime",
         *   //   "description": "my_description",
         *   //   "displayName": "my_displayName",
         *   //   "entryAgent": "my_entryAgent",
         *   //   "etag": "my_etag",
         *   //   "invalid": false,
         *   //   "messages": [],
         *   //   "name": "my_name",
         *   //   "updateTime": "my_updateTime"
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        patch(params: Params$Resource$Projects$Locations$Apps$Examples$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        patch(params?: Params$Resource$Projects$Locations$Apps$Examples$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Example>>;
        patch(params: Params$Resource$Projects$Locations$Apps$Examples$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        patch(params: Params$Resource$Projects$Locations$Apps$Examples$Patch, options: MethodOptions | BodyResponseCallback<Schema$Example>, callback: BodyResponseCallback<Schema$Example>): void;
        patch(params: Params$Resource$Projects$Locations$Apps$Examples$Patch, callback: BodyResponseCallback<Schema$Example>): void;
        patch(callback: BodyResponseCallback<Schema$Example>): void;
    }
    export interface Params$Resource$Projects$Locations$Apps$Examples$Create extends StandardParameters {
        /**
         * Optional. The ID to use for the example, which will become the final component of the example's resource name. If not provided, a unique ID will be automatically assigned for the example.
         */
        exampleId?: string;
        /**
         * Required. The resource name of the app to create an example in.
         */
        parent?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$Example;
    }
    export interface Params$Resource$Projects$Locations$Apps$Examples$Delete extends StandardParameters {
        /**
         * Optional. The current etag of the example. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the example, deletion will be blocked and an ABORTED error will be returned.
         */
        etag?: string;
        /**
         * Required. The resource name of the example to delete.
         */
        name?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Examples$Get extends StandardParameters {
        /**
         * Required. The resource name of the example to retrieve.
         */
        name?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Examples$List extends StandardParameters {
        /**
         * Optional. Filter to be applied when listing the examples. See https://google.aip.dev/160 for more details.
         */
        filter?: string;
        /**
         * Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.
         */
        orderBy?: string;
        /**
         * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
         */
        pageSize?: number;
        /**
         * Optional. The next_page_token value returned from a previous list AgentService.ListExamples call.
         */
        pageToken?: string;
        /**
         * Required. The resource name of the app to list examples from.
         */
        parent?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Examples$Patch extends StandardParameters {
        /**
         * Identifier. The unique identifier of the example. Format: `projects/{project\}/locations/{location\}/apps/{app\}/examples/{example\}`
         */
        name?: string;
        /**
         * Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
         */
        updateMask?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$Example;
    }
    export class Resource$Projects$Locations$Apps$Guardrails {
        context: APIRequestContext;
        constructor(context: APIRequestContext);
        /**
         * Creates a new guardrail in the given app.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.guardrails.create({
         *     // Optional. The ID to use for the guardrail, which will become the final component of the guardrail's resource name. If not provided, a unique ID will be automatically assigned for the guardrail.
         *     guardrailId: 'placeholder-value',
         *     // Required. The resource name of the app to create a guardrail in.
         *     parent: 'projects/my-project/locations/my-location/apps/my-app',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "action": {},
         *       //   "codeCallback": {},
         *       //   "contentFilter": {},
         *       //   "createTime": "my_createTime",
         *       //   "description": "my_description",
         *       //   "displayName": "my_displayName",
         *       //   "enabled": false,
         *       //   "etag": "my_etag",
         *       //   "llmPolicy": {},
         *       //   "llmPromptSecurity": {},
         *       //   "modelSafety": {},
         *       //   "name": "my_name",
         *       //   "updateTime": "my_updateTime"
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "action": {},
         *   //   "codeCallback": {},
         *   //   "contentFilter": {},
         *   //   "createTime": "my_createTime",
         *   //   "description": "my_description",
         *   //   "displayName": "my_displayName",
         *   //   "enabled": false,
         *   //   "etag": "my_etag",
         *   //   "llmPolicy": {},
         *   //   "llmPromptSecurity": {},
         *   //   "modelSafety": {},
         *   //   "name": "my_name",
         *   //   "updateTime": "my_updateTime"
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        create(params: Params$Resource$Projects$Locations$Apps$Guardrails$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        create(params?: Params$Resource$Projects$Locations$Apps$Guardrails$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Guardrail>>;
        create(params: Params$Resource$Projects$Locations$Apps$Guardrails$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        create(params: Params$Resource$Projects$Locations$Apps$Guardrails$Create, options: MethodOptions | BodyResponseCallback<Schema$Guardrail>, callback: BodyResponseCallback<Schema$Guardrail>): void;
        create(params: Params$Resource$Projects$Locations$Apps$Guardrails$Create, callback: BodyResponseCallback<Schema$Guardrail>): void;
        create(callback: BodyResponseCallback<Schema$Guardrail>): void;
        /**
         * Deletes the specified guardrail.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.guardrails.delete({
         *     // Optional. The current etag of the guardrail. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the guardrail, deletion will be blocked and an ABORTED error will be returned.
         *     etag: 'placeholder-value',
         *     // Optional. Indicates whether to forcefully delete the guardrail, even if it is still referenced by app/agents. * If `force = false`, the deletion fails if any apps/agents still reference the guardrail. * If `force = true`, all existing references from apps/agents will be removed and the guardrail will be deleted.
         *     force: 'placeholder-value',
         *     // Required. The resource name of the guardrail to delete.
         *     name: 'projects/my-project/locations/my-location/apps/my-app/guardrails/my-guardrail',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {}
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        delete(params: Params$Resource$Projects$Locations$Apps$Guardrails$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        delete(params?: Params$Resource$Projects$Locations$Apps$Guardrails$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
        delete(params: Params$Resource$Projects$Locations$Apps$Guardrails$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        delete(params: Params$Resource$Projects$Locations$Apps$Guardrails$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
        delete(params: Params$Resource$Projects$Locations$Apps$Guardrails$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
        delete(callback: BodyResponseCallback<Schema$Empty>): void;
        /**
         * Gets details of the specified guardrail.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.guardrails.get({
         *     // Required. The resource name of the guardrail to retrieve.
         *     name: 'projects/my-project/locations/my-location/apps/my-app/guardrails/my-guardrail',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "action": {},
         *   //   "codeCallback": {},
         *   //   "contentFilter": {},
         *   //   "createTime": "my_createTime",
         *   //   "description": "my_description",
         *   //   "displayName": "my_displayName",
         *   //   "enabled": false,
         *   //   "etag": "my_etag",
         *   //   "llmPolicy": {},
         *   //   "llmPromptSecurity": {},
         *   //   "modelSafety": {},
         *   //   "name": "my_name",
         *   //   "updateTime": "my_updateTime"
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        get(params: Params$Resource$Projects$Locations$Apps$Guardrails$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        get(params?: Params$Resource$Projects$Locations$Apps$Guardrails$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Guardrail>>;
        get(params: Params$Resource$Projects$Locations$Apps$Guardrails$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        get(params: Params$Resource$Projects$Locations$Apps$Guardrails$Get, options: MethodOptions | BodyResponseCallback<Schema$Guardrail>, callback: BodyResponseCallback<Schema$Guardrail>): void;
        get(params: Params$Resource$Projects$Locations$Apps$Guardrails$Get, callback: BodyResponseCallback<Schema$Guardrail>): void;
        get(callback: BodyResponseCallback<Schema$Guardrail>): void;
        /**
         * Lists guardrails in the given app.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.guardrails.list({
         *     // Optional. Filter to be applied when listing the guardrails. See https://google.aip.dev/160 for more details.
         *     filter: 'placeholder-value',
         *     // Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.
         *     orderBy: 'placeholder-value',
         *     // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
         *     pageSize: 'placeholder-value',
         *     // Optional. The next_page_token value returned from a previous list AgentService.ListGuardrails call.
         *     pageToken: 'placeholder-value',
         *     // Required. The resource name of the app to list guardrails from.
         *     parent: 'projects/my-project/locations/my-location/apps/my-app',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "guardrails": [],
         *   //   "nextPageToken": "my_nextPageToken"
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        list(params: Params$Resource$Projects$Locations$Apps$Guardrails$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        list(params?: Params$Resource$Projects$Locations$Apps$Guardrails$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListGuardrailsResponse>>;
        list(params: Params$Resource$Projects$Locations$Apps$Guardrails$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        list(params: Params$Resource$Projects$Locations$Apps$Guardrails$List, options: MethodOptions | BodyResponseCallback<Schema$ListGuardrailsResponse>, callback: BodyResponseCallback<Schema$ListGuardrailsResponse>): void;
        list(params: Params$Resource$Projects$Locations$Apps$Guardrails$List, callback: BodyResponseCallback<Schema$ListGuardrailsResponse>): void;
        list(callback: BodyResponseCallback<Schema$ListGuardrailsResponse>): void;
        /**
         * Updates the specified guardrail.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.guardrails.patch({
         *     // Identifier. The unique identifier of the guardrail. Format: `projects/{project\}/locations/{location\}/apps/{app\}/guardrails/{guardrail\}`
         *     name: 'projects/my-project/locations/my-location/apps/my-app/guardrails/my-guardrail',
         *     // Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
         *     updateMask: 'placeholder-value',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "action": {},
         *       //   "codeCallback": {},
         *       //   "contentFilter": {},
         *       //   "createTime": "my_createTime",
         *       //   "description": "my_description",
         *       //   "displayName": "my_displayName",
         *       //   "enabled": false,
         *       //   "etag": "my_etag",
         *       //   "llmPolicy": {},
         *       //   "llmPromptSecurity": {},
         *       //   "modelSafety": {},
         *       //   "name": "my_name",
         *       //   "updateTime": "my_updateTime"
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "action": {},
         *   //   "codeCallback": {},
         *   //   "contentFilter": {},
         *   //   "createTime": "my_createTime",
         *   //   "description": "my_description",
         *   //   "displayName": "my_displayName",
         *   //   "enabled": false,
         *   //   "etag": "my_etag",
         *   //   "llmPolicy": {},
         *   //   "llmPromptSecurity": {},
         *   //   "modelSafety": {},
         *   //   "name": "my_name",
         *   //   "updateTime": "my_updateTime"
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        patch(params: Params$Resource$Projects$Locations$Apps$Guardrails$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        patch(params?: Params$Resource$Projects$Locations$Apps$Guardrails$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Guardrail>>;
        patch(params: Params$Resource$Projects$Locations$Apps$Guardrails$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        patch(params: Params$Resource$Projects$Locations$Apps$Guardrails$Patch, options: MethodOptions | BodyResponseCallback<Schema$Guardrail>, callback: BodyResponseCallback<Schema$Guardrail>): void;
        patch(params: Params$Resource$Projects$Locations$Apps$Guardrails$Patch, callback: BodyResponseCallback<Schema$Guardrail>): void;
        patch(callback: BodyResponseCallback<Schema$Guardrail>): void;
    }
    export interface Params$Resource$Projects$Locations$Apps$Guardrails$Create extends StandardParameters {
        /**
         * Optional. The ID to use for the guardrail, which will become the final component of the guardrail's resource name. If not provided, a unique ID will be automatically assigned for the guardrail.
         */
        guardrailId?: string;
        /**
         * Required. The resource name of the app to create a guardrail in.
         */
        parent?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$Guardrail;
    }
    export interface Params$Resource$Projects$Locations$Apps$Guardrails$Delete extends StandardParameters {
        /**
         * Optional. The current etag of the guardrail. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the guardrail, deletion will be blocked and an ABORTED error will be returned.
         */
        etag?: string;
        /**
         * Optional. Indicates whether to forcefully delete the guardrail, even if it is still referenced by app/agents. * If `force = false`, the deletion fails if any apps/agents still reference the guardrail. * If `force = true`, all existing references from apps/agents will be removed and the guardrail will be deleted.
         */
        force?: boolean;
        /**
         * Required. The resource name of the guardrail to delete.
         */
        name?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Guardrails$Get extends StandardParameters {
        /**
         * Required. The resource name of the guardrail to retrieve.
         */
        name?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Guardrails$List extends StandardParameters {
        /**
         * Optional. Filter to be applied when listing the guardrails. See https://google.aip.dev/160 for more details.
         */
        filter?: string;
        /**
         * Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.
         */
        orderBy?: string;
        /**
         * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
         */
        pageSize?: number;
        /**
         * Optional. The next_page_token value returned from a previous list AgentService.ListGuardrails call.
         */
        pageToken?: string;
        /**
         * Required. The resource name of the app to list guardrails from.
         */
        parent?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Guardrails$Patch extends StandardParameters {
        /**
         * Identifier. The unique identifier of the guardrail. Format: `projects/{project\}/locations/{location\}/apps/{app\}/guardrails/{guardrail\}`
         */
        name?: string;
        /**
         * Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
         */
        updateMask?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$Guardrail;
    }
    export class Resource$Projects$Locations$Apps$Message {
        context: APIRequestContext;
        constructor(context: APIRequestContext);
        /**
         * Sends a message to an agent.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.message.send({
         *     // Optional. Opaque routing identifier. Must match the `tenant` value from the selected `AgentInterface` in the Agent Card when that field is set.
         *     tenant: 'projects/my-project/locations/my-location/apps/my-app',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "configuration": {},
         *       //   "message": {},
         *       //   "metadata": {}
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "message": {},
         *   //   "task": {}
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        send(params: Params$Resource$Projects$Locations$Apps$Message$Send, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        send(params?: Params$Resource$Projects$Locations$Apps$Message$Send, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LfA2aV1SendMessageResponse>>;
        send(params: Params$Resource$Projects$Locations$Apps$Message$Send, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        send(params: Params$Resource$Projects$Locations$Apps$Message$Send, options: MethodOptions | BodyResponseCallback<Schema$LfA2aV1SendMessageResponse>, callback: BodyResponseCallback<Schema$LfA2aV1SendMessageResponse>): void;
        send(params: Params$Resource$Projects$Locations$Apps$Message$Send, callback: BodyResponseCallback<Schema$LfA2aV1SendMessageResponse>): void;
        send(callback: BodyResponseCallback<Schema$LfA2aV1SendMessageResponse>): void;
    }
    export interface Params$Resource$Projects$Locations$Apps$Message$Send extends StandardParameters {
        /**
         * Optional. Opaque routing identifier. Must match the `tenant` value from the selected `AgentInterface` in the Agent Card when that field is set.
         */
        tenant?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$LfA2aV1SendMessageRequest;
    }
    export class Resource$Projects$Locations$Apps$Sessions {
        context: APIRequestContext;
        constructor(context: APIRequestContext);
        /**
         * Generates a session scoped token for chat widget to authenticate with Session APIs.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.sessions.generateChatToken({
         *     // Required. The session name to generate the chat token for. Format: projects/{project\}/locations/{location\}/apps/{app\}/sessions/{session\}
         *     name: 'projects/my-project/locations/my-location/apps/my-app/sessions/my-session',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "deployment": "my_deployment",
         *       //   "liveHandoffEnabled": false,
         *       //   "recaptchaToken": "my_recaptchaToken"
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "chatToken": "my_chatToken",
         *   //   "expireTime": "my_expireTime"
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        generateChatToken(params: Params$Resource$Projects$Locations$Apps$Sessions$Generatechattoken, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        generateChatToken(params?: Params$Resource$Projects$Locations$Apps$Sessions$Generatechattoken, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GenerateChatTokenResponse>>;
        generateChatToken(params: Params$Resource$Projects$Locations$Apps$Sessions$Generatechattoken, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        generateChatToken(params: Params$Resource$Projects$Locations$Apps$Sessions$Generatechattoken, options: MethodOptions | BodyResponseCallback<Schema$GenerateChatTokenResponse>, callback: BodyResponseCallback<Schema$GenerateChatTokenResponse>): void;
        generateChatToken(params: Params$Resource$Projects$Locations$Apps$Sessions$Generatechattoken, callback: BodyResponseCallback<Schema$GenerateChatTokenResponse>): void;
        generateChatToken(callback: BodyResponseCallback<Schema$GenerateChatTokenResponse>): void;
        /**
         * Initiates a single-turn interaction with the CES agent within a session.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.sessions.runSession({
         *     // Required. The unique identifier of the session. Format: `projects/{project\}/locations/{location\}/apps/{app\}/sessions/{session\}`
         *     session:
         *       'projects/my-project/locations/my-location/apps/my-app/sessions/my-session',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "config": {},
         *       //   "inputs": []
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "outputs": []
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        runSession(params: Params$Resource$Projects$Locations$Apps$Sessions$Runsession, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        runSession(params?: Params$Resource$Projects$Locations$Apps$Sessions$Runsession, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$RunSessionResponse>>;
        runSession(params: Params$Resource$Projects$Locations$Apps$Sessions$Runsession, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        runSession(params: Params$Resource$Projects$Locations$Apps$Sessions$Runsession, options: MethodOptions | BodyResponseCallback<Schema$RunSessionResponse>, callback: BodyResponseCallback<Schema$RunSessionResponse>): void;
        runSession(params: Params$Resource$Projects$Locations$Apps$Sessions$Runsession, callback: BodyResponseCallback<Schema$RunSessionResponse>): void;
        runSession(callback: BodyResponseCallback<Schema$RunSessionResponse>): void;
        /**
         * Initiates a single-turn interaction with the CES agent. Uses server-side streaming to deliver incremental results and partial responses as they are generated. By default, complete responses (e.g., messages from callbacks or full LLM responses) are sent to the client as soon as they are available. To enable streaming individual text chunks directly from the model, set enable_text_streaming to true.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.sessions.streamRunSession({
         *     // Required. The unique identifier of the session. Format: `projects/{project\}/locations/{location\}/apps/{app\}/sessions/{session\}`
         *     session:
         *       'projects/my-project/locations/my-location/apps/my-app/sessions/my-session',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "config": {},
         *       //   "inputs": []
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "outputs": []
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        streamRunSession(params: Params$Resource$Projects$Locations$Apps$Sessions$Streamrunsession, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        streamRunSession(params?: Params$Resource$Projects$Locations$Apps$Sessions$Streamrunsession, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$RunSessionResponse>>;
        streamRunSession(params: Params$Resource$Projects$Locations$Apps$Sessions$Streamrunsession, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        streamRunSession(params: Params$Resource$Projects$Locations$Apps$Sessions$Streamrunsession, options: MethodOptions | BodyResponseCallback<Schema$RunSessionResponse>, callback: BodyResponseCallback<Schema$RunSessionResponse>): void;
        streamRunSession(params: Params$Resource$Projects$Locations$Apps$Sessions$Streamrunsession, callback: BodyResponseCallback<Schema$RunSessionResponse>): void;
        streamRunSession(callback: BodyResponseCallback<Schema$RunSessionResponse>): void;
    }
    export interface Params$Resource$Projects$Locations$Apps$Sessions$Generatechattoken extends StandardParameters {
        /**
         * Required. The session name to generate the chat token for. Format: projects/{project\}/locations/{location\}/apps/{app\}/sessions/{session\}
         */
        name?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$GenerateChatTokenRequest;
    }
    export interface Params$Resource$Projects$Locations$Apps$Sessions$Runsession extends StandardParameters {
        /**
         * Required. The unique identifier of the session. Format: `projects/{project\}/locations/{location\}/apps/{app\}/sessions/{session\}`
         */
        session?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$RunSessionRequest;
    }
    export interface Params$Resource$Projects$Locations$Apps$Sessions$Streamrunsession extends StandardParameters {
        /**
         * Required. The unique identifier of the session. Format: `projects/{project\}/locations/{location\}/apps/{app\}/sessions/{session\}`
         */
        session?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$RunSessionRequest;
    }
    export class Resource$Projects$Locations$Apps$Tools {
        context: APIRequestContext;
        constructor(context: APIRequestContext);
        /**
         * Creates a new tool in the given app.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.tools.create({
         *     // Required. The resource name of the app to create a tool in.
         *     parent: 'projects/my-project/locations/my-location/apps/my-app',
         *     // Optional. The ID to use for the tool, which will become the final component of the tool's resource name. If not provided, a unique ID will be automatically assigned for the tool.
         *     toolId: 'placeholder-value',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "agentTool": {},
         *       //   "clientFunction": {},
         *       //   "connectorTool": {},
         *       //   "createTime": "my_createTime",
         *       //   "dataStoreTool": {},
         *       //   "displayName": "my_displayName",
         *       //   "etag": "my_etag",
         *       //   "executionType": "my_executionType",
         *       //   "fileSearchTool": {},
         *       //   "generatedSummary": "my_generatedSummary",
         *       //   "googleSearchTool": {},
         *       //   "mcpTool": {},
         *       //   "name": "my_name",
         *       //   "openApiTool": {},
         *       //   "pythonFunction": {},
         *       //   "remoteAgentTool": {},
         *       //   "systemTool": {},
         *       //   "timeout": "my_timeout",
         *       //   "toolFakeConfig": {},
         *       //   "updateTime": "my_updateTime",
         *       //   "widgetTool": {}
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "agentTool": {},
         *   //   "clientFunction": {},
         *   //   "connectorTool": {},
         *   //   "createTime": "my_createTime",
         *   //   "dataStoreTool": {},
         *   //   "displayName": "my_displayName",
         *   //   "etag": "my_etag",
         *   //   "executionType": "my_executionType",
         *   //   "fileSearchTool": {},
         *   //   "generatedSummary": "my_generatedSummary",
         *   //   "googleSearchTool": {},
         *   //   "mcpTool": {},
         *   //   "name": "my_name",
         *   //   "openApiTool": {},
         *   //   "pythonFunction": {},
         *   //   "remoteAgentTool": {},
         *   //   "systemTool": {},
         *   //   "timeout": "my_timeout",
         *   //   "toolFakeConfig": {},
         *   //   "updateTime": "my_updateTime",
         *   //   "widgetTool": {}
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        create(params: Params$Resource$Projects$Locations$Apps$Tools$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        create(params?: Params$Resource$Projects$Locations$Apps$Tools$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Tool>>;
        create(params: Params$Resource$Projects$Locations$Apps$Tools$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        create(params: Params$Resource$Projects$Locations$Apps$Tools$Create, options: MethodOptions | BodyResponseCallback<Schema$Tool>, callback: BodyResponseCallback<Schema$Tool>): void;
        create(params: Params$Resource$Projects$Locations$Apps$Tools$Create, callback: BodyResponseCallback<Schema$Tool>): void;
        create(callback: BodyResponseCallback<Schema$Tool>): void;
        /**
         * Deletes the specified tool.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.tools.delete({
         *     // Optional. The current etag of the tool. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the tool, deletion will be blocked and an ABORTED error will be returned.
         *     etag: 'placeholder-value',
         *     // Optional. Indicates whether to forcefully delete the tool, even if it is still referenced by agents/examples. * If `force = false`, the deletion will fail if any agents still reference the tool. * If `force = true`, all existing references from agents will be removed and the tool will be deleted.
         *     force: 'placeholder-value',
         *     // Required. The resource name of the tool to delete.
         *     name: 'projects/my-project/locations/my-location/apps/my-app/tools/my-tool',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {}
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        delete(params: Params$Resource$Projects$Locations$Apps$Tools$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        delete(params?: Params$Resource$Projects$Locations$Apps$Tools$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
        delete(params: Params$Resource$Projects$Locations$Apps$Tools$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        delete(params: Params$Resource$Projects$Locations$Apps$Tools$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
        delete(params: Params$Resource$Projects$Locations$Apps$Tools$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
        delete(callback: BodyResponseCallback<Schema$Empty>): void;
        /**
         * Gets details of the specified tool.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.tools.get({
         *     // Required. The resource name of the tool to retrieve.
         *     name: 'projects/my-project/locations/my-location/apps/my-app/tools/my-tool',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "agentTool": {},
         *   //   "clientFunction": {},
         *   //   "connectorTool": {},
         *   //   "createTime": "my_createTime",
         *   //   "dataStoreTool": {},
         *   //   "displayName": "my_displayName",
         *   //   "etag": "my_etag",
         *   //   "executionType": "my_executionType",
         *   //   "fileSearchTool": {},
         *   //   "generatedSummary": "my_generatedSummary",
         *   //   "googleSearchTool": {},
         *   //   "mcpTool": {},
         *   //   "name": "my_name",
         *   //   "openApiTool": {},
         *   //   "pythonFunction": {},
         *   //   "remoteAgentTool": {},
         *   //   "systemTool": {},
         *   //   "timeout": "my_timeout",
         *   //   "toolFakeConfig": {},
         *   //   "updateTime": "my_updateTime",
         *   //   "widgetTool": {}
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        get(params: Params$Resource$Projects$Locations$Apps$Tools$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        get(params?: Params$Resource$Projects$Locations$Apps$Tools$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Tool>>;
        get(params: Params$Resource$Projects$Locations$Apps$Tools$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        get(params: Params$Resource$Projects$Locations$Apps$Tools$Get, options: MethodOptions | BodyResponseCallback<Schema$Tool>, callback: BodyResponseCallback<Schema$Tool>): void;
        get(params: Params$Resource$Projects$Locations$Apps$Tools$Get, callback: BodyResponseCallback<Schema$Tool>): void;
        get(callback: BodyResponseCallback<Schema$Tool>): void;
        /**
         * Lists tools in the given app.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.tools.list({
         *     // Optional. Filter to be applied when listing the tools. Use "include_system_tools=true" to include system tools in the response. See https://google.aip.dev/160 for more details.
         *     filter: 'placeholder-value',
         *     // Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.
         *     orderBy: 'placeholder-value',
         *     // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
         *     pageSize: 'placeholder-value',
         *     // Optional. The next_page_token value returned from a previous list AgentService.ListTools call.
         *     pageToken: 'placeholder-value',
         *     // Required. The resource name of the app to list tools from.
         *     parent: 'projects/my-project/locations/my-location/apps/my-app',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "nextPageToken": "my_nextPageToken",
         *   //   "tools": []
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        list(params: Params$Resource$Projects$Locations$Apps$Tools$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        list(params?: Params$Resource$Projects$Locations$Apps$Tools$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListToolsResponse>>;
        list(params: Params$Resource$Projects$Locations$Apps$Tools$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        list(params: Params$Resource$Projects$Locations$Apps$Tools$List, options: MethodOptions | BodyResponseCallback<Schema$ListToolsResponse>, callback: BodyResponseCallback<Schema$ListToolsResponse>): void;
        list(params: Params$Resource$Projects$Locations$Apps$Tools$List, callback: BodyResponseCallback<Schema$ListToolsResponse>): void;
        list(callback: BodyResponseCallback<Schema$ListToolsResponse>): void;
        /**
         * Updates the specified tool.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.tools.patch({
         *     // Identifier. The resource name of the tool. Format: * `projects/{project\}/locations/{location\}/apps/{app\}/tools/{tool\}` for standalone tools. * `projects/{project\}/locations/{location\}/apps/{app\}/toolsets/{toolset\}/tools/{tool\}` for tools retrieved from a toolset. These tools are dynamic and output-only; they cannot be referenced directly where a tool is expected.
         *     name: 'projects/my-project/locations/my-location/apps/my-app/tools/my-tool',
         *     // Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
         *     updateMask: 'placeholder-value',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "agentTool": {},
         *       //   "clientFunction": {},
         *       //   "connectorTool": {},
         *       //   "createTime": "my_createTime",
         *       //   "dataStoreTool": {},
         *       //   "displayName": "my_displayName",
         *       //   "etag": "my_etag",
         *       //   "executionType": "my_executionType",
         *       //   "fileSearchTool": {},
         *       //   "generatedSummary": "my_generatedSummary",
         *       //   "googleSearchTool": {},
         *       //   "mcpTool": {},
         *       //   "name": "my_name",
         *       //   "openApiTool": {},
         *       //   "pythonFunction": {},
         *       //   "remoteAgentTool": {},
         *       //   "systemTool": {},
         *       //   "timeout": "my_timeout",
         *       //   "toolFakeConfig": {},
         *       //   "updateTime": "my_updateTime",
         *       //   "widgetTool": {}
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "agentTool": {},
         *   //   "clientFunction": {},
         *   //   "connectorTool": {},
         *   //   "createTime": "my_createTime",
         *   //   "dataStoreTool": {},
         *   //   "displayName": "my_displayName",
         *   //   "etag": "my_etag",
         *   //   "executionType": "my_executionType",
         *   //   "fileSearchTool": {},
         *   //   "generatedSummary": "my_generatedSummary",
         *   //   "googleSearchTool": {},
         *   //   "mcpTool": {},
         *   //   "name": "my_name",
         *   //   "openApiTool": {},
         *   //   "pythonFunction": {},
         *   //   "remoteAgentTool": {},
         *   //   "systemTool": {},
         *   //   "timeout": "my_timeout",
         *   //   "toolFakeConfig": {},
         *   //   "updateTime": "my_updateTime",
         *   //   "widgetTool": {}
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        patch(params: Params$Resource$Projects$Locations$Apps$Tools$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        patch(params?: Params$Resource$Projects$Locations$Apps$Tools$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Tool>>;
        patch(params: Params$Resource$Projects$Locations$Apps$Tools$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        patch(params: Params$Resource$Projects$Locations$Apps$Tools$Patch, options: MethodOptions | BodyResponseCallback<Schema$Tool>, callback: BodyResponseCallback<Schema$Tool>): void;
        patch(params: Params$Resource$Projects$Locations$Apps$Tools$Patch, callback: BodyResponseCallback<Schema$Tool>): void;
        patch(callback: BodyResponseCallback<Schema$Tool>): void;
    }
    export interface Params$Resource$Projects$Locations$Apps$Tools$Create extends StandardParameters {
        /**
         * Required. The resource name of the app to create a tool in.
         */
        parent?: string;
        /**
         * Optional. The ID to use for the tool, which will become the final component of the tool's resource name. If not provided, a unique ID will be automatically assigned for the tool.
         */
        toolId?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$Tool;
    }
    export interface Params$Resource$Projects$Locations$Apps$Tools$Delete extends StandardParameters {
        /**
         * Optional. The current etag of the tool. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the tool, deletion will be blocked and an ABORTED error will be returned.
         */
        etag?: string;
        /**
         * Optional. Indicates whether to forcefully delete the tool, even if it is still referenced by agents/examples. * If `force = false`, the deletion will fail if any agents still reference the tool. * If `force = true`, all existing references from agents will be removed and the tool will be deleted.
         */
        force?: boolean;
        /**
         * Required. The resource name of the tool to delete.
         */
        name?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Tools$Get extends StandardParameters {
        /**
         * Required. The resource name of the tool to retrieve.
         */
        name?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Tools$List extends StandardParameters {
        /**
         * Optional. Filter to be applied when listing the tools. Use "include_system_tools=true" to include system tools in the response. See https://google.aip.dev/160 for more details.
         */
        filter?: string;
        /**
         * Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.
         */
        orderBy?: string;
        /**
         * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
         */
        pageSize?: number;
        /**
         * Optional. The next_page_token value returned from a previous list AgentService.ListTools call.
         */
        pageToken?: string;
        /**
         * Required. The resource name of the app to list tools from.
         */
        parent?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Tools$Patch extends StandardParameters {
        /**
         * Identifier. The resource name of the tool. Format: * `projects/{project\}/locations/{location\}/apps/{app\}/tools/{tool\}` for standalone tools. * `projects/{project\}/locations/{location\}/apps/{app\}/toolsets/{toolset\}/tools/{tool\}` for tools retrieved from a toolset. These tools are dynamic and output-only; they cannot be referenced directly where a tool is expected.
         */
        name?: string;
        /**
         * Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
         */
        updateMask?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$Tool;
    }
    export class Resource$Projects$Locations$Apps$Toolsets {
        context: APIRequestContext;
        constructor(context: APIRequestContext);
        /**
         * Creates a new toolset in the given app.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.toolsets.create({
         *     // Required. The resource name of the app to create a toolset in.
         *     parent: 'projects/my-project/locations/my-location/apps/my-app',
         *     // Optional. The ID to use for the toolset, which will become the final component of the toolset's resource name. If not provided, a unique ID will be automatically assigned for the toolset.
         *     toolsetId: 'placeholder-value',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "connectorToolset": {},
         *       //   "createTime": "my_createTime",
         *       //   "description": "my_description",
         *       //   "displayName": "my_displayName",
         *       //   "etag": "my_etag",
         *       //   "executionType": "my_executionType",
         *       //   "mcpToolset": {},
         *       //   "name": "my_name",
         *       //   "openApiToolset": {},
         *       //   "timeout": "my_timeout",
         *       //   "toolFakeConfig": {},
         *       //   "updateTime": "my_updateTime"
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "connectorToolset": {},
         *   //   "createTime": "my_createTime",
         *   //   "description": "my_description",
         *   //   "displayName": "my_displayName",
         *   //   "etag": "my_etag",
         *   //   "executionType": "my_executionType",
         *   //   "mcpToolset": {},
         *   //   "name": "my_name",
         *   //   "openApiToolset": {},
         *   //   "timeout": "my_timeout",
         *   //   "toolFakeConfig": {},
         *   //   "updateTime": "my_updateTime"
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        create(params: Params$Resource$Projects$Locations$Apps$Toolsets$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        create(params?: Params$Resource$Projects$Locations$Apps$Toolsets$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Toolset>>;
        create(params: Params$Resource$Projects$Locations$Apps$Toolsets$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        create(params: Params$Resource$Projects$Locations$Apps$Toolsets$Create, options: MethodOptions | BodyResponseCallback<Schema$Toolset>, callback: BodyResponseCallback<Schema$Toolset>): void;
        create(params: Params$Resource$Projects$Locations$Apps$Toolsets$Create, callback: BodyResponseCallback<Schema$Toolset>): void;
        create(callback: BodyResponseCallback<Schema$Toolset>): void;
        /**
         * Deletes the specified toolset.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.toolsets.delete({
         *     // Optional. The current etag of the toolset. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the toolset, deletion will be blocked and an ABORTED error will be returned.
         *     etag: 'placeholder-value',
         *     // Optional. Indicates whether to forcefully delete the toolset, even if it is still referenced by app/agents. * If `force = false`, the deletion fails if any agents still reference the toolset. * If `force = true`, all existing references from agents will be removed and the toolset will be deleted.
         *     force: 'placeholder-value',
         *     // Required. The resource name of the toolset to delete.
         *     name: 'projects/my-project/locations/my-location/apps/my-app/toolsets/my-toolset',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {}
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        delete(params: Params$Resource$Projects$Locations$Apps$Toolsets$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        delete(params?: Params$Resource$Projects$Locations$Apps$Toolsets$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
        delete(params: Params$Resource$Projects$Locations$Apps$Toolsets$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        delete(params: Params$Resource$Projects$Locations$Apps$Toolsets$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
        delete(params: Params$Resource$Projects$Locations$Apps$Toolsets$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
        delete(callback: BodyResponseCallback<Schema$Empty>): void;
        /**
         * Gets details of the specified toolset.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.toolsets.get({
         *     // Required. The resource name of the toolset to retrieve.
         *     name: 'projects/my-project/locations/my-location/apps/my-app/toolsets/my-toolset',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "connectorToolset": {},
         *   //   "createTime": "my_createTime",
         *   //   "description": "my_description",
         *   //   "displayName": "my_displayName",
         *   //   "etag": "my_etag",
         *   //   "executionType": "my_executionType",
         *   //   "mcpToolset": {},
         *   //   "name": "my_name",
         *   //   "openApiToolset": {},
         *   //   "timeout": "my_timeout",
         *   //   "toolFakeConfig": {},
         *   //   "updateTime": "my_updateTime"
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        get(params: Params$Resource$Projects$Locations$Apps$Toolsets$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        get(params?: Params$Resource$Projects$Locations$Apps$Toolsets$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Toolset>>;
        get(params: Params$Resource$Projects$Locations$Apps$Toolsets$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        get(params: Params$Resource$Projects$Locations$Apps$Toolsets$Get, options: MethodOptions | BodyResponseCallback<Schema$Toolset>, callback: BodyResponseCallback<Schema$Toolset>): void;
        get(params: Params$Resource$Projects$Locations$Apps$Toolsets$Get, callback: BodyResponseCallback<Schema$Toolset>): void;
        get(callback: BodyResponseCallback<Schema$Toolset>): void;
        /**
         * Lists toolsets in the given app.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.toolsets.list({
         *     // Optional. Filter to be applied when listing the toolsets. See https://google.aip.dev/160 for more details.
         *     filter: 'placeholder-value',
         *     // Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.
         *     orderBy: 'placeholder-value',
         *     // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
         *     pageSize: 'placeholder-value',
         *     // Optional. The next_page_token value returned from a previous list AgentService.ListToolsets call.
         *     pageToken: 'placeholder-value',
         *     // Required. The resource name of the app to list toolsets from.
         *     parent: 'projects/my-project/locations/my-location/apps/my-app',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "nextPageToken": "my_nextPageToken",
         *   //   "toolsets": []
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        list(params: Params$Resource$Projects$Locations$Apps$Toolsets$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        list(params?: Params$Resource$Projects$Locations$Apps$Toolsets$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListToolsetsResponse>>;
        list(params: Params$Resource$Projects$Locations$Apps$Toolsets$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        list(params: Params$Resource$Projects$Locations$Apps$Toolsets$List, options: MethodOptions | BodyResponseCallback<Schema$ListToolsetsResponse>, callback: BodyResponseCallback<Schema$ListToolsetsResponse>): void;
        list(params: Params$Resource$Projects$Locations$Apps$Toolsets$List, callback: BodyResponseCallback<Schema$ListToolsetsResponse>): void;
        list(callback: BodyResponseCallback<Schema$ListToolsetsResponse>): void;
        /**
         * Updates the specified toolset.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.toolsets.patch({
         *     // Identifier. The unique identifier of the toolset. Format: `projects/{project\}/locations/{location\}/apps/{app\}/toolsets/{toolset\}`
         *     name: 'projects/my-project/locations/my-location/apps/my-app/toolsets/my-toolset',
         *     // Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
         *     updateMask: 'placeholder-value',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "connectorToolset": {},
         *       //   "createTime": "my_createTime",
         *       //   "description": "my_description",
         *       //   "displayName": "my_displayName",
         *       //   "etag": "my_etag",
         *       //   "executionType": "my_executionType",
         *       //   "mcpToolset": {},
         *       //   "name": "my_name",
         *       //   "openApiToolset": {},
         *       //   "timeout": "my_timeout",
         *       //   "toolFakeConfig": {},
         *       //   "updateTime": "my_updateTime"
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "connectorToolset": {},
         *   //   "createTime": "my_createTime",
         *   //   "description": "my_description",
         *   //   "displayName": "my_displayName",
         *   //   "etag": "my_etag",
         *   //   "executionType": "my_executionType",
         *   //   "mcpToolset": {},
         *   //   "name": "my_name",
         *   //   "openApiToolset": {},
         *   //   "timeout": "my_timeout",
         *   //   "toolFakeConfig": {},
         *   //   "updateTime": "my_updateTime"
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        patch(params: Params$Resource$Projects$Locations$Apps$Toolsets$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        patch(params?: Params$Resource$Projects$Locations$Apps$Toolsets$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Toolset>>;
        patch(params: Params$Resource$Projects$Locations$Apps$Toolsets$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        patch(params: Params$Resource$Projects$Locations$Apps$Toolsets$Patch, options: MethodOptions | BodyResponseCallback<Schema$Toolset>, callback: BodyResponseCallback<Schema$Toolset>): void;
        patch(params: Params$Resource$Projects$Locations$Apps$Toolsets$Patch, callback: BodyResponseCallback<Schema$Toolset>): void;
        patch(callback: BodyResponseCallback<Schema$Toolset>): void;
        /**
         * Retrieve the list of tools included in the specified toolset.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.toolsets.retrieveTools({
         *     // Required. The name of the toolset to retrieve the tools for. Format: `projects/{project\}/locations/{location\}/apps/{app\}/toolsets/{toolset\}`
         *     toolset:
         *       'projects/my-project/locations/my-location/apps/my-app/toolsets/my-toolset',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "bypassPersistenceConfig": false,
         *       //   "toolIds": []
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "tools": []
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        retrieveTools(params: Params$Resource$Projects$Locations$Apps$Toolsets$Retrievetools, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        retrieveTools(params?: Params$Resource$Projects$Locations$Apps$Toolsets$Retrievetools, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$RetrieveToolsResponse>>;
        retrieveTools(params: Params$Resource$Projects$Locations$Apps$Toolsets$Retrievetools, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        retrieveTools(params: Params$Resource$Projects$Locations$Apps$Toolsets$Retrievetools, options: MethodOptions | BodyResponseCallback<Schema$RetrieveToolsResponse>, callback: BodyResponseCallback<Schema$RetrieveToolsResponse>): void;
        retrieveTools(params: Params$Resource$Projects$Locations$Apps$Toolsets$Retrievetools, callback: BodyResponseCallback<Schema$RetrieveToolsResponse>): void;
        retrieveTools(callback: BodyResponseCallback<Schema$RetrieveToolsResponse>): void;
    }
    export interface Params$Resource$Projects$Locations$Apps$Toolsets$Create extends StandardParameters {
        /**
         * Required. The resource name of the app to create a toolset in.
         */
        parent?: string;
        /**
         * Optional. The ID to use for the toolset, which will become the final component of the toolset's resource name. If not provided, a unique ID will be automatically assigned for the toolset.
         */
        toolsetId?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$Toolset;
    }
    export interface Params$Resource$Projects$Locations$Apps$Toolsets$Delete extends StandardParameters {
        /**
         * Optional. The current etag of the toolset. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the toolset, deletion will be blocked and an ABORTED error will be returned.
         */
        etag?: string;
        /**
         * Optional. Indicates whether to forcefully delete the toolset, even if it is still referenced by app/agents. * If `force = false`, the deletion fails if any agents still reference the toolset. * If `force = true`, all existing references from agents will be removed and the toolset will be deleted.
         */
        force?: boolean;
        /**
         * Required. The resource name of the toolset to delete.
         */
        name?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Toolsets$Get extends StandardParameters {
        /**
         * Required. The resource name of the toolset to retrieve.
         */
        name?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Toolsets$List extends StandardParameters {
        /**
         * Optional. Filter to be applied when listing the toolsets. See https://google.aip.dev/160 for more details.
         */
        filter?: string;
        /**
         * Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.
         */
        orderBy?: string;
        /**
         * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
         */
        pageSize?: number;
        /**
         * Optional. The next_page_token value returned from a previous list AgentService.ListToolsets call.
         */
        pageToken?: string;
        /**
         * Required. The resource name of the app to list toolsets from.
         */
        parent?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Toolsets$Patch extends StandardParameters {
        /**
         * Identifier. The unique identifier of the toolset. Format: `projects/{project\}/locations/{location\}/apps/{app\}/toolsets/{toolset\}`
         */
        name?: string;
        /**
         * Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
         */
        updateMask?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$Toolset;
    }
    export interface Params$Resource$Projects$Locations$Apps$Toolsets$Retrievetools extends StandardParameters {
        /**
         * Required. The name of the toolset to retrieve the tools for. Format: `projects/{project\}/locations/{location\}/apps/{app\}/toolsets/{toolset\}`
         */
        toolset?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$RetrieveToolsRequest;
    }
    export class Resource$Projects$Locations$Apps$Versions {
        context: APIRequestContext;
        message: Resource$Projects$Locations$Apps$Versions$Message;
        constructor(context: APIRequestContext);
        /**
         * Creates a new app version in the given app.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.versions.create({
         *     // Optional. The ID to use for the app version, which will become the final component of the app version's resource name. If not provided, a unique ID will be automatically assigned for the app version.
         *     appVersionId: 'placeholder-value',
         *     // Required. The resource name of the app to create an app version in.
         *     parent: 'projects/my-project/locations/my-location/apps/my-app',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "createTime": "my_createTime",
         *       //   "creator": "my_creator",
         *       //   "description": "my_description",
         *       //   "displayName": "my_displayName",
         *       //   "etag": "my_etag",
         *       //   "name": "my_name",
         *       //   "snapshot": {}
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "createTime": "my_createTime",
         *   //   "creator": "my_creator",
         *   //   "description": "my_description",
         *   //   "displayName": "my_displayName",
         *   //   "etag": "my_etag",
         *   //   "name": "my_name",
         *   //   "snapshot": {}
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        create(params: Params$Resource$Projects$Locations$Apps$Versions$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        create(params?: Params$Resource$Projects$Locations$Apps$Versions$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AppVersion>>;
        create(params: Params$Resource$Projects$Locations$Apps$Versions$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        create(params: Params$Resource$Projects$Locations$Apps$Versions$Create, options: MethodOptions | BodyResponseCallback<Schema$AppVersion>, callback: BodyResponseCallback<Schema$AppVersion>): void;
        create(params: Params$Resource$Projects$Locations$Apps$Versions$Create, callback: BodyResponseCallback<Schema$AppVersion>): void;
        create(callback: BodyResponseCallback<Schema$AppVersion>): void;
        /**
         * Deletes the specified app version.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.versions.delete({
         *     // Optional. The current etag of the app version. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the app version, deletion will be blocked and an ABORTED error will be returned.
         *     etag: 'placeholder-value',
         *     // Required. The resource name of the app version to delete.
         *     name: 'projects/my-project/locations/my-location/apps/my-app/versions/my-version',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {}
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        delete(params: Params$Resource$Projects$Locations$Apps$Versions$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        delete(params?: Params$Resource$Projects$Locations$Apps$Versions$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
        delete(params: Params$Resource$Projects$Locations$Apps$Versions$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        delete(params: Params$Resource$Projects$Locations$Apps$Versions$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
        delete(params: Params$Resource$Projects$Locations$Apps$Versions$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
        delete(callback: BodyResponseCallback<Schema$Empty>): void;
        /**
         * Gets details of the specified app version.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.versions.get({
         *     // Required. The resource name of the app version to retrieve.
         *     name: 'projects/my-project/locations/my-location/apps/my-app/versions/my-version',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "createTime": "my_createTime",
         *   //   "creator": "my_creator",
         *   //   "description": "my_description",
         *   //   "displayName": "my_displayName",
         *   //   "etag": "my_etag",
         *   //   "name": "my_name",
         *   //   "snapshot": {}
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        get(params: Params$Resource$Projects$Locations$Apps$Versions$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        get(params?: Params$Resource$Projects$Locations$Apps$Versions$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AppVersion>>;
        get(params: Params$Resource$Projects$Locations$Apps$Versions$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        get(params: Params$Resource$Projects$Locations$Apps$Versions$Get, options: MethodOptions | BodyResponseCallback<Schema$AppVersion>, callback: BodyResponseCallback<Schema$AppVersion>): void;
        get(params: Params$Resource$Projects$Locations$Apps$Versions$Get, callback: BodyResponseCallback<Schema$AppVersion>): void;
        get(callback: BodyResponseCallback<Schema$AppVersion>): void;
        /**
         * Gets the extended agent card for the authenticated agent.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.versions.getExtendedAgentCard({
         *     // Optional. Opaque routing identifier. Must match the `tenant` value from the selected `AgentInterface` in the Agent Card when that field is set.
         *     tenant:
         *       'projects/my-project/locations/my-location/apps/my-app/versions/my-version',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "capabilities": {},
         *   //   "defaultInputModes": [],
         *   //   "defaultOutputModes": [],
         *   //   "description": "my_description",
         *   //   "documentationUrl": "my_documentationUrl",
         *   //   "iconUrl": "my_iconUrl",
         *   //   "name": "my_name",
         *   //   "provider": {},
         *   //   "securityRequirements": [],
         *   //   "securitySchemes": {},
         *   //   "signatures": [],
         *   //   "skills": [],
         *   //   "supportedInterfaces": [],
         *   //   "version": "my_version"
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        getExtendedAgentCard(params: Params$Resource$Projects$Locations$Apps$Versions$Getextendedagentcard, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        getExtendedAgentCard(params?: Params$Resource$Projects$Locations$Apps$Versions$Getextendedagentcard, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LfA2aV1AgentCard>>;
        getExtendedAgentCard(params: Params$Resource$Projects$Locations$Apps$Versions$Getextendedagentcard, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        getExtendedAgentCard(params: Params$Resource$Projects$Locations$Apps$Versions$Getextendedagentcard, options: MethodOptions | BodyResponseCallback<Schema$LfA2aV1AgentCard>, callback: BodyResponseCallback<Schema$LfA2aV1AgentCard>): void;
        getExtendedAgentCard(params: Params$Resource$Projects$Locations$Apps$Versions$Getextendedagentcard, callback: BodyResponseCallback<Schema$LfA2aV1AgentCard>): void;
        getExtendedAgentCard(callback: BodyResponseCallback<Schema$LfA2aV1AgentCard>): void;
        /**
         * Lists all app versions in the given app.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.versions.list({
         *     // Optional. Filter to be applied when listing the app versions. See https://google.aip.dev/160 for more details.
         *     filter: 'placeholder-value',
         *     // Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.
         *     orderBy: 'placeholder-value',
         *     // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
         *     pageSize: 'placeholder-value',
         *     // Optional. The next_page_token value returned from a previous list AgentService.ListAppVersions call.
         *     pageToken: 'placeholder-value',
         *     // Required. The resource name of the app to list app versions from.
         *     parent: 'projects/my-project/locations/my-location/apps/my-app',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "appVersions": [],
         *   //   "nextPageToken": "my_nextPageToken"
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        list(params: Params$Resource$Projects$Locations$Apps$Versions$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        list(params?: Params$Resource$Projects$Locations$Apps$Versions$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListAppVersionsResponse>>;
        list(params: Params$Resource$Projects$Locations$Apps$Versions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        list(params: Params$Resource$Projects$Locations$Apps$Versions$List, options: MethodOptions | BodyResponseCallback<Schema$ListAppVersionsResponse>, callback: BodyResponseCallback<Schema$ListAppVersionsResponse>): void;
        list(params: Params$Resource$Projects$Locations$Apps$Versions$List, callback: BodyResponseCallback<Schema$ListAppVersionsResponse>): void;
        list(callback: BodyResponseCallback<Schema$ListAppVersionsResponse>): void;
        /**
         * Restores the specified app version. This will create a new app version from the current draft app and overwrite the current draft with the specified app version.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.versions.restore({
         *     // Required. The resource name of the app version to restore.
         *     name: 'projects/my-project/locations/my-location/apps/my-app/versions/my-version',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {}
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "done": false,
         *   //   "error": {},
         *   //   "metadata": {},
         *   //   "name": "my_name",
         *   //   "response": {}
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        restore(params: Params$Resource$Projects$Locations$Apps$Versions$Restore, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        restore(params?: Params$Resource$Projects$Locations$Apps$Versions$Restore, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
        restore(params: Params$Resource$Projects$Locations$Apps$Versions$Restore, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        restore(params: Params$Resource$Projects$Locations$Apps$Versions$Restore, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
        restore(params: Params$Resource$Projects$Locations$Apps$Versions$Restore, callback: BodyResponseCallback<Schema$Operation>): void;
        restore(callback: BodyResponseCallback<Schema$Operation>): void;
    }
    export interface Params$Resource$Projects$Locations$Apps$Versions$Create extends StandardParameters {
        /**
         * Optional. The ID to use for the app version, which will become the final component of the app version's resource name. If not provided, a unique ID will be automatically assigned for the app version.
         */
        appVersionId?: string;
        /**
         * Required. The resource name of the app to create an app version in.
         */
        parent?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$AppVersion;
    }
    export interface Params$Resource$Projects$Locations$Apps$Versions$Delete extends StandardParameters {
        /**
         * Optional. The current etag of the app version. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the app version, deletion will be blocked and an ABORTED error will be returned.
         */
        etag?: string;
        /**
         * Required. The resource name of the app version to delete.
         */
        name?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Versions$Get extends StandardParameters {
        /**
         * Required. The resource name of the app version to retrieve.
         */
        name?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Versions$Getextendedagentcard extends StandardParameters {
        /**
         * Optional. Opaque routing identifier. Must match the `tenant` value from the selected `AgentInterface` in the Agent Card when that field is set.
         */
        tenant?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Versions$List extends StandardParameters {
        /**
         * Optional. Filter to be applied when listing the app versions. See https://google.aip.dev/160 for more details.
         */
        filter?: string;
        /**
         * Optional. Field to sort by. Only "name" and "create_time" is supported. See https://google.aip.dev/132#ordering for more details.
         */
        orderBy?: string;
        /**
         * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
         */
        pageSize?: number;
        /**
         * Optional. The next_page_token value returned from a previous list AgentService.ListAppVersions call.
         */
        pageToken?: string;
        /**
         * Required. The resource name of the app to list app versions from.
         */
        parent?: string;
    }
    export interface Params$Resource$Projects$Locations$Apps$Versions$Restore extends StandardParameters {
        /**
         * Required. The resource name of the app version to restore.
         */
        name?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$RestoreAppVersionRequest;
    }
    export class Resource$Projects$Locations$Apps$Versions$Message {
        context: APIRequestContext;
        constructor(context: APIRequestContext);
        /**
         * Sends a message to an agent.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.apps.versions.message.send({
         *     // Optional. Opaque routing identifier. Must match the `tenant` value from the selected `AgentInterface` in the Agent Card when that field is set.
         *     tenant:
         *       'projects/my-project/locations/my-location/apps/my-app/versions/my-version',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {
         *       //   "configuration": {},
         *       //   "message": {},
         *       //   "metadata": {}
         *       // }
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "message": {},
         *   //   "task": {}
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        send(params: Params$Resource$Projects$Locations$Apps$Versions$Message$Send, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        send(params?: Params$Resource$Projects$Locations$Apps$Versions$Message$Send, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$LfA2aV1SendMessageResponse>>;
        send(params: Params$Resource$Projects$Locations$Apps$Versions$Message$Send, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        send(params: Params$Resource$Projects$Locations$Apps$Versions$Message$Send, options: MethodOptions | BodyResponseCallback<Schema$LfA2aV1SendMessageResponse>, callback: BodyResponseCallback<Schema$LfA2aV1SendMessageResponse>): void;
        send(params: Params$Resource$Projects$Locations$Apps$Versions$Message$Send, callback: BodyResponseCallback<Schema$LfA2aV1SendMessageResponse>): void;
        send(callback: BodyResponseCallback<Schema$LfA2aV1SendMessageResponse>): void;
    }
    export interface Params$Resource$Projects$Locations$Apps$Versions$Message$Send extends StandardParameters {
        /**
         * Optional. Opaque routing identifier. Must match the `tenant` value from the selected `AgentInterface` in the Agent Card when that field is set.
         */
        tenant?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$LfA2aV1SendMessageRequest;
    }
    export class Resource$Projects$Locations$Operations {
        context: APIRequestContext;
        constructor(context: APIRequestContext);
        /**
         * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.operations.cancel({
         *     // The name of the operation resource to be cancelled.
         *     name: 'projects/my-project/locations/my-location/operations/my-operation',
         *
         *     // Request body metadata
         *     requestBody: {
         *       // request body parameters
         *       // {}
         *     },
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {}
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        cancel(params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
        cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
        cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
        cancel(callback: BodyResponseCallback<Schema$Empty>): void;
        /**
         * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.operations.delete({
         *     // The name of the operation resource to be deleted.
         *     name: 'projects/my-project/locations/my-location/operations/my-operation',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {}
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        delete(params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
        delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
        delete(params: Params$Resource$Projects$Locations$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
        delete(callback: BodyResponseCallback<Schema$Empty>): void;
        /**
         * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.operations.get({
         *     // The name of the operation resource.
         *     name: 'projects/my-project/locations/my-location/operations/my-operation',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "done": false,
         *   //   "error": {},
         *   //   "metadata": {},
         *   //   "name": "my_name",
         *   //   "response": {}
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        get(params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
        get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        get(params: Params$Resource$Projects$Locations$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
        get(params: Params$Resource$Projects$Locations$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
        get(callback: BodyResponseCallback<Schema$Operation>): void;
        /**
         * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
         * @example
         * ```js
         * // Before running the sample:
         * // - Enable the API at:
         * //   https://console.developers.google.com/apis/api/ces.googleapis.com
         * // - Login into gcloud by running:
         * //   ```sh
         * //   $ gcloud auth application-default login
         * //   ```
         * // - Install the npm module by running:
         * //   ```sh
         * //   $ npm install googleapis
         * //   ```
         *
         * const {google} = require('googleapis');
         * const ces = google.ces('v1');
         *
         * async function main() {
         *   const auth = new google.auth.GoogleAuth({
         *     // Scopes can be specified either as an array or as a single, space-delimited string.
         *     scopes: [
         *       'https://www.googleapis.com/auth/ces',
         *       'https://www.googleapis.com/auth/cloud-platform',
         *     ],
         *   });
         *
         *   // Acquire an auth client, and bind it to all future calls
         *   const authClient = await auth.getClient();
         *   google.options({auth: authClient});
         *
         *   // Do the magic
         *   const res = await ces.projects.locations.operations.list({
         *     // The standard list filter.
         *     filter: 'placeholder-value',
         *     // The name of the operation's parent resource.
         *     name: 'projects/my-project/locations/my-location',
         *     // The standard list page size.
         *     pageSize: 'placeholder-value',
         *     // The standard list page token.
         *     pageToken: 'placeholder-value',
         *     // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
         *     returnPartialSuccess: 'placeholder-value',
         *   });
         *   console.log(res.data);
         *
         *   // Example response
         *   // {
         *   //   "nextPageToken": "my_nextPageToken",
         *   //   "operations": [],
         *   //   "unreachable": []
         *   // }
         * }
         *
         * main().catch(e => {
         *   console.error(e);
         *   throw e;
         * });
         *
         * ```
         *
         * @param params - Parameters for request
         * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param callback - Optional callback that handles the response.
         * @returns A promise if used with async/await, or void if used with a callback.
         */
        list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
        list(params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
        list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
        list(params: Params$Resource$Projects$Locations$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
        list(params: Params$Resource$Projects$Locations$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
        list(callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
    }
    export interface Params$Resource$Projects$Locations$Operations$Cancel extends StandardParameters {
        /**
         * The name of the operation resource to be cancelled.
         */
        name?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$CancelOperationRequest;
    }
    export interface Params$Resource$Projects$Locations$Operations$Delete extends StandardParameters {
        /**
         * The name of the operation resource to be deleted.
         */
        name?: string;
    }
    export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters {
        /**
         * The name of the operation resource.
         */
        name?: string;
    }
    export interface Params$Resource$Projects$Locations$Operations$List extends StandardParameters {
        /**
         * The standard list filter.
         */
        filter?: string;
        /**
         * The name of the operation's parent resource.
         */
        name?: string;
        /**
         * The standard list page size.
         */
        pageSize?: number;
        /**
         * The standard list page token.
         */
        pageToken?: string;
        /**
         * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
         */
        returnPartialSuccess?: boolean;
    }
    export {};
}
