@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.2.20250902 → 0.2.20250916
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 +815 -68
- 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://aiplatform.googleapis.com/$discovery/rest?version=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250916
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1794,7 +1794,7 @@ declare namespace gapi.client {
|
|
|
1794
1794
|
systemLabels?: {[P in string]: string};
|
|
1795
1795
|
}
|
|
1796
1796
|
interface GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig {
|
|
1797
|
-
/** Optional. By default, if dedicated endpoint is enabled, the endpoint will be exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated from other users' traffic and will have better performance and reliability. Note: Once you enabled dedicated endpoint, you won't be able to send request to the shared DNS {region}-aiplatform.googleapis.com. The limitations will be removed soon. If this field is set to true, the dedicated endpoint will be disabled and the deployed model will be exposed through the shared DNS {region}-aiplatform.googleapis.com. */
|
|
1797
|
+
/** Optional. By default, if dedicated endpoint is enabled and private service connect config is not set, the endpoint will be exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. If private service connect config is set, the endpoint will be exposed through private service connect. Your request to the dedicated DNS will be isolated from other users' traffic and will have better performance and reliability. Note: Once you enabled dedicated endpoint, you won't be able to send request to the shared DNS {region}-aiplatform.googleapis.com. The limitations will be removed soon. If this field is set to true, the dedicated endpoint will be disabled and the deployed model will be exposed through the shared DNS {region}-aiplatform.googleapis.com. */
|
|
1798
1798
|
dedicatedEndpointDisabled?: boolean;
|
|
1799
1799
|
/** Optional. Deprecated. Use dedicated_endpoint_disabled instead. If true, the endpoint will be exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated from other users' traffic and will have better performance and reliability. Note: Once you enabled dedicated endpoint, you won't be able to send request to the shared DNS {region}-aiplatform.googleapis.com. The limitations will be removed soon. */
|
|
1800
1800
|
dedicatedEndpointEnabled?: boolean;
|
|
@@ -1802,6 +1802,8 @@ declare namespace gapi.client {
|
|
|
1802
1802
|
endpointDisplayName?: string;
|
|
1803
1803
|
/** Optional. Immutable. The ID to use for endpoint, which will become the final component of the endpoint resource name. If not provided, Vertex AI will generate a value for this ID. If the first character is a letter, this value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The last character must be a letter or number. If the first character is a number, this value may be up to 9 characters, and valid characters are `[0-9]` with no leading zeros. When using HTTP/JSON, this field is populated based on a query string argument, such as `?endpoint_id=12345`. This is the fallback for fields that are not included in either the URI or the body. */
|
|
1804
1804
|
endpointUserId?: string;
|
|
1805
|
+
/** Optional. Configuration for private service connect. If set, the endpoint will be exposed through private service connect. */
|
|
1806
|
+
privateServiceConnectConfig?: GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig;
|
|
1805
1807
|
}
|
|
1806
1808
|
interface GoogleCloudAiplatformV1beta1DeployRequestModelConfig {
|
|
1807
1809
|
/** Optional. Whether the user accepts the End User License Agreement (EULA) for the model. */
|
|
@@ -1902,6 +1904,16 @@ declare namespace gapi.client {
|
|
|
1902
1904
|
/** The mode of the predictor to be used in dynamic retrieval. */
|
|
1903
1905
|
mode?: string;
|
|
1904
1906
|
}
|
|
1907
|
+
interface GoogleCloudAiplatformV1beta1EnableModelRequest {
|
|
1908
|
+
/** Optional. The ID links the Marketplace listing to the underlying Vertex AI model endpoint. Format: `services/{service_id}` Format: `services/{service_id}` */
|
|
1909
|
+
service?: string;
|
|
1910
|
+
}
|
|
1911
|
+
interface GoogleCloudAiplatformV1beta1EnableModelResponse {
|
|
1912
|
+
/** Output only. The result of the model enablement. */
|
|
1913
|
+
enablementState?: string;
|
|
1914
|
+
/** Output only. The publisher endpoint that the project is enabled for. Format: `projects/{project}/locations/{location}/publishers/{publisher}/models/{publisher_model}` */
|
|
1915
|
+
publisherEndpoint?: string;
|
|
1916
|
+
}
|
|
1905
1917
|
interface GoogleCloudAiplatformV1beta1EncryptionSpec {
|
|
1906
1918
|
/** Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. The key needs to be in the same region as where the compute resource is created. */
|
|
1907
1919
|
kmsKeyName?: string;
|
|
@@ -2383,8 +2395,6 @@ declare namespace gapi.client {
|
|
|
2383
2395
|
model?: string;
|
|
2384
2396
|
}
|
|
2385
2397
|
interface GoogleCloudAiplatformV1beta1EvaluationRunMetric {
|
|
2386
|
-
/** Spec for a computation based metric. */
|
|
2387
|
-
computationBasedMetricSpec?: GoogleCloudAiplatformV1beta1EvaluationRunMetricComputationBasedMetricSpec;
|
|
2388
2398
|
/** Spec for an LLM based metric. */
|
|
2389
2399
|
llmBasedMetricSpec?: GoogleCloudAiplatformV1beta1EvaluationRunMetricLLMBasedMetricSpec;
|
|
2390
2400
|
/** Required. The name of the metric. */
|
|
@@ -2394,12 +2404,6 @@ declare namespace gapi.client {
|
|
|
2394
2404
|
/** Spec for rubric based metric. */
|
|
2395
2405
|
rubricBasedMetricSpec?: GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricBasedMetricSpec;
|
|
2396
2406
|
}
|
|
2397
|
-
interface GoogleCloudAiplatformV1beta1EvaluationRunMetricComputationBasedMetricSpec {
|
|
2398
|
-
/** Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}. */
|
|
2399
|
-
parameters?: {[P in string]: any};
|
|
2400
|
-
/** Required. The type of the computation based metric. */
|
|
2401
|
-
type?: string;
|
|
2402
|
-
}
|
|
2403
2407
|
interface GoogleCloudAiplatformV1beta1EvaluationRunMetricLLMBasedMetricSpec {
|
|
2404
2408
|
/** Optional. Optional additional configuration for the metric. */
|
|
2405
2409
|
additionalConfig?: {[P in string]: any};
|
|
@@ -3844,35 +3848,35 @@ declare namespace gapi.client {
|
|
|
3844
3848
|
usageMetadata?: GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata;
|
|
3845
3849
|
}
|
|
3846
3850
|
interface GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback {
|
|
3847
|
-
/** Output only.
|
|
3851
|
+
/** Output only. The reason why the prompt was blocked. */
|
|
3848
3852
|
blockReason?: string;
|
|
3849
|
-
/** Output only. A readable
|
|
3853
|
+
/** Output only. A readable message that explains the reason why the prompt was blocked. */
|
|
3850
3854
|
blockReasonMessage?: string;
|
|
3851
|
-
/** Output only.
|
|
3855
|
+
/** Output only. A list of safety ratings for the prompt. There is one rating per category. */
|
|
3852
3856
|
safetyRatings?: GoogleCloudAiplatformV1beta1SafetyRating[];
|
|
3853
3857
|
}
|
|
3854
3858
|
interface GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata {
|
|
3855
|
-
/** Output only.
|
|
3859
|
+
/** Output only. The number of tokens in the cached content that was used for this request. */
|
|
3856
3860
|
cachedContentTokenCount?: number;
|
|
3857
|
-
/** Output only.
|
|
3861
|
+
/** Output only. A detailed breakdown of the token count for each modality in the cached content. */
|
|
3858
3862
|
cacheTokensDetails?: GoogleCloudAiplatformV1beta1ModalityTokenCount[];
|
|
3859
|
-
/**
|
|
3863
|
+
/** The total number of tokens in the generated candidates. */
|
|
3860
3864
|
candidatesTokenCount?: number;
|
|
3861
|
-
/** Output only.
|
|
3865
|
+
/** Output only. A detailed breakdown of the token count for each modality in the generated candidates. */
|
|
3862
3866
|
candidatesTokensDetails?: GoogleCloudAiplatformV1beta1ModalityTokenCount[];
|
|
3863
|
-
/**
|
|
3867
|
+
/** The total number of tokens in the prompt. This includes any text, images, or other media provided in the request. When `cached_content` is set, this also includes the number of tokens in the cached content. */
|
|
3864
3868
|
promptTokenCount?: number;
|
|
3865
|
-
/** Output only.
|
|
3869
|
+
/** Output only. A detailed breakdown of the token count for each modality in the prompt. */
|
|
3866
3870
|
promptTokensDetails?: GoogleCloudAiplatformV1beta1ModalityTokenCount[];
|
|
3867
|
-
/** Output only.
|
|
3871
|
+
/** Output only. The number of tokens that were part of the model's generated "thoughts" output, if applicable. */
|
|
3868
3872
|
thoughtsTokenCount?: number;
|
|
3869
|
-
/** Output only.
|
|
3873
|
+
/** Output only. The number of tokens in the results from tool executions, which are provided back to the model as input, if applicable. */
|
|
3870
3874
|
toolUsePromptTokenCount?: number;
|
|
3871
|
-
/** Output only.
|
|
3875
|
+
/** Output only. A detailed breakdown by modality of the token counts from the results of tool executions, which are provided back to the model as input. */
|
|
3872
3876
|
toolUsePromptTokensDetails?: GoogleCloudAiplatformV1beta1ModalityTokenCount[];
|
|
3873
|
-
/**
|
|
3877
|
+
/** The total number of tokens for the entire request. This is the sum of `prompt_token_count`, `candidates_token_count`, `tool_use_prompt_token_count`, and `thoughts_token_count`. */
|
|
3874
3878
|
totalTokenCount?: number;
|
|
3875
|
-
/** Output only.
|
|
3879
|
+
/** Output only. The traffic type for this request. */
|
|
3876
3880
|
trafficType?: string;
|
|
3877
3881
|
}
|
|
3878
3882
|
interface GoogleCloudAiplatformV1beta1GenerateInstanceRubricsRequest {
|
|
@@ -4047,7 +4051,10 @@ declare namespace gapi.client {
|
|
|
4047
4051
|
/** Required. The type of the Google Drive resource. */
|
|
4048
4052
|
resourceType?: string;
|
|
4049
4053
|
}
|
|
4050
|
-
interface GoogleCloudAiplatformV1beta1GoogleMaps {
|
|
4054
|
+
interface GoogleCloudAiplatformV1beta1GoogleMaps {
|
|
4055
|
+
/** Optional. If true, include the widget context token in the response. */
|
|
4056
|
+
enableWidget?: boolean;
|
|
4057
|
+
}
|
|
4051
4058
|
interface GoogleCloudAiplatformV1beta1GoogleSearchRetrieval {
|
|
4052
4059
|
/** Specifies the dynamic retrieval configuration for the given source. */
|
|
4053
4060
|
dynamicRetrievalConfig?: GoogleCloudAiplatformV1beta1DynamicRetrievalConfig;
|
|
@@ -4089,38 +4096,24 @@ declare namespace gapi.client {
|
|
|
4089
4096
|
placeAnswerSources?: GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources;
|
|
4090
4097
|
/** This Place's resource name, in `places/{place_id}` format. Can be used to look up the Place. */
|
|
4091
4098
|
placeId?: string;
|
|
4092
|
-
/** Text of the
|
|
4099
|
+
/** Text of the place answer. */
|
|
4093
4100
|
text?: string;
|
|
4094
|
-
/** Title of the
|
|
4101
|
+
/** Title of the place. */
|
|
4095
4102
|
title?: string;
|
|
4096
|
-
/** URI reference of the
|
|
4103
|
+
/** URI reference of the place. */
|
|
4097
4104
|
uri?: string;
|
|
4098
4105
|
}
|
|
4099
4106
|
interface GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources {
|
|
4100
|
-
/** A link where users can flag a problem with the generated answer. */
|
|
4101
|
-
flagContentUri?: string;
|
|
4102
4107
|
/** Snippets of reviews that are used to generate the answer. */
|
|
4103
4108
|
reviewSnippets?: GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet[];
|
|
4104
4109
|
}
|
|
4105
|
-
interface GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution {
|
|
4106
|
-
/** Name of the author of the Photo or Review. */
|
|
4107
|
-
displayName?: string;
|
|
4108
|
-
/** Profile photo URI of the author of the Photo or Review. */
|
|
4109
|
-
photoUri?: string;
|
|
4110
|
-
/** URI of the author of the Photo or Review. */
|
|
4111
|
-
uri?: string;
|
|
4112
|
-
}
|
|
4113
4110
|
interface GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet {
|
|
4114
|
-
/** This review's author. */
|
|
4115
|
-
authorAttribution?: GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution;
|
|
4116
|
-
/** A link where users can flag a problem with the review. */
|
|
4117
|
-
flagContentUri?: string;
|
|
4118
4111
|
/** A link to show the review on Google Maps. */
|
|
4119
4112
|
googleMapsUri?: string;
|
|
4120
|
-
/**
|
|
4121
|
-
|
|
4122
|
-
/**
|
|
4123
|
-
|
|
4113
|
+
/** Id of the review referencing the place. */
|
|
4114
|
+
reviewId?: string;
|
|
4115
|
+
/** Title of the review. */
|
|
4116
|
+
title?: string;
|
|
4124
4117
|
}
|
|
4125
4118
|
interface GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext {
|
|
4126
4119
|
/** Output only. The full document name for the referenced Vertex AI Search document. */
|
|
@@ -4155,9 +4148,17 @@ declare namespace gapi.client {
|
|
|
4155
4148
|
retrievalQueries?: string[];
|
|
4156
4149
|
/** Optional. Google search entry for the following-up web searches. */
|
|
4157
4150
|
searchEntryPoint?: GoogleCloudAiplatformV1beta1SearchEntryPoint;
|
|
4151
|
+
/** Optional. Output only. List of source flagging uris. This is currently populated only for Google Maps grounding. */
|
|
4152
|
+
sourceFlaggingUris?: GoogleCloudAiplatformV1beta1GroundingMetadataSourceFlaggingUri[];
|
|
4158
4153
|
/** Optional. Web search queries for the following-up web search. */
|
|
4159
4154
|
webSearchQueries?: string[];
|
|
4160
4155
|
}
|
|
4156
|
+
interface GoogleCloudAiplatformV1beta1GroundingMetadataSourceFlaggingUri {
|
|
4157
|
+
/** A link where users can flag a problem with the source (place or review). */
|
|
4158
|
+
flagContentUri?: string;
|
|
4159
|
+
/** Id of the place or review. */
|
|
4160
|
+
sourceId?: string;
|
|
4161
|
+
}
|
|
4161
4162
|
interface GoogleCloudAiplatformV1beta1GroundingSupport {
|
|
4162
4163
|
/** Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. For Gemini 2.0 and before, this list must have the same size as the grounding_chunk_indices. For Gemini 2.5 and after, this list will be empty and should be ignored. */
|
|
4163
4164
|
confidenceScores?: number[];
|
|
@@ -4540,6 +4541,12 @@ declare namespace gapi.client {
|
|
|
4540
4541
|
/** Required. internal service state. */
|
|
4541
4542
|
serviceState?: string;
|
|
4542
4543
|
}
|
|
4544
|
+
interface GoogleCloudAiplatformV1beta1InvokeRequest {
|
|
4545
|
+
/** ID of the DeployedModel that serves the invoke request. */
|
|
4546
|
+
deployedModelId?: string;
|
|
4547
|
+
/** The invoke method input. Supports HTTP headers and arbitrary data payload. */
|
|
4548
|
+
httpBody?: GoogleApiHttpBody;
|
|
4549
|
+
}
|
|
4543
4550
|
interface GoogleCloudAiplatformV1beta1JiraSource {
|
|
4544
4551
|
/** Required. The Jira queries. */
|
|
4545
4552
|
jiraQueries?: GoogleCloudAiplatformV1beta1JiraSourceJiraQueries[];
|
|
@@ -4968,6 +4975,22 @@ declare namespace gapi.client {
|
|
|
4968
4975
|
/** List of TuningJobs in the requested page. */
|
|
4969
4976
|
tuningJobs?: GoogleCloudAiplatformV1beta1TuningJob[];
|
|
4970
4977
|
}
|
|
4978
|
+
interface GoogleCloudAiplatformV1beta1LLMBasedMetricSpec {
|
|
4979
|
+
/** Optional. Optional additional configuration for the metric. */
|
|
4980
|
+
additionalConfig?: {[P in string]: any};
|
|
4981
|
+
/** Optional. Optional configuration for the judge LLM (Autorater). */
|
|
4982
|
+
judgeAutoraterConfig?: GoogleCloudAiplatformV1beta1AutoraterConfig;
|
|
4983
|
+
/** Required. Template for the prompt sent to the judge model. */
|
|
4984
|
+
metricPromptTemplate?: string;
|
|
4985
|
+
/** Dynamically generate rubrics using a predefined spec. */
|
|
4986
|
+
predefinedRubricGenerationSpec?: GoogleCloudAiplatformV1beta1PredefinedMetricSpec;
|
|
4987
|
+
/** Dynamically generate rubrics using this specification. */
|
|
4988
|
+
rubricGenerationSpec?: GoogleCloudAiplatformV1beta1RubricGenerationSpec;
|
|
4989
|
+
/** Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance. */
|
|
4990
|
+
rubricGroupKey?: string;
|
|
4991
|
+
/** Optional. System instructions for the judge model. */
|
|
4992
|
+
systemInstruction?: string;
|
|
4993
|
+
}
|
|
4971
4994
|
interface GoogleCloudAiplatformV1beta1LogprobsResult {
|
|
4972
4995
|
/** Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates. */
|
|
4973
4996
|
chosenCandidates?: GoogleCloudAiplatformV1beta1LogprobsResultCandidate[];
|
|
@@ -5069,6 +5092,8 @@ declare namespace gapi.client {
|
|
|
5069
5092
|
interface GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExampleGeneratedMemory {
|
|
5070
5093
|
/** Required. The fact to generate a memory from. */
|
|
5071
5094
|
fact?: string;
|
|
5095
|
+
/** Optional. The list of topics that the memory should be associated with. For example, use `custom_memory_topic_label = "jargon"` if the extracted memory is an example of memory extraction for the custom topic `jargon`. */
|
|
5096
|
+
topics?: GoogleCloudAiplatformV1beta1MemoryTopicId[];
|
|
5072
5097
|
}
|
|
5073
5098
|
interface GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigMemoryTopic {
|
|
5074
5099
|
/** A custom memory topic defined by the developer. */
|
|
@@ -5086,6 +5111,12 @@ declare namespace gapi.client {
|
|
|
5086
5111
|
/** Required. The managed topic. */
|
|
5087
5112
|
managedTopicEnum?: string;
|
|
5088
5113
|
}
|
|
5114
|
+
interface GoogleCloudAiplatformV1beta1MemoryTopicId {
|
|
5115
|
+
/** Optional. The custom memory topic label. */
|
|
5116
|
+
customMemoryTopicLabel?: string;
|
|
5117
|
+
/** Optional. The managed memory topic. */
|
|
5118
|
+
managedMemoryTopic?: string;
|
|
5119
|
+
}
|
|
5089
5120
|
interface GoogleCloudAiplatformV1beta1MergeVersionAliasesRequest {
|
|
5090
5121
|
/** Required. The set of version aliases to merge. The alias should be at most 128 characters, and match `a-z{0,126}[a-z-0-9]`. Add the `-` prefix to an alias means removing that alias from the version. `-` is NOT counted in the 128 characters. Example: `-golden` means removing the `golden` alias from the version. There is NO ordering in aliases, which means 1) The aliases returned from GetModel API might not have the exactly same order from this MergeVersionAliases API. 2) Adding and deleting the same alias in the request is not recommended, and the 2 operations will be cancelled out. */
|
|
5091
5122
|
versionAliases?: string[];
|
|
@@ -5139,6 +5170,8 @@ declare namespace gapi.client {
|
|
|
5139
5170
|
bleuSpec?: GoogleCloudAiplatformV1beta1BleuSpec;
|
|
5140
5171
|
/** Spec for exact match metric. */
|
|
5141
5172
|
exactMatchSpec?: any;
|
|
5173
|
+
/** Spec for an LLM based metric. */
|
|
5174
|
+
llmBasedMetricSpec?: GoogleCloudAiplatformV1beta1LLMBasedMetricSpec;
|
|
5142
5175
|
/** Spec for pairwise metric. */
|
|
5143
5176
|
pairwiseMetricSpec?: GoogleCloudAiplatformV1beta1PairwiseMetricSpec;
|
|
5144
5177
|
/** Spec for pointwise metric. */
|
|
@@ -10990,10 +11023,10 @@ declare namespace gapi.client {
|
|
|
10990
11023
|
/** Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 512 function declarations can be provided. */
|
|
10991
11024
|
functionDeclarations?: GoogleCloudAiplatformV1beta1FunctionDeclaration[];
|
|
10992
11025
|
/** Optional. GoogleMaps tool type. Tool to support Google Maps in Model. */
|
|
10993
|
-
googleMaps?:
|
|
11026
|
+
googleMaps?: GoogleCloudAiplatformV1beta1GoogleMaps;
|
|
10994
11027
|
/** Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. */
|
|
10995
11028
|
googleSearch?: GoogleCloudAiplatformV1beta1ToolGoogleSearch;
|
|
10996
|
-
/** Optional.
|
|
11029
|
+
/** Optional. Specialized retrieval tool that is powered by Google Search. */
|
|
10997
11030
|
googleSearchRetrieval?: GoogleCloudAiplatformV1beta1GoogleSearchRetrieval;
|
|
10998
11031
|
/** Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation. */
|
|
10999
11032
|
retrieval?: GoogleCloudAiplatformV1beta1Retrieval;
|
|
@@ -16641,6 +16674,201 @@ declare namespace gapi.client {
|
|
|
16641
16674
|
body: GoogleApiHttpBody,
|
|
16642
16675
|
): Request<GoogleApiHttpBody>;
|
|
16643
16676
|
}
|
|
16677
|
+
interface InvokeResource {
|
|
16678
|
+
/** Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request. */
|
|
16679
|
+
invoke(request: {
|
|
16680
|
+
/** V1 error format. */
|
|
16681
|
+
'$.xgafv'?: string;
|
|
16682
|
+
/** OAuth access token. */
|
|
16683
|
+
access_token?: string;
|
|
16684
|
+
/** Data format for response. */
|
|
16685
|
+
alt?: string;
|
|
16686
|
+
/** JSONP */
|
|
16687
|
+
callback?: string;
|
|
16688
|
+
/** ID of the DeployedModel that serves the invoke request. */
|
|
16689
|
+
deployedModelId: string;
|
|
16690
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
16691
|
+
endpoint: string;
|
|
16692
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16693
|
+
fields?: string;
|
|
16694
|
+
invokeId: string;
|
|
16695
|
+
/** 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. */
|
|
16696
|
+
key?: string;
|
|
16697
|
+
/** OAuth 2.0 token for the current user. */
|
|
16698
|
+
oauth_token?: string;
|
|
16699
|
+
/** Returns response with indentations and line breaks. */
|
|
16700
|
+
prettyPrint?: boolean;
|
|
16701
|
+
/** 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. */
|
|
16702
|
+
quotaUser?: string;
|
|
16703
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16704
|
+
upload_protocol?: string;
|
|
16705
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16706
|
+
uploadType?: string;
|
|
16707
|
+
/** Request body */
|
|
16708
|
+
resource: GoogleCloudAiplatformV1beta1InvokeRequest;
|
|
16709
|
+
}): Request<GoogleApiHttpBody>;
|
|
16710
|
+
invoke(
|
|
16711
|
+
request: {
|
|
16712
|
+
/** V1 error format. */
|
|
16713
|
+
'$.xgafv'?: string;
|
|
16714
|
+
/** OAuth access token. */
|
|
16715
|
+
access_token?: string;
|
|
16716
|
+
/** Data format for response. */
|
|
16717
|
+
alt?: string;
|
|
16718
|
+
/** JSONP */
|
|
16719
|
+
callback?: string;
|
|
16720
|
+
/** ID of the DeployedModel that serves the invoke request. */
|
|
16721
|
+
deployedModelId: string;
|
|
16722
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
16723
|
+
endpoint: string;
|
|
16724
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16725
|
+
fields?: string;
|
|
16726
|
+
invokeId: string;
|
|
16727
|
+
/** 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. */
|
|
16728
|
+
key?: string;
|
|
16729
|
+
/** OAuth 2.0 token for the current user. */
|
|
16730
|
+
oauth_token?: string;
|
|
16731
|
+
/** Returns response with indentations and line breaks. */
|
|
16732
|
+
prettyPrint?: boolean;
|
|
16733
|
+
/** 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. */
|
|
16734
|
+
quotaUser?: string;
|
|
16735
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16736
|
+
upload_protocol?: string;
|
|
16737
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16738
|
+
uploadType?: string;
|
|
16739
|
+
},
|
|
16740
|
+
body: GoogleCloudAiplatformV1beta1InvokeRequest,
|
|
16741
|
+
): Request<GoogleApiHttpBody>;
|
|
16742
|
+
}
|
|
16743
|
+
interface DeployedModelsResource {
|
|
16744
|
+
invoke: InvokeResource;
|
|
16745
|
+
}
|
|
16746
|
+
interface InvokeResource {
|
|
16747
|
+
/** Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request. */
|
|
16748
|
+
invoke(request: {
|
|
16749
|
+
/** V1 error format. */
|
|
16750
|
+
'$.xgafv'?: string;
|
|
16751
|
+
/** OAuth access token. */
|
|
16752
|
+
access_token?: string;
|
|
16753
|
+
/** Data format for response. */
|
|
16754
|
+
alt?: string;
|
|
16755
|
+
/** JSONP */
|
|
16756
|
+
callback?: string;
|
|
16757
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
16758
|
+
endpoint: string;
|
|
16759
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16760
|
+
fields?: string;
|
|
16761
|
+
invokeId: string;
|
|
16762
|
+
/** 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. */
|
|
16763
|
+
key?: string;
|
|
16764
|
+
/** OAuth 2.0 token for the current user. */
|
|
16765
|
+
oauth_token?: string;
|
|
16766
|
+
/** Returns response with indentations and line breaks. */
|
|
16767
|
+
prettyPrint?: boolean;
|
|
16768
|
+
/** 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. */
|
|
16769
|
+
quotaUser?: string;
|
|
16770
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16771
|
+
upload_protocol?: string;
|
|
16772
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16773
|
+
uploadType?: string;
|
|
16774
|
+
/** Request body */
|
|
16775
|
+
resource: GoogleCloudAiplatformV1beta1InvokeRequest;
|
|
16776
|
+
}): Request<GoogleApiHttpBody>;
|
|
16777
|
+
invoke(
|
|
16778
|
+
request: {
|
|
16779
|
+
/** V1 error format. */
|
|
16780
|
+
'$.xgafv'?: string;
|
|
16781
|
+
/** OAuth access token. */
|
|
16782
|
+
access_token?: string;
|
|
16783
|
+
/** Data format for response. */
|
|
16784
|
+
alt?: string;
|
|
16785
|
+
/** JSONP */
|
|
16786
|
+
callback?: string;
|
|
16787
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
16788
|
+
endpoint: string;
|
|
16789
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16790
|
+
fields?: string;
|
|
16791
|
+
invokeId: string;
|
|
16792
|
+
/** 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. */
|
|
16793
|
+
key?: string;
|
|
16794
|
+
/** OAuth 2.0 token for the current user. */
|
|
16795
|
+
oauth_token?: string;
|
|
16796
|
+
/** Returns response with indentations and line breaks. */
|
|
16797
|
+
prettyPrint?: boolean;
|
|
16798
|
+
/** 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. */
|
|
16799
|
+
quotaUser?: string;
|
|
16800
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16801
|
+
upload_protocol?: string;
|
|
16802
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16803
|
+
uploadType?: string;
|
|
16804
|
+
},
|
|
16805
|
+
body: GoogleCloudAiplatformV1beta1InvokeRequest,
|
|
16806
|
+
): Request<GoogleApiHttpBody>;
|
|
16807
|
+
}
|
|
16808
|
+
interface OpenapiResource {
|
|
16809
|
+
/** Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request. */
|
|
16810
|
+
embeddings(request: {
|
|
16811
|
+
/** V1 error format. */
|
|
16812
|
+
'$.xgafv'?: string;
|
|
16813
|
+
/** OAuth access token. */
|
|
16814
|
+
access_token?: string;
|
|
16815
|
+
/** Data format for response. */
|
|
16816
|
+
alt?: string;
|
|
16817
|
+
/** JSONP */
|
|
16818
|
+
callback?: string;
|
|
16819
|
+
/** ID of the DeployedModel that serves the invoke request. */
|
|
16820
|
+
deployedModelId?: string;
|
|
16821
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
16822
|
+
endpoint: string;
|
|
16823
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16824
|
+
fields?: string;
|
|
16825
|
+
/** 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. */
|
|
16826
|
+
key?: string;
|
|
16827
|
+
/** OAuth 2.0 token for the current user. */
|
|
16828
|
+
oauth_token?: string;
|
|
16829
|
+
/** Returns response with indentations and line breaks. */
|
|
16830
|
+
prettyPrint?: boolean;
|
|
16831
|
+
/** 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. */
|
|
16832
|
+
quotaUser?: string;
|
|
16833
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16834
|
+
upload_protocol?: string;
|
|
16835
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16836
|
+
uploadType?: string;
|
|
16837
|
+
/** Request body */
|
|
16838
|
+
resource: GoogleApiHttpBody;
|
|
16839
|
+
}): Request<GoogleApiHttpBody>;
|
|
16840
|
+
embeddings(
|
|
16841
|
+
request: {
|
|
16842
|
+
/** V1 error format. */
|
|
16843
|
+
'$.xgafv'?: string;
|
|
16844
|
+
/** OAuth access token. */
|
|
16845
|
+
access_token?: string;
|
|
16846
|
+
/** Data format for response. */
|
|
16847
|
+
alt?: string;
|
|
16848
|
+
/** JSONP */
|
|
16849
|
+
callback?: string;
|
|
16850
|
+
/** ID of the DeployedModel that serves the invoke request. */
|
|
16851
|
+
deployedModelId?: string;
|
|
16852
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
16853
|
+
endpoint: string;
|
|
16854
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16855
|
+
fields?: string;
|
|
16856
|
+
/** 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. */
|
|
16857
|
+
key?: string;
|
|
16858
|
+
/** OAuth 2.0 token for the current user. */
|
|
16859
|
+
oauth_token?: string;
|
|
16860
|
+
/** Returns response with indentations and line breaks. */
|
|
16861
|
+
prettyPrint?: boolean;
|
|
16862
|
+
/** 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. */
|
|
16863
|
+
quotaUser?: string;
|
|
16864
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16865
|
+
upload_protocol?: string;
|
|
16866
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16867
|
+
uploadType?: string;
|
|
16868
|
+
},
|
|
16869
|
+
body: GoogleApiHttpBody,
|
|
16870
|
+
): Request<GoogleApiHttpBody>;
|
|
16871
|
+
}
|
|
16644
16872
|
interface OperationsResource {
|
|
16645
16873
|
/** 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`. */
|
|
16646
16874
|
cancel(request?: {
|
|
@@ -18076,6 +18304,9 @@ declare namespace gapi.client {
|
|
|
18076
18304
|
body: GoogleCloudAiplatformV1beta1UpdateEndpointLongRunningRequest,
|
|
18077
18305
|
): Request<GoogleLongrunningOperation>;
|
|
18078
18306
|
chat: ChatResource;
|
|
18307
|
+
deployedModels: DeployedModelsResource;
|
|
18308
|
+
invoke: InvokeResource;
|
|
18309
|
+
openapi: OpenapiResource;
|
|
18079
18310
|
operations: OperationsResource;
|
|
18080
18311
|
}
|
|
18081
18312
|
interface OperationsResource {
|
|
@@ -35038,11 +35269,13 @@ declare namespace gapi.client {
|
|
|
35038
35269
|
interface RagEngineConfigResource {
|
|
35039
35270
|
operations: OperationsResource;
|
|
35040
35271
|
}
|
|
35041
|
-
interface
|
|
35042
|
-
/**
|
|
35043
|
-
|
|
35272
|
+
interface MessageResource {
|
|
35273
|
+
/** Send post request for reasoning engine instance via the A2A post protocol apis. */
|
|
35274
|
+
send(request?: {
|
|
35044
35275
|
/** V1 error format. */
|
|
35045
35276
|
'$.xgafv'?: string;
|
|
35277
|
+
/** Required. The a2a endpoint path, captured from the URL. e.g., v1/message:send */
|
|
35278
|
+
a2aEndpoint: string;
|
|
35046
35279
|
/** OAuth access token. */
|
|
35047
35280
|
access_token?: string;
|
|
35048
35281
|
/** Data format for response. */
|
|
@@ -35053,7 +35286,7 @@ declare namespace gapi.client {
|
|
|
35053
35286
|
fields?: string;
|
|
35054
35287
|
/** 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. */
|
|
35055
35288
|
key?: string;
|
|
35056
|
-
/** The
|
|
35289
|
+
/** Required. The full resource path of the reasoning engine, captured from the URL. */
|
|
35057
35290
|
name: string;
|
|
35058
35291
|
/** OAuth 2.0 token for the current user. */
|
|
35059
35292
|
oauth_token?: string;
|
|
@@ -35066,10 +35299,12 @@ declare namespace gapi.client {
|
|
|
35066
35299
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
35067
35300
|
uploadType?: string;
|
|
35068
35301
|
}): Request<{}>;
|
|
35069
|
-
/**
|
|
35070
|
-
|
|
35302
|
+
/** Streams queries using a reasoning engine instance via the A2A streaming protocol apis. */
|
|
35303
|
+
stream(request?: {
|
|
35071
35304
|
/** V1 error format. */
|
|
35072
35305
|
'$.xgafv'?: string;
|
|
35306
|
+
/** Required. The http endpoint extracted from the URL path. e.g., v1/message:stream. */
|
|
35307
|
+
a2aEndpoint: string;
|
|
35073
35308
|
/** OAuth access token. */
|
|
35074
35309
|
access_token?: string;
|
|
35075
35310
|
/** Data format for response. */
|
|
@@ -35080,7 +35315,40 @@ declare namespace gapi.client {
|
|
|
35080
35315
|
fields?: string;
|
|
35081
35316
|
/** 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. */
|
|
35082
35317
|
key?: string;
|
|
35083
|
-
/** The
|
|
35318
|
+
/** Required. The full resource path of the reasoning engine, captured from the URL. */
|
|
35319
|
+
name: string;
|
|
35320
|
+
/** OAuth 2.0 token for the current user. */
|
|
35321
|
+
oauth_token?: string;
|
|
35322
|
+
/** Returns response with indentations and line breaks. */
|
|
35323
|
+
prettyPrint?: boolean;
|
|
35324
|
+
/** 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. */
|
|
35325
|
+
quotaUser?: string;
|
|
35326
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
35327
|
+
upload_protocol?: string;
|
|
35328
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
35329
|
+
uploadType?: string;
|
|
35330
|
+
}): Request<GoogleApiHttpBody>;
|
|
35331
|
+
}
|
|
35332
|
+
interface PushNotificationConfigsResource {
|
|
35333
|
+
/** Get request for reasoning engine instance via the A2A get protocol apis. */
|
|
35334
|
+
a2aGetReasoningEngine(request?: {
|
|
35335
|
+
/** V1 error format. */
|
|
35336
|
+
'$.xgafv'?: string;
|
|
35337
|
+
/** Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123` */
|
|
35338
|
+
a2aEndpoint: string;
|
|
35339
|
+
/** OAuth access token. */
|
|
35340
|
+
access_token?: string;
|
|
35341
|
+
/** Data format for response. */
|
|
35342
|
+
alt?: string;
|
|
35343
|
+
/** JSONP */
|
|
35344
|
+
callback?: string;
|
|
35345
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
35346
|
+
fields?: string;
|
|
35347
|
+
/** Optional. The optional query parameter for the getTask endpoint. Mapped from "?history_length=". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned. */
|
|
35348
|
+
historyLength?: string;
|
|
35349
|
+
/** 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. */
|
|
35350
|
+
key?: string;
|
|
35351
|
+
/** Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
35084
35352
|
name: string;
|
|
35085
35353
|
/** OAuth 2.0 token for the current user. */
|
|
35086
35354
|
oauth_token?: string;
|
|
@@ -35093,10 +35361,14 @@ declare namespace gapi.client {
|
|
|
35093
35361
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
35094
35362
|
uploadType?: string;
|
|
35095
35363
|
}): Request<{}>;
|
|
35096
|
-
|
|
35097
|
-
|
|
35364
|
+
}
|
|
35365
|
+
interface TasksResource {
|
|
35366
|
+
/** Get request for reasoning engine instance via the A2A get protocol apis. */
|
|
35367
|
+
a2aGetReasoningEngine(request?: {
|
|
35098
35368
|
/** V1 error format. */
|
|
35099
35369
|
'$.xgafv'?: string;
|
|
35370
|
+
/** Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123` */
|
|
35371
|
+
a2aEndpoint: string;
|
|
35100
35372
|
/** OAuth access token. */
|
|
35101
35373
|
access_token?: string;
|
|
35102
35374
|
/** Data format for response. */
|
|
@@ -35105,9 +35377,11 @@ declare namespace gapi.client {
|
|
|
35105
35377
|
callback?: string;
|
|
35106
35378
|
/** Selector specifying which fields to include in a partial response. */
|
|
35107
35379
|
fields?: string;
|
|
35380
|
+
/** Optional. The optional query parameter for the getTask endpoint. Mapped from "?history_length=". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned. */
|
|
35381
|
+
historyLength?: string;
|
|
35108
35382
|
/** 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. */
|
|
35109
35383
|
key?: string;
|
|
35110
|
-
/** The
|
|
35384
|
+
/** Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
35111
35385
|
name: string;
|
|
35112
35386
|
/** OAuth 2.0 token for the current user. */
|
|
35113
35387
|
oauth_token?: string;
|
|
@@ -35119,11 +35393,13 @@ declare namespace gapi.client {
|
|
|
35119
35393
|
upload_protocol?: string;
|
|
35120
35394
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
35121
35395
|
uploadType?: string;
|
|
35122
|
-
}): Request<
|
|
35123
|
-
/**
|
|
35124
|
-
|
|
35396
|
+
}): Request<{}>;
|
|
35397
|
+
/** Send post request for reasoning engine instance via the A2A post protocol apis. */
|
|
35398
|
+
cancel(request?: {
|
|
35125
35399
|
/** V1 error format. */
|
|
35126
35400
|
'$.xgafv'?: string;
|
|
35401
|
+
/** Required. The a2a endpoint path, captured from the URL. e.g., v1/message:send */
|
|
35402
|
+
a2aEndpoint: string;
|
|
35127
35403
|
/** OAuth access token. */
|
|
35128
35404
|
access_token?: string;
|
|
35129
35405
|
/** Data format for response. */
|
|
@@ -35134,7 +35410,7 @@ declare namespace gapi.client {
|
|
|
35134
35410
|
fields?: string;
|
|
35135
35411
|
/** 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. */
|
|
35136
35412
|
key?: string;
|
|
35137
|
-
/** The
|
|
35413
|
+
/** Required. The full resource path of the reasoning engine, captured from the URL. */
|
|
35138
35414
|
name: string;
|
|
35139
35415
|
/** OAuth 2.0 token for the current user. */
|
|
35140
35416
|
oauth_token?: string;
|
|
@@ -35142,16 +35418,194 @@ declare namespace gapi.client {
|
|
|
35142
35418
|
prettyPrint?: boolean;
|
|
35143
35419
|
/** 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. */
|
|
35144
35420
|
quotaUser?: string;
|
|
35145
|
-
/** The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. */
|
|
35146
|
-
timeout?: string;
|
|
35147
35421
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
35148
35422
|
upload_protocol?: string;
|
|
35149
35423
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
35150
35424
|
uploadType?: string;
|
|
35151
|
-
}): Request<
|
|
35425
|
+
}): Request<{}>;
|
|
35426
|
+
/** Stream get request for reasoning engine instance via the A2A stream get protocol apis. */
|
|
35427
|
+
subscribe(request?: {
|
|
35428
|
+
/** V1 error format. */
|
|
35429
|
+
'$.xgafv'?: string;
|
|
35430
|
+
/** Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123:subscribe`. */
|
|
35431
|
+
a2aEndpoint: string;
|
|
35432
|
+
/** OAuth access token. */
|
|
35433
|
+
access_token?: string;
|
|
35434
|
+
/** Data format for response. */
|
|
35435
|
+
alt?: string;
|
|
35436
|
+
/** JSONP */
|
|
35437
|
+
callback?: string;
|
|
35438
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
35439
|
+
fields?: string;
|
|
35440
|
+
/** 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. */
|
|
35441
|
+
key?: string;
|
|
35442
|
+
/** Required. The full resource path of the reasoning engine, captured from the URL. */
|
|
35443
|
+
name: string;
|
|
35444
|
+
/** OAuth 2.0 token for the current user. */
|
|
35445
|
+
oauth_token?: string;
|
|
35446
|
+
/** Returns response with indentations and line breaks. */
|
|
35447
|
+
prettyPrint?: boolean;
|
|
35448
|
+
/** 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. */
|
|
35449
|
+
quotaUser?: string;
|
|
35450
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
35451
|
+
upload_protocol?: string;
|
|
35452
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
35453
|
+
uploadType?: string;
|
|
35454
|
+
}): Request<GoogleApiHttpBody>;
|
|
35455
|
+
pushNotificationConfigs: PushNotificationConfigsResource;
|
|
35152
35456
|
}
|
|
35153
|
-
interface
|
|
35154
|
-
|
|
35457
|
+
interface V1Resource {
|
|
35458
|
+
/** Get request for reasoning engine instance via the A2A get protocol apis. */
|
|
35459
|
+
card(request?: {
|
|
35460
|
+
/** V1 error format. */
|
|
35461
|
+
'$.xgafv'?: string;
|
|
35462
|
+
/** Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123` */
|
|
35463
|
+
a2aEndpoint: string;
|
|
35464
|
+
/** OAuth access token. */
|
|
35465
|
+
access_token?: string;
|
|
35466
|
+
/** Data format for response. */
|
|
35467
|
+
alt?: string;
|
|
35468
|
+
/** JSONP */
|
|
35469
|
+
callback?: string;
|
|
35470
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
35471
|
+
fields?: string;
|
|
35472
|
+
/** Optional. The optional query parameter for the getTask endpoint. Mapped from "?history_length=". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned. */
|
|
35473
|
+
historyLength?: string;
|
|
35474
|
+
/** 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. */
|
|
35475
|
+
key?: string;
|
|
35476
|
+
/** Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
35477
|
+
name: string;
|
|
35478
|
+
/** OAuth 2.0 token for the current user. */
|
|
35479
|
+
oauth_token?: string;
|
|
35480
|
+
/** Returns response with indentations and line breaks. */
|
|
35481
|
+
prettyPrint?: boolean;
|
|
35482
|
+
/** 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. */
|
|
35483
|
+
quotaUser?: string;
|
|
35484
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
35485
|
+
upload_protocol?: string;
|
|
35486
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
35487
|
+
uploadType?: string;
|
|
35488
|
+
}): Request<{}>;
|
|
35489
|
+
message: MessageResource;
|
|
35490
|
+
tasks: TasksResource;
|
|
35491
|
+
}
|
|
35492
|
+
interface A2aResource {
|
|
35493
|
+
v1: V1Resource;
|
|
35494
|
+
}
|
|
35495
|
+
interface OperationsResource {
|
|
35496
|
+
/** 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`. */
|
|
35497
|
+
cancel(request?: {
|
|
35498
|
+
/** V1 error format. */
|
|
35499
|
+
'$.xgafv'?: string;
|
|
35500
|
+
/** OAuth access token. */
|
|
35501
|
+
access_token?: string;
|
|
35502
|
+
/** Data format for response. */
|
|
35503
|
+
alt?: string;
|
|
35504
|
+
/** JSONP */
|
|
35505
|
+
callback?: string;
|
|
35506
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
35507
|
+
fields?: string;
|
|
35508
|
+
/** 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. */
|
|
35509
|
+
key?: string;
|
|
35510
|
+
/** The name of the operation resource to be cancelled. */
|
|
35511
|
+
name: string;
|
|
35512
|
+
/** OAuth 2.0 token for the current user. */
|
|
35513
|
+
oauth_token?: string;
|
|
35514
|
+
/** Returns response with indentations and line breaks. */
|
|
35515
|
+
prettyPrint?: boolean;
|
|
35516
|
+
/** 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. */
|
|
35517
|
+
quotaUser?: string;
|
|
35518
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
35519
|
+
upload_protocol?: string;
|
|
35520
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
35521
|
+
uploadType?: string;
|
|
35522
|
+
}): Request<{}>;
|
|
35523
|
+
/** 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`. */
|
|
35524
|
+
delete(request?: {
|
|
35525
|
+
/** V1 error format. */
|
|
35526
|
+
'$.xgafv'?: string;
|
|
35527
|
+
/** OAuth access token. */
|
|
35528
|
+
access_token?: string;
|
|
35529
|
+
/** Data format for response. */
|
|
35530
|
+
alt?: string;
|
|
35531
|
+
/** JSONP */
|
|
35532
|
+
callback?: string;
|
|
35533
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
35534
|
+
fields?: string;
|
|
35535
|
+
/** 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. */
|
|
35536
|
+
key?: string;
|
|
35537
|
+
/** The name of the operation resource to be deleted. */
|
|
35538
|
+
name: string;
|
|
35539
|
+
/** OAuth 2.0 token for the current user. */
|
|
35540
|
+
oauth_token?: string;
|
|
35541
|
+
/** Returns response with indentations and line breaks. */
|
|
35542
|
+
prettyPrint?: boolean;
|
|
35543
|
+
/** 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. */
|
|
35544
|
+
quotaUser?: string;
|
|
35545
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
35546
|
+
upload_protocol?: string;
|
|
35547
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
35548
|
+
uploadType?: string;
|
|
35549
|
+
}): Request<{}>;
|
|
35550
|
+
/** 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. */
|
|
35551
|
+
get(request?: {
|
|
35552
|
+
/** V1 error format. */
|
|
35553
|
+
'$.xgafv'?: string;
|
|
35554
|
+
/** OAuth access token. */
|
|
35555
|
+
access_token?: string;
|
|
35556
|
+
/** Data format for response. */
|
|
35557
|
+
alt?: string;
|
|
35558
|
+
/** JSONP */
|
|
35559
|
+
callback?: string;
|
|
35560
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
35561
|
+
fields?: string;
|
|
35562
|
+
/** 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. */
|
|
35563
|
+
key?: string;
|
|
35564
|
+
/** The name of the operation resource. */
|
|
35565
|
+
name: string;
|
|
35566
|
+
/** OAuth 2.0 token for the current user. */
|
|
35567
|
+
oauth_token?: string;
|
|
35568
|
+
/** Returns response with indentations and line breaks. */
|
|
35569
|
+
prettyPrint?: boolean;
|
|
35570
|
+
/** 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. */
|
|
35571
|
+
quotaUser?: string;
|
|
35572
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
35573
|
+
upload_protocol?: string;
|
|
35574
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
35575
|
+
uploadType?: string;
|
|
35576
|
+
}): Request<GoogleLongrunningOperation>;
|
|
35577
|
+
/** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */
|
|
35578
|
+
wait(request?: {
|
|
35579
|
+
/** V1 error format. */
|
|
35580
|
+
'$.xgafv'?: string;
|
|
35581
|
+
/** OAuth access token. */
|
|
35582
|
+
access_token?: string;
|
|
35583
|
+
/** Data format for response. */
|
|
35584
|
+
alt?: string;
|
|
35585
|
+
/** JSONP */
|
|
35586
|
+
callback?: string;
|
|
35587
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
35588
|
+
fields?: string;
|
|
35589
|
+
/** 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. */
|
|
35590
|
+
key?: string;
|
|
35591
|
+
/** The name of the operation resource to wait on. */
|
|
35592
|
+
name: string;
|
|
35593
|
+
/** OAuth 2.0 token for the current user. */
|
|
35594
|
+
oauth_token?: string;
|
|
35595
|
+
/** Returns response with indentations and line breaks. */
|
|
35596
|
+
prettyPrint?: boolean;
|
|
35597
|
+
/** 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. */
|
|
35598
|
+
quotaUser?: string;
|
|
35599
|
+
/** The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. */
|
|
35600
|
+
timeout?: string;
|
|
35601
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
35602
|
+
upload_protocol?: string;
|
|
35603
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
35604
|
+
uploadType?: string;
|
|
35605
|
+
}): Request<GoogleLongrunningOperation>;
|
|
35606
|
+
}
|
|
35607
|
+
interface ExamplesResource {
|
|
35608
|
+
operations: OperationsResource;
|
|
35155
35609
|
}
|
|
35156
35610
|
interface OperationsResource {
|
|
35157
35611
|
/** 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`. */
|
|
@@ -36899,6 +37353,7 @@ declare namespace gapi.client {
|
|
|
36899
37353
|
},
|
|
36900
37354
|
body: GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest,
|
|
36901
37355
|
): Request<GoogleApiHttpBody>;
|
|
37356
|
+
a2a: A2aResource;
|
|
36902
37357
|
examples: ExamplesResource;
|
|
36903
37358
|
memories: MemoriesResource;
|
|
36904
37359
|
operations: OperationsResource;
|
|
@@ -41906,7 +42361,7 @@ declare namespace gapi.client {
|
|
|
41906
42361
|
alt?: string;
|
|
41907
42362
|
/** JSONP */
|
|
41908
42363
|
callback?: string;
|
|
41909
|
-
/** Optional.
|
|
42364
|
+
/** Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage. */
|
|
41910
42365
|
extraLocationTypes?: string | string[];
|
|
41911
42366
|
/** Selector specifying which fields to include in a partial response. */
|
|
41912
42367
|
fields?: string;
|
|
@@ -42270,6 +42725,73 @@ declare namespace gapi.client {
|
|
|
42270
42725
|
body: GoogleCloudAiplatformV1beta1CheckPublisherModelEulaAcceptanceRequest,
|
|
42271
42726
|
): Request<GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance>;
|
|
42272
42727
|
}
|
|
42728
|
+
interface ModelsResource {
|
|
42729
|
+
/** Enables model for the project if prerequisites are met (e.g. completed questionnaire and consents, or an active Private Offer). */
|
|
42730
|
+
enableModel(request: {
|
|
42731
|
+
/** V1 error format. */
|
|
42732
|
+
'$.xgafv'?: string;
|
|
42733
|
+
/** OAuth access token. */
|
|
42734
|
+
access_token?: string;
|
|
42735
|
+
/** Data format for response. */
|
|
42736
|
+
alt?: string;
|
|
42737
|
+
/** JSONP */
|
|
42738
|
+
callback?: string;
|
|
42739
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
42740
|
+
fields?: string;
|
|
42741
|
+
/** 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. */
|
|
42742
|
+
key?: string;
|
|
42743
|
+
/** Required. The name of the PublisherModel resource. Format: `publishers/{publisher}/models/{publisher_model}` */
|
|
42744
|
+
name: string;
|
|
42745
|
+
/** OAuth 2.0 token for the current user. */
|
|
42746
|
+
oauth_token?: string;
|
|
42747
|
+
/** Required. The project requesting access for named model. Format: `projects/{project}` */
|
|
42748
|
+
parent: string;
|
|
42749
|
+
/** Returns response with indentations and line breaks. */
|
|
42750
|
+
prettyPrint?: boolean;
|
|
42751
|
+
/** 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. */
|
|
42752
|
+
quotaUser?: string;
|
|
42753
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
42754
|
+
upload_protocol?: string;
|
|
42755
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
42756
|
+
uploadType?: string;
|
|
42757
|
+
/** Request body */
|
|
42758
|
+
resource: GoogleCloudAiplatformV1beta1EnableModelRequest;
|
|
42759
|
+
}): Request<GoogleCloudAiplatformV1beta1EnableModelResponse>;
|
|
42760
|
+
enableModel(
|
|
42761
|
+
request: {
|
|
42762
|
+
/** V1 error format. */
|
|
42763
|
+
'$.xgafv'?: string;
|
|
42764
|
+
/** OAuth access token. */
|
|
42765
|
+
access_token?: string;
|
|
42766
|
+
/** Data format for response. */
|
|
42767
|
+
alt?: string;
|
|
42768
|
+
/** JSONP */
|
|
42769
|
+
callback?: string;
|
|
42770
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
42771
|
+
fields?: string;
|
|
42772
|
+
/** 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. */
|
|
42773
|
+
key?: string;
|
|
42774
|
+
/** Required. The name of the PublisherModel resource. Format: `publishers/{publisher}/models/{publisher_model}` */
|
|
42775
|
+
name: string;
|
|
42776
|
+
/** OAuth 2.0 token for the current user. */
|
|
42777
|
+
oauth_token?: string;
|
|
42778
|
+
/** Required. The project requesting access for named model. Format: `projects/{project}` */
|
|
42779
|
+
parent: string;
|
|
42780
|
+
/** Returns response with indentations and line breaks. */
|
|
42781
|
+
prettyPrint?: boolean;
|
|
42782
|
+
/** 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. */
|
|
42783
|
+
quotaUser?: string;
|
|
42784
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
42785
|
+
upload_protocol?: string;
|
|
42786
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
42787
|
+
uploadType?: string;
|
|
42788
|
+
},
|
|
42789
|
+
body: GoogleCloudAiplatformV1beta1EnableModelRequest,
|
|
42790
|
+
): Request<GoogleCloudAiplatformV1beta1EnableModelResponse>;
|
|
42791
|
+
}
|
|
42792
|
+
interface PublishersResource {
|
|
42793
|
+
models: ModelsResource;
|
|
42794
|
+
}
|
|
42273
42795
|
interface ProjectsResource {
|
|
42274
42796
|
/** Fetches the configs of publisher models. */
|
|
42275
42797
|
fetchPublisherModelConfig(request?: {
|
|
@@ -42443,6 +42965,7 @@ declare namespace gapi.client {
|
|
|
42443
42965
|
): Request<GoogleLongrunningOperation>;
|
|
42444
42966
|
locations: LocationsResource;
|
|
42445
42967
|
modelGardenEula: ModelGardenEulaResource;
|
|
42968
|
+
publishers: PublishersResource;
|
|
42446
42969
|
}
|
|
42447
42970
|
interface ModelsResource {
|
|
42448
42971
|
/** Return a list of tokens based on the input text. */
|
|
@@ -42932,6 +43455,229 @@ declare namespace gapi.client {
|
|
|
42932
43455
|
interface PublishersResource {
|
|
42933
43456
|
models: ModelsResource;
|
|
42934
43457
|
}
|
|
43458
|
+
interface MessageResource {
|
|
43459
|
+
/** Send post request for reasoning engine instance via the A2A post protocol apis. */
|
|
43460
|
+
send(request?: {
|
|
43461
|
+
/** V1 error format. */
|
|
43462
|
+
'$.xgafv'?: string;
|
|
43463
|
+
/** Required. The a2a endpoint path, captured from the URL. e.g., v1/message:send */
|
|
43464
|
+
a2aEndpoint: string;
|
|
43465
|
+
/** OAuth access token. */
|
|
43466
|
+
access_token?: string;
|
|
43467
|
+
/** Data format for response. */
|
|
43468
|
+
alt?: string;
|
|
43469
|
+
/** JSONP */
|
|
43470
|
+
callback?: string;
|
|
43471
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
43472
|
+
fields?: string;
|
|
43473
|
+
/** 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. */
|
|
43474
|
+
key?: string;
|
|
43475
|
+
/** Required. The full resource path of the reasoning engine, captured from the URL. */
|
|
43476
|
+
name: string;
|
|
43477
|
+
/** OAuth 2.0 token for the current user. */
|
|
43478
|
+
oauth_token?: string;
|
|
43479
|
+
/** Returns response with indentations and line breaks. */
|
|
43480
|
+
prettyPrint?: boolean;
|
|
43481
|
+
/** 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. */
|
|
43482
|
+
quotaUser?: string;
|
|
43483
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
43484
|
+
upload_protocol?: string;
|
|
43485
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
43486
|
+
uploadType?: string;
|
|
43487
|
+
}): Request<{}>;
|
|
43488
|
+
/** Streams queries using a reasoning engine instance via the A2A streaming protocol apis. */
|
|
43489
|
+
stream(request?: {
|
|
43490
|
+
/** V1 error format. */
|
|
43491
|
+
'$.xgafv'?: string;
|
|
43492
|
+
/** Required. The http endpoint extracted from the URL path. e.g., v1/message:stream. */
|
|
43493
|
+
a2aEndpoint: string;
|
|
43494
|
+
/** OAuth access token. */
|
|
43495
|
+
access_token?: string;
|
|
43496
|
+
/** Data format for response. */
|
|
43497
|
+
alt?: string;
|
|
43498
|
+
/** JSONP */
|
|
43499
|
+
callback?: string;
|
|
43500
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
43501
|
+
fields?: string;
|
|
43502
|
+
/** 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. */
|
|
43503
|
+
key?: string;
|
|
43504
|
+
/** Required. The full resource path of the reasoning engine, captured from the URL. */
|
|
43505
|
+
name: string;
|
|
43506
|
+
/** OAuth 2.0 token for the current user. */
|
|
43507
|
+
oauth_token?: string;
|
|
43508
|
+
/** Returns response with indentations and line breaks. */
|
|
43509
|
+
prettyPrint?: boolean;
|
|
43510
|
+
/** 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. */
|
|
43511
|
+
quotaUser?: string;
|
|
43512
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
43513
|
+
upload_protocol?: string;
|
|
43514
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
43515
|
+
uploadType?: string;
|
|
43516
|
+
}): Request<GoogleApiHttpBody>;
|
|
43517
|
+
}
|
|
43518
|
+
interface PushNotificationConfigsResource {
|
|
43519
|
+
/** Get request for reasoning engine instance via the A2A get protocol apis. */
|
|
43520
|
+
a2aGetReasoningEngine(request?: {
|
|
43521
|
+
/** V1 error format. */
|
|
43522
|
+
'$.xgafv'?: string;
|
|
43523
|
+
/** Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123` */
|
|
43524
|
+
a2aEndpoint: string;
|
|
43525
|
+
/** OAuth access token. */
|
|
43526
|
+
access_token?: string;
|
|
43527
|
+
/** Data format for response. */
|
|
43528
|
+
alt?: string;
|
|
43529
|
+
/** JSONP */
|
|
43530
|
+
callback?: string;
|
|
43531
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
43532
|
+
fields?: string;
|
|
43533
|
+
/** Optional. The optional query parameter for the getTask endpoint. Mapped from "?history_length=". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned. */
|
|
43534
|
+
historyLength?: string;
|
|
43535
|
+
/** 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. */
|
|
43536
|
+
key?: string;
|
|
43537
|
+
/** Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
43538
|
+
name: string;
|
|
43539
|
+
/** OAuth 2.0 token for the current user. */
|
|
43540
|
+
oauth_token?: string;
|
|
43541
|
+
/** Returns response with indentations and line breaks. */
|
|
43542
|
+
prettyPrint?: boolean;
|
|
43543
|
+
/** 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. */
|
|
43544
|
+
quotaUser?: string;
|
|
43545
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
43546
|
+
upload_protocol?: string;
|
|
43547
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
43548
|
+
uploadType?: string;
|
|
43549
|
+
}): Request<{}>;
|
|
43550
|
+
}
|
|
43551
|
+
interface TasksResource {
|
|
43552
|
+
/** Get request for reasoning engine instance via the A2A get protocol apis. */
|
|
43553
|
+
a2aGetReasoningEngine(request?: {
|
|
43554
|
+
/** V1 error format. */
|
|
43555
|
+
'$.xgafv'?: string;
|
|
43556
|
+
/** Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123` */
|
|
43557
|
+
a2aEndpoint: string;
|
|
43558
|
+
/** OAuth access token. */
|
|
43559
|
+
access_token?: string;
|
|
43560
|
+
/** Data format for response. */
|
|
43561
|
+
alt?: string;
|
|
43562
|
+
/** JSONP */
|
|
43563
|
+
callback?: string;
|
|
43564
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
43565
|
+
fields?: string;
|
|
43566
|
+
/** Optional. The optional query parameter for the getTask endpoint. Mapped from "?history_length=". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned. */
|
|
43567
|
+
historyLength?: string;
|
|
43568
|
+
/** 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. */
|
|
43569
|
+
key?: string;
|
|
43570
|
+
/** Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
43571
|
+
name: string;
|
|
43572
|
+
/** OAuth 2.0 token for the current user. */
|
|
43573
|
+
oauth_token?: string;
|
|
43574
|
+
/** Returns response with indentations and line breaks. */
|
|
43575
|
+
prettyPrint?: boolean;
|
|
43576
|
+
/** 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. */
|
|
43577
|
+
quotaUser?: string;
|
|
43578
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
43579
|
+
upload_protocol?: string;
|
|
43580
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
43581
|
+
uploadType?: string;
|
|
43582
|
+
}): Request<{}>;
|
|
43583
|
+
/** Send post request for reasoning engine instance via the A2A post protocol apis. */
|
|
43584
|
+
cancel(request?: {
|
|
43585
|
+
/** V1 error format. */
|
|
43586
|
+
'$.xgafv'?: string;
|
|
43587
|
+
/** Required. The a2a endpoint path, captured from the URL. e.g., v1/message:send */
|
|
43588
|
+
a2aEndpoint: string;
|
|
43589
|
+
/** OAuth access token. */
|
|
43590
|
+
access_token?: string;
|
|
43591
|
+
/** Data format for response. */
|
|
43592
|
+
alt?: string;
|
|
43593
|
+
/** JSONP */
|
|
43594
|
+
callback?: string;
|
|
43595
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
43596
|
+
fields?: string;
|
|
43597
|
+
/** 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. */
|
|
43598
|
+
key?: string;
|
|
43599
|
+
/** Required. The full resource path of the reasoning engine, captured from the URL. */
|
|
43600
|
+
name: string;
|
|
43601
|
+
/** OAuth 2.0 token for the current user. */
|
|
43602
|
+
oauth_token?: string;
|
|
43603
|
+
/** Returns response with indentations and line breaks. */
|
|
43604
|
+
prettyPrint?: boolean;
|
|
43605
|
+
/** 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. */
|
|
43606
|
+
quotaUser?: string;
|
|
43607
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
43608
|
+
upload_protocol?: string;
|
|
43609
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
43610
|
+
uploadType?: string;
|
|
43611
|
+
}): Request<{}>;
|
|
43612
|
+
/** Stream get request for reasoning engine instance via the A2A stream get protocol apis. */
|
|
43613
|
+
subscribe(request?: {
|
|
43614
|
+
/** V1 error format. */
|
|
43615
|
+
'$.xgafv'?: string;
|
|
43616
|
+
/** Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123:subscribe`. */
|
|
43617
|
+
a2aEndpoint: string;
|
|
43618
|
+
/** OAuth access token. */
|
|
43619
|
+
access_token?: string;
|
|
43620
|
+
/** Data format for response. */
|
|
43621
|
+
alt?: string;
|
|
43622
|
+
/** JSONP */
|
|
43623
|
+
callback?: string;
|
|
43624
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
43625
|
+
fields?: string;
|
|
43626
|
+
/** 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. */
|
|
43627
|
+
key?: string;
|
|
43628
|
+
/** Required. The full resource path of the reasoning engine, captured from the URL. */
|
|
43629
|
+
name: string;
|
|
43630
|
+
/** OAuth 2.0 token for the current user. */
|
|
43631
|
+
oauth_token?: string;
|
|
43632
|
+
/** Returns response with indentations and line breaks. */
|
|
43633
|
+
prettyPrint?: boolean;
|
|
43634
|
+
/** 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. */
|
|
43635
|
+
quotaUser?: string;
|
|
43636
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
43637
|
+
upload_protocol?: string;
|
|
43638
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
43639
|
+
uploadType?: string;
|
|
43640
|
+
}): Request<GoogleApiHttpBody>;
|
|
43641
|
+
pushNotificationConfigs: PushNotificationConfigsResource;
|
|
43642
|
+
}
|
|
43643
|
+
interface V1Resource {
|
|
43644
|
+
/** Get request for reasoning engine instance via the A2A get protocol apis. */
|
|
43645
|
+
card(request?: {
|
|
43646
|
+
/** V1 error format. */
|
|
43647
|
+
'$.xgafv'?: string;
|
|
43648
|
+
/** Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123` */
|
|
43649
|
+
a2aEndpoint: string;
|
|
43650
|
+
/** OAuth access token. */
|
|
43651
|
+
access_token?: string;
|
|
43652
|
+
/** Data format for response. */
|
|
43653
|
+
alt?: string;
|
|
43654
|
+
/** JSONP */
|
|
43655
|
+
callback?: string;
|
|
43656
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
43657
|
+
fields?: string;
|
|
43658
|
+
/** Optional. The optional query parameter for the getTask endpoint. Mapped from "?history_length=". This indicates how many turns of history to return. If not set, the default value is 0, which means all the history will be returned. */
|
|
43659
|
+
historyLength?: string;
|
|
43660
|
+
/** 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. */
|
|
43661
|
+
key?: string;
|
|
43662
|
+
/** Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
43663
|
+
name: string;
|
|
43664
|
+
/** OAuth 2.0 token for the current user. */
|
|
43665
|
+
oauth_token?: string;
|
|
43666
|
+
/** Returns response with indentations and line breaks. */
|
|
43667
|
+
prettyPrint?: boolean;
|
|
43668
|
+
/** 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. */
|
|
43669
|
+
quotaUser?: string;
|
|
43670
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
43671
|
+
upload_protocol?: string;
|
|
43672
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
43673
|
+
uploadType?: string;
|
|
43674
|
+
}): Request<{}>;
|
|
43675
|
+
message: MessageResource;
|
|
43676
|
+
tasks: TasksResource;
|
|
43677
|
+
}
|
|
43678
|
+
interface A2aResource {
|
|
43679
|
+
v1: V1Resource;
|
|
43680
|
+
}
|
|
42935
43681
|
interface MemoriesResource {
|
|
42936
43682
|
/** Create a Memory. */
|
|
42937
43683
|
create(request: {
|
|
@@ -43890,6 +44636,7 @@ declare namespace gapi.client {
|
|
|
43890
44636
|
},
|
|
43891
44637
|
body: GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest,
|
|
43892
44638
|
): Request<GoogleApiHttpBody>;
|
|
44639
|
+
a2a: A2aResource;
|
|
43893
44640
|
memories: MemoriesResource;
|
|
43894
44641
|
sessions: SessionsResource;
|
|
43895
44642
|
}
|