@maxim_mazurok/gapi.client.ces-v1 0.5.20260708 → 0.5.20260730
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +35 -13
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://ces.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260730
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -597,6 +597,8 @@ declare namespace gapi.client {
|
|
|
597
597
|
messages?: Message[];
|
|
598
598
|
/** Optional. The root span of the action processing. */
|
|
599
599
|
rootSpan?: Span;
|
|
600
|
+
/** Optional. The intended ground-truth text from the Simulated Caller (Polysynth). Only populated when word error rate metrics are enabled. */
|
|
601
|
+
userIntendedText?: string;
|
|
600
602
|
}
|
|
601
603
|
interface DataStore {
|
|
602
604
|
/** Output only. The connector config for the data store connection. */
|
|
@@ -716,6 +718,8 @@ declare namespace gapi.client {
|
|
|
716
718
|
modalityType?: 'MODALITY_TYPE_UNSPECIFIED' | 'TEXT' | 'AUDIO';
|
|
717
719
|
/** Optional. The rewriter config. */
|
|
718
720
|
rewriterConfig?: DataStoreToolRewriterConfig;
|
|
721
|
+
/** Optional. The snippets configuration. */
|
|
722
|
+
snippetsConfig?: DataStoreToolSnippetsConfig;
|
|
719
723
|
/** Optional. The summarization config. */
|
|
720
724
|
summarizationConfig?: DataStoreToolSummarizationConfig;
|
|
721
725
|
}
|
|
@@ -727,6 +731,10 @@ declare namespace gapi.client {
|
|
|
727
731
|
/** Optional. The prompt definition. If not set, default prompt will be used. */
|
|
728
732
|
prompt?: string;
|
|
729
733
|
}
|
|
734
|
+
interface DataStoreToolSnippetsConfig {
|
|
735
|
+
/** Optional. Whether snippets are enabled. */
|
|
736
|
+
enableSnippets?: boolean;
|
|
737
|
+
}
|
|
730
738
|
interface DataStoreToolSummarizationConfig {
|
|
731
739
|
/** Optional. Whether summarization is disabled. */
|
|
732
740
|
disabled?: boolean;
|
|
@@ -750,6 +758,14 @@ declare namespace gapi.client {
|
|
|
750
758
|
experimentConfig?: ExperimentConfig;
|
|
751
759
|
/** Optional. Input only. Ephemeral Instagram credentials required when configuring a Instagram channel profile. */
|
|
752
760
|
instagramCredentials?: InstagramCredentials;
|
|
761
|
+
/** Optional. The modality of the deployment. Note: Deployment-level modality override is gated behind an allowlist. Contact the CXAS team to enable this field. */
|
|
762
|
+
modality?:
|
|
763
|
+
| 'MODALITY_UNSPECIFIED'
|
|
764
|
+
| 'MODALITY_TEXT'
|
|
765
|
+
| 'MODALITY_VOICE'
|
|
766
|
+
| 'MODALITY_VIDEO';
|
|
767
|
+
/** 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. */
|
|
768
|
+
modelSettings?: ModelSettings;
|
|
753
769
|
/** Identifier. The resource name of the deployment. Format: `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}` */
|
|
754
770
|
name?: string;
|
|
755
771
|
/** Output only. Timestamp when this deployment was last updated. */
|
|
@@ -1115,6 +1131,8 @@ declare namespace gapi.client {
|
|
|
1115
1131
|
/** Optional. The strategy to use when resolving conflicts during import. */
|
|
1116
1132
|
conflictResolutionStrategy?:
|
|
1117
1133
|
'CONFLICT_RESOLUTION_STRATEGY_UNSPECIFIED' | 'REPLACE' | 'OVERWRITE';
|
|
1134
|
+
/** 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. */
|
|
1135
|
+
validateOnly?: boolean;
|
|
1118
1136
|
}
|
|
1119
1137
|
interface ImportAppResponse {
|
|
1120
1138
|
/** The resource name of the app that was imported. */
|
|
@@ -1210,7 +1228,7 @@ declare namespace gapi.client {
|
|
|
1210
1228
|
protocolBinding?: string;
|
|
1211
1229
|
/** Required. The version of the A2A protocol this interface exposes. Use the latest supported minor version per major version. Examples: "0.3", "1.0" */
|
|
1212
1230
|
protocolVersion?: string;
|
|
1213
|
-
/**
|
|
1231
|
+
/** 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. */
|
|
1214
1232
|
tenant?: string;
|
|
1215
1233
|
/** 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" */
|
|
1216
1234
|
url?: string;
|
|
@@ -1450,7 +1468,7 @@ declare namespace gapi.client {
|
|
|
1450
1468
|
id?: string;
|
|
1451
1469
|
/** The ID of the task this configuration is associated with. */
|
|
1452
1470
|
taskId?: string;
|
|
1453
|
-
/** Optional.
|
|
1471
|
+
/** Optional. Opaque routing identifier. Must match the `tenant` value from the selected `AgentInterface` in the Agent Card when that field is set. */
|
|
1454
1472
|
tenant?: string;
|
|
1455
1473
|
/** A token unique for this task or session. */
|
|
1456
1474
|
token?: string;
|
|
@@ -1892,6 +1910,8 @@ declare namespace gapi.client {
|
|
|
1892
1910
|
enableTextStreaming?: boolean;
|
|
1893
1911
|
/** 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}` */
|
|
1894
1912
|
entryAgent?: string;
|
|
1913
|
+
/** Optional. Whether to exclude diagnostic info from the session output. */
|
|
1914
|
+
excludeDiagnosticInfo?: boolean;
|
|
1895
1915
|
/** 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. */
|
|
1896
1916
|
historicalContexts?: Message[];
|
|
1897
1917
|
/** Optional. Configuration for processing the input audio. */
|
|
@@ -1986,6 +2006,8 @@ declare namespace gapi.client {
|
|
|
1986
2006
|
message?: string;
|
|
1987
2007
|
}
|
|
1988
2008
|
interface SynthesizeSpeechConfig {
|
|
2009
|
+
/** Optional. Deprecated: Use `custom_voice_samples` in AudioProcessingConfig instead. The Cloud Storage URI to the consent audio for voice cloning. */
|
|
2010
|
+
consentAudioGcsUri?: string;
|
|
1989
2011
|
/** Optional. The instruction used to synthesize speech when using a generative model. */
|
|
1990
2012
|
instruction?: string;
|
|
1991
2013
|
/** Optional. The model used to synthesize audio. Currently supported values: - "gemini-3.1-flash-tts-preview" If empty, Chirp3-HD is used. */
|
|
@@ -1994,7 +2016,7 @@ declare namespace gapi.client {
|
|
|
1994
2016
|
speakingRate?: number;
|
|
1995
2017
|
/** 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. */
|
|
1996
2018
|
voice?: string;
|
|
1997
|
-
/** Optional. 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. */
|
|
2019
|
+
/** 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. */
|
|
1998
2020
|
voiceSampleGcsUri?: string;
|
|
1999
2021
|
}
|
|
2000
2022
|
interface SystemTool {
|
|
@@ -2727,7 +2749,7 @@ declare namespace gapi.client {
|
|
|
2727
2749
|
prettyPrint?: boolean;
|
|
2728
2750
|
/** 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. */
|
|
2729
2751
|
quotaUser?: string;
|
|
2730
|
-
/** Optional.
|
|
2752
|
+
/** Optional. Opaque routing identifier. Must match the `tenant` value from the selected `AgentInterface` in the Agent Card when that field is set. */
|
|
2731
2753
|
tenant: string;
|
|
2732
2754
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2733
2755
|
upload_protocol?: string;
|
|
@@ -2756,7 +2778,7 @@ declare namespace gapi.client {
|
|
|
2756
2778
|
prettyPrint?: boolean;
|
|
2757
2779
|
/** 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. */
|
|
2758
2780
|
quotaUser?: string;
|
|
2759
|
-
/** Optional.
|
|
2781
|
+
/** Optional. Opaque routing identifier. Must match the `tenant` value from the selected `AgentInterface` in the Agent Card when that field is set. */
|
|
2760
2782
|
tenant: string;
|
|
2761
2783
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2762
2784
|
upload_protocol?: string;
|
|
@@ -2905,7 +2927,7 @@ declare namespace gapi.client {
|
|
|
2905
2927
|
prettyPrint?: boolean;
|
|
2906
2928
|
/** 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. */
|
|
2907
2929
|
quotaUser?: string;
|
|
2908
|
-
/** Optional.
|
|
2930
|
+
/** Optional. Opaque routing identifier. Must match the `tenant` value from the selected `AgentInterface` in the Agent Card when that field is set. */
|
|
2909
2931
|
tenant: string;
|
|
2910
2932
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2911
2933
|
upload_protocol?: string;
|
|
@@ -3466,7 +3488,7 @@ declare namespace gapi.client {
|
|
|
3466
3488
|
prettyPrint?: boolean;
|
|
3467
3489
|
/** 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. */
|
|
3468
3490
|
quotaUser?: string;
|
|
3469
|
-
/** Optional.
|
|
3491
|
+
/** Optional. Opaque routing identifier. Must match the `tenant` value from the selected `AgentInterface` in the Agent Card when that field is set. */
|
|
3470
3492
|
tenant: string;
|
|
3471
3493
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3472
3494
|
upload_protocol?: string;
|
|
@@ -3495,7 +3517,7 @@ declare namespace gapi.client {
|
|
|
3495
3517
|
prettyPrint?: boolean;
|
|
3496
3518
|
/** 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. */
|
|
3497
3519
|
quotaUser?: string;
|
|
3498
|
-
/** Optional.
|
|
3520
|
+
/** Optional. Opaque routing identifier. Must match the `tenant` value from the selected `AgentInterface` in the Agent Card when that field is set. */
|
|
3499
3521
|
tenant: string;
|
|
3500
3522
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3501
3523
|
upload_protocol?: string;
|
|
@@ -4198,7 +4220,7 @@ declare namespace gapi.client {
|
|
|
4198
4220
|
prettyPrint?: boolean;
|
|
4199
4221
|
/** 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. */
|
|
4200
4222
|
quotaUser?: string;
|
|
4201
|
-
/** Optional.
|
|
4223
|
+
/** Optional. Opaque routing identifier. Must match the `tenant` value from the selected `AgentInterface` in the Agent Card when that field is set. */
|
|
4202
4224
|
tenant: string;
|
|
4203
4225
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4204
4226
|
upload_protocol?: string;
|
|
@@ -4227,7 +4249,7 @@ declare namespace gapi.client {
|
|
|
4227
4249
|
prettyPrint?: boolean;
|
|
4228
4250
|
/** 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. */
|
|
4229
4251
|
quotaUser?: string;
|
|
4230
|
-
/** Optional.
|
|
4252
|
+
/** Optional. Opaque routing identifier. Must match the `tenant` value from the selected `AgentInterface` in the Agent Card when that field is set. */
|
|
4231
4253
|
tenant: string;
|
|
4232
4254
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4233
4255
|
upload_protocol?: string;
|
|
@@ -4376,7 +4398,7 @@ declare namespace gapi.client {
|
|
|
4376
4398
|
prettyPrint?: boolean;
|
|
4377
4399
|
/** 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. */
|
|
4378
4400
|
quotaUser?: string;
|
|
4379
|
-
/** Optional.
|
|
4401
|
+
/** Optional. Opaque routing identifier. Must match the `tenant` value from the selected `AgentInterface` in the Agent Card when that field is set. */
|
|
4380
4402
|
tenant: string;
|
|
4381
4403
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4382
4404
|
upload_protocol?: string;
|
|
@@ -4733,7 +4755,7 @@ declare namespace gapi.client {
|
|
|
4733
4755
|
prettyPrint?: boolean;
|
|
4734
4756
|
/** 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. */
|
|
4735
4757
|
quotaUser?: string;
|
|
4736
|
-
/** Optional.
|
|
4758
|
+
/** Optional. Opaque routing identifier. Must match the `tenant` value from the selected `AgentInterface` in the Agent Card when that field is set. */
|
|
4737
4759
|
tenant: string;
|
|
4738
4760
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4739
4761
|
upload_protocol?: string;
|