@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20250527 → 0.0.20250602
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 +449 -2
- 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: 20250602
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -3300,8 +3300,12 @@ declare namespace gapi.client {
|
|
|
3300
3300
|
name?: string;
|
|
3301
3301
|
/** Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1 */
|
|
3302
3302
|
parameters?: GoogleCloudAiplatformV1beta1Schema;
|
|
3303
|
+
/** Optional. Describes the parameters to the function in JSON Schema format. The schema must describe an object where the properties are the parameters to the function. For example: ``` { "type": "object", "properties": { "name": { "type": "string" }, "age": { "type": "integer" } }, "additionalProperties": false, "required": ["name", "age"], "propertyOrdering": ["name", "age"] } ``` This field is mutually exclusive with `parameters`. */
|
|
3304
|
+
parametersJsonSchema?: any;
|
|
3303
3305
|
/** Optional. Describes the output from this function in JSON Schema format. Reflects the Open API 3.03 Response Object. The Schema defines the type used for the response value of the function. */
|
|
3304
3306
|
response?: GoogleCloudAiplatformV1beta1Schema;
|
|
3307
|
+
/** Optional. Describes the output from this function in JSON Schema format. The value specified by the schema is the response value of the function. This field is mutually exclusive with `response`. */
|
|
3308
|
+
responseJsonSchema?: any;
|
|
3305
3309
|
}
|
|
3306
3310
|
interface GoogleCloudAiplatformV1beta1FunctionResponse {
|
|
3307
3311
|
/** Optional. The id of the function call this response is for. Populated by the client to match the corresponding function call `id`. */
|
|
@@ -3474,6 +3478,8 @@ declare namespace gapi.client {
|
|
|
3474
3478
|
modelConfig?: GoogleCloudAiplatformV1beta1GenerationConfigModelConfig;
|
|
3475
3479
|
/** Optional. Positive penalties. */
|
|
3476
3480
|
presencePenalty?: number;
|
|
3481
|
+
/** Optional. Output schema of the generated response. This is an alternative to `response_schema` that accepts [JSON Schema](https://json-schema.org/). If set, `response_schema` must be omitted, but `response_mime_type` is required. While the full JSON Schema may be sent, not all features are supported. Specifically, only the following properties are supported: - `$id` - `$defs` - `$ref` - `$anchor` - `type` - `format` - `title` - `description` - `enum` (for strings and numbers) - `items` - `prefixItems` - `minItems` - `maxItems` - `minimum` - `maximum` - `anyOf` - `oneOf` (interpreted the same as `anyOf`) - `properties` - `additionalProperties` - `required` The non-standard `propertyOrdering` property may also be set. Cyclic references are unrolled to a limited degree and, as such, may only be used within non-required properties. (Nullable properties are not sufficient.) If `$ref` is set on a sub-schema, no other properties, except for than those starting as a `$`, may be set. */
|
|
3482
|
+
responseJsonSchema?: any;
|
|
3477
3483
|
/** Optional. If true, export the logprobs results in response. */
|
|
3478
3484
|
responseLogprobs?: boolean;
|
|
3479
3485
|
/** Optional. Output response mimetype of the generated candidate text. Supported mimetype: - `text/plain`: (default) Text output. - `application/json`: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. */
|
|
@@ -5875,8 +5881,10 @@ declare namespace gapi.client {
|
|
|
5875
5881
|
inlineData?: GoogleCloudAiplatformV1beta1Blob;
|
|
5876
5882
|
/** Optional. Text part (can be code). */
|
|
5877
5883
|
text?: string;
|
|
5878
|
-
/**
|
|
5884
|
+
/** Optional. Indicates if the part is thought from the model. */
|
|
5879
5885
|
thought?: boolean;
|
|
5886
|
+
/** Optional. An opaque signature for the thought so it can be reused in subsequent requests. */
|
|
5887
|
+
thoughtSignature?: string;
|
|
5880
5888
|
/** Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data. */
|
|
5881
5889
|
videoMetadata?: GoogleCloudAiplatformV1beta1VideoMetadata;
|
|
5882
5890
|
}
|
|
@@ -6718,6 +6726,8 @@ declare namespace gapi.client {
|
|
|
6718
6726
|
interface GoogleCloudAiplatformV1beta1RagCorpus {
|
|
6719
6727
|
/** Output only. RagCorpus state. */
|
|
6720
6728
|
corpusStatus?: GoogleCloudAiplatformV1beta1CorpusStatus;
|
|
6729
|
+
/** Optional. The corpus type config of the RagCorpus. */
|
|
6730
|
+
corpusTypeConfig?: GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfig;
|
|
6721
6731
|
/** Output only. Timestamp when this RagCorpus was created. */
|
|
6722
6732
|
createTime?: string;
|
|
6723
6733
|
/** Optional. The description of the RagCorpus. */
|
|
@@ -6741,6 +6751,17 @@ declare namespace gapi.client {
|
|
|
6741
6751
|
/** Optional. Immutable. The config for the Vertex AI Search. */
|
|
6742
6752
|
vertexAiSearchConfig?: GoogleCloudAiplatformV1beta1VertexAiSearchConfig;
|
|
6743
6753
|
}
|
|
6754
|
+
interface GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfig {
|
|
6755
|
+
/** Optional. Config for the document corpus. */
|
|
6756
|
+
documentCorpus?: any;
|
|
6757
|
+
/** Optional. Config for the memory corpus. */
|
|
6758
|
+
memoryCorpus?: GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigMemoryCorpus;
|
|
6759
|
+
}
|
|
6760
|
+
interface GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigDocumentCorpus {}
|
|
6761
|
+
interface GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigMemoryCorpus {
|
|
6762
|
+
/** The LLM parser to use for the memory corpus. */
|
|
6763
|
+
llmParser?: GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser;
|
|
6764
|
+
}
|
|
6744
6765
|
interface GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig {
|
|
6745
6766
|
/** Configuration for hybrid search. */
|
|
6746
6767
|
hybridSearchConfig?: GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigHybridSearchConfig;
|
|
@@ -9965,6 +9986,8 @@ declare namespace gapi.client {
|
|
|
9965
9986
|
interface GoogleCloudAiplatformV1beta1Tool {
|
|
9966
9987
|
/** Optional. CodeExecution tool type. Enables the model to execute code as part of generation. */
|
|
9967
9988
|
codeExecution?: any;
|
|
9989
|
+
/** Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations. */
|
|
9990
|
+
computerUse?: GoogleCloudAiplatformV1beta1ToolComputerUse;
|
|
9968
9991
|
/** Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance. */
|
|
9969
9992
|
enterpriseWebSearch?: any;
|
|
9970
9993
|
/** 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 128 function declarations can be provided. */
|
|
@@ -9975,6 +9998,8 @@ declare namespace gapi.client {
|
|
|
9975
9998
|
googleSearchRetrieval?: GoogleCloudAiplatformV1beta1GoogleSearchRetrieval;
|
|
9976
9999
|
/** 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. */
|
|
9977
10000
|
retrieval?: GoogleCloudAiplatformV1beta1Retrieval;
|
|
10001
|
+
/** Optional. Tool to support URL context retrieval. */
|
|
10002
|
+
urlContext?: any;
|
|
9978
10003
|
}
|
|
9979
10004
|
interface GoogleCloudAiplatformV1beta1ToolCall {
|
|
9980
10005
|
/** Optional. Spec for tool input */
|
|
@@ -10004,6 +10029,10 @@ declare namespace gapi.client {
|
|
|
10004
10029
|
}
|
|
10005
10030
|
interface GoogleCloudAiplatformV1beta1ToolCallValidSpec {}
|
|
10006
10031
|
interface GoogleCloudAiplatformV1beta1ToolCodeExecution {}
|
|
10032
|
+
interface GoogleCloudAiplatformV1beta1ToolComputerUse {
|
|
10033
|
+
/** Required. The environment being operated. */
|
|
10034
|
+
environment?: string;
|
|
10035
|
+
}
|
|
10007
10036
|
interface GoogleCloudAiplatformV1beta1ToolConfig {
|
|
10008
10037
|
/** Optional. Function calling config. */
|
|
10009
10038
|
functionCallingConfig?: GoogleCloudAiplatformV1beta1FunctionCallingConfig;
|
|
@@ -10365,6 +10394,10 @@ declare namespace gapi.client {
|
|
|
10365
10394
|
partnerModelTuningSpec?: GoogleCloudAiplatformV1beta1PartnerModelTuningSpec;
|
|
10366
10395
|
/** Output only. The resource name of the PipelineJob associated with the TuningJob. Format: `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}`. */
|
|
10367
10396
|
pipelineJob?: string;
|
|
10397
|
+
/** Output only. Reserved for future use. */
|
|
10398
|
+
satisfiesPzi?: boolean;
|
|
10399
|
+
/** Output only. Reserved for future use. */
|
|
10400
|
+
satisfiesPzs?: boolean;
|
|
10368
10401
|
/** The service account that the tuningJob workload runs as. If not specified, the Vertex AI Secure Fine-Tuned Service Agent in the project will be used. See https://cloud.google.com/iam/docs/service-agents#vertex-ai-secure-fine-tuning-service-agent Users starting the pipeline must have the `iam.serviceAccounts.actAs` permission on this service account. */
|
|
10369
10402
|
serviceAccount?: string;
|
|
10370
10403
|
/** Output only. Time when the TuningJob for the first time entered the `JOB_STATE_RUNNING` state. */
|
|
@@ -10549,6 +10582,7 @@ declare namespace gapi.client {
|
|
|
10549
10582
|
/** The error message of the example that was not created/updated successfully. */
|
|
10550
10583
|
status?: GoogleRpcStatus;
|
|
10551
10584
|
}
|
|
10585
|
+
interface GoogleCloudAiplatformV1beta1UrlContext {}
|
|
10552
10586
|
interface GoogleCloudAiplatformV1beta1UserActionReference {
|
|
10553
10587
|
/** For API calls that start a LabelingJob. Resource name of the LabelingJob. Format: `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` */
|
|
10554
10588
|
dataLabelingJob?: string;
|
|
@@ -10596,6 +10630,8 @@ declare namespace gapi.client {
|
|
|
10596
10630
|
ragRetrievalConfig?: GoogleCloudAiplatformV1beta1RagRetrievalConfig;
|
|
10597
10631
|
/** Optional. Number of top k results to return from the selected corpora. */
|
|
10598
10632
|
similarityTopK?: number;
|
|
10633
|
+
/** Optional. Currently only supported for Gemini Multimodal Live API. In Gemini Multimodal Live API, if `store_context` bool is specified, Gemini will leverage it to automatically memorize the interactions between the client and Gemini, and retrieve context when needed to augment the response generation for users' ongoing and future interactions. */
|
|
10634
|
+
storeContext?: boolean;
|
|
10599
10635
|
/** Optional. Only return results with vector distance smaller than the threshold. */
|
|
10600
10636
|
vectorDistanceThreshold?: number;
|
|
10601
10637
|
}
|
|
@@ -33028,6 +33064,269 @@ declare namespace gapi.client {
|
|
|
33028
33064
|
interface RagEngineConfigResource {
|
|
33029
33065
|
operations: OperationsResource;
|
|
33030
33066
|
}
|
|
33067
|
+
interface OperationsResource {
|
|
33068
|
+
/** 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`. */
|
|
33069
|
+
cancel(request?: {
|
|
33070
|
+
/** V1 error format. */
|
|
33071
|
+
'$.xgafv'?: string;
|
|
33072
|
+
/** OAuth access token. */
|
|
33073
|
+
access_token?: string;
|
|
33074
|
+
/** Data format for response. */
|
|
33075
|
+
alt?: string;
|
|
33076
|
+
/** JSONP */
|
|
33077
|
+
callback?: string;
|
|
33078
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
33079
|
+
fields?: string;
|
|
33080
|
+
/** 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. */
|
|
33081
|
+
key?: string;
|
|
33082
|
+
/** The name of the operation resource to be cancelled. */
|
|
33083
|
+
name: string;
|
|
33084
|
+
/** OAuth 2.0 token for the current user. */
|
|
33085
|
+
oauth_token?: string;
|
|
33086
|
+
/** Returns response with indentations and line breaks. */
|
|
33087
|
+
prettyPrint?: boolean;
|
|
33088
|
+
/** 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. */
|
|
33089
|
+
quotaUser?: string;
|
|
33090
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33091
|
+
upload_protocol?: string;
|
|
33092
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33093
|
+
uploadType?: string;
|
|
33094
|
+
}): Request<{}>;
|
|
33095
|
+
/** 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`. */
|
|
33096
|
+
delete(request?: {
|
|
33097
|
+
/** V1 error format. */
|
|
33098
|
+
'$.xgafv'?: string;
|
|
33099
|
+
/** OAuth access token. */
|
|
33100
|
+
access_token?: string;
|
|
33101
|
+
/** Data format for response. */
|
|
33102
|
+
alt?: string;
|
|
33103
|
+
/** JSONP */
|
|
33104
|
+
callback?: string;
|
|
33105
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
33106
|
+
fields?: string;
|
|
33107
|
+
/** 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. */
|
|
33108
|
+
key?: string;
|
|
33109
|
+
/** The name of the operation resource to be deleted. */
|
|
33110
|
+
name: string;
|
|
33111
|
+
/** OAuth 2.0 token for the current user. */
|
|
33112
|
+
oauth_token?: string;
|
|
33113
|
+
/** Returns response with indentations and line breaks. */
|
|
33114
|
+
prettyPrint?: boolean;
|
|
33115
|
+
/** 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. */
|
|
33116
|
+
quotaUser?: string;
|
|
33117
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33118
|
+
upload_protocol?: string;
|
|
33119
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33120
|
+
uploadType?: string;
|
|
33121
|
+
}): Request<{}>;
|
|
33122
|
+
/** 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. */
|
|
33123
|
+
get(request?: {
|
|
33124
|
+
/** V1 error format. */
|
|
33125
|
+
'$.xgafv'?: string;
|
|
33126
|
+
/** OAuth access token. */
|
|
33127
|
+
access_token?: string;
|
|
33128
|
+
/** Data format for response. */
|
|
33129
|
+
alt?: string;
|
|
33130
|
+
/** JSONP */
|
|
33131
|
+
callback?: string;
|
|
33132
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
33133
|
+
fields?: string;
|
|
33134
|
+
/** 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. */
|
|
33135
|
+
key?: string;
|
|
33136
|
+
/** The name of the operation resource. */
|
|
33137
|
+
name: string;
|
|
33138
|
+
/** OAuth 2.0 token for the current user. */
|
|
33139
|
+
oauth_token?: string;
|
|
33140
|
+
/** Returns response with indentations and line breaks. */
|
|
33141
|
+
prettyPrint?: boolean;
|
|
33142
|
+
/** 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. */
|
|
33143
|
+
quotaUser?: string;
|
|
33144
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33145
|
+
upload_protocol?: string;
|
|
33146
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33147
|
+
uploadType?: string;
|
|
33148
|
+
}): Request<GoogleLongrunningOperation>;
|
|
33149
|
+
/** 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. */
|
|
33150
|
+
wait(request?: {
|
|
33151
|
+
/** V1 error format. */
|
|
33152
|
+
'$.xgafv'?: string;
|
|
33153
|
+
/** OAuth access token. */
|
|
33154
|
+
access_token?: string;
|
|
33155
|
+
/** Data format for response. */
|
|
33156
|
+
alt?: string;
|
|
33157
|
+
/** JSONP */
|
|
33158
|
+
callback?: string;
|
|
33159
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
33160
|
+
fields?: string;
|
|
33161
|
+
/** 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. */
|
|
33162
|
+
key?: string;
|
|
33163
|
+
/** The name of the operation resource to wait on. */
|
|
33164
|
+
name: string;
|
|
33165
|
+
/** OAuth 2.0 token for the current user. */
|
|
33166
|
+
oauth_token?: string;
|
|
33167
|
+
/** Returns response with indentations and line breaks. */
|
|
33168
|
+
prettyPrint?: boolean;
|
|
33169
|
+
/** 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. */
|
|
33170
|
+
quotaUser?: string;
|
|
33171
|
+
/** 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. */
|
|
33172
|
+
timeout?: string;
|
|
33173
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33174
|
+
upload_protocol?: string;
|
|
33175
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33176
|
+
uploadType?: string;
|
|
33177
|
+
}): Request<GoogleLongrunningOperation>;
|
|
33178
|
+
}
|
|
33179
|
+
interface ExamplesResource {
|
|
33180
|
+
operations: OperationsResource;
|
|
33181
|
+
}
|
|
33182
|
+
interface OperationsResource {
|
|
33183
|
+
/** 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`. */
|
|
33184
|
+
cancel(request?: {
|
|
33185
|
+
/** V1 error format. */
|
|
33186
|
+
'$.xgafv'?: string;
|
|
33187
|
+
/** OAuth access token. */
|
|
33188
|
+
access_token?: string;
|
|
33189
|
+
/** Data format for response. */
|
|
33190
|
+
alt?: string;
|
|
33191
|
+
/** JSONP */
|
|
33192
|
+
callback?: string;
|
|
33193
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
33194
|
+
fields?: string;
|
|
33195
|
+
/** 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. */
|
|
33196
|
+
key?: string;
|
|
33197
|
+
/** The name of the operation resource to be cancelled. */
|
|
33198
|
+
name: string;
|
|
33199
|
+
/** OAuth 2.0 token for the current user. */
|
|
33200
|
+
oauth_token?: string;
|
|
33201
|
+
/** Returns response with indentations and line breaks. */
|
|
33202
|
+
prettyPrint?: boolean;
|
|
33203
|
+
/** 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. */
|
|
33204
|
+
quotaUser?: string;
|
|
33205
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33206
|
+
upload_protocol?: string;
|
|
33207
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33208
|
+
uploadType?: string;
|
|
33209
|
+
}): Request<{}>;
|
|
33210
|
+
/** 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`. */
|
|
33211
|
+
delete(request?: {
|
|
33212
|
+
/** V1 error format. */
|
|
33213
|
+
'$.xgafv'?: string;
|
|
33214
|
+
/** OAuth access token. */
|
|
33215
|
+
access_token?: string;
|
|
33216
|
+
/** Data format for response. */
|
|
33217
|
+
alt?: string;
|
|
33218
|
+
/** JSONP */
|
|
33219
|
+
callback?: string;
|
|
33220
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
33221
|
+
fields?: string;
|
|
33222
|
+
/** 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. */
|
|
33223
|
+
key?: string;
|
|
33224
|
+
/** The name of the operation resource to be deleted. */
|
|
33225
|
+
name: string;
|
|
33226
|
+
/** OAuth 2.0 token for the current user. */
|
|
33227
|
+
oauth_token?: string;
|
|
33228
|
+
/** Returns response with indentations and line breaks. */
|
|
33229
|
+
prettyPrint?: boolean;
|
|
33230
|
+
/** 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. */
|
|
33231
|
+
quotaUser?: string;
|
|
33232
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33233
|
+
upload_protocol?: string;
|
|
33234
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33235
|
+
uploadType?: string;
|
|
33236
|
+
}): Request<{}>;
|
|
33237
|
+
/** 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. */
|
|
33238
|
+
get(request?: {
|
|
33239
|
+
/** V1 error format. */
|
|
33240
|
+
'$.xgafv'?: string;
|
|
33241
|
+
/** OAuth access token. */
|
|
33242
|
+
access_token?: string;
|
|
33243
|
+
/** Data format for response. */
|
|
33244
|
+
alt?: string;
|
|
33245
|
+
/** JSONP */
|
|
33246
|
+
callback?: string;
|
|
33247
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
33248
|
+
fields?: string;
|
|
33249
|
+
/** 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. */
|
|
33250
|
+
key?: string;
|
|
33251
|
+
/** The name of the operation resource. */
|
|
33252
|
+
name: string;
|
|
33253
|
+
/** OAuth 2.0 token for the current user. */
|
|
33254
|
+
oauth_token?: string;
|
|
33255
|
+
/** Returns response with indentations and line breaks. */
|
|
33256
|
+
prettyPrint?: boolean;
|
|
33257
|
+
/** 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. */
|
|
33258
|
+
quotaUser?: string;
|
|
33259
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33260
|
+
upload_protocol?: string;
|
|
33261
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33262
|
+
uploadType?: string;
|
|
33263
|
+
}): Request<GoogleLongrunningOperation>;
|
|
33264
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
33265
|
+
list(request?: {
|
|
33266
|
+
/** V1 error format. */
|
|
33267
|
+
'$.xgafv'?: string;
|
|
33268
|
+
/** OAuth access token. */
|
|
33269
|
+
access_token?: string;
|
|
33270
|
+
/** Data format for response. */
|
|
33271
|
+
alt?: string;
|
|
33272
|
+
/** JSONP */
|
|
33273
|
+
callback?: string;
|
|
33274
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
33275
|
+
fields?: string;
|
|
33276
|
+
/** The standard list filter. */
|
|
33277
|
+
filter?: string;
|
|
33278
|
+
/** 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. */
|
|
33279
|
+
key?: string;
|
|
33280
|
+
/** The name of the operation's parent resource. */
|
|
33281
|
+
name: string;
|
|
33282
|
+
/** OAuth 2.0 token for the current user. */
|
|
33283
|
+
oauth_token?: string;
|
|
33284
|
+
/** The standard list page size. */
|
|
33285
|
+
pageSize?: number;
|
|
33286
|
+
/** The standard list page token. */
|
|
33287
|
+
pageToken?: string;
|
|
33288
|
+
/** Returns response with indentations and line breaks. */
|
|
33289
|
+
prettyPrint?: boolean;
|
|
33290
|
+
/** 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. */
|
|
33291
|
+
quotaUser?: string;
|
|
33292
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33293
|
+
upload_protocol?: string;
|
|
33294
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33295
|
+
uploadType?: string;
|
|
33296
|
+
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
33297
|
+
/** 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. */
|
|
33298
|
+
wait(request?: {
|
|
33299
|
+
/** V1 error format. */
|
|
33300
|
+
'$.xgafv'?: string;
|
|
33301
|
+
/** OAuth access token. */
|
|
33302
|
+
access_token?: string;
|
|
33303
|
+
/** Data format for response. */
|
|
33304
|
+
alt?: string;
|
|
33305
|
+
/** JSONP */
|
|
33306
|
+
callback?: string;
|
|
33307
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
33308
|
+
fields?: string;
|
|
33309
|
+
/** 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. */
|
|
33310
|
+
key?: string;
|
|
33311
|
+
/** The name of the operation resource to wait on. */
|
|
33312
|
+
name: string;
|
|
33313
|
+
/** OAuth 2.0 token for the current user. */
|
|
33314
|
+
oauth_token?: string;
|
|
33315
|
+
/** Returns response with indentations and line breaks. */
|
|
33316
|
+
prettyPrint?: boolean;
|
|
33317
|
+
/** 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. */
|
|
33318
|
+
quotaUser?: string;
|
|
33319
|
+
/** 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. */
|
|
33320
|
+
timeout?: string;
|
|
33321
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33322
|
+
upload_protocol?: string;
|
|
33323
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33324
|
+
uploadType?: string;
|
|
33325
|
+
}): Request<GoogleLongrunningOperation>;
|
|
33326
|
+
}
|
|
33327
|
+
interface MemoriesResource {
|
|
33328
|
+
operations: OperationsResource;
|
|
33329
|
+
}
|
|
33031
33330
|
interface OperationsResource {
|
|
33032
33331
|
/** 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`. */
|
|
33033
33332
|
cancel(request?: {
|
|
@@ -33354,6 +33653,151 @@ declare namespace gapi.client {
|
|
|
33354
33653
|
uploadType?: string;
|
|
33355
33654
|
}): Request<GoogleCloudAiplatformV1beta1ListEventsResponse>;
|
|
33356
33655
|
}
|
|
33656
|
+
interface OperationsResource {
|
|
33657
|
+
/** 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`. */
|
|
33658
|
+
cancel(request?: {
|
|
33659
|
+
/** V1 error format. */
|
|
33660
|
+
'$.xgafv'?: string;
|
|
33661
|
+
/** OAuth access token. */
|
|
33662
|
+
access_token?: string;
|
|
33663
|
+
/** Data format for response. */
|
|
33664
|
+
alt?: string;
|
|
33665
|
+
/** JSONP */
|
|
33666
|
+
callback?: string;
|
|
33667
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
33668
|
+
fields?: string;
|
|
33669
|
+
/** 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. */
|
|
33670
|
+
key?: string;
|
|
33671
|
+
/** The name of the operation resource to be cancelled. */
|
|
33672
|
+
name: string;
|
|
33673
|
+
/** OAuth 2.0 token for the current user. */
|
|
33674
|
+
oauth_token?: string;
|
|
33675
|
+
/** Returns response with indentations and line breaks. */
|
|
33676
|
+
prettyPrint?: boolean;
|
|
33677
|
+
/** 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. */
|
|
33678
|
+
quotaUser?: string;
|
|
33679
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33680
|
+
upload_protocol?: string;
|
|
33681
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33682
|
+
uploadType?: string;
|
|
33683
|
+
}): Request<{}>;
|
|
33684
|
+
/** 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`. */
|
|
33685
|
+
delete(request?: {
|
|
33686
|
+
/** V1 error format. */
|
|
33687
|
+
'$.xgafv'?: string;
|
|
33688
|
+
/** OAuth access token. */
|
|
33689
|
+
access_token?: string;
|
|
33690
|
+
/** Data format for response. */
|
|
33691
|
+
alt?: string;
|
|
33692
|
+
/** JSONP */
|
|
33693
|
+
callback?: string;
|
|
33694
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
33695
|
+
fields?: string;
|
|
33696
|
+
/** 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. */
|
|
33697
|
+
key?: string;
|
|
33698
|
+
/** The name of the operation resource to be deleted. */
|
|
33699
|
+
name: string;
|
|
33700
|
+
/** OAuth 2.0 token for the current user. */
|
|
33701
|
+
oauth_token?: string;
|
|
33702
|
+
/** Returns response with indentations and line breaks. */
|
|
33703
|
+
prettyPrint?: boolean;
|
|
33704
|
+
/** 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. */
|
|
33705
|
+
quotaUser?: string;
|
|
33706
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33707
|
+
upload_protocol?: string;
|
|
33708
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33709
|
+
uploadType?: string;
|
|
33710
|
+
}): Request<{}>;
|
|
33711
|
+
/** 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. */
|
|
33712
|
+
get(request?: {
|
|
33713
|
+
/** V1 error format. */
|
|
33714
|
+
'$.xgafv'?: string;
|
|
33715
|
+
/** OAuth access token. */
|
|
33716
|
+
access_token?: string;
|
|
33717
|
+
/** Data format for response. */
|
|
33718
|
+
alt?: string;
|
|
33719
|
+
/** JSONP */
|
|
33720
|
+
callback?: string;
|
|
33721
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
33722
|
+
fields?: string;
|
|
33723
|
+
/** 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. */
|
|
33724
|
+
key?: string;
|
|
33725
|
+
/** The name of the operation resource. */
|
|
33726
|
+
name: string;
|
|
33727
|
+
/** OAuth 2.0 token for the current user. */
|
|
33728
|
+
oauth_token?: string;
|
|
33729
|
+
/** Returns response with indentations and line breaks. */
|
|
33730
|
+
prettyPrint?: boolean;
|
|
33731
|
+
/** 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. */
|
|
33732
|
+
quotaUser?: string;
|
|
33733
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33734
|
+
upload_protocol?: string;
|
|
33735
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33736
|
+
uploadType?: string;
|
|
33737
|
+
}): Request<GoogleLongrunningOperation>;
|
|
33738
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
33739
|
+
list(request?: {
|
|
33740
|
+
/** V1 error format. */
|
|
33741
|
+
'$.xgafv'?: string;
|
|
33742
|
+
/** OAuth access token. */
|
|
33743
|
+
access_token?: string;
|
|
33744
|
+
/** Data format for response. */
|
|
33745
|
+
alt?: string;
|
|
33746
|
+
/** JSONP */
|
|
33747
|
+
callback?: string;
|
|
33748
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
33749
|
+
fields?: string;
|
|
33750
|
+
/** The standard list filter. */
|
|
33751
|
+
filter?: string;
|
|
33752
|
+
/** 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. */
|
|
33753
|
+
key?: string;
|
|
33754
|
+
/** The name of the operation's parent resource. */
|
|
33755
|
+
name: string;
|
|
33756
|
+
/** OAuth 2.0 token for the current user. */
|
|
33757
|
+
oauth_token?: string;
|
|
33758
|
+
/** The standard list page size. */
|
|
33759
|
+
pageSize?: number;
|
|
33760
|
+
/** The standard list page token. */
|
|
33761
|
+
pageToken?: string;
|
|
33762
|
+
/** Returns response with indentations and line breaks. */
|
|
33763
|
+
prettyPrint?: boolean;
|
|
33764
|
+
/** 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. */
|
|
33765
|
+
quotaUser?: string;
|
|
33766
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33767
|
+
upload_protocol?: string;
|
|
33768
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33769
|
+
uploadType?: string;
|
|
33770
|
+
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
33771
|
+
/** 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. */
|
|
33772
|
+
wait(request?: {
|
|
33773
|
+
/** V1 error format. */
|
|
33774
|
+
'$.xgafv'?: string;
|
|
33775
|
+
/** OAuth access token. */
|
|
33776
|
+
access_token?: string;
|
|
33777
|
+
/** Data format for response. */
|
|
33778
|
+
alt?: string;
|
|
33779
|
+
/** JSONP */
|
|
33780
|
+
callback?: string;
|
|
33781
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
33782
|
+
fields?: string;
|
|
33783
|
+
/** 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. */
|
|
33784
|
+
key?: string;
|
|
33785
|
+
/** The name of the operation resource to wait on. */
|
|
33786
|
+
name: string;
|
|
33787
|
+
/** OAuth 2.0 token for the current user. */
|
|
33788
|
+
oauth_token?: string;
|
|
33789
|
+
/** Returns response with indentations and line breaks. */
|
|
33790
|
+
prettyPrint?: boolean;
|
|
33791
|
+
/** 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. */
|
|
33792
|
+
quotaUser?: string;
|
|
33793
|
+
/** 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. */
|
|
33794
|
+
timeout?: string;
|
|
33795
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
33796
|
+
upload_protocol?: string;
|
|
33797
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
33798
|
+
uploadType?: string;
|
|
33799
|
+
}): Request<GoogleLongrunningOperation>;
|
|
33800
|
+
}
|
|
33357
33801
|
interface SessionsResource {
|
|
33358
33802
|
/** Appends an event to a given session. */
|
|
33359
33803
|
appendEvent(request: {
|
|
@@ -33623,6 +34067,7 @@ declare namespace gapi.client {
|
|
|
33623
34067
|
body: GoogleCloudAiplatformV1beta1Session,
|
|
33624
34068
|
): Request<GoogleCloudAiplatformV1beta1Session>;
|
|
33625
34069
|
events: EventsResource;
|
|
34070
|
+
operations: OperationsResource;
|
|
33626
34071
|
}
|
|
33627
34072
|
interface ReasoningEnginesResource {
|
|
33628
34073
|
/** Creates a reasoning engine. */
|
|
@@ -33950,6 +34395,8 @@ declare namespace gapi.client {
|
|
|
33950
34395
|
},
|
|
33951
34396
|
body: GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest,
|
|
33952
34397
|
): Request<GoogleApiHttpBody>;
|
|
34398
|
+
examples: ExamplesResource;
|
|
34399
|
+
memories: MemoriesResource;
|
|
33953
34400
|
operations: OperationsResource;
|
|
33954
34401
|
sandboxEnvironments: SandboxEnvironmentsResource;
|
|
33955
34402
|
sessions: SessionsResource;
|