@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20240312 → 0.0.20240313
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 +409 -7
- 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: 20240313
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -459,6 +459,49 @@ declare namespace gapi.client {
|
|
|
459
459
|
/** Output only. Name of the explain output. Specified as the key in ExplanationMetadata.outputs. */
|
|
460
460
|
outputName?: string;
|
|
461
461
|
}
|
|
462
|
+
interface GoogleCloudAiplatformV1beta1AuthConfig {
|
|
463
|
+
/** Config for API key auth. */
|
|
464
|
+
apiKeyConfig?: GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig;
|
|
465
|
+
/** Type of auth scheme. */
|
|
466
|
+
authType?: string;
|
|
467
|
+
/** Config for Google Service Account auth. */
|
|
468
|
+
googleServiceAccountConfig?: GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig;
|
|
469
|
+
/** Config for HTTP Basic auth. */
|
|
470
|
+
httpBasicAuthConfig?: GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig;
|
|
471
|
+
/** Config for no auth. */
|
|
472
|
+
noAuth?: any;
|
|
473
|
+
/** Config for user oauth. */
|
|
474
|
+
oauthConfig?: GoogleCloudAiplatformV1beta1AuthConfigOauthConfig;
|
|
475
|
+
/** Config for user OIDC auth. */
|
|
476
|
+
oidcConfig?: GoogleCloudAiplatformV1beta1AuthConfigOidcConfig;
|
|
477
|
+
}
|
|
478
|
+
interface GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig {
|
|
479
|
+
/** Required. The name of the SecretManager secret version resource storing the API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}` */
|
|
480
|
+
apiKeySecret?: string;
|
|
481
|
+
/** Required. The location of the API key. */
|
|
482
|
+
httpElementLocation?: string;
|
|
483
|
+
/** Required. The parameter name of the API key. E.g. If the API request is "https://example.com/act?api_key=", "api_key" would be the parameter name. */
|
|
484
|
+
name?: string;
|
|
485
|
+
}
|
|
486
|
+
interface GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig {
|
|
487
|
+
/** Optional. The service account that the extension execution service runs as. - If it is not specified, the Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) will be used. - If the service account is provided, the service account should grant Vertex AI Extension Service Agent `iam.serviceAccounts.getAccessToken` permission. */
|
|
488
|
+
serviceAccount?: string;
|
|
489
|
+
}
|
|
490
|
+
interface GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig {
|
|
491
|
+
/** Required. The name of the SecretManager secret version resource storing the base64 encoded credentials. Format: `projects/{project}/secrets/{secrete}/versions/{version}` */
|
|
492
|
+
credentialSecret?: string;
|
|
493
|
+
}
|
|
494
|
+
interface GoogleCloudAiplatformV1beta1AuthConfigNoAuth {}
|
|
495
|
+
interface GoogleCloudAiplatformV1beta1AuthConfigOauthConfig {
|
|
496
|
+
/** Access token for extension endpoint. Only used to propagate token from ExecuteExtensionRequest.runtime_auth_config at request time. */
|
|
497
|
+
accessToken?: string;
|
|
498
|
+
/** The service account that the extension execution service will use to query extension. Used for generating OAuth token on behalf of provided service account. - If the service account is provided, the service account should grant Vertex AI Service Agent `iam.serviceAccounts.getAccessToken` permission. */
|
|
499
|
+
serviceAccount?: string;
|
|
500
|
+
}
|
|
501
|
+
interface GoogleCloudAiplatformV1beta1AuthConfigOidcConfig {
|
|
502
|
+
/** OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from ExecuteExtensionRequest.runtime_auth_config at request time. */
|
|
503
|
+
idToken?: string;
|
|
504
|
+
}
|
|
462
505
|
interface GoogleCloudAiplatformV1beta1AutomaticResources {
|
|
463
506
|
/** Immutable. The maximum number of replicas this DeployedModel may be deployed on when the traffic against it increases. If the requested value is too large, the deployment will error, but if deployment succeeds then the ability to scale the model to that many replicas is guaranteed (barring service outages). If traffic against the DeployedModel increases beyond what its replicas at maximum may handle, a portion of the traffic will be dropped. If this value is not provided, a no upper bound for scaling under heavy traffic will be assume, though Vertex AI may be unable to scale beyond certain replica number. */
|
|
464
507
|
maxReplicaCount?: number;
|
|
@@ -1415,8 +1458,6 @@ declare namespace gapi.client {
|
|
|
1415
1458
|
network?: string;
|
|
1416
1459
|
/** Configures the request-response logging for online prediction. */
|
|
1417
1460
|
predictRequestResponseLoggingConfig?: GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig;
|
|
1418
|
-
/** Optional. Configuration for private service connect. network and private_service_connect_config are mutually exclusive. */
|
|
1419
|
-
privateServiceConnectConfig?: GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig;
|
|
1420
1461
|
/** A map from a DeployedModel's ID to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel. If a DeployedModel's ID is not listed in this map, then it receives no traffic. The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment. */
|
|
1421
1462
|
trafficSplit?: {[P in string]: number};
|
|
1422
1463
|
/** Output only. Timestamp when this Endpoint was last updated. */
|
|
@@ -1540,6 +1581,20 @@ declare namespace gapi.client {
|
|
|
1540
1581
|
/** The namespace name. */
|
|
1541
1582
|
namespaceName?: string;
|
|
1542
1583
|
}
|
|
1584
|
+
interface GoogleCloudAiplatformV1beta1ExecuteExtensionRequest {
|
|
1585
|
+
/** Required. The operation to be executed in this extension as defined in ExtensionOperation.operation_id. */
|
|
1586
|
+
operationId?: string;
|
|
1587
|
+
/** Optional. Request parameters that will be used for executing this operation. The struct should be in a form of map with param name as the key and actual param value as the value. E.g. If this operation requires a param "name" to be set to "abc". you can set this to something like {"name": "abc"}. */
|
|
1588
|
+
operationParams?: {[P in string]: any};
|
|
1589
|
+
/** Optional. Auth config provided at runtime to override the default value in Extension.manifest.auth_config. The AuthConfig.auth_type should match the value in Extension.manifest.auth_config. */
|
|
1590
|
+
runtimeAuthConfig?: GoogleCloudAiplatformV1beta1AuthConfig;
|
|
1591
|
+
}
|
|
1592
|
+
interface GoogleCloudAiplatformV1beta1ExecuteExtensionResponse {
|
|
1593
|
+
/** Response content from the extension. The content should be conformant to the response.content schema in the extension's manifest/OpenAPI spec. */
|
|
1594
|
+
content?: string;
|
|
1595
|
+
/** Output from the extension. The output should be conformant to the extension's manifest/OpenAPI spec. The output can contain values for keys like "content", "headers", etc. This field is deprecated, please use content field below for the extension execution result. */
|
|
1596
|
+
output?: {[P in string]: any};
|
|
1597
|
+
}
|
|
1543
1598
|
interface GoogleCloudAiplatformV1beta1Execution {
|
|
1544
1599
|
/** Output only. Timestamp when this Execution was created. */
|
|
1545
1600
|
createTime?: string;
|
|
@@ -1810,6 +1865,48 @@ declare namespace gapi.client {
|
|
|
1810
1865
|
/** The returned time series data points. */
|
|
1811
1866
|
timeSeriesDataPoints?: GoogleCloudAiplatformV1beta1TimeSeriesDataPoint[];
|
|
1812
1867
|
}
|
|
1868
|
+
interface GoogleCloudAiplatformV1beta1Extension {
|
|
1869
|
+
/** Output only. Timestamp when this Extension was created. */
|
|
1870
|
+
createTime?: string;
|
|
1871
|
+
/** Optional. The description of the Extension. */
|
|
1872
|
+
description?: string;
|
|
1873
|
+
/** Required. The display name of the Extension. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
|
|
1874
|
+
displayName?: string;
|
|
1875
|
+
/** Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. */
|
|
1876
|
+
etag?: string;
|
|
1877
|
+
/** Output only. Supported operations. */
|
|
1878
|
+
extensionOperations?: GoogleCloudAiplatformV1beta1ExtensionOperation[];
|
|
1879
|
+
/** Required. Manifest of the Extension. */
|
|
1880
|
+
manifest?: GoogleCloudAiplatformV1beta1ExtensionManifest;
|
|
1881
|
+
/** Identifier. The resource name of the Extension. */
|
|
1882
|
+
name?: string;
|
|
1883
|
+
/** Optional. Examples to illustrate the usage of the extension as a tool. */
|
|
1884
|
+
toolUseExamples?: GoogleCloudAiplatformV1beta1ToolUseExample[];
|
|
1885
|
+
/** Output only. Timestamp when this Extension was most recently updated. */
|
|
1886
|
+
updateTime?: string;
|
|
1887
|
+
}
|
|
1888
|
+
interface GoogleCloudAiplatformV1beta1ExtensionManifest {
|
|
1889
|
+
/** Required. Immutable. The API specification shown to the LLM. */
|
|
1890
|
+
apiSpec?: GoogleCloudAiplatformV1beta1ExtensionManifestApiSpec;
|
|
1891
|
+
/** Required. Immutable. Type of auth supported by this extension. */
|
|
1892
|
+
authConfig?: GoogleCloudAiplatformV1beta1AuthConfig;
|
|
1893
|
+
/** Required. The natural language description shown to the LLM. It should describe the usage of the extension, and is essential for the LLM to perform reasoning. */
|
|
1894
|
+
description?: string;
|
|
1895
|
+
/** Required. Extension name shown to the LLM. The name can be up to 128 characters long. */
|
|
1896
|
+
name?: string;
|
|
1897
|
+
}
|
|
1898
|
+
interface GoogleCloudAiplatformV1beta1ExtensionManifestApiSpec {
|
|
1899
|
+
/** Cloud Storage URI pointing to the OpenAPI spec. */
|
|
1900
|
+
openApiGcsUri?: string;
|
|
1901
|
+
/** The API spec in Open API standard and YAML format. */
|
|
1902
|
+
openApiYaml?: string;
|
|
1903
|
+
}
|
|
1904
|
+
interface GoogleCloudAiplatformV1beta1ExtensionOperation {
|
|
1905
|
+
/** Output only. Structured representation of a function declaration as defined by the OpenAPI Spec. */
|
|
1906
|
+
functionDeclaration?: GoogleCloudAiplatformV1beta1FunctionDeclaration;
|
|
1907
|
+
/** Operation ID that uniquely identifies the operations among the extension. See: "Operation Object" in https://swagger.io/specification/. This field is parsed from the OpenAPI spec. For HTTP extensions, if it does not exist in the spec, we will generate one from the HTTP method and path. */
|
|
1908
|
+
operationId?: string;
|
|
1909
|
+
}
|
|
1813
1910
|
interface GoogleCloudAiplatformV1beta1Feature {
|
|
1814
1911
|
/** Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was created. */
|
|
1815
1912
|
createTime?: string;
|
|
@@ -2122,7 +2219,7 @@ declare namespace gapi.client {
|
|
|
2122
2219
|
interface GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig {
|
|
2123
2220
|
/** Optional. Configuration options for using brute force search, which simply implements the standard linear search in the database for each query. It is primarily meant for benchmarking and to generate the ground truth for approximate search. */
|
|
2124
2221
|
bruteForceConfig?: any;
|
|
2125
|
-
/** Optional. Column of crowding. This column contains crowding attribute which is a constraint on a neighbor list produced by
|
|
2222
|
+
/** Optional. Column of crowding. This column contains crowding attribute which is a constraint on a neighbor list produced by FeatureOnlineStoreService.SearchNearestEntities to diversify search results. If NearestNeighborQuery.per_crowding_attribute_neighbor_count is set to K in SearchNearestEntitiesRequest, it's guaranteed that no more than K entities of the same crowding attribute are returned in the response. */
|
|
2126
2223
|
crowdingColumn?: string;
|
|
2127
2224
|
/** Optional. The distance measure used in nearest neighbor search. */
|
|
2128
2225
|
distanceMeasureType?: string;
|
|
@@ -2233,9 +2330,9 @@ declare namespace gapi.client {
|
|
|
2233
2330
|
interface GoogleCloudAiplatformV1beta1FunctionDeclaration {
|
|
2234
2331
|
/** Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function. */
|
|
2235
2332
|
description?: string;
|
|
2236
|
-
/** Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64. */
|
|
2333
|
+
/** Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a maximum length of 64. */
|
|
2237
2334
|
name?: string;
|
|
2238
|
-
/** 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. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1 */
|
|
2335
|
+
/** 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 */
|
|
2239
2336
|
parameters?: GoogleCloudAiplatformV1beta1Schema;
|
|
2240
2337
|
}
|
|
2241
2338
|
interface GoogleCloudAiplatformV1beta1FunctionResponse {
|
|
@@ -2273,6 +2370,8 @@ declare namespace gapi.client {
|
|
|
2273
2370
|
generationConfig?: GoogleCloudAiplatformV1beta1GenerationConfig;
|
|
2274
2371
|
/** Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. */
|
|
2275
2372
|
safetySettings?: GoogleCloudAiplatformV1beta1SafetySetting[];
|
|
2373
|
+
/** Optional. The user provided system instructions for the model. */
|
|
2374
|
+
systemInstructions?: GoogleCloudAiplatformV1beta1Content[];
|
|
2276
2375
|
/** Optional. A list of `Tools` the model may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. */
|
|
2277
2376
|
tools?: GoogleCloudAiplatformV1beta1Tool[];
|
|
2278
2377
|
}
|
|
@@ -2707,6 +2806,12 @@ declare namespace gapi.client {
|
|
|
2707
2806
|
/** A token, which can be sent as ListExecutionsRequest.page_token to retrieve the next page. If this field is not populated, there are no subsequent pages. */
|
|
2708
2807
|
nextPageToken?: string;
|
|
2709
2808
|
}
|
|
2809
|
+
interface GoogleCloudAiplatformV1beta1ListExtensionsResponse {
|
|
2810
|
+
/** List of Extension in the requested page. */
|
|
2811
|
+
extensions?: GoogleCloudAiplatformV1beta1Extension[];
|
|
2812
|
+
/** A token to retrieve the next page of results. Pass to ListExtensionsRequest.page_token to obtain that page. */
|
|
2813
|
+
nextPageToken?: string;
|
|
2814
|
+
}
|
|
2710
2815
|
interface GoogleCloudAiplatformV1beta1ListFeatureGroupsResponse {
|
|
2711
2816
|
/** The FeatureGroups matching the request. */
|
|
2712
2817
|
featureGroups?: GoogleCloudAiplatformV1beta1FeatureGroup[];
|
|
@@ -4333,6 +4438,12 @@ declare namespace gapi.client {
|
|
|
4333
4438
|
/** Number of times the user has read data within the Tensorboard. */
|
|
4334
4439
|
viewCount?: string;
|
|
4335
4440
|
}
|
|
4441
|
+
interface GoogleCloudAiplatformV1beta1RebootPersistentResourceOperationMetadata {
|
|
4442
|
+
/** Operation metadata for PersistentResource. */
|
|
4443
|
+
genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
|
|
4444
|
+
/** Progress Message for Reboot LRO */
|
|
4445
|
+
progressMessage?: string;
|
|
4446
|
+
}
|
|
4336
4447
|
interface GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest {
|
|
4337
4448
|
/** The resource names of the child Contexts. */
|
|
4338
4449
|
childContexts?: string[];
|
|
@@ -4436,6 +4547,8 @@ declare namespace gapi.client {
|
|
|
4436
4547
|
interface GoogleCloudAiplatformV1beta1SafetySetting {
|
|
4437
4548
|
/** Required. Harm category. */
|
|
4438
4549
|
category?: string;
|
|
4550
|
+
/** Optional. Specify if the threshold is used for probability or severity score. If not specified, the threshold is used for probability score. */
|
|
4551
|
+
method?: string;
|
|
4439
4552
|
/** Required. The harm block threshold. */
|
|
4440
4553
|
threshold?: string;
|
|
4441
4554
|
}
|
|
@@ -6332,6 +6445,28 @@ declare namespace gapi.client {
|
|
|
6332
6445
|
/** 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. */
|
|
6333
6446
|
retrieval?: GoogleCloudAiplatformV1beta1Retrieval;
|
|
6334
6447
|
}
|
|
6448
|
+
interface GoogleCloudAiplatformV1beta1ToolUseExample {
|
|
6449
|
+
/** Required. The display name for example. */
|
|
6450
|
+
displayName?: string;
|
|
6451
|
+
/** Extension operation to call. */
|
|
6452
|
+
extensionOperation?: GoogleCloudAiplatformV1beta1ToolUseExampleExtensionOperation;
|
|
6453
|
+
/** Function name to call. */
|
|
6454
|
+
functionName?: string;
|
|
6455
|
+
/** Required. Query that should be routed to this tool. */
|
|
6456
|
+
query?: string;
|
|
6457
|
+
/** Request parameters used for executing this tool. */
|
|
6458
|
+
requestParams?: {[P in string]: any};
|
|
6459
|
+
/** Response parameters generated by this tool. */
|
|
6460
|
+
responseParams?: {[P in string]: any};
|
|
6461
|
+
/** Summary of the tool response to the user query. */
|
|
6462
|
+
responseSummary?: string;
|
|
6463
|
+
}
|
|
6464
|
+
interface GoogleCloudAiplatformV1beta1ToolUseExampleExtensionOperation {
|
|
6465
|
+
/** Resource name of the extension. */
|
|
6466
|
+
extension?: string;
|
|
6467
|
+
/** Required. Operation ID of the extension. */
|
|
6468
|
+
operationId?: string;
|
|
6469
|
+
}
|
|
6335
6470
|
interface GoogleCloudAiplatformV1beta1TrainingConfig {
|
|
6336
6471
|
/** The timeout hours for the CMLE training job, expressed in milli hours i.e. 1,000 value in this field means 1 hour. */
|
|
6337
6472
|
timeoutTrainingMilliHours?: string;
|
|
@@ -12034,6 +12169,273 @@ declare namespace gapi.client {
|
|
|
12034
12169
|
}): Request<GoogleLongrunningOperation>;
|
|
12035
12170
|
}
|
|
12036
12171
|
interface ExtensionsResource {
|
|
12172
|
+
/** Deletes an Extension. */
|
|
12173
|
+
delete(request?: {
|
|
12174
|
+
/** V1 error format. */
|
|
12175
|
+
'$.xgafv'?: string;
|
|
12176
|
+
/** OAuth access token. */
|
|
12177
|
+
access_token?: string;
|
|
12178
|
+
/** Data format for response. */
|
|
12179
|
+
alt?: string;
|
|
12180
|
+
/** JSONP */
|
|
12181
|
+
callback?: string;
|
|
12182
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12183
|
+
fields?: string;
|
|
12184
|
+
/** 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. */
|
|
12185
|
+
key?: string;
|
|
12186
|
+
/** Required. The name of the Extension resource to be deleted. Format: `projects/{project}/locations/{location}/extensions/{extension}` */
|
|
12187
|
+
name: string;
|
|
12188
|
+
/** OAuth 2.0 token for the current user. */
|
|
12189
|
+
oauth_token?: string;
|
|
12190
|
+
/** Returns response with indentations and line breaks. */
|
|
12191
|
+
prettyPrint?: boolean;
|
|
12192
|
+
/** 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. */
|
|
12193
|
+
quotaUser?: string;
|
|
12194
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12195
|
+
upload_protocol?: string;
|
|
12196
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12197
|
+
uploadType?: string;
|
|
12198
|
+
}): Request<GoogleLongrunningOperation>;
|
|
12199
|
+
/** Executes the request against a given extension. */
|
|
12200
|
+
execute(request: {
|
|
12201
|
+
/** V1 error format. */
|
|
12202
|
+
'$.xgafv'?: string;
|
|
12203
|
+
/** OAuth access token. */
|
|
12204
|
+
access_token?: string;
|
|
12205
|
+
/** Data format for response. */
|
|
12206
|
+
alt?: string;
|
|
12207
|
+
/** JSONP */
|
|
12208
|
+
callback?: string;
|
|
12209
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12210
|
+
fields?: string;
|
|
12211
|
+
/** 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. */
|
|
12212
|
+
key?: string;
|
|
12213
|
+
/** Required. Name (identifier) of the extension; Format: `projects/{project}/locations/{location}/extensions/{extension}` */
|
|
12214
|
+
name: string;
|
|
12215
|
+
/** OAuth 2.0 token for the current user. */
|
|
12216
|
+
oauth_token?: string;
|
|
12217
|
+
/** Returns response with indentations and line breaks. */
|
|
12218
|
+
prettyPrint?: boolean;
|
|
12219
|
+
/** 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. */
|
|
12220
|
+
quotaUser?: string;
|
|
12221
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12222
|
+
upload_protocol?: string;
|
|
12223
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12224
|
+
uploadType?: string;
|
|
12225
|
+
/** Request body */
|
|
12226
|
+
resource: GoogleCloudAiplatformV1beta1ExecuteExtensionRequest;
|
|
12227
|
+
}): Request<GoogleCloudAiplatformV1beta1ExecuteExtensionResponse>;
|
|
12228
|
+
execute(
|
|
12229
|
+
request: {
|
|
12230
|
+
/** V1 error format. */
|
|
12231
|
+
'$.xgafv'?: string;
|
|
12232
|
+
/** OAuth access token. */
|
|
12233
|
+
access_token?: string;
|
|
12234
|
+
/** Data format for response. */
|
|
12235
|
+
alt?: string;
|
|
12236
|
+
/** JSONP */
|
|
12237
|
+
callback?: string;
|
|
12238
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12239
|
+
fields?: string;
|
|
12240
|
+
/** 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. */
|
|
12241
|
+
key?: string;
|
|
12242
|
+
/** Required. Name (identifier) of the extension; Format: `projects/{project}/locations/{location}/extensions/{extension}` */
|
|
12243
|
+
name: string;
|
|
12244
|
+
/** OAuth 2.0 token for the current user. */
|
|
12245
|
+
oauth_token?: string;
|
|
12246
|
+
/** Returns response with indentations and line breaks. */
|
|
12247
|
+
prettyPrint?: boolean;
|
|
12248
|
+
/** 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. */
|
|
12249
|
+
quotaUser?: string;
|
|
12250
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12251
|
+
upload_protocol?: string;
|
|
12252
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12253
|
+
uploadType?: string;
|
|
12254
|
+
},
|
|
12255
|
+
body: GoogleCloudAiplatformV1beta1ExecuteExtensionRequest
|
|
12256
|
+
): Request<GoogleCloudAiplatformV1beta1ExecuteExtensionResponse>;
|
|
12257
|
+
/** Gets an Extension. */
|
|
12258
|
+
get(request?: {
|
|
12259
|
+
/** V1 error format. */
|
|
12260
|
+
'$.xgafv'?: string;
|
|
12261
|
+
/** OAuth access token. */
|
|
12262
|
+
access_token?: string;
|
|
12263
|
+
/** Data format for response. */
|
|
12264
|
+
alt?: string;
|
|
12265
|
+
/** JSONP */
|
|
12266
|
+
callback?: string;
|
|
12267
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12268
|
+
fields?: string;
|
|
12269
|
+
/** 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. */
|
|
12270
|
+
key?: string;
|
|
12271
|
+
/** Required. The name of the Extension resource. Format: `projects/{project}/locations/{location}/extensions/{extension}` */
|
|
12272
|
+
name: string;
|
|
12273
|
+
/** OAuth 2.0 token for the current user. */
|
|
12274
|
+
oauth_token?: string;
|
|
12275
|
+
/** Returns response with indentations and line breaks. */
|
|
12276
|
+
prettyPrint?: boolean;
|
|
12277
|
+
/** 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. */
|
|
12278
|
+
quotaUser?: string;
|
|
12279
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12280
|
+
upload_protocol?: string;
|
|
12281
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12282
|
+
uploadType?: string;
|
|
12283
|
+
}): Request<GoogleCloudAiplatformV1beta1Extension>;
|
|
12284
|
+
/** Imports an Extension. */
|
|
12285
|
+
import(request: {
|
|
12286
|
+
/** V1 error format. */
|
|
12287
|
+
'$.xgafv'?: string;
|
|
12288
|
+
/** OAuth access token. */
|
|
12289
|
+
access_token?: string;
|
|
12290
|
+
/** Data format for response. */
|
|
12291
|
+
alt?: string;
|
|
12292
|
+
/** JSONP */
|
|
12293
|
+
callback?: string;
|
|
12294
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12295
|
+
fields?: string;
|
|
12296
|
+
/** 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. */
|
|
12297
|
+
key?: string;
|
|
12298
|
+
/** OAuth 2.0 token for the current user. */
|
|
12299
|
+
oauth_token?: string;
|
|
12300
|
+
/** Required. The resource name of the Location to import the Extension in. Format: `projects/{project}/locations/{location}` */
|
|
12301
|
+
parent: string;
|
|
12302
|
+
/** Returns response with indentations and line breaks. */
|
|
12303
|
+
prettyPrint?: boolean;
|
|
12304
|
+
/** 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. */
|
|
12305
|
+
quotaUser?: string;
|
|
12306
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12307
|
+
upload_protocol?: string;
|
|
12308
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12309
|
+
uploadType?: string;
|
|
12310
|
+
/** Request body */
|
|
12311
|
+
resource: GoogleCloudAiplatformV1beta1Extension;
|
|
12312
|
+
}): Request<GoogleLongrunningOperation>;
|
|
12313
|
+
import(
|
|
12314
|
+
request: {
|
|
12315
|
+
/** V1 error format. */
|
|
12316
|
+
'$.xgafv'?: string;
|
|
12317
|
+
/** OAuth access token. */
|
|
12318
|
+
access_token?: string;
|
|
12319
|
+
/** Data format for response. */
|
|
12320
|
+
alt?: string;
|
|
12321
|
+
/** JSONP */
|
|
12322
|
+
callback?: string;
|
|
12323
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12324
|
+
fields?: string;
|
|
12325
|
+
/** 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. */
|
|
12326
|
+
key?: string;
|
|
12327
|
+
/** OAuth 2.0 token for the current user. */
|
|
12328
|
+
oauth_token?: string;
|
|
12329
|
+
/** Required. The resource name of the Location to import the Extension in. Format: `projects/{project}/locations/{location}` */
|
|
12330
|
+
parent: string;
|
|
12331
|
+
/** Returns response with indentations and line breaks. */
|
|
12332
|
+
prettyPrint?: boolean;
|
|
12333
|
+
/** 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. */
|
|
12334
|
+
quotaUser?: string;
|
|
12335
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12336
|
+
upload_protocol?: string;
|
|
12337
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12338
|
+
uploadType?: string;
|
|
12339
|
+
},
|
|
12340
|
+
body: GoogleCloudAiplatformV1beta1Extension
|
|
12341
|
+
): Request<GoogleLongrunningOperation>;
|
|
12342
|
+
/** Lists Extensions in a location. */
|
|
12343
|
+
list(request?: {
|
|
12344
|
+
/** V1 error format. */
|
|
12345
|
+
'$.xgafv'?: string;
|
|
12346
|
+
/** OAuth access token. */
|
|
12347
|
+
access_token?: string;
|
|
12348
|
+
/** Data format for response. */
|
|
12349
|
+
alt?: string;
|
|
12350
|
+
/** JSONP */
|
|
12351
|
+
callback?: string;
|
|
12352
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12353
|
+
fields?: string;
|
|
12354
|
+
/** Optional. The standard list filter. Supported fields: * `display_name` * `create_time` * `update_time` More detail in [AIP-160](https://google.aip.dev/160). */
|
|
12355
|
+
filter?: string;
|
|
12356
|
+
/** 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. */
|
|
12357
|
+
key?: string;
|
|
12358
|
+
/** OAuth 2.0 token for the current user. */
|
|
12359
|
+
oauth_token?: string;
|
|
12360
|
+
/** Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `display_name` * `create_time` * `update_time` Example: `display_name, create_time desc`. */
|
|
12361
|
+
orderBy?: string;
|
|
12362
|
+
/** Optional. The standard list page size. */
|
|
12363
|
+
pageSize?: number;
|
|
12364
|
+
/** Optional. The standard list page token. */
|
|
12365
|
+
pageToken?: string;
|
|
12366
|
+
/** Required. The resource name of the Location to list the Extensions from. Format: `projects/{project}/locations/{location}` */
|
|
12367
|
+
parent: string;
|
|
12368
|
+
/** Returns response with indentations and line breaks. */
|
|
12369
|
+
prettyPrint?: boolean;
|
|
12370
|
+
/** 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. */
|
|
12371
|
+
quotaUser?: string;
|
|
12372
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12373
|
+
upload_protocol?: string;
|
|
12374
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12375
|
+
uploadType?: string;
|
|
12376
|
+
}): Request<GoogleCloudAiplatformV1beta1ListExtensionsResponse>;
|
|
12377
|
+
/** Updates an Extension. */
|
|
12378
|
+
patch(request: {
|
|
12379
|
+
/** V1 error format. */
|
|
12380
|
+
'$.xgafv'?: string;
|
|
12381
|
+
/** OAuth access token. */
|
|
12382
|
+
access_token?: string;
|
|
12383
|
+
/** Data format for response. */
|
|
12384
|
+
alt?: string;
|
|
12385
|
+
/** JSONP */
|
|
12386
|
+
callback?: string;
|
|
12387
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12388
|
+
fields?: string;
|
|
12389
|
+
/** 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. */
|
|
12390
|
+
key?: string;
|
|
12391
|
+
/** Identifier. The resource name of the Extension. */
|
|
12392
|
+
name: string;
|
|
12393
|
+
/** OAuth 2.0 token for the current user. */
|
|
12394
|
+
oauth_token?: string;
|
|
12395
|
+
/** Returns response with indentations and line breaks. */
|
|
12396
|
+
prettyPrint?: boolean;
|
|
12397
|
+
/** 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. */
|
|
12398
|
+
quotaUser?: string;
|
|
12399
|
+
/** Required. Mask specifying which fields to update. Supported fields: * `display_name` * `description` */
|
|
12400
|
+
updateMask?: string;
|
|
12401
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12402
|
+
upload_protocol?: string;
|
|
12403
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12404
|
+
uploadType?: string;
|
|
12405
|
+
/** Request body */
|
|
12406
|
+
resource: GoogleCloudAiplatformV1beta1Extension;
|
|
12407
|
+
}): Request<GoogleCloudAiplatformV1beta1Extension>;
|
|
12408
|
+
patch(
|
|
12409
|
+
request: {
|
|
12410
|
+
/** V1 error format. */
|
|
12411
|
+
'$.xgafv'?: string;
|
|
12412
|
+
/** OAuth access token. */
|
|
12413
|
+
access_token?: string;
|
|
12414
|
+
/** Data format for response. */
|
|
12415
|
+
alt?: string;
|
|
12416
|
+
/** JSONP */
|
|
12417
|
+
callback?: string;
|
|
12418
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12419
|
+
fields?: string;
|
|
12420
|
+
/** 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. */
|
|
12421
|
+
key?: string;
|
|
12422
|
+
/** Identifier. The resource name of the Extension. */
|
|
12423
|
+
name: string;
|
|
12424
|
+
/** OAuth 2.0 token for the current user. */
|
|
12425
|
+
oauth_token?: string;
|
|
12426
|
+
/** Returns response with indentations and line breaks. */
|
|
12427
|
+
prettyPrint?: boolean;
|
|
12428
|
+
/** 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. */
|
|
12429
|
+
quotaUser?: string;
|
|
12430
|
+
/** Required. Mask specifying which fields to update. Supported fields: * `display_name` * `description` */
|
|
12431
|
+
updateMask?: string;
|
|
12432
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12433
|
+
upload_protocol?: string;
|
|
12434
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12435
|
+
uploadType?: string;
|
|
12436
|
+
},
|
|
12437
|
+
body: GoogleCloudAiplatformV1beta1Extension
|
|
12438
|
+
): Request<GoogleCloudAiplatformV1beta1Extension>;
|
|
12037
12439
|
deployments: DeploymentsResource;
|
|
12038
12440
|
operations: OperationsResource;
|
|
12039
12441
|
}
|
|
@@ -21710,7 +22112,7 @@ declare namespace gapi.client {
|
|
|
21710
22112
|
callback?: string;
|
|
21711
22113
|
/** Selector specifying which fields to include in a partial response. */
|
|
21712
22114
|
fields?: string;
|
|
21713
|
-
/** Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `notebookRuntime` supports = and !=. `notebookRuntime` represents the NotebookRuntime ID, i.e. the last segment of the NotebookRuntime's resource name. * `displayName` supports = and != and regex. * `notebookRuntimeTemplate` supports = and !=. `notebookRuntimeTemplate` represents the NotebookRuntimeTemplate ID, i.e. the last segment of the NotebookRuntimeTemplate's resource name. * `healthState` supports = and !=. healthState enum: [HEALTHY, UNHEALTHY, HEALTH_STATE_UNSPECIFIED]. * `runtimeState` supports = and !=. runtimeState enum: [RUNTIME_STATE_UNSPECIFIED, RUNNING, BEING_STARTED, BEING_STOPPED, STOPPED, BEING_UPGRADED]. * `runtimeUser` supports = and !=. * API version is UI only: `uiState` supports = and !=. uiState enum: [UI_RESOURCE_STATE_UNSPECIFIED, UI_RESOURCE_STATE_BEING_CREATED, UI_RESOURCE_STATE_ACTIVE, UI_RESOURCE_STATE_BEING_DELETED, UI_RESOURCE_STATE_CREATION_FAILED]. * `notebookRuntimeType` supports = and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. Some examples: * `notebookRuntime="notebookRuntime123"` * `displayName="myDisplayName"` and `displayName=~"myDisplayNameRegex"` * `notebookRuntimeTemplate="notebookRuntimeTemplate321"` * `healthState=HEALTHY` * `runtimeState=RUNNING` * `runtimeUser="test@google.com"` * `uiState=UI_RESOURCE_STATE_BEING_DELETED` * `notebookRuntimeType=USER_DEFINED` */
|
|
22115
|
+
/** Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `notebookRuntime` supports = and !=. `notebookRuntime` represents the NotebookRuntime ID, i.e. the last segment of the NotebookRuntime's resource name. * `displayName` supports = and != and regex. * `notebookRuntimeTemplate` supports = and !=. `notebookRuntimeTemplate` represents the NotebookRuntimeTemplate ID, i.e. the last segment of the NotebookRuntimeTemplate's resource name. * `healthState` supports = and !=. healthState enum: [HEALTHY, UNHEALTHY, HEALTH_STATE_UNSPECIFIED]. * `runtimeState` supports = and !=. runtimeState enum: [RUNTIME_STATE_UNSPECIFIED, RUNNING, BEING_STARTED, BEING_STOPPED, STOPPED, BEING_UPGRADED, ERROR, INVALID]. * `runtimeUser` supports = and !=. * API version is UI only: `uiState` supports = and !=. uiState enum: [UI_RESOURCE_STATE_UNSPECIFIED, UI_RESOURCE_STATE_BEING_CREATED, UI_RESOURCE_STATE_ACTIVE, UI_RESOURCE_STATE_BEING_DELETED, UI_RESOURCE_STATE_CREATION_FAILED]. * `notebookRuntimeType` supports = and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. Some examples: * `notebookRuntime="notebookRuntime123"` * `displayName="myDisplayName"` and `displayName=~"myDisplayNameRegex"` * `notebookRuntimeTemplate="notebookRuntimeTemplate321"` * `healthState=HEALTHY` * `runtimeState=RUNNING` * `runtimeUser="test@google.com"` * `uiState=UI_RESOURCE_STATE_BEING_DELETED` * `notebookRuntimeType=USER_DEFINED` */
|
|
21714
22116
|
filter?: string;
|
|
21715
22117
|
/** 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. */
|
|
21716
22118
|
key?: string;
|