@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.2.20250825 → 0.2.20250909
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 +831 -78
- 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: 20250909
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1650,6 +1650,8 @@ declare namespace gapi.client {
|
|
|
1650
1650
|
createTime?: string;
|
|
1651
1651
|
/** A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration. */
|
|
1652
1652
|
dedicatedResources?: GoogleCloudAiplatformV1beta1DedicatedResources;
|
|
1653
|
+
/** For custom-trained Models and AutoML Tabular Models, the container of the DeployedModel instances will send `stderr` and `stdout` streams to Cloud Logging by default. Please note that the logs incur cost, which are subject to [Cloud Logging pricing](https://cloud.google.com/logging/pricing). User can disable container logging by setting this flag to true. */
|
|
1654
|
+
disableContainerLogging?: boolean;
|
|
1653
1655
|
/** If true, deploy the model without explainable feature, regardless the existence of Model.explanation_spec or explanation_spec. */
|
|
1654
1656
|
disableExplanations?: boolean;
|
|
1655
1657
|
/** The display name of the DeployedModel. If not provided upon creation, the Model's display_name is used. */
|
|
@@ -1792,7 +1794,7 @@ declare namespace gapi.client {
|
|
|
1792
1794
|
systemLabels?: {[P in string]: string};
|
|
1793
1795
|
}
|
|
1794
1796
|
interface GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig {
|
|
1795
|
-
/** 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. */
|
|
1796
1798
|
dedicatedEndpointDisabled?: boolean;
|
|
1797
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. */
|
|
1798
1800
|
dedicatedEndpointEnabled?: boolean;
|
|
@@ -1800,6 +1802,8 @@ declare namespace gapi.client {
|
|
|
1800
1802
|
endpointDisplayName?: string;
|
|
1801
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. */
|
|
1802
1804
|
endpointUserId?: string;
|
|
1805
|
+
/** Optional. Configuration for private service connect. If set, the endpoint will be exposed through private service connect. */
|
|
1806
|
+
privateServiceConnectConfig?: GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig;
|
|
1803
1807
|
}
|
|
1804
1808
|
interface GoogleCloudAiplatformV1beta1DeployRequestModelConfig {
|
|
1805
1809
|
/** Optional. Whether the user accepts the End User License Agreement (EULA) for the model. */
|
|
@@ -1900,6 +1904,16 @@ declare namespace gapi.client {
|
|
|
1900
1904
|
/** The mode of the predictor to be used in dynamic retrieval. */
|
|
1901
1905
|
mode?: string;
|
|
1902
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
|
+
}
|
|
1903
1917
|
interface GoogleCloudAiplatformV1beta1EncryptionSpec {
|
|
1904
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. */
|
|
1905
1919
|
kmsKeyName?: string;
|
|
@@ -2381,8 +2395,6 @@ declare namespace gapi.client {
|
|
|
2381
2395
|
model?: string;
|
|
2382
2396
|
}
|
|
2383
2397
|
interface GoogleCloudAiplatformV1beta1EvaluationRunMetric {
|
|
2384
|
-
/** Spec for a computation based metric. */
|
|
2385
|
-
computationBasedMetricSpec?: GoogleCloudAiplatformV1beta1EvaluationRunMetricComputationBasedMetricSpec;
|
|
2386
2398
|
/** Spec for an LLM based metric. */
|
|
2387
2399
|
llmBasedMetricSpec?: GoogleCloudAiplatformV1beta1EvaluationRunMetricLLMBasedMetricSpec;
|
|
2388
2400
|
/** Required. The name of the metric. */
|
|
@@ -2392,12 +2404,6 @@ declare namespace gapi.client {
|
|
|
2392
2404
|
/** Spec for rubric based metric. */
|
|
2393
2405
|
rubricBasedMetricSpec?: GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricBasedMetricSpec;
|
|
2394
2406
|
}
|
|
2395
|
-
interface GoogleCloudAiplatformV1beta1EvaluationRunMetricComputationBasedMetricSpec {
|
|
2396
|
-
/** Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}. */
|
|
2397
|
-
parameters?: {[P in string]: any};
|
|
2398
|
-
/** Required. The type of the computation based metric. */
|
|
2399
|
-
type?: string;
|
|
2400
|
-
}
|
|
2401
2407
|
interface GoogleCloudAiplatformV1beta1EvaluationRunMetricLLMBasedMetricSpec {
|
|
2402
2408
|
/** Optional. Optional additional configuration for the metric. */
|
|
2403
2409
|
additionalConfig?: {[P in string]: any};
|
|
@@ -3842,35 +3848,35 @@ declare namespace gapi.client {
|
|
|
3842
3848
|
usageMetadata?: GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata;
|
|
3843
3849
|
}
|
|
3844
3850
|
interface GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback {
|
|
3845
|
-
/** Output only.
|
|
3851
|
+
/** Output only. The reason why the prompt was blocked. */
|
|
3846
3852
|
blockReason?: string;
|
|
3847
|
-
/** Output only. A readable
|
|
3853
|
+
/** Output only. A readable message that explains the reason why the prompt was blocked. */
|
|
3848
3854
|
blockReasonMessage?: string;
|
|
3849
|
-
/** Output only.
|
|
3855
|
+
/** Output only. A list of safety ratings for the prompt. There is one rating per category. */
|
|
3850
3856
|
safetyRatings?: GoogleCloudAiplatformV1beta1SafetyRating[];
|
|
3851
3857
|
}
|
|
3852
3858
|
interface GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata {
|
|
3853
|
-
/** Output only.
|
|
3859
|
+
/** Output only. The number of tokens in the cached content that was used for this request. */
|
|
3854
3860
|
cachedContentTokenCount?: number;
|
|
3855
|
-
/** Output only.
|
|
3861
|
+
/** Output only. A detailed breakdown of the token count for each modality in the cached content. */
|
|
3856
3862
|
cacheTokensDetails?: GoogleCloudAiplatformV1beta1ModalityTokenCount[];
|
|
3857
|
-
/**
|
|
3863
|
+
/** The total number of tokens in the generated candidates. */
|
|
3858
3864
|
candidatesTokenCount?: number;
|
|
3859
|
-
/** Output only.
|
|
3865
|
+
/** Output only. A detailed breakdown of the token count for each modality in the generated candidates. */
|
|
3860
3866
|
candidatesTokensDetails?: GoogleCloudAiplatformV1beta1ModalityTokenCount[];
|
|
3861
|
-
/**
|
|
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. */
|
|
3862
3868
|
promptTokenCount?: number;
|
|
3863
|
-
/** Output only.
|
|
3869
|
+
/** Output only. A detailed breakdown of the token count for each modality in the prompt. */
|
|
3864
3870
|
promptTokensDetails?: GoogleCloudAiplatformV1beta1ModalityTokenCount[];
|
|
3865
|
-
/** Output only.
|
|
3871
|
+
/** Output only. The number of tokens that were part of the model's generated "thoughts" output, if applicable. */
|
|
3866
3872
|
thoughtsTokenCount?: number;
|
|
3867
|
-
/** 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. */
|
|
3868
3874
|
toolUsePromptTokenCount?: number;
|
|
3869
|
-
/** 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. */
|
|
3870
3876
|
toolUsePromptTokensDetails?: GoogleCloudAiplatformV1beta1ModalityTokenCount[];
|
|
3871
|
-
/**
|
|
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`. */
|
|
3872
3878
|
totalTokenCount?: number;
|
|
3873
|
-
/** Output only.
|
|
3879
|
+
/** Output only. The traffic type for this request. */
|
|
3874
3880
|
trafficType?: string;
|
|
3875
3881
|
}
|
|
3876
3882
|
interface GoogleCloudAiplatformV1beta1GenerateInstanceRubricsRequest {
|
|
@@ -4045,7 +4051,10 @@ declare namespace gapi.client {
|
|
|
4045
4051
|
/** Required. The type of the Google Drive resource. */
|
|
4046
4052
|
resourceType?: string;
|
|
4047
4053
|
}
|
|
4048
|
-
interface GoogleCloudAiplatformV1beta1GoogleMaps {
|
|
4054
|
+
interface GoogleCloudAiplatformV1beta1GoogleMaps {
|
|
4055
|
+
/** Optional. If true, include the widget context token in the response. */
|
|
4056
|
+
enableWidget?: boolean;
|
|
4057
|
+
}
|
|
4049
4058
|
interface GoogleCloudAiplatformV1beta1GoogleSearchRetrieval {
|
|
4050
4059
|
/** Specifies the dynamic retrieval configuration for the given source. */
|
|
4051
4060
|
dynamicRetrievalConfig?: GoogleCloudAiplatformV1beta1DynamicRetrievalConfig;
|
|
@@ -4087,38 +4096,24 @@ declare namespace gapi.client {
|
|
|
4087
4096
|
placeAnswerSources?: GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources;
|
|
4088
4097
|
/** This Place's resource name, in `places/{place_id}` format. Can be used to look up the Place. */
|
|
4089
4098
|
placeId?: string;
|
|
4090
|
-
/** Text of the
|
|
4099
|
+
/** Text of the place answer. */
|
|
4091
4100
|
text?: string;
|
|
4092
|
-
/** Title of the
|
|
4101
|
+
/** Title of the place. */
|
|
4093
4102
|
title?: string;
|
|
4094
|
-
/** URI reference of the
|
|
4103
|
+
/** URI reference of the place. */
|
|
4095
4104
|
uri?: string;
|
|
4096
4105
|
}
|
|
4097
4106
|
interface GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources {
|
|
4098
|
-
/** A link where users can flag a problem with the generated answer. */
|
|
4099
|
-
flagContentUri?: string;
|
|
4100
4107
|
/** Snippets of reviews that are used to generate the answer. */
|
|
4101
4108
|
reviewSnippets?: GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet[];
|
|
4102
4109
|
}
|
|
4103
|
-
interface GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution {
|
|
4104
|
-
/** Name of the author of the Photo or Review. */
|
|
4105
|
-
displayName?: string;
|
|
4106
|
-
/** Profile photo URI of the author of the Photo or Review. */
|
|
4107
|
-
photoUri?: string;
|
|
4108
|
-
/** URI of the author of the Photo or Review. */
|
|
4109
|
-
uri?: string;
|
|
4110
|
-
}
|
|
4111
4110
|
interface GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet {
|
|
4112
|
-
/** This review's author. */
|
|
4113
|
-
authorAttribution?: GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution;
|
|
4114
|
-
/** A link where users can flag a problem with the review. */
|
|
4115
|
-
flagContentUri?: string;
|
|
4116
4111
|
/** A link to show the review on Google Maps. */
|
|
4117
4112
|
googleMapsUri?: string;
|
|
4118
|
-
/**
|
|
4119
|
-
|
|
4120
|
-
/**
|
|
4121
|
-
|
|
4113
|
+
/** Id of the review referencing the place. */
|
|
4114
|
+
reviewId?: string;
|
|
4115
|
+
/** Title of the review. */
|
|
4116
|
+
title?: string;
|
|
4122
4117
|
}
|
|
4123
4118
|
interface GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext {
|
|
4124
4119
|
/** Output only. The full document name for the referenced Vertex AI Search document. */
|
|
@@ -4153,9 +4148,17 @@ declare namespace gapi.client {
|
|
|
4153
4148
|
retrievalQueries?: string[];
|
|
4154
4149
|
/** Optional. Google search entry for the following-up web searches. */
|
|
4155
4150
|
searchEntryPoint?: GoogleCloudAiplatformV1beta1SearchEntryPoint;
|
|
4151
|
+
/** Optional. Output only. List of source flagging uris. This is currently populated only for Google Maps grounding. */
|
|
4152
|
+
sourceFlaggingUris?: GoogleCloudAiplatformV1beta1GroundingMetadataSourceFlaggingUri[];
|
|
4156
4153
|
/** Optional. Web search queries for the following-up web search. */
|
|
4157
4154
|
webSearchQueries?: string[];
|
|
4158
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
|
+
}
|
|
4159
4162
|
interface GoogleCloudAiplatformV1beta1GroundingSupport {
|
|
4160
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. */
|
|
4161
4164
|
confidenceScores?: number[];
|
|
@@ -4538,6 +4541,12 @@ declare namespace gapi.client {
|
|
|
4538
4541
|
/** Required. internal service state. */
|
|
4539
4542
|
serviceState?: string;
|
|
4540
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
|
+
}
|
|
4541
4550
|
interface GoogleCloudAiplatformV1beta1JiraSource {
|
|
4542
4551
|
/** Required. The Jira queries. */
|
|
4543
4552
|
jiraQueries?: GoogleCloudAiplatformV1beta1JiraSourceJiraQueries[];
|
|
@@ -4966,6 +4975,22 @@ declare namespace gapi.client {
|
|
|
4966
4975
|
/** List of TuningJobs in the requested page. */
|
|
4967
4976
|
tuningJobs?: GoogleCloudAiplatformV1beta1TuningJob[];
|
|
4968
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
|
+
}
|
|
4969
4994
|
interface GoogleCloudAiplatformV1beta1LogprobsResult {
|
|
4970
4995
|
/** Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates. */
|
|
4971
4996
|
chosenCandidates?: GoogleCloudAiplatformV1beta1LogprobsResultCandidate[];
|
|
@@ -5029,7 +5054,7 @@ declare namespace gapi.client {
|
|
|
5029
5054
|
description?: string;
|
|
5030
5055
|
/** Optional. Display name of the Memory. */
|
|
5031
5056
|
displayName?: string;
|
|
5032
|
-
/** Optional. Timestamp of when this resource is considered expired. This is *always* provided on output, regardless of
|
|
5057
|
+
/** Optional. Timestamp of when this resource is considered expired. This is *always* provided on output when `expiration` is set on input, regardless of whether `expire_time` or `ttl` was provided. */
|
|
5033
5058
|
expireTime?: string;
|
|
5034
5059
|
/** Required. Semantic knowledge extracted from the source content. */
|
|
5035
5060
|
fact?: string;
|
|
@@ -5067,6 +5092,8 @@ declare namespace gapi.client {
|
|
|
5067
5092
|
interface GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExampleGeneratedMemory {
|
|
5068
5093
|
/** Required. The fact to generate a memory from. */
|
|
5069
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[];
|
|
5070
5097
|
}
|
|
5071
5098
|
interface GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigMemoryTopic {
|
|
5072
5099
|
/** A custom memory topic defined by the developer. */
|
|
@@ -5084,6 +5111,12 @@ declare namespace gapi.client {
|
|
|
5084
5111
|
/** Required. The managed topic. */
|
|
5085
5112
|
managedTopicEnum?: string;
|
|
5086
5113
|
}
|
|
5114
|
+
interface GoogleCloudAiplatformV1beta1MemoryTopicId {
|
|
5115
|
+
/** Optional. The custom memory topic label. */
|
|
5116
|
+
customMemoryTopicLabel?: string;
|
|
5117
|
+
/** Optional. The managed memory topic. */
|
|
5118
|
+
managedMemoryTopic?: string;
|
|
5119
|
+
}
|
|
5087
5120
|
interface GoogleCloudAiplatformV1beta1MergeVersionAliasesRequest {
|
|
5088
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. */
|
|
5089
5122
|
versionAliases?: string[];
|
|
@@ -5137,6 +5170,8 @@ declare namespace gapi.client {
|
|
|
5137
5170
|
bleuSpec?: GoogleCloudAiplatformV1beta1BleuSpec;
|
|
5138
5171
|
/** Spec for exact match metric. */
|
|
5139
5172
|
exactMatchSpec?: any;
|
|
5173
|
+
/** Spec for an LLM based metric. */
|
|
5174
|
+
llmBasedMetricSpec?: GoogleCloudAiplatformV1beta1LLMBasedMetricSpec;
|
|
5140
5175
|
/** Spec for pairwise metric. */
|
|
5141
5176
|
pairwiseMetricSpec?: GoogleCloudAiplatformV1beta1PairwiseMetricSpec;
|
|
5142
5177
|
/** Spec for pointwise metric. */
|
|
@@ -5147,11 +5182,13 @@ declare namespace gapi.client {
|
|
|
5147
5182
|
rougeSpec?: GoogleCloudAiplatformV1beta1RougeSpec;
|
|
5148
5183
|
}
|
|
5149
5184
|
interface GoogleCloudAiplatformV1beta1MetricResult {
|
|
5150
|
-
/** The
|
|
5185
|
+
/** Output only. The error status for the metric result. */
|
|
5186
|
+
error?: GoogleRpcStatus;
|
|
5187
|
+
/** Output only. The explanation for the metric result. */
|
|
5151
5188
|
explanation?: string;
|
|
5152
|
-
/** For rubric-based metrics, the verdicts for each rubric. */
|
|
5189
|
+
/** Output only. For rubric-based metrics, the verdicts for each rubric. */
|
|
5153
5190
|
rubricVerdicts?: GoogleCloudAiplatformV1beta1RubricVerdict[];
|
|
5154
|
-
/** The score for the metric. Please refer to each metric's documentation for the meaning of the score. */
|
|
5191
|
+
/** Output only. The score for the metric. Please refer to each metric's documentation for the meaning of the score. */
|
|
5155
5192
|
score?: number;
|
|
5156
5193
|
}
|
|
5157
5194
|
interface GoogleCloudAiplatformV1beta1MetricxInput {
|
|
@@ -6947,6 +6984,8 @@ declare namespace gapi.client {
|
|
|
6947
6984
|
interface GoogleCloudAiplatformV1beta1PreferenceOptimizationSpec {
|
|
6948
6985
|
/** Optional. Evaluation Config for Preference Optimization Job. */
|
|
6949
6986
|
evaluationConfig?: GoogleCloudAiplatformV1beta1EvaluationConfig;
|
|
6987
|
+
/** Optional. If set to true, disable intermediate checkpoints for Preference Optimization and only the last checkpoint will be exported. Otherwise, enable intermediate checkpoints for Preference Optimization. Default is false. */
|
|
6988
|
+
exportLastCheckpointOnly?: boolean;
|
|
6950
6989
|
/** Optional. Hyperparameters for Preference Optimization. */
|
|
6951
6990
|
hyperParameters?: GoogleCloudAiplatformV1beta1PreferenceOptimizationHyperParameters;
|
|
6952
6991
|
/** Required. Cloud Storage path to file containing training dataset for preference optimization tuning. The dataset must be formatted as a JSONL file. */
|
|
@@ -7873,6 +7912,8 @@ declare namespace gapi.client {
|
|
|
7873
7912
|
encryptionSpec?: GoogleCloudAiplatformV1beta1EncryptionSpec;
|
|
7874
7913
|
/** Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. */
|
|
7875
7914
|
etag?: string;
|
|
7915
|
+
/** Labels for the ReasoningEngine. */
|
|
7916
|
+
labels?: {[P in string]: string};
|
|
7876
7917
|
/** Identifier. The resource name of the ReasoningEngine. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
7877
7918
|
name?: string;
|
|
7878
7919
|
/** Optional. Configurations of the ReasoningEngine */
|
|
@@ -8391,8 +8432,6 @@ declare namespace gapi.client {
|
|
|
8391
8432
|
createTime?: string;
|
|
8392
8433
|
/** Required. The display name of the SandboxEnvironment. */
|
|
8393
8434
|
displayName?: string;
|
|
8394
|
-
/** Output only. Additional information about the SandboxEnvironment. */
|
|
8395
|
-
metadata?: any;
|
|
8396
8435
|
/** Identifier. The name of the SandboxEnvironment. */
|
|
8397
8436
|
name?: string;
|
|
8398
8437
|
/** Optional. The configuration of the SandboxEnvironment. */
|
|
@@ -8409,10 +8448,6 @@ declare namespace gapi.client {
|
|
|
8409
8448
|
interface GoogleCloudAiplatformV1beta1SandboxEnvironmentSpecCodeExecutionEnvironment {
|
|
8410
8449
|
/** The coding language supported in this environment. */
|
|
8411
8450
|
codeLanguage?: string;
|
|
8412
|
-
/** Optional. The additional dependencies to install in the code execution environment. For example, "pandas==2.2.3". */
|
|
8413
|
-
dependencies?: string[];
|
|
8414
|
-
/** Optional. The environment variables to set in the code execution environment. */
|
|
8415
|
-
env?: GoogleCloudAiplatformV1beta1EnvVar[];
|
|
8416
8451
|
/** The machine config of the code execution environment. */
|
|
8417
8452
|
machineConfig?: string;
|
|
8418
8453
|
}
|
|
@@ -10988,10 +11023,10 @@ declare namespace gapi.client {
|
|
|
10988
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. */
|
|
10989
11024
|
functionDeclarations?: GoogleCloudAiplatformV1beta1FunctionDeclaration[];
|
|
10990
11025
|
/** Optional. GoogleMaps tool type. Tool to support Google Maps in Model. */
|
|
10991
|
-
googleMaps?:
|
|
11026
|
+
googleMaps?: GoogleCloudAiplatformV1beta1GoogleMaps;
|
|
10992
11027
|
/** Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. */
|
|
10993
11028
|
googleSearch?: GoogleCloudAiplatformV1beta1ToolGoogleSearch;
|
|
10994
|
-
/** Optional.
|
|
11029
|
+
/** Optional. Specialized retrieval tool that is powered by Google Search. */
|
|
10995
11030
|
googleSearchRetrieval?: GoogleCloudAiplatformV1beta1GoogleSearchRetrieval;
|
|
10996
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. */
|
|
10997
11032
|
retrieval?: GoogleCloudAiplatformV1beta1Retrieval;
|
|
@@ -16639,6 +16674,201 @@ declare namespace gapi.client {
|
|
|
16639
16674
|
body: GoogleApiHttpBody,
|
|
16640
16675
|
): Request<GoogleApiHttpBody>;
|
|
16641
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
|
+
}
|
|
16642
16872
|
interface OperationsResource {
|
|
16643
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`. */
|
|
16644
16874
|
cancel(request?: {
|
|
@@ -18074,6 +18304,9 @@ declare namespace gapi.client {
|
|
|
18074
18304
|
body: GoogleCloudAiplatformV1beta1UpdateEndpointLongRunningRequest,
|
|
18075
18305
|
): Request<GoogleLongrunningOperation>;
|
|
18076
18306
|
chat: ChatResource;
|
|
18307
|
+
deployedModels: DeployedModelsResource;
|
|
18308
|
+
invoke: InvokeResource;
|
|
18309
|
+
openapi: OpenapiResource;
|
|
18077
18310
|
operations: OperationsResource;
|
|
18078
18311
|
}
|
|
18079
18312
|
interface OperationsResource {
|
|
@@ -35036,11 +35269,13 @@ declare namespace gapi.client {
|
|
|
35036
35269
|
interface RagEngineConfigResource {
|
|
35037
35270
|
operations: OperationsResource;
|
|
35038
35271
|
}
|
|
35039
|
-
interface
|
|
35040
|
-
/**
|
|
35041
|
-
|
|
35272
|
+
interface MessageResource {
|
|
35273
|
+
/** Send post request for reasoning engine instance via the A2A post protocol apis. */
|
|
35274
|
+
send(request?: {
|
|
35042
35275
|
/** V1 error format. */
|
|
35043
35276
|
'$.xgafv'?: string;
|
|
35277
|
+
/** Required. The a2a endpoint path, captured from the URL. e.g., v1/message:send */
|
|
35278
|
+
a2aEndpoint: string;
|
|
35044
35279
|
/** OAuth access token. */
|
|
35045
35280
|
access_token?: string;
|
|
35046
35281
|
/** Data format for response. */
|
|
@@ -35051,7 +35286,7 @@ declare namespace gapi.client {
|
|
|
35051
35286
|
fields?: string;
|
|
35052
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. */
|
|
35053
35288
|
key?: string;
|
|
35054
|
-
/** The
|
|
35289
|
+
/** Required. The full resource path of the reasoning engine, captured from the URL. */
|
|
35055
35290
|
name: string;
|
|
35056
35291
|
/** OAuth 2.0 token for the current user. */
|
|
35057
35292
|
oauth_token?: string;
|
|
@@ -35064,10 +35299,12 @@ declare namespace gapi.client {
|
|
|
35064
35299
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
35065
35300
|
uploadType?: string;
|
|
35066
35301
|
}): Request<{}>;
|
|
35067
|
-
/**
|
|
35068
|
-
|
|
35302
|
+
/** Streams queries using a reasoning engine instance via the A2A streaming protocol apis. */
|
|
35303
|
+
stream(request?: {
|
|
35069
35304
|
/** V1 error format. */
|
|
35070
35305
|
'$.xgafv'?: string;
|
|
35306
|
+
/** Required. The http endpoint extracted from the URL path. e.g., v1/message:stream. */
|
|
35307
|
+
a2aEndpoint: string;
|
|
35071
35308
|
/** OAuth access token. */
|
|
35072
35309
|
access_token?: string;
|
|
35073
35310
|
/** Data format for response. */
|
|
@@ -35078,7 +35315,40 @@ declare namespace gapi.client {
|
|
|
35078
35315
|
fields?: string;
|
|
35079
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. */
|
|
35080
35317
|
key?: string;
|
|
35081
|
-
/** 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}` */
|
|
35082
35352
|
name: string;
|
|
35083
35353
|
/** OAuth 2.0 token for the current user. */
|
|
35084
35354
|
oauth_token?: string;
|
|
@@ -35091,10 +35361,14 @@ declare namespace gapi.client {
|
|
|
35091
35361
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
35092
35362
|
uploadType?: string;
|
|
35093
35363
|
}): Request<{}>;
|
|
35094
|
-
|
|
35095
|
-
|
|
35364
|
+
}
|
|
35365
|
+
interface TasksResource {
|
|
35366
|
+
/** Get request for reasoning engine instance via the A2A get protocol apis. */
|
|
35367
|
+
a2aGetReasoningEngine(request?: {
|
|
35096
35368
|
/** V1 error format. */
|
|
35097
35369
|
'$.xgafv'?: string;
|
|
35370
|
+
/** Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123` */
|
|
35371
|
+
a2aEndpoint: string;
|
|
35098
35372
|
/** OAuth access token. */
|
|
35099
35373
|
access_token?: string;
|
|
35100
35374
|
/** Data format for response. */
|
|
@@ -35103,9 +35377,11 @@ declare namespace gapi.client {
|
|
|
35103
35377
|
callback?: string;
|
|
35104
35378
|
/** Selector specifying which fields to include in a partial response. */
|
|
35105
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;
|
|
35106
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. */
|
|
35107
35383
|
key?: string;
|
|
35108
|
-
/** The
|
|
35384
|
+
/** Required. The full resource path of the reasoning engine, captured from the URL. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
35109
35385
|
name: string;
|
|
35110
35386
|
/** OAuth 2.0 token for the current user. */
|
|
35111
35387
|
oauth_token?: string;
|
|
@@ -35117,11 +35393,13 @@ declare namespace gapi.client {
|
|
|
35117
35393
|
upload_protocol?: string;
|
|
35118
35394
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
35119
35395
|
uploadType?: string;
|
|
35120
|
-
}): Request<
|
|
35121
|
-
/**
|
|
35122
|
-
|
|
35396
|
+
}): Request<{}>;
|
|
35397
|
+
/** Send post request for reasoning engine instance via the A2A post protocol apis. */
|
|
35398
|
+
cancel(request?: {
|
|
35123
35399
|
/** V1 error format. */
|
|
35124
35400
|
'$.xgafv'?: string;
|
|
35401
|
+
/** Required. The a2a endpoint path, captured from the URL. e.g., v1/message:send */
|
|
35402
|
+
a2aEndpoint: string;
|
|
35125
35403
|
/** OAuth access token. */
|
|
35126
35404
|
access_token?: string;
|
|
35127
35405
|
/** Data format for response. */
|
|
@@ -35132,7 +35410,7 @@ declare namespace gapi.client {
|
|
|
35132
35410
|
fields?: string;
|
|
35133
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. */
|
|
35134
35412
|
key?: string;
|
|
35135
|
-
/** The
|
|
35413
|
+
/** Required. The full resource path of the reasoning engine, captured from the URL. */
|
|
35136
35414
|
name: string;
|
|
35137
35415
|
/** OAuth 2.0 token for the current user. */
|
|
35138
35416
|
oauth_token?: string;
|
|
@@ -35140,16 +35418,194 @@ declare namespace gapi.client {
|
|
|
35140
35418
|
prettyPrint?: boolean;
|
|
35141
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. */
|
|
35142
35420
|
quotaUser?: string;
|
|
35143
|
-
/** 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. */
|
|
35144
|
-
timeout?: string;
|
|
35145
35421
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
35146
35422
|
upload_protocol?: string;
|
|
35147
35423
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
35148
35424
|
uploadType?: string;
|
|
35149
|
-
}): 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;
|
|
35150
35456
|
}
|
|
35151
|
-
interface
|
|
35152
|
-
|
|
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;
|
|
35153
35609
|
}
|
|
35154
35610
|
interface OperationsResource {
|
|
35155
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`. */
|
|
@@ -35485,6 +35941,8 @@ declare namespace gapi.client {
|
|
|
35485
35941
|
key?: string;
|
|
35486
35942
|
/** OAuth 2.0 token for the current user. */
|
|
35487
35943
|
oauth_token?: string;
|
|
35944
|
+
/** Optional. The standard list order by string. If not specified, the default order is `create_time desc`. If specified, the default sorting order of provided fields is ascending. More detail in [AIP-132](https://google.aip.dev/132). Supported fields: * `create_time` * `update_time` */
|
|
35945
|
+
orderBy?: string;
|
|
35488
35946
|
/** Optional. The standard list page size. */
|
|
35489
35947
|
pageSize?: number;
|
|
35490
35948
|
/** Optional. The standard list page token. */
|
|
@@ -36895,6 +37353,7 @@ declare namespace gapi.client {
|
|
|
36895
37353
|
},
|
|
36896
37354
|
body: GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest,
|
|
36897
37355
|
): Request<GoogleApiHttpBody>;
|
|
37356
|
+
a2a: A2aResource;
|
|
36898
37357
|
examples: ExamplesResource;
|
|
36899
37358
|
memories: MemoriesResource;
|
|
36900
37359
|
operations: OperationsResource;
|
|
@@ -41902,7 +42361,7 @@ declare namespace gapi.client {
|
|
|
41902
42361
|
alt?: string;
|
|
41903
42362
|
/** JSONP */
|
|
41904
42363
|
callback?: string;
|
|
41905
|
-
/** Optional.
|
|
42364
|
+
/** Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage. */
|
|
41906
42365
|
extraLocationTypes?: string | string[];
|
|
41907
42366
|
/** Selector specifying which fields to include in a partial response. */
|
|
41908
42367
|
fields?: string;
|
|
@@ -42266,6 +42725,73 @@ declare namespace gapi.client {
|
|
|
42266
42725
|
body: GoogleCloudAiplatformV1beta1CheckPublisherModelEulaAcceptanceRequest,
|
|
42267
42726
|
): Request<GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance>;
|
|
42268
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
|
+
}
|
|
42269
42795
|
interface ProjectsResource {
|
|
42270
42796
|
/** Fetches the configs of publisher models. */
|
|
42271
42797
|
fetchPublisherModelConfig(request?: {
|
|
@@ -42439,6 +42965,7 @@ declare namespace gapi.client {
|
|
|
42439
42965
|
): Request<GoogleLongrunningOperation>;
|
|
42440
42966
|
locations: LocationsResource;
|
|
42441
42967
|
modelGardenEula: ModelGardenEulaResource;
|
|
42968
|
+
publishers: PublishersResource;
|
|
42442
42969
|
}
|
|
42443
42970
|
interface ModelsResource {
|
|
42444
42971
|
/** Return a list of tokens based on the input text. */
|
|
@@ -42928,6 +43455,229 @@ declare namespace gapi.client {
|
|
|
42928
43455
|
interface PublishersResource {
|
|
42929
43456
|
models: ModelsResource;
|
|
42930
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
|
+
}
|
|
42931
43681
|
interface MemoriesResource {
|
|
42932
43682
|
/** Create a Memory. */
|
|
42933
43683
|
create(request: {
|
|
@@ -43117,6 +43867,8 @@ declare namespace gapi.client {
|
|
|
43117
43867
|
key?: string;
|
|
43118
43868
|
/** OAuth 2.0 token for the current user. */
|
|
43119
43869
|
oauth_token?: string;
|
|
43870
|
+
/** Optional. The standard list order by string. If not specified, the default order is `create_time desc`. If specified, the default sorting order of provided fields is ascending. More detail in [AIP-132](https://google.aip.dev/132). Supported fields: * `create_time` * `update_time` */
|
|
43871
|
+
orderBy?: string;
|
|
43120
43872
|
/** Optional. The standard list page size. */
|
|
43121
43873
|
pageSize?: number;
|
|
43122
43874
|
/** Optional. The standard list page token. */
|
|
@@ -43884,6 +44636,7 @@ declare namespace gapi.client {
|
|
|
43884
44636
|
},
|
|
43885
44637
|
body: GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest,
|
|
43886
44638
|
): Request<GoogleApiHttpBody>;
|
|
44639
|
+
a2a: A2aResource;
|
|
43887
44640
|
memories: MemoriesResource;
|
|
43888
44641
|
sessions: SessionsResource;
|
|
43889
44642
|
}
|