@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20240424 → 0.0.20240501
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 +1156 -391
- package/package.json +1 -1
- package/readme.md +5 -0
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: 20240501
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1065,6 +1065,14 @@ declare namespace gapi.client {
|
|
|
1065
1065
|
/** The operation generic information. */
|
|
1066
1066
|
genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
|
|
1067
1067
|
}
|
|
1068
|
+
interface GoogleCloudAiplatformV1beta1CreateNotebookExecutionJobRequest {
|
|
1069
|
+
/** Required. The NotebookExecutionJob to create. */
|
|
1070
|
+
notebookExecutionJob?: GoogleCloudAiplatformV1beta1NotebookExecutionJob;
|
|
1071
|
+
/** Optional. User specified ID for the NotebookExecutionJob. */
|
|
1072
|
+
notebookExecutionJobId?: string;
|
|
1073
|
+
/** Required. The resource name of the Location to create the NotebookExecutionJob. Format: `projects/{project}/locations/{location}` */
|
|
1074
|
+
parent?: string;
|
|
1075
|
+
}
|
|
1068
1076
|
interface GoogleCloudAiplatformV1beta1CreateNotebookRuntimeTemplateOperationMetadata {
|
|
1069
1077
|
/** The operation generic information. */
|
|
1070
1078
|
genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
|
|
@@ -1491,6 +1499,7 @@ declare namespace gapi.client {
|
|
|
1491
1499
|
/** The prediction output. */
|
|
1492
1500
|
output?: string;
|
|
1493
1501
|
}
|
|
1502
|
+
interface GoogleCloudAiplatformV1beta1DirectUploadSource {}
|
|
1494
1503
|
interface GoogleCloudAiplatformV1beta1DiskSpec {
|
|
1495
1504
|
/** Size in GB of the boot disk (default is 100GB). */
|
|
1496
1505
|
bootDiskSizeGb?: number;
|
|
@@ -2510,6 +2519,12 @@ declare namespace gapi.client {
|
|
|
2510
2519
|
neighborCount?: number;
|
|
2511
2520
|
/** Crowding is a constraint on a neighbor list produced by nearest neighbor search requiring that no more than some value k' of the k neighbors returned have the same value of crowding_attribute. It's used for improving result diversity. This field is the maximum number of matches with the same crowding tag. */
|
|
2512
2521
|
perCrowdingAttributeNeighborCount?: number;
|
|
2522
|
+
/** Optional. Represents RRF algorithm that combines search results. */
|
|
2523
|
+
rrf?: GoogleCloudAiplatformV1beta1FindNeighborsRequestQueryRRF;
|
|
2524
|
+
}
|
|
2525
|
+
interface GoogleCloudAiplatformV1beta1FindNeighborsRequestQueryRRF {
|
|
2526
|
+
/** Required. Users can provide an alpha value to give more weight to dense vs sparse results. For example, if the alpha is 0, we only return sparse and if the alpha is 1, we only return dense. */
|
|
2527
|
+
alpha?: number;
|
|
2513
2528
|
}
|
|
2514
2529
|
interface GoogleCloudAiplatformV1beta1FindNeighborsResponse {
|
|
2515
2530
|
/** The nearest neighbors of the query datapoints. */
|
|
@@ -2524,8 +2539,10 @@ declare namespace gapi.client {
|
|
|
2524
2539
|
interface GoogleCloudAiplatformV1beta1FindNeighborsResponseNeighbor {
|
|
2525
2540
|
/** The datapoint of the neighbor. Note that full datapoints are returned only when "return_full_datapoint" is set to true. Otherwise, only the "datapoint_id" and "crowding_tag" fields are populated. */
|
|
2526
2541
|
datapoint?: GoogleCloudAiplatformV1beta1IndexDatapoint;
|
|
2527
|
-
/** The distance between the neighbor and the query
|
|
2542
|
+
/** The distance between the neighbor and the dense embedding query. */
|
|
2528
2543
|
distance?: number;
|
|
2544
|
+
/** The distance between the neighbor and the query sparse_embedding. */
|
|
2545
|
+
sparseDistance?: number;
|
|
2529
2546
|
}
|
|
2530
2547
|
interface GoogleCloudAiplatformV1beta1FluencyInput {
|
|
2531
2548
|
/** Required. Fluency instance. */
|
|
@@ -2700,6 +2717,16 @@ declare namespace gapi.client {
|
|
|
2700
2717
|
/** Required. The public base model URI. */
|
|
2701
2718
|
baseModelUri?: string;
|
|
2702
2719
|
}
|
|
2720
|
+
interface GoogleCloudAiplatformV1beta1GoogleDriveSource {
|
|
2721
|
+
/** Required. Google Drive resource IDs. */
|
|
2722
|
+
resourceIds?: GoogleCloudAiplatformV1beta1GoogleDriveSourceResourceId[];
|
|
2723
|
+
}
|
|
2724
|
+
interface GoogleCloudAiplatformV1beta1GoogleDriveSourceResourceId {
|
|
2725
|
+
/** Required. The ID of the Google Drive resource. */
|
|
2726
|
+
resourceId?: string;
|
|
2727
|
+
/** Required. The type of the Google Drive resource. */
|
|
2728
|
+
resourceType?: string;
|
|
2729
|
+
}
|
|
2703
2730
|
interface GoogleCloudAiplatformV1beta1GroundednessInput {
|
|
2704
2731
|
/** Required. Groundedness instance. */
|
|
2705
2732
|
instance?: GoogleCloudAiplatformV1beta1GroundednessInstance;
|
|
@@ -2727,6 +2754,8 @@ declare namespace gapi.client {
|
|
|
2727
2754
|
interface GoogleCloudAiplatformV1beta1GroundingMetadata {
|
|
2728
2755
|
/** Optional. Queries executed by the retrieval tools. */
|
|
2729
2756
|
retrievalQueries?: string[];
|
|
2757
|
+
/** Optional. Google search entry for the following-up web searches. */
|
|
2758
|
+
searchEntryPoint?: GoogleCloudAiplatformV1beta1SearchEntryPoint;
|
|
2730
2759
|
/** Optional. Web search queries for the following-up web search. */
|
|
2731
2760
|
webSearchQueries?: string[];
|
|
2732
2761
|
}
|
|
@@ -2846,6 +2875,18 @@ declare namespace gapi.client {
|
|
|
2846
2875
|
/** Required. Model evaluation resource to be imported. */
|
|
2847
2876
|
modelEvaluation?: GoogleCloudAiplatformV1beta1ModelEvaluation;
|
|
2848
2877
|
}
|
|
2878
|
+
interface GoogleCloudAiplatformV1beta1ImportRagFilesConfig {
|
|
2879
|
+
/** Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats: - `gs://bucket_name/my_directory/object_name/my_file.txt` - `gs://bucket_name/my_directory` */
|
|
2880
|
+
gcsSource?: GoogleCloudAiplatformV1beta1GcsSource;
|
|
2881
|
+
/** Google Drive location. Supports importing individual files as well as Google Drive folders. */
|
|
2882
|
+
googleDriveSource?: GoogleCloudAiplatformV1beta1GoogleDriveSource;
|
|
2883
|
+
/** Specifies the size and overlap of chunks after importing RagFiles. */
|
|
2884
|
+
ragFileChunkingConfig?: GoogleCloudAiplatformV1beta1RagFileChunkingConfig;
|
|
2885
|
+
}
|
|
2886
|
+
interface GoogleCloudAiplatformV1beta1ImportRagFilesRequest {
|
|
2887
|
+
/** Required. The config for the RagFiles to be synced and imported into the RagCorpus. VertexRagDataService.ImportRagFiles. */
|
|
2888
|
+
importRagFilesConfig?: GoogleCloudAiplatformV1beta1ImportRagFilesConfig;
|
|
2889
|
+
}
|
|
2849
2890
|
interface GoogleCloudAiplatformV1beta1Index {
|
|
2850
2891
|
/** Output only. Timestamp when this Index was created. */
|
|
2851
2892
|
createTime?: string;
|
|
@@ -2879,12 +2920,14 @@ declare namespace gapi.client {
|
|
|
2879
2920
|
crowdingTag?: GoogleCloudAiplatformV1beta1IndexDatapointCrowdingTag;
|
|
2880
2921
|
/** Required. Unique identifier of the datapoint. */
|
|
2881
2922
|
datapointId?: string;
|
|
2882
|
-
/** Required. Feature embedding vector. An array of numbers with the length of [NearestNeighborSearchConfig.dimensions]. */
|
|
2923
|
+
/** Required. Feature embedding vector for dense index. An array of numbers with the length of [NearestNeighborSearchConfig.dimensions]. */
|
|
2883
2924
|
featureVector?: number[];
|
|
2884
2925
|
/** Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses numeric comparisons. */
|
|
2885
2926
|
numericRestricts?: GoogleCloudAiplatformV1beta1IndexDatapointNumericRestriction[];
|
|
2886
2927
|
/** Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses categorical tokens. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering */
|
|
2887
2928
|
restricts?: GoogleCloudAiplatformV1beta1IndexDatapointRestriction[];
|
|
2929
|
+
/** Optional. Feature embedding vector for sparse index. */
|
|
2930
|
+
sparseEmbedding?: GoogleCloudAiplatformV1beta1IndexDatapointSparseEmbedding;
|
|
2888
2931
|
}
|
|
2889
2932
|
interface GoogleCloudAiplatformV1beta1IndexDatapointCrowdingTag {
|
|
2890
2933
|
/** The attribute value used for crowding. The maximum number of neighbors to return per crowding attribute value (per_crowding_attribute_num_neighbors) is configured per-query. This field is ignored if per_crowding_attribute_num_neighbors is larger than the total number of neighbors to return for a given query. */
|
|
@@ -2910,6 +2953,12 @@ declare namespace gapi.client {
|
|
|
2910
2953
|
/** The namespace of this restriction. e.g.: color. */
|
|
2911
2954
|
namespace?: string;
|
|
2912
2955
|
}
|
|
2956
|
+
interface GoogleCloudAiplatformV1beta1IndexDatapointSparseEmbedding {
|
|
2957
|
+
/** Optional. The list of indexes for the embedding values of the sparse vector. */
|
|
2958
|
+
dimensions?: string[];
|
|
2959
|
+
/** Optional. The list of embedding values of the sparse vector. */
|
|
2960
|
+
values?: number[];
|
|
2961
|
+
}
|
|
2913
2962
|
interface GoogleCloudAiplatformV1beta1IndexEndpoint {
|
|
2914
2963
|
/** Output only. Timestamp when this IndexEndpoint was created. */
|
|
2915
2964
|
createTime?: string;
|
|
@@ -2951,7 +3000,9 @@ declare namespace gapi.client {
|
|
|
2951
3000
|
interface GoogleCloudAiplatformV1beta1IndexStats {
|
|
2952
3001
|
/** Output only. The number of shards in the Index. */
|
|
2953
3002
|
shardsCount?: number;
|
|
2954
|
-
/** Output only. The number of vectors in the Index. */
|
|
3003
|
+
/** Output only. The number of sparse vectors in the Index. */
|
|
3004
|
+
sparseVectorsCount?: string;
|
|
3005
|
+
/** Output only. The number of dense vectors in the Index. */
|
|
2955
3006
|
vectorsCount?: string;
|
|
2956
3007
|
}
|
|
2957
3008
|
interface GoogleCloudAiplatformV1beta1InputDataConfig {
|
|
@@ -3254,6 +3305,18 @@ declare namespace gapi.client {
|
|
|
3254
3305
|
/** List of PublisherModels in the requested page. */
|
|
3255
3306
|
publisherModels?: GoogleCloudAiplatformV1beta1PublisherModel[];
|
|
3256
3307
|
}
|
|
3308
|
+
interface GoogleCloudAiplatformV1beta1ListRagCorporaResponse {
|
|
3309
|
+
/** A token to retrieve the next page of results. Pass to ListRagCorporaRequest.page_token to obtain that page. */
|
|
3310
|
+
nextPageToken?: string;
|
|
3311
|
+
/** List of RagCorpora in the requested page. */
|
|
3312
|
+
ragCorpora?: GoogleCloudAiplatformV1beta1RagCorpus[];
|
|
3313
|
+
}
|
|
3314
|
+
interface GoogleCloudAiplatformV1beta1ListRagFilesResponse {
|
|
3315
|
+
/** A token to retrieve the next page of results. Pass to ListRagFilesRequest.page_token to obtain that page. */
|
|
3316
|
+
nextPageToken?: string;
|
|
3317
|
+
/** List of RagFiles in the requested page. */
|
|
3318
|
+
ragFiles?: GoogleCloudAiplatformV1beta1RagFile[];
|
|
3319
|
+
}
|
|
3257
3320
|
interface GoogleCloudAiplatformV1beta1ListReasoningEnginesResponse {
|
|
3258
3321
|
/** A token to retrieve the next page of results. Pass to ListReasoningEnginesRequest.page_token to obtain that page. */
|
|
3259
3322
|
nextPageToken?: string;
|
|
@@ -4045,8 +4108,6 @@ declare namespace gapi.client {
|
|
|
4045
4108
|
featureFields?: GoogleCloudAiplatformV1beta1ModelMonitoringSchemaFieldSchema[];
|
|
4046
4109
|
/** Target /ground truth names of the model. */
|
|
4047
4110
|
groundTruthFields?: GoogleCloudAiplatformV1beta1ModelMonitoringSchemaFieldSchema[];
|
|
4048
|
-
/** The prediction instance type that the Model accepts when serving. Supported values are: * `object`: Each input is a JSON object format. * `array`: Each input is a JSON array format. */
|
|
4049
|
-
instanceType?: string;
|
|
4050
4111
|
/** Prediction output names of the model. The requirements are the same as the feature_fields. For AutoML Tables, the prediction output name presented in schema will be: `predicted_{target_column}`, the `target_column` is the one you specified when you train the model. For Prediction output drift analysis: * AutoML Classification, the distribution of the argmax label will be analyzed. * AutoML Regression, the distribution of the value will be analyzed. */
|
|
4051
4112
|
predictionFields?: GoogleCloudAiplatformV1beta1ModelMonitoringSchemaFieldSchema[];
|
|
4052
4113
|
}
|
|
@@ -4377,8 +4438,12 @@ declare namespace gapi.client {
|
|
|
4377
4438
|
interface GoogleCloudAiplatformV1beta1NotebookExecutionJob {
|
|
4378
4439
|
/** Output only. Timestamp when this NotebookExecutionJob was created. */
|
|
4379
4440
|
createTime?: string;
|
|
4441
|
+
/** The custom compute configuration for an execution job. */
|
|
4442
|
+
customEnvironmentSpec?: GoogleCloudAiplatformV1beta1NotebookExecutionJobCustomEnvironmentSpec;
|
|
4380
4443
|
/** The Dataform Repository pointing to a single file notebook repository. */
|
|
4381
4444
|
dataformRepositorySource?: GoogleCloudAiplatformV1beta1NotebookExecutionJobDataformRepositorySource;
|
|
4445
|
+
/** The contents of an input notebook file. */
|
|
4446
|
+
directNotebookSource?: GoogleCloudAiplatformV1beta1NotebookExecutionJobDirectNotebookSource;
|
|
4382
4447
|
/** The display name of the NotebookExecutionJob. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
|
|
4383
4448
|
displayName?: string;
|
|
4384
4449
|
/** Max running time of the execution job in seconds (default 86400s / 24 hrs). */
|
|
@@ -4404,12 +4469,24 @@ declare namespace gapi.client {
|
|
|
4404
4469
|
/** Output only. Timestamp when this NotebookExecutionJob was most recently updated. */
|
|
4405
4470
|
updateTime?: string;
|
|
4406
4471
|
}
|
|
4472
|
+
interface GoogleCloudAiplatformV1beta1NotebookExecutionJobCustomEnvironmentSpec {
|
|
4473
|
+
/** The specification of a single machine for the execution job. */
|
|
4474
|
+
machineSpec?: GoogleCloudAiplatformV1beta1MachineSpec;
|
|
4475
|
+
/** The network configuration to use for the execution job. */
|
|
4476
|
+
networkSpec?: GoogleCloudAiplatformV1beta1NetworkSpec;
|
|
4477
|
+
/** The specification of a persistent disk to attach for the execution job. */
|
|
4478
|
+
persistentDiskSpec?: GoogleCloudAiplatformV1beta1PersistentDiskSpec;
|
|
4479
|
+
}
|
|
4407
4480
|
interface GoogleCloudAiplatformV1beta1NotebookExecutionJobDataformRepositorySource {
|
|
4408
4481
|
/** The commit SHA to read repository with. If unset, the file will be read at HEAD. */
|
|
4409
4482
|
commitSha?: string;
|
|
4410
4483
|
/** The resource name of the Dataform Repository. Format: `projects/{project_id}/locations/{location}/repositories/{repository_id}` */
|
|
4411
4484
|
dataformRepositoryResourceName?: string;
|
|
4412
4485
|
}
|
|
4486
|
+
interface GoogleCloudAiplatformV1beta1NotebookExecutionJobDirectNotebookSource {
|
|
4487
|
+
/** The base64-encoded contents of the input notebook file. */
|
|
4488
|
+
content?: string;
|
|
4489
|
+
}
|
|
4413
4490
|
interface GoogleCloudAiplatformV1beta1NotebookExecutionJobGcsNotebookSource {
|
|
4414
4491
|
/** The version of the Cloud Storage object to read. If unset, the current version of the object is read. See https://cloud.google.com/storage/docs/metadata#generation-number. */
|
|
4415
4492
|
generation?: string;
|
|
@@ -4489,7 +4566,7 @@ declare namespace gapi.client {
|
|
|
4489
4566
|
labels?: {[P in string]: string};
|
|
4490
4567
|
/** Optional. Immutable. The specification of a single machine for the template. */
|
|
4491
4568
|
machineSpec?: GoogleCloudAiplatformV1beta1MachineSpec;
|
|
4492
|
-
/**
|
|
4569
|
+
/** The resource name of the NotebookRuntimeTemplate. */
|
|
4493
4570
|
name?: string;
|
|
4494
4571
|
/** Optional. Network spec. */
|
|
4495
4572
|
networkSpec?: GoogleCloudAiplatformV1beta1NetworkSpec;
|
|
@@ -4879,6 +4956,8 @@ declare namespace gapi.client {
|
|
|
4879
4956
|
deploy?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeploy;
|
|
4880
4957
|
/** Optional. Deploy PublisherModel to Google Kubernetes Engine. */
|
|
4881
4958
|
deployGke?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke;
|
|
4959
|
+
/** Optional. Fine tune the PublisherModel with the third-party model tuning UI. */
|
|
4960
|
+
fineTune?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences;
|
|
4882
4961
|
/** Optional. Open evaluation pipeline of the PublisherModel. */
|
|
4883
4962
|
openEvaluationPipeline?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences;
|
|
4884
4963
|
/** Optional. Open fine-tuning pipeline of the PublisherModel. */
|
|
@@ -4909,6 +4988,8 @@ declare namespace gapi.client {
|
|
|
4909
4988
|
containerSpec?: GoogleCloudAiplatformV1beta1ModelContainerSpec;
|
|
4910
4989
|
/** A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration. */
|
|
4911
4990
|
dedicatedResources?: GoogleCloudAiplatformV1beta1DedicatedResources;
|
|
4991
|
+
/** Optional. The name of the deploy task (e.g., "text to image generation"). */
|
|
4992
|
+
deployTaskName?: string;
|
|
4912
4993
|
/** Optional. Large model reference. When this is set, model_artifact_spec is not needed. */
|
|
4913
4994
|
largeModelReference?: GoogleCloudAiplatformV1beta1LargeModelReference;
|
|
4914
4995
|
/** Optional. Default model display name. */
|
|
@@ -5184,6 +5265,64 @@ declare namespace gapi.client {
|
|
|
5184
5265
|
/** Optional. Which version to use for evaluation. */
|
|
5185
5266
|
version?: number;
|
|
5186
5267
|
}
|
|
5268
|
+
interface GoogleCloudAiplatformV1beta1RagContexts {
|
|
5269
|
+
/** All its contexts. */
|
|
5270
|
+
contexts?: GoogleCloudAiplatformV1beta1RagContextsContext[];
|
|
5271
|
+
}
|
|
5272
|
+
interface GoogleCloudAiplatformV1beta1RagContextsContext {
|
|
5273
|
+
/** The distance between the query vector and the context text vector. */
|
|
5274
|
+
distance?: number;
|
|
5275
|
+
/** For vertex RagStore, if the file is imported from Cloud Storage or Google Drive, source_uri will be original file URI in Cloud Storage or Google Drive; if file is uploaded, source_uri will be file display name. */
|
|
5276
|
+
sourceUri?: string;
|
|
5277
|
+
/** The text chunk. */
|
|
5278
|
+
text?: string;
|
|
5279
|
+
}
|
|
5280
|
+
interface GoogleCloudAiplatformV1beta1RagCorpus {
|
|
5281
|
+
/** Output only. Timestamp when this RagCorpus was created. */
|
|
5282
|
+
createTime?: string;
|
|
5283
|
+
/** Optional. The description of the RagCorpus. */
|
|
5284
|
+
description?: string;
|
|
5285
|
+
/** Required. The display name of the RagCorpus. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
|
|
5286
|
+
displayName?: string;
|
|
5287
|
+
/** Output only. The resource name of the RagCorpus. */
|
|
5288
|
+
name?: string;
|
|
5289
|
+
/** Output only. Timestamp when this RagCorpus was last updated. */
|
|
5290
|
+
updateTime?: string;
|
|
5291
|
+
}
|
|
5292
|
+
interface GoogleCloudAiplatformV1beta1RagFile {
|
|
5293
|
+
/** Output only. Timestamp when this RagFile was created. */
|
|
5294
|
+
createTime?: string;
|
|
5295
|
+
/** Optional. The description of the RagFile. */
|
|
5296
|
+
description?: string;
|
|
5297
|
+
/** Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request. */
|
|
5298
|
+
directUploadSource?: any;
|
|
5299
|
+
/** Required. The display name of the RagFile. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
|
|
5300
|
+
displayName?: string;
|
|
5301
|
+
/** Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the Cloud Storage uri for now. */
|
|
5302
|
+
gcsSource?: GoogleCloudAiplatformV1beta1GcsSource;
|
|
5303
|
+
/** Output only. Google Drive location. Supports importing individual files as well as Google Drive folders. */
|
|
5304
|
+
googleDriveSource?: GoogleCloudAiplatformV1beta1GoogleDriveSource;
|
|
5305
|
+
/** Output only. The resource name of the RagFile. */
|
|
5306
|
+
name?: string;
|
|
5307
|
+
/** Output only. The type of the RagFile. */
|
|
5308
|
+
ragFileType?: string;
|
|
5309
|
+
/** Output only. The size of the RagFile in bytes. */
|
|
5310
|
+
sizeBytes?: string;
|
|
5311
|
+
/** Output only. Timestamp when this RagFile was last updated. */
|
|
5312
|
+
updateTime?: string;
|
|
5313
|
+
}
|
|
5314
|
+
interface GoogleCloudAiplatformV1beta1RagFileChunkingConfig {
|
|
5315
|
+
/** The overlap between chunks. */
|
|
5316
|
+
chunkOverlap?: number;
|
|
5317
|
+
/** The size of the chunks. */
|
|
5318
|
+
chunkSize?: number;
|
|
5319
|
+
}
|
|
5320
|
+
interface GoogleCloudAiplatformV1beta1RagQuery {
|
|
5321
|
+
/** Optional. The number of contexts to retrieve. */
|
|
5322
|
+
similarityTopK?: number;
|
|
5323
|
+
/** Optional. The query in text format to get relevant contexts. */
|
|
5324
|
+
text?: string;
|
|
5325
|
+
}
|
|
5187
5326
|
interface GoogleCloudAiplatformV1beta1RawPredictRequest {
|
|
5188
5327
|
/** The prediction input. Supports HTTP headers and arbitrary data payload. A DeployedModel may have an upper limit on the number of instances it supports per request. When this limit it is exceeded for an AutoML model, the RawPredict method returns an error. When this limit is exceeded for a custom-trained model, the behavior varies depending on the model. You can specify the schema for each instance in the predict_schemata.instance_schema_uri field when you create a Model. This schema applies when you deploy the `Model` as a `DeployedModel` to an Endpoint and use the `RawPredict` method. */
|
|
5189
5328
|
httpBody?: GoogleApiHttpBody;
|
|
@@ -5401,6 +5540,30 @@ declare namespace gapi.client {
|
|
|
5401
5540
|
/** Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService. */
|
|
5402
5541
|
vertexRagStore?: GoogleCloudAiplatformV1beta1VertexRagStore;
|
|
5403
5542
|
}
|
|
5543
|
+
interface GoogleCloudAiplatformV1beta1RetrieveContextsRequest {
|
|
5544
|
+
/** Required. Single RAG retrieve query. */
|
|
5545
|
+
query?: GoogleCloudAiplatformV1beta1RagQuery;
|
|
5546
|
+
/** The data source for Vertex RagStore. */
|
|
5547
|
+
vertexRagStore?: GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStore;
|
|
5548
|
+
}
|
|
5549
|
+
interface GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStore {
|
|
5550
|
+
/** Optional. Deprecated. Please use rag_resources to specify the data source. */
|
|
5551
|
+
ragCorpora?: string[];
|
|
5552
|
+
/** Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support. */
|
|
5553
|
+
ragResources?: GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStoreRagResource[];
|
|
5554
|
+
/** Optional. Only return contexts with vector distance smaller than the threshold. */
|
|
5555
|
+
vectorDistanceThreshold?: number;
|
|
5556
|
+
}
|
|
5557
|
+
interface GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStoreRagResource {
|
|
5558
|
+
/** Optional. RagCorpora resource name. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
|
|
5559
|
+
ragCorpus?: string;
|
|
5560
|
+
/** Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field. */
|
|
5561
|
+
ragFileIds?: string[];
|
|
5562
|
+
}
|
|
5563
|
+
interface GoogleCloudAiplatformV1beta1RetrieveContextsResponse {
|
|
5564
|
+
/** The contexts of the query. */
|
|
5565
|
+
contexts?: GoogleCloudAiplatformV1beta1RagContexts;
|
|
5566
|
+
}
|
|
5404
5567
|
interface GoogleCloudAiplatformV1beta1RougeInput {
|
|
5405
5568
|
/** Required. Repeated rouge instances. */
|
|
5406
5569
|
instances?: GoogleCloudAiplatformV1beta1RougeInstance[];
|
|
@@ -5444,7 +5607,9 @@ declare namespace gapi.client {
|
|
|
5444
5607
|
fileOutputGcsBucket?: string;
|
|
5445
5608
|
}
|
|
5446
5609
|
interface GoogleCloudAiplatformV1beta1RuntimeConfigVertexAISearchRuntimeConfig {
|
|
5447
|
-
/**
|
|
5610
|
+
/** Vertex AI Search App ID. This is used to construct the search request. By setting this app_id, API will construct the serving config which is required to call search API for the user. The app_id and serving_config_name cannot both be empty at the same time. */
|
|
5611
|
+
appId?: string;
|
|
5612
|
+
/** [Deprecated] Please use app_id instead. Vertex AI Search serving config name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}` */
|
|
5448
5613
|
servingConfigName?: string;
|
|
5449
5614
|
}
|
|
5450
5615
|
interface GoogleCloudAiplatformV1beta1SafetyInput {
|
|
@@ -5544,6 +5709,8 @@ declare namespace gapi.client {
|
|
|
5544
5709
|
catchUp?: boolean;
|
|
5545
5710
|
/** Request for ModelMonitoringService.CreateModelMonitoringJob. */
|
|
5546
5711
|
createModelMonitoringJobRequest?: GoogleCloudAiplatformV1beta1CreateModelMonitoringJobRequest;
|
|
5712
|
+
/** Request for NotebookService.CreateNotebookExecutionJob. */
|
|
5713
|
+
createNotebookExecutionJobRequest?: GoogleCloudAiplatformV1beta1CreateNotebookExecutionJobRequest;
|
|
5547
5714
|
/** Request for PipelineService.CreatePipelineJob. CreatePipelineJobRequest.parent field is required (format: projects/{project}/locations/{location}). */
|
|
5548
5715
|
createPipelineJobRequest?: GoogleCloudAiplatformV1beta1CreatePipelineJobRequest;
|
|
5549
5716
|
/** Output only. Timestamp when this Schedule was created. */
|
|
@@ -6904,6 +7071,12 @@ declare namespace gapi.client {
|
|
|
6904
7071
|
/** A token to retrieve next page of results. Pass to SearchDataItemsRequest.page_token to obtain that page. */
|
|
6905
7072
|
nextPageToken?: string;
|
|
6906
7073
|
}
|
|
7074
|
+
interface GoogleCloudAiplatformV1beta1SearchEntryPoint {
|
|
7075
|
+
/** Optional. Web content snippet that can be embedded in a web page or an app webview. */
|
|
7076
|
+
renderedContent?: string;
|
|
7077
|
+
/** Optional. Base64 encoded JSON representing array of tuple. */
|
|
7078
|
+
sdkBlob?: string;
|
|
7079
|
+
}
|
|
6907
7080
|
interface GoogleCloudAiplatformV1beta1SearchFeaturesResponse {
|
|
6908
7081
|
/** The Features matching the request. Fields returned: * `name` * `description` * `labels` * `create_time` * `update_time` */
|
|
6909
7082
|
features?: GoogleCloudAiplatformV1beta1Feature[];
|
|
@@ -7894,6 +8067,22 @@ declare namespace gapi.client {
|
|
|
7894
8067
|
/** Output only. The version ID of the model that is uploaded. */
|
|
7895
8068
|
modelVersionId?: string;
|
|
7896
8069
|
}
|
|
8070
|
+
interface GoogleCloudAiplatformV1beta1UploadRagFileConfig {
|
|
8071
|
+
/** Specifies the size and overlap of chunks after uploading RagFile. */
|
|
8072
|
+
ragFileChunkingConfig?: GoogleCloudAiplatformV1beta1RagFileChunkingConfig;
|
|
8073
|
+
}
|
|
8074
|
+
interface GoogleCloudAiplatformV1beta1UploadRagFileRequest {
|
|
8075
|
+
/** Required. The RagFile to upload. */
|
|
8076
|
+
ragFile?: GoogleCloudAiplatformV1beta1RagFile;
|
|
8077
|
+
/** Required. The config for the RagFiles to be uploaded into the RagCorpus. VertexRagDataService.UploadRagFile. */
|
|
8078
|
+
uploadRagFileConfig?: GoogleCloudAiplatformV1beta1UploadRagFileConfig;
|
|
8079
|
+
}
|
|
8080
|
+
interface GoogleCloudAiplatformV1beta1UploadRagFileResponse {
|
|
8081
|
+
/** The error that occurred while processing the RagFile. */
|
|
8082
|
+
error?: GoogleRpcStatus;
|
|
8083
|
+
/** The RagFile that had been uploaded into the RagCorpus. */
|
|
8084
|
+
ragFile?: GoogleCloudAiplatformV1beta1RagFile;
|
|
8085
|
+
}
|
|
7897
8086
|
interface GoogleCloudAiplatformV1beta1UpsertDatapointsRequest {
|
|
7898
8087
|
/** A list of datapoints to be created/updated. */
|
|
7899
8088
|
datapoints?: GoogleCloudAiplatformV1beta1IndexDatapoint[];
|
|
@@ -7922,13 +8111,21 @@ declare namespace gapi.client {
|
|
|
7922
8111
|
datastore?: string;
|
|
7923
8112
|
}
|
|
7924
8113
|
interface GoogleCloudAiplatformV1beta1VertexRagStore {
|
|
7925
|
-
/**
|
|
8114
|
+
/** Optional. Deprecated. Please use rag_resources instead. */
|
|
7926
8115
|
ragCorpora?: string[];
|
|
8116
|
+
/** Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support. */
|
|
8117
|
+
ragResources?: GoogleCloudAiplatformV1beta1VertexRagStoreRagResource[];
|
|
7927
8118
|
/** Optional. Number of top k results to return from the selected corpora. */
|
|
7928
8119
|
similarityTopK?: number;
|
|
7929
8120
|
/** Optional. Only return results with vector distance smaller than the threshold. */
|
|
7930
8121
|
vectorDistanceThreshold?: number;
|
|
7931
8122
|
}
|
|
8123
|
+
interface GoogleCloudAiplatformV1beta1VertexRagStoreRagResource {
|
|
8124
|
+
/** Optional. RagCorpora resource name. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
|
|
8125
|
+
ragCorpus?: string;
|
|
8126
|
+
/** Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field. */
|
|
8127
|
+
ragFileIds?: string[];
|
|
8128
|
+
}
|
|
7932
8129
|
interface GoogleCloudAiplatformV1beta1VideoMetadata {
|
|
7933
8130
|
/** Optional. The end offset of the video. */
|
|
7934
8131
|
endOffset?: string;
|
|
@@ -8176,11 +8373,10 @@ declare namespace gapi.client {
|
|
|
8176
8373
|
trainingSegmentResults?: LanguageLabsAidaTrustRecitationProtoSegmentResult[];
|
|
8177
8374
|
}
|
|
8178
8375
|
interface LanguageLabsAidaTrustRecitationProtoSegmentResult {
|
|
8179
|
-
/** The dataset the segment came from. */
|
|
8376
|
+
/** The dataset the segment came from. Datasets change often as model evolves. Treat this field as informational only and avoid depending on it directly. */
|
|
8180
8377
|
attributionDataset?: string;
|
|
8181
8378
|
/** human-friendly string that contains information from doc_attribution which could be shown by clients */
|
|
8182
8379
|
displayAttributionMessage?: string;
|
|
8183
|
-
/** populated when recitation_action == CITE */
|
|
8184
8380
|
docAttribution?: LanguageLabsAidaTrustRecitationProtoDocAttribution;
|
|
8185
8381
|
/** number of documents that contained this segment */
|
|
8186
8382
|
docOccurrences?: number;
|
|
@@ -8188,6 +8384,8 @@ declare namespace gapi.client {
|
|
|
8188
8384
|
/** The raw text in the given input that is corresponding to the segment. It will be available only when 'return_segment_raw_text' is enabled in the request options. */
|
|
8189
8385
|
rawText?: string;
|
|
8190
8386
|
segmentRecitationAction?: string;
|
|
8387
|
+
/** The category of the source dataset where the segment came from. This is more stable than Dataset. */
|
|
8388
|
+
sourceCategory?: string;
|
|
8191
8389
|
/** The segment boundary start (inclusive) and end index (exclusive) in the given text. In the streaming RPC, the indexes always start from the beginning of the first text in the entire stream. The indexes are measured in UTF-16 code units. */
|
|
8192
8390
|
startIndex?: number;
|
|
8193
8391
|
}
|
|
@@ -8249,11 +8447,10 @@ declare namespace gapi.client {
|
|
|
8249
8447
|
trainingSegmentResults?: LearningGenaiRecitationSegmentResult[];
|
|
8250
8448
|
}
|
|
8251
8449
|
interface LearningGenaiRecitationSegmentResult {
|
|
8252
|
-
/** The dataset the segment came from. */
|
|
8450
|
+
/** The dataset the segment came from. Datasets change often as model evolves. Treat this field as informational only and avoid depending on it directly. */
|
|
8253
8451
|
attributionDataset?: string;
|
|
8254
8452
|
/** human-friendly string that contains information from doc_attribution which could be shown by clients */
|
|
8255
8453
|
displayAttributionMessage?: string;
|
|
8256
|
-
/** populated when recitation_action == CITE */
|
|
8257
8454
|
docAttribution?: LearningGenaiRecitationDocAttribution;
|
|
8258
8455
|
/** number of documents that contained this segment */
|
|
8259
8456
|
docOccurrences?: number;
|
|
@@ -8261,6 +8458,8 @@ declare namespace gapi.client {
|
|
|
8261
8458
|
/** The raw text in the given input that is corresponding to the segment. It will be available only when 'return_segment_raw_text' is enabled in the request options. */
|
|
8262
8459
|
rawText?: string;
|
|
8263
8460
|
segmentRecitationAction?: string;
|
|
8461
|
+
/** The category of the source dataset where the segment came from. This is more stable than Dataset. */
|
|
8462
|
+
sourceCategory?: string;
|
|
8264
8463
|
/** The segment boundary start (inclusive) and end index (exclusive) in the given text. In the streaming RPC, the indexes always start from the beginning of the first text in the entire stream. The indexes are measured in UTF-16 code units. */
|
|
8265
8464
|
startIndex?: number;
|
|
8266
8465
|
}
|
|
@@ -8592,7 +8791,12 @@ declare namespace gapi.client {
|
|
|
8592
8791
|
/** The sum of the size of all the contents in the request. */
|
|
8593
8792
|
totalContentSize?: string;
|
|
8594
8793
|
}
|
|
8794
|
+
interface LearningServingLlmAtlasOutputMetadata {
|
|
8795
|
+
requestTopic?: string;
|
|
8796
|
+
source?: string;
|
|
8797
|
+
}
|
|
8595
8798
|
interface LearningServingLlmMessageMetadata {
|
|
8799
|
+
atlasMetadata?: LearningServingLlmAtlasOutputMetadata;
|
|
8596
8800
|
/** Summary of classifier output. We attach this to all messages regardless of whether classification rules triggered or not. */
|
|
8597
8801
|
classifierSummary?: LearningGenaiRootClassifierOutputSummary;
|
|
8598
8802
|
/** Contains metadata related to Codey Processors. */
|
|
@@ -8619,20 +8823,24 @@ declare namespace gapi.client {
|
|
|
8619
8823
|
lmPrefix?: string;
|
|
8620
8824
|
/** The original text generated by LLM. This is the raw output for debugging purposes. */
|
|
8621
8825
|
originalText?: string;
|
|
8622
|
-
/**
|
|
8826
|
+
/** Number of tokens decoded by the model as part of a stream. This count may be different from `per_stream_returned_token_count` which, is counted after any response rewriting or truncation. Applies to streaming response only. */
|
|
8623
8827
|
perStreamDecodedTokenCount?: number;
|
|
8828
|
+
/** Number of tokens returned per stream in a response candidate after any response rewriting or truncation. Applies to streaming response only. Applies to Gemini models only. */
|
|
8829
|
+
perStreamReturnedTokenCount?: number;
|
|
8624
8830
|
/** Results of running RAI on the query or this response candidate. One output per rai_config. It will be populated regardless of whether the threshold is exceeded or not. */
|
|
8625
8831
|
raiOutputs?: LearningGenaiRootRAIOutput[];
|
|
8626
8832
|
/** Recitation Results. It will be populated as long as Recitation processing is enabled, regardless of recitation outcome. */
|
|
8627
8833
|
recitationResult?: LearningGenaiRecitationRecitationResult;
|
|
8628
|
-
/** NOT
|
|
8834
|
+
/** NOT IMPLEMENTED TODO (b/334187574) Remove this field after Labs migrates to per_stream_returned_token_count and total_returned_token_count. */
|
|
8629
8835
|
returnTokenCount?: number;
|
|
8630
8836
|
/** All the different scores for a message are logged here. */
|
|
8631
8837
|
scores?: LearningGenaiRootScore[];
|
|
8632
8838
|
/** Whether the response is terminated during streaming return. Only used for streaming requests. */
|
|
8633
8839
|
streamTerminated?: boolean;
|
|
8634
|
-
/**
|
|
8840
|
+
/** Total tokens decoded so far per response_candidate. For streaming: Count of all the tokens decoded so far (aggregated count). For unary: Count of all the tokens decoded per response_candidate. */
|
|
8635
8841
|
totalDecodedTokenCount?: number;
|
|
8842
|
+
/** Total number of tokens returned in a response candidate. For streaming, it is the aggregated count (i.e. total so far) Applies to Gemini models only. */
|
|
8843
|
+
totalReturnedTokenCount?: number;
|
|
8636
8844
|
/** Translated user-prompt used for RAI post processing. This is for internal processing only. We will translate in pre-processor and pass the translated text to the post processor using this field. It will be empty if non of the signals requested need translation. */
|
|
8637
8845
|
translatedUserPrompts?: string[];
|
|
8638
8846
|
/** The metadata from Vertex SafetyCat processors */
|
|
@@ -8684,9 +8892,9 @@ declare namespace gapi.client {
|
|
|
8684
8892
|
/** The following are usually only present when code != 0 Space to which this status belongs */
|
|
8685
8893
|
space?: string;
|
|
8686
8894
|
}
|
|
8687
|
-
interface
|
|
8688
|
-
/**
|
|
8689
|
-
|
|
8895
|
+
interface MediaResource {
|
|
8896
|
+
/** Upload a file into a RagCorpus. */
|
|
8897
|
+
upload(request: {
|
|
8690
8898
|
/** V1 error format. */
|
|
8691
8899
|
'$.xgafv'?: string;
|
|
8692
8900
|
/** OAuth access token. */
|
|
@@ -8699,10 +8907,10 @@ declare namespace gapi.client {
|
|
|
8699
8907
|
fields?: string;
|
|
8700
8908
|
/** 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. */
|
|
8701
8909
|
key?: string;
|
|
8702
|
-
/** Required. The name of the BatchPredictionJob to cancel. Format: `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` */
|
|
8703
|
-
name: string;
|
|
8704
8910
|
/** OAuth 2.0 token for the current user. */
|
|
8705
8911
|
oauth_token?: string;
|
|
8912
|
+
/** Required. The name of the RagCorpus resource into which to upload the file. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
|
|
8913
|
+
parent: string;
|
|
8706
8914
|
/** Returns response with indentations and line breaks. */
|
|
8707
8915
|
prettyPrint?: boolean;
|
|
8708
8916
|
/** 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. */
|
|
@@ -8712,9 +8920,9 @@ declare namespace gapi.client {
|
|
|
8712
8920
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8713
8921
|
uploadType?: string;
|
|
8714
8922
|
/** Request body */
|
|
8715
|
-
resource:
|
|
8716
|
-
}): Request<
|
|
8717
|
-
|
|
8923
|
+
resource: GoogleCloudAiplatformV1beta1UploadRagFileRequest;
|
|
8924
|
+
}): Request<GoogleCloudAiplatformV1beta1UploadRagFileResponse>;
|
|
8925
|
+
upload(
|
|
8718
8926
|
request: {
|
|
8719
8927
|
/** V1 error format. */
|
|
8720
8928
|
'$.xgafv'?: string;
|
|
@@ -8728,10 +8936,10 @@ declare namespace gapi.client {
|
|
|
8728
8936
|
fields?: string;
|
|
8729
8937
|
/** 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. */
|
|
8730
8938
|
key?: string;
|
|
8731
|
-
/** Required. The name of the BatchPredictionJob to cancel. Format: `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` */
|
|
8732
|
-
name: string;
|
|
8733
8939
|
/** OAuth 2.0 token for the current user. */
|
|
8734
8940
|
oauth_token?: string;
|
|
8941
|
+
/** Required. The name of the RagCorpus resource into which to upload the file. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
|
|
8942
|
+
parent: string;
|
|
8735
8943
|
/** Returns response with indentations and line breaks. */
|
|
8736
8944
|
prettyPrint?: boolean;
|
|
8737
8945
|
/** 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. */
|
|
@@ -8741,10 +8949,12 @@ declare namespace gapi.client {
|
|
|
8741
8949
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8742
8950
|
uploadType?: string;
|
|
8743
8951
|
},
|
|
8744
|
-
body:
|
|
8745
|
-
): Request<
|
|
8746
|
-
|
|
8747
|
-
|
|
8952
|
+
body: GoogleCloudAiplatformV1beta1UploadRagFileRequest
|
|
8953
|
+
): Request<GoogleCloudAiplatformV1beta1UploadRagFileResponse>;
|
|
8954
|
+
}
|
|
8955
|
+
interface OperationsResource {
|
|
8956
|
+
/** 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`. */
|
|
8957
|
+
cancel(request?: {
|
|
8748
8958
|
/** V1 error format. */
|
|
8749
8959
|
'$.xgafv'?: string;
|
|
8750
8960
|
/** OAuth access token. */
|
|
@@ -8757,10 +8967,10 @@ declare namespace gapi.client {
|
|
|
8757
8967
|
fields?: string;
|
|
8758
8968
|
/** 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. */
|
|
8759
8969
|
key?: string;
|
|
8970
|
+
/** The name of the operation resource to be cancelled. */
|
|
8971
|
+
name: string;
|
|
8760
8972
|
/** OAuth 2.0 token for the current user. */
|
|
8761
8973
|
oauth_token?: string;
|
|
8762
|
-
/** Required. The resource name of the Location to create the BatchPredictionJob in. Format: `projects/{project}/locations/{location}` */
|
|
8763
|
-
parent: string;
|
|
8764
8974
|
/** Returns response with indentations and line breaks. */
|
|
8765
8975
|
prettyPrint?: boolean;
|
|
8766
8976
|
/** 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. */
|
|
@@ -8769,39 +8979,8 @@ declare namespace gapi.client {
|
|
|
8769
8979
|
upload_protocol?: string;
|
|
8770
8980
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8771
8981
|
uploadType?: string;
|
|
8772
|
-
|
|
8773
|
-
|
|
8774
|
-
}): Request<GoogleCloudAiplatformV1beta1BatchPredictionJob>;
|
|
8775
|
-
create(
|
|
8776
|
-
request: {
|
|
8777
|
-
/** V1 error format. */
|
|
8778
|
-
'$.xgafv'?: string;
|
|
8779
|
-
/** OAuth access token. */
|
|
8780
|
-
access_token?: string;
|
|
8781
|
-
/** Data format for response. */
|
|
8782
|
-
alt?: string;
|
|
8783
|
-
/** JSONP */
|
|
8784
|
-
callback?: string;
|
|
8785
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
8786
|
-
fields?: string;
|
|
8787
|
-
/** 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. */
|
|
8788
|
-
key?: string;
|
|
8789
|
-
/** OAuth 2.0 token for the current user. */
|
|
8790
|
-
oauth_token?: string;
|
|
8791
|
-
/** Required. The resource name of the Location to create the BatchPredictionJob in. Format: `projects/{project}/locations/{location}` */
|
|
8792
|
-
parent: string;
|
|
8793
|
-
/** Returns response with indentations and line breaks. */
|
|
8794
|
-
prettyPrint?: boolean;
|
|
8795
|
-
/** 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. */
|
|
8796
|
-
quotaUser?: string;
|
|
8797
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8798
|
-
upload_protocol?: string;
|
|
8799
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8800
|
-
uploadType?: string;
|
|
8801
|
-
},
|
|
8802
|
-
body: GoogleCloudAiplatformV1beta1BatchPredictionJob
|
|
8803
|
-
): Request<GoogleCloudAiplatformV1beta1BatchPredictionJob>;
|
|
8804
|
-
/** Deletes a BatchPredictionJob. Can only be called on jobs that already finished. */
|
|
8982
|
+
}): Request<{}>;
|
|
8983
|
+
/** 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`. */
|
|
8805
8984
|
delete(request?: {
|
|
8806
8985
|
/** V1 error format. */
|
|
8807
8986
|
'$.xgafv'?: string;
|
|
@@ -8815,7 +8994,7 @@ declare namespace gapi.client {
|
|
|
8815
8994
|
fields?: string;
|
|
8816
8995
|
/** 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. */
|
|
8817
8996
|
key?: string;
|
|
8818
|
-
/**
|
|
8997
|
+
/** The name of the operation resource to be deleted. */
|
|
8819
8998
|
name: string;
|
|
8820
8999
|
/** OAuth 2.0 token for the current user. */
|
|
8821
9000
|
oauth_token?: string;
|
|
@@ -8827,8 +9006,8 @@ declare namespace gapi.client {
|
|
|
8827
9006
|
upload_protocol?: string;
|
|
8828
9007
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8829
9008
|
uploadType?: string;
|
|
8830
|
-
}): Request<
|
|
8831
|
-
/** Gets a
|
|
9009
|
+
}): Request<{}>;
|
|
9010
|
+
/** 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. */
|
|
8832
9011
|
get(request?: {
|
|
8833
9012
|
/** V1 error format. */
|
|
8834
9013
|
'$.xgafv'?: string;
|
|
@@ -8842,7 +9021,7 @@ declare namespace gapi.client {
|
|
|
8842
9021
|
fields?: string;
|
|
8843
9022
|
/** 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. */
|
|
8844
9023
|
key?: string;
|
|
8845
|
-
/**
|
|
9024
|
+
/** The name of the operation resource. */
|
|
8846
9025
|
name: string;
|
|
8847
9026
|
/** OAuth 2.0 token for the current user. */
|
|
8848
9027
|
oauth_token?: string;
|
|
@@ -8854,8 +9033,8 @@ declare namespace gapi.client {
|
|
|
8854
9033
|
upload_protocol?: string;
|
|
8855
9034
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8856
9035
|
uploadType?: string;
|
|
8857
|
-
}): Request<
|
|
8858
|
-
/** Lists
|
|
9036
|
+
}): Request<GoogleLongrunningOperation>;
|
|
9037
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
8859
9038
|
list(request?: {
|
|
8860
9039
|
/** V1 error format. */
|
|
8861
9040
|
'$.xgafv'?: string;
|
|
@@ -8867,29 +9046,59 @@ declare namespace gapi.client {
|
|
|
8867
9046
|
callback?: string;
|
|
8868
9047
|
/** Selector specifying which fields to include in a partial response. */
|
|
8869
9048
|
fields?: string;
|
|
8870
|
-
/** The standard list filter.
|
|
9049
|
+
/** The standard list filter. */
|
|
8871
9050
|
filter?: string;
|
|
8872
9051
|
/** 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. */
|
|
8873
9052
|
key?: string;
|
|
9053
|
+
/** The name of the operation's parent resource. */
|
|
9054
|
+
name: string;
|
|
8874
9055
|
/** OAuth 2.0 token for the current user. */
|
|
8875
9056
|
oauth_token?: string;
|
|
8876
9057
|
/** The standard list page size. */
|
|
8877
9058
|
pageSize?: number;
|
|
8878
|
-
/** The standard list page token.
|
|
9059
|
+
/** The standard list page token. */
|
|
8879
9060
|
pageToken?: string;
|
|
8880
|
-
/** Required. The resource name of the Location to list the BatchPredictionJobs from. Format: `projects/{project}/locations/{location}` */
|
|
8881
|
-
parent: string;
|
|
8882
9061
|
/** Returns response with indentations and line breaks. */
|
|
8883
9062
|
prettyPrint?: boolean;
|
|
8884
9063
|
/** 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. */
|
|
8885
9064
|
quotaUser?: string;
|
|
8886
|
-
/** Mask specifying which fields to read. */
|
|
8887
|
-
readMask?: string;
|
|
8888
9065
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8889
9066
|
upload_protocol?: string;
|
|
8890
9067
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8891
9068
|
uploadType?: string;
|
|
8892
|
-
}): Request<
|
|
9069
|
+
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
9070
|
+
/** 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. */
|
|
9071
|
+
wait(request?: {
|
|
9072
|
+
/** V1 error format. */
|
|
9073
|
+
'$.xgafv'?: string;
|
|
9074
|
+
/** OAuth access token. */
|
|
9075
|
+
access_token?: string;
|
|
9076
|
+
/** Data format for response. */
|
|
9077
|
+
alt?: string;
|
|
9078
|
+
/** JSONP */
|
|
9079
|
+
callback?: string;
|
|
9080
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9081
|
+
fields?: string;
|
|
9082
|
+
/** 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. */
|
|
9083
|
+
key?: string;
|
|
9084
|
+
/** The name of the operation resource to wait on. */
|
|
9085
|
+
name: string;
|
|
9086
|
+
/** OAuth 2.0 token for the current user. */
|
|
9087
|
+
oauth_token?: string;
|
|
9088
|
+
/** Returns response with indentations and line breaks. */
|
|
9089
|
+
prettyPrint?: boolean;
|
|
9090
|
+
/** 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. */
|
|
9091
|
+
quotaUser?: string;
|
|
9092
|
+
/** 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. */
|
|
9093
|
+
timeout?: string;
|
|
9094
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9095
|
+
upload_protocol?: string;
|
|
9096
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9097
|
+
uploadType?: string;
|
|
9098
|
+
}): Request<GoogleLongrunningOperation>;
|
|
9099
|
+
}
|
|
9100
|
+
interface AgentsResource {
|
|
9101
|
+
operations: OperationsResource;
|
|
8893
9102
|
}
|
|
8894
9103
|
interface OperationsResource {
|
|
8895
9104
|
/** 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`. */
|
|
@@ -9036,8 +9245,11 @@ declare namespace gapi.client {
|
|
|
9036
9245
|
uploadType?: string;
|
|
9037
9246
|
}): Request<GoogleLongrunningOperation>;
|
|
9038
9247
|
}
|
|
9039
|
-
interface
|
|
9040
|
-
|
|
9248
|
+
interface AppsResource {
|
|
9249
|
+
operations: OperationsResource;
|
|
9250
|
+
}
|
|
9251
|
+
interface BatchPredictionJobsResource {
|
|
9252
|
+
/** Cancels a BatchPredictionJob. Starts asynchronous cancellation on the BatchPredictionJob. The server makes the best effort to cancel the job, but success is not guaranteed. Clients can use JobService.GetBatchPredictionJob or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On a successful cancellation, the BatchPredictionJob is not deleted;instead its BatchPredictionJob.state is set to `CANCELLED`. Any files already outputted by the job are not deleted. */
|
|
9041
9253
|
cancel(request: {
|
|
9042
9254
|
/** V1 error format. */
|
|
9043
9255
|
'$.xgafv'?: string;
|
|
@@ -9051,7 +9263,7 @@ declare namespace gapi.client {
|
|
|
9051
9263
|
fields?: string;
|
|
9052
9264
|
/** 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. */
|
|
9053
9265
|
key?: string;
|
|
9054
|
-
/** Required. The name of the
|
|
9266
|
+
/** Required. The name of the BatchPredictionJob to cancel. Format: `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` */
|
|
9055
9267
|
name: string;
|
|
9056
9268
|
/** OAuth 2.0 token for the current user. */
|
|
9057
9269
|
oauth_token?: string;
|
|
@@ -9064,7 +9276,7 @@ declare namespace gapi.client {
|
|
|
9064
9276
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9065
9277
|
uploadType?: string;
|
|
9066
9278
|
/** Request body */
|
|
9067
|
-
resource:
|
|
9279
|
+
resource: GoogleCloudAiplatformV1beta1CancelBatchPredictionJobRequest;
|
|
9068
9280
|
}): Request<{}>;
|
|
9069
9281
|
cancel(
|
|
9070
9282
|
request: {
|
|
@@ -9080,7 +9292,7 @@ declare namespace gapi.client {
|
|
|
9080
9292
|
fields?: string;
|
|
9081
9293
|
/** 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. */
|
|
9082
9294
|
key?: string;
|
|
9083
|
-
/** Required. The name of the
|
|
9295
|
+
/** Required. The name of the BatchPredictionJob to cancel. Format: `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` */
|
|
9084
9296
|
name: string;
|
|
9085
9297
|
/** OAuth 2.0 token for the current user. */
|
|
9086
9298
|
oauth_token?: string;
|
|
@@ -9093,9 +9305,9 @@ declare namespace gapi.client {
|
|
|
9093
9305
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9094
9306
|
uploadType?: string;
|
|
9095
9307
|
},
|
|
9096
|
-
body:
|
|
9308
|
+
body: GoogleCloudAiplatformV1beta1CancelBatchPredictionJobRequest
|
|
9097
9309
|
): Request<{}>;
|
|
9098
|
-
/** Creates a
|
|
9310
|
+
/** Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start. */
|
|
9099
9311
|
create(request: {
|
|
9100
9312
|
/** V1 error format. */
|
|
9101
9313
|
'$.xgafv'?: string;
|
|
@@ -9111,7 +9323,7 @@ declare namespace gapi.client {
|
|
|
9111
9323
|
key?: string;
|
|
9112
9324
|
/** OAuth 2.0 token for the current user. */
|
|
9113
9325
|
oauth_token?: string;
|
|
9114
|
-
/** Required. The resource name of the Location to create the
|
|
9326
|
+
/** Required. The resource name of the Location to create the BatchPredictionJob in. Format: `projects/{project}/locations/{location}` */
|
|
9115
9327
|
parent: string;
|
|
9116
9328
|
/** Returns response with indentations and line breaks. */
|
|
9117
9329
|
prettyPrint?: boolean;
|
|
@@ -9122,8 +9334,8 @@ declare namespace gapi.client {
|
|
|
9122
9334
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9123
9335
|
uploadType?: string;
|
|
9124
9336
|
/** Request body */
|
|
9125
|
-
resource:
|
|
9126
|
-
}): Request<
|
|
9337
|
+
resource: GoogleCloudAiplatformV1beta1BatchPredictionJob;
|
|
9338
|
+
}): Request<GoogleCloudAiplatformV1beta1BatchPredictionJob>;
|
|
9127
9339
|
create(
|
|
9128
9340
|
request: {
|
|
9129
9341
|
/** V1 error format. */
|
|
@@ -9140,7 +9352,7 @@ declare namespace gapi.client {
|
|
|
9140
9352
|
key?: string;
|
|
9141
9353
|
/** OAuth 2.0 token for the current user. */
|
|
9142
9354
|
oauth_token?: string;
|
|
9143
|
-
/** Required. The resource name of the Location to create the
|
|
9355
|
+
/** Required. The resource name of the Location to create the BatchPredictionJob in. Format: `projects/{project}/locations/{location}` */
|
|
9144
9356
|
parent: string;
|
|
9145
9357
|
/** Returns response with indentations and line breaks. */
|
|
9146
9358
|
prettyPrint?: boolean;
|
|
@@ -9151,9 +9363,9 @@ declare namespace gapi.client {
|
|
|
9151
9363
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9152
9364
|
uploadType?: string;
|
|
9153
9365
|
},
|
|
9154
|
-
body:
|
|
9155
|
-
): Request<
|
|
9156
|
-
/** Deletes a
|
|
9366
|
+
body: GoogleCloudAiplatformV1beta1BatchPredictionJob
|
|
9367
|
+
): Request<GoogleCloudAiplatformV1beta1BatchPredictionJob>;
|
|
9368
|
+
/** Deletes a BatchPredictionJob. Can only be called on jobs that already finished. */
|
|
9157
9369
|
delete(request?: {
|
|
9158
9370
|
/** V1 error format. */
|
|
9159
9371
|
'$.xgafv'?: string;
|
|
@@ -9167,7 +9379,7 @@ declare namespace gapi.client {
|
|
|
9167
9379
|
fields?: string;
|
|
9168
9380
|
/** 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. */
|
|
9169
9381
|
key?: string;
|
|
9170
|
-
/** Required. The name of the
|
|
9382
|
+
/** Required. The name of the BatchPredictionJob resource to be deleted. Format: `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` */
|
|
9171
9383
|
name: string;
|
|
9172
9384
|
/** OAuth 2.0 token for the current user. */
|
|
9173
9385
|
oauth_token?: string;
|
|
@@ -9180,7 +9392,7 @@ declare namespace gapi.client {
|
|
|
9180
9392
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9181
9393
|
uploadType?: string;
|
|
9182
9394
|
}): Request<GoogleLongrunningOperation>;
|
|
9183
|
-
/** Gets a
|
|
9395
|
+
/** Gets a BatchPredictionJob */
|
|
9184
9396
|
get(request?: {
|
|
9185
9397
|
/** V1 error format. */
|
|
9186
9398
|
'$.xgafv'?: string;
|
|
@@ -9194,7 +9406,7 @@ declare namespace gapi.client {
|
|
|
9194
9406
|
fields?: string;
|
|
9195
9407
|
/** 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. */
|
|
9196
9408
|
key?: string;
|
|
9197
|
-
/** Required. The name of the
|
|
9409
|
+
/** Required. The name of the BatchPredictionJob resource. Format: `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` */
|
|
9198
9410
|
name: string;
|
|
9199
9411
|
/** OAuth 2.0 token for the current user. */
|
|
9200
9412
|
oauth_token?: string;
|
|
@@ -9206,8 +9418,8 @@ declare namespace gapi.client {
|
|
|
9206
9418
|
upload_protocol?: string;
|
|
9207
9419
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9208
9420
|
uploadType?: string;
|
|
9209
|
-
}): Request<
|
|
9210
|
-
/** Lists
|
|
9421
|
+
}): Request<GoogleCloudAiplatformV1beta1BatchPredictionJob>;
|
|
9422
|
+
/** Lists BatchPredictionJobs in a Location. */
|
|
9211
9423
|
list(request?: {
|
|
9212
9424
|
/** V1 error format. */
|
|
9213
9425
|
'$.xgafv'?: string;
|
|
@@ -9219,7 +9431,7 @@ declare namespace gapi.client {
|
|
|
9219
9431
|
callback?: string;
|
|
9220
9432
|
/** Selector specifying which fields to include in a partial response. */
|
|
9221
9433
|
fields?: string;
|
|
9222
|
-
/** The standard list filter. Supported fields: * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. * `state` supports `=`, `!=` comparisons. * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format. * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* - key existence Some examples of using the filter are: * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * `NOT display_name="my_job"` * `create_time>"2021-05-18T00:00:00Z"` * `labels.keyA=valueA` * `labels.keyB:*` */
|
|
9434
|
+
/** The standard list filter. Supported fields: * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. * `model_display_name` supports `=`, `!=` comparisons. * `state` supports `=`, `!=` comparisons. * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format. * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* - key existence Some examples of using the filter are: * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * `NOT display_name="my_job"` * `create_time>"2021-05-18T00:00:00Z"` * `labels.keyA=valueA` * `labels.keyB:*` */
|
|
9223
9435
|
filter?: string;
|
|
9224
9436
|
/** 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. */
|
|
9225
9437
|
key?: string;
|
|
@@ -9227,9 +9439,9 @@ declare namespace gapi.client {
|
|
|
9227
9439
|
oauth_token?: string;
|
|
9228
9440
|
/** The standard list page size. */
|
|
9229
9441
|
pageSize?: number;
|
|
9230
|
-
/** The standard list page token. Typically obtained via
|
|
9442
|
+
/** The standard list page token. Typically obtained via ListBatchPredictionJobsResponse.next_page_token of the previous JobService.ListBatchPredictionJobs call. */
|
|
9231
9443
|
pageToken?: string;
|
|
9232
|
-
/** Required. The resource name of the Location to list the
|
|
9444
|
+
/** Required. The resource name of the Location to list the BatchPredictionJobs from. Format: `projects/{project}/locations/{location}` */
|
|
9233
9445
|
parent: string;
|
|
9234
9446
|
/** Returns response with indentations and line breaks. */
|
|
9235
9447
|
prettyPrint?: boolean;
|
|
@@ -9241,8 +9453,7 @@ declare namespace gapi.client {
|
|
|
9241
9453
|
upload_protocol?: string;
|
|
9242
9454
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9243
9455
|
uploadType?: string;
|
|
9244
|
-
}): Request<
|
|
9245
|
-
operations: OperationsResource;
|
|
9456
|
+
}): Request<GoogleCloudAiplatformV1beta1ListBatchPredictionJobsResponse>;
|
|
9246
9457
|
}
|
|
9247
9458
|
interface OperationsResource {
|
|
9248
9459
|
/** 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`. */
|
|
@@ -9389,8 +9600,8 @@ declare namespace gapi.client {
|
|
|
9389
9600
|
uploadType?: string;
|
|
9390
9601
|
}): Request<GoogleLongrunningOperation>;
|
|
9391
9602
|
}
|
|
9392
|
-
interface
|
|
9393
|
-
/** Cancels a
|
|
9603
|
+
interface CustomJobsResource {
|
|
9604
|
+
/** Cancels a CustomJob. Starts asynchronous cancellation on the CustomJob. The server makes a best effort to cancel the job, but success is not guaranteed. Clients can use JobService.GetCustomJob or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On successful cancellation, the CustomJob is not deleted; instead it becomes a job with a CustomJob.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`, and CustomJob.state is set to `CANCELLED`. */
|
|
9394
9605
|
cancel(request: {
|
|
9395
9606
|
/** V1 error format. */
|
|
9396
9607
|
'$.xgafv'?: string;
|
|
@@ -9404,7 +9615,7 @@ declare namespace gapi.client {
|
|
|
9404
9615
|
fields?: string;
|
|
9405
9616
|
/** 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. */
|
|
9406
9617
|
key?: string;
|
|
9407
|
-
/** Required. The name of the
|
|
9618
|
+
/** Required. The name of the CustomJob to cancel. Format: `projects/{project}/locations/{location}/customJobs/{custom_job}` */
|
|
9408
9619
|
name: string;
|
|
9409
9620
|
/** OAuth 2.0 token for the current user. */
|
|
9410
9621
|
oauth_token?: string;
|
|
@@ -9417,7 +9628,7 @@ declare namespace gapi.client {
|
|
|
9417
9628
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9418
9629
|
uploadType?: string;
|
|
9419
9630
|
/** Request body */
|
|
9420
|
-
resource:
|
|
9631
|
+
resource: GoogleCloudAiplatformV1beta1CancelCustomJobRequest;
|
|
9421
9632
|
}): Request<{}>;
|
|
9422
9633
|
cancel(
|
|
9423
9634
|
request: {
|
|
@@ -9433,7 +9644,7 @@ declare namespace gapi.client {
|
|
|
9433
9644
|
fields?: string;
|
|
9434
9645
|
/** 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. */
|
|
9435
9646
|
key?: string;
|
|
9436
|
-
/** Required. The name of the
|
|
9647
|
+
/** Required. The name of the CustomJob to cancel. Format: `projects/{project}/locations/{location}/customJobs/{custom_job}` */
|
|
9437
9648
|
name: string;
|
|
9438
9649
|
/** OAuth 2.0 token for the current user. */
|
|
9439
9650
|
oauth_token?: string;
|
|
@@ -9446,9 +9657,9 @@ declare namespace gapi.client {
|
|
|
9446
9657
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9447
9658
|
uploadType?: string;
|
|
9448
9659
|
},
|
|
9449
|
-
body:
|
|
9660
|
+
body: GoogleCloudAiplatformV1beta1CancelCustomJobRequest
|
|
9450
9661
|
): Request<{}>;
|
|
9451
|
-
/** Creates a
|
|
9662
|
+
/** Creates a CustomJob. A created CustomJob right away will be attempted to be run. */
|
|
9452
9663
|
create(request: {
|
|
9453
9664
|
/** V1 error format. */
|
|
9454
9665
|
'$.xgafv'?: string;
|
|
@@ -9464,7 +9675,7 @@ declare namespace gapi.client {
|
|
|
9464
9675
|
key?: string;
|
|
9465
9676
|
/** OAuth 2.0 token for the current user. */
|
|
9466
9677
|
oauth_token?: string;
|
|
9467
|
-
/** Required. The
|
|
9678
|
+
/** Required. The resource name of the Location to create the CustomJob in. Format: `projects/{project}/locations/{location}` */
|
|
9468
9679
|
parent: string;
|
|
9469
9680
|
/** Returns response with indentations and line breaks. */
|
|
9470
9681
|
prettyPrint?: boolean;
|
|
@@ -9475,8 +9686,8 @@ declare namespace gapi.client {
|
|
|
9475
9686
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9476
9687
|
uploadType?: string;
|
|
9477
9688
|
/** Request body */
|
|
9478
|
-
resource:
|
|
9479
|
-
}): Request<
|
|
9689
|
+
resource: GoogleCloudAiplatformV1beta1CustomJob;
|
|
9690
|
+
}): Request<GoogleCloudAiplatformV1beta1CustomJob>;
|
|
9480
9691
|
create(
|
|
9481
9692
|
request: {
|
|
9482
9693
|
/** V1 error format. */
|
|
@@ -9493,7 +9704,7 @@ declare namespace gapi.client {
|
|
|
9493
9704
|
key?: string;
|
|
9494
9705
|
/** OAuth 2.0 token for the current user. */
|
|
9495
9706
|
oauth_token?: string;
|
|
9496
|
-
/** Required. The
|
|
9707
|
+
/** Required. The resource name of the Location to create the CustomJob in. Format: `projects/{project}/locations/{location}` */
|
|
9497
9708
|
parent: string;
|
|
9498
9709
|
/** Returns response with indentations and line breaks. */
|
|
9499
9710
|
prettyPrint?: boolean;
|
|
@@ -9504,9 +9715,9 @@ declare namespace gapi.client {
|
|
|
9504
9715
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9505
9716
|
uploadType?: string;
|
|
9506
9717
|
},
|
|
9507
|
-
body:
|
|
9508
|
-
): Request<
|
|
9509
|
-
/** Deletes a
|
|
9718
|
+
body: GoogleCloudAiplatformV1beta1CustomJob
|
|
9719
|
+
): Request<GoogleCloudAiplatformV1beta1CustomJob>;
|
|
9720
|
+
/** Deletes a CustomJob. */
|
|
9510
9721
|
delete(request?: {
|
|
9511
9722
|
/** V1 error format. */
|
|
9512
9723
|
'$.xgafv'?: string;
|
|
@@ -9520,7 +9731,7 @@ declare namespace gapi.client {
|
|
|
9520
9731
|
fields?: string;
|
|
9521
9732
|
/** 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. */
|
|
9522
9733
|
key?: string;
|
|
9523
|
-
/** Required. The name of the
|
|
9734
|
+
/** Required. The name of the CustomJob resource to be deleted. Format: `projects/{project}/locations/{location}/customJobs/{custom_job}` */
|
|
9524
9735
|
name: string;
|
|
9525
9736
|
/** OAuth 2.0 token for the current user. */
|
|
9526
9737
|
oauth_token?: string;
|
|
@@ -9533,7 +9744,7 @@ declare namespace gapi.client {
|
|
|
9533
9744
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9534
9745
|
uploadType?: string;
|
|
9535
9746
|
}): Request<GoogleLongrunningOperation>;
|
|
9536
|
-
/** Gets a
|
|
9747
|
+
/** Gets a CustomJob. */
|
|
9537
9748
|
get(request?: {
|
|
9538
9749
|
/** V1 error format. */
|
|
9539
9750
|
'$.xgafv'?: string;
|
|
@@ -9547,7 +9758,360 @@ declare namespace gapi.client {
|
|
|
9547
9758
|
fields?: string;
|
|
9548
9759
|
/** 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. */
|
|
9549
9760
|
key?: string;
|
|
9550
|
-
/** Required. The name of the
|
|
9761
|
+
/** Required. The name of the CustomJob resource. Format: `projects/{project}/locations/{location}/customJobs/{custom_job}` */
|
|
9762
|
+
name: string;
|
|
9763
|
+
/** OAuth 2.0 token for the current user. */
|
|
9764
|
+
oauth_token?: string;
|
|
9765
|
+
/** Returns response with indentations and line breaks. */
|
|
9766
|
+
prettyPrint?: boolean;
|
|
9767
|
+
/** 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. */
|
|
9768
|
+
quotaUser?: string;
|
|
9769
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9770
|
+
upload_protocol?: string;
|
|
9771
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9772
|
+
uploadType?: string;
|
|
9773
|
+
}): Request<GoogleCloudAiplatformV1beta1CustomJob>;
|
|
9774
|
+
/** Lists CustomJobs in a Location. */
|
|
9775
|
+
list(request?: {
|
|
9776
|
+
/** V1 error format. */
|
|
9777
|
+
'$.xgafv'?: string;
|
|
9778
|
+
/** OAuth access token. */
|
|
9779
|
+
access_token?: string;
|
|
9780
|
+
/** Data format for response. */
|
|
9781
|
+
alt?: string;
|
|
9782
|
+
/** JSONP */
|
|
9783
|
+
callback?: string;
|
|
9784
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9785
|
+
fields?: string;
|
|
9786
|
+
/** The standard list filter. Supported fields: * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. * `state` supports `=`, `!=` comparisons. * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format. * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* - key existence Some examples of using the filter are: * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * `NOT display_name="my_job"` * `create_time>"2021-05-18T00:00:00Z"` * `labels.keyA=valueA` * `labels.keyB:*` */
|
|
9787
|
+
filter?: string;
|
|
9788
|
+
/** 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. */
|
|
9789
|
+
key?: string;
|
|
9790
|
+
/** OAuth 2.0 token for the current user. */
|
|
9791
|
+
oauth_token?: string;
|
|
9792
|
+
/** The standard list page size. */
|
|
9793
|
+
pageSize?: number;
|
|
9794
|
+
/** The standard list page token. Typically obtained via ListCustomJobsResponse.next_page_token of the previous JobService.ListCustomJobs call. */
|
|
9795
|
+
pageToken?: string;
|
|
9796
|
+
/** Required. The resource name of the Location to list the CustomJobs from. Format: `projects/{project}/locations/{location}` */
|
|
9797
|
+
parent: string;
|
|
9798
|
+
/** Returns response with indentations and line breaks. */
|
|
9799
|
+
prettyPrint?: boolean;
|
|
9800
|
+
/** 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. */
|
|
9801
|
+
quotaUser?: string;
|
|
9802
|
+
/** Mask specifying which fields to read. */
|
|
9803
|
+
readMask?: string;
|
|
9804
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9805
|
+
upload_protocol?: string;
|
|
9806
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9807
|
+
uploadType?: string;
|
|
9808
|
+
}): Request<GoogleCloudAiplatformV1beta1ListCustomJobsResponse>;
|
|
9809
|
+
operations: OperationsResource;
|
|
9810
|
+
}
|
|
9811
|
+
interface OperationsResource {
|
|
9812
|
+
/** 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`. */
|
|
9813
|
+
cancel(request?: {
|
|
9814
|
+
/** V1 error format. */
|
|
9815
|
+
'$.xgafv'?: string;
|
|
9816
|
+
/** OAuth access token. */
|
|
9817
|
+
access_token?: string;
|
|
9818
|
+
/** Data format for response. */
|
|
9819
|
+
alt?: string;
|
|
9820
|
+
/** JSONP */
|
|
9821
|
+
callback?: string;
|
|
9822
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9823
|
+
fields?: string;
|
|
9824
|
+
/** 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. */
|
|
9825
|
+
key?: string;
|
|
9826
|
+
/** The name of the operation resource to be cancelled. */
|
|
9827
|
+
name: string;
|
|
9828
|
+
/** OAuth 2.0 token for the current user. */
|
|
9829
|
+
oauth_token?: string;
|
|
9830
|
+
/** Returns response with indentations and line breaks. */
|
|
9831
|
+
prettyPrint?: boolean;
|
|
9832
|
+
/** 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. */
|
|
9833
|
+
quotaUser?: string;
|
|
9834
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9835
|
+
upload_protocol?: string;
|
|
9836
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9837
|
+
uploadType?: string;
|
|
9838
|
+
}): Request<{}>;
|
|
9839
|
+
/** 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`. */
|
|
9840
|
+
delete(request?: {
|
|
9841
|
+
/** V1 error format. */
|
|
9842
|
+
'$.xgafv'?: string;
|
|
9843
|
+
/** OAuth access token. */
|
|
9844
|
+
access_token?: string;
|
|
9845
|
+
/** Data format for response. */
|
|
9846
|
+
alt?: string;
|
|
9847
|
+
/** JSONP */
|
|
9848
|
+
callback?: string;
|
|
9849
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9850
|
+
fields?: string;
|
|
9851
|
+
/** 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. */
|
|
9852
|
+
key?: string;
|
|
9853
|
+
/** The name of the operation resource to be deleted. */
|
|
9854
|
+
name: string;
|
|
9855
|
+
/** OAuth 2.0 token for the current user. */
|
|
9856
|
+
oauth_token?: string;
|
|
9857
|
+
/** Returns response with indentations and line breaks. */
|
|
9858
|
+
prettyPrint?: boolean;
|
|
9859
|
+
/** 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. */
|
|
9860
|
+
quotaUser?: string;
|
|
9861
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9862
|
+
upload_protocol?: string;
|
|
9863
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9864
|
+
uploadType?: string;
|
|
9865
|
+
}): Request<{}>;
|
|
9866
|
+
/** 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. */
|
|
9867
|
+
get(request?: {
|
|
9868
|
+
/** V1 error format. */
|
|
9869
|
+
'$.xgafv'?: string;
|
|
9870
|
+
/** OAuth access token. */
|
|
9871
|
+
access_token?: string;
|
|
9872
|
+
/** Data format for response. */
|
|
9873
|
+
alt?: string;
|
|
9874
|
+
/** JSONP */
|
|
9875
|
+
callback?: string;
|
|
9876
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9877
|
+
fields?: string;
|
|
9878
|
+
/** 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. */
|
|
9879
|
+
key?: string;
|
|
9880
|
+
/** The name of the operation resource. */
|
|
9881
|
+
name: string;
|
|
9882
|
+
/** OAuth 2.0 token for the current user. */
|
|
9883
|
+
oauth_token?: string;
|
|
9884
|
+
/** Returns response with indentations and line breaks. */
|
|
9885
|
+
prettyPrint?: boolean;
|
|
9886
|
+
/** 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. */
|
|
9887
|
+
quotaUser?: string;
|
|
9888
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9889
|
+
upload_protocol?: string;
|
|
9890
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9891
|
+
uploadType?: string;
|
|
9892
|
+
}): Request<GoogleLongrunningOperation>;
|
|
9893
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
9894
|
+
list(request?: {
|
|
9895
|
+
/** V1 error format. */
|
|
9896
|
+
'$.xgafv'?: string;
|
|
9897
|
+
/** OAuth access token. */
|
|
9898
|
+
access_token?: string;
|
|
9899
|
+
/** Data format for response. */
|
|
9900
|
+
alt?: string;
|
|
9901
|
+
/** JSONP */
|
|
9902
|
+
callback?: string;
|
|
9903
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9904
|
+
fields?: string;
|
|
9905
|
+
/** The standard list filter. */
|
|
9906
|
+
filter?: string;
|
|
9907
|
+
/** 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. */
|
|
9908
|
+
key?: string;
|
|
9909
|
+
/** The name of the operation's parent resource. */
|
|
9910
|
+
name: string;
|
|
9911
|
+
/** OAuth 2.0 token for the current user. */
|
|
9912
|
+
oauth_token?: string;
|
|
9913
|
+
/** The standard list page size. */
|
|
9914
|
+
pageSize?: number;
|
|
9915
|
+
/** The standard list page token. */
|
|
9916
|
+
pageToken?: string;
|
|
9917
|
+
/** Returns response with indentations and line breaks. */
|
|
9918
|
+
prettyPrint?: boolean;
|
|
9919
|
+
/** 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. */
|
|
9920
|
+
quotaUser?: string;
|
|
9921
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9922
|
+
upload_protocol?: string;
|
|
9923
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9924
|
+
uploadType?: string;
|
|
9925
|
+
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
9926
|
+
/** 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. */
|
|
9927
|
+
wait(request?: {
|
|
9928
|
+
/** V1 error format. */
|
|
9929
|
+
'$.xgafv'?: string;
|
|
9930
|
+
/** OAuth access token. */
|
|
9931
|
+
access_token?: string;
|
|
9932
|
+
/** Data format for response. */
|
|
9933
|
+
alt?: string;
|
|
9934
|
+
/** JSONP */
|
|
9935
|
+
callback?: string;
|
|
9936
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9937
|
+
fields?: string;
|
|
9938
|
+
/** 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. */
|
|
9939
|
+
key?: string;
|
|
9940
|
+
/** The name of the operation resource to wait on. */
|
|
9941
|
+
name: string;
|
|
9942
|
+
/** OAuth 2.0 token for the current user. */
|
|
9943
|
+
oauth_token?: string;
|
|
9944
|
+
/** Returns response with indentations and line breaks. */
|
|
9945
|
+
prettyPrint?: boolean;
|
|
9946
|
+
/** 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. */
|
|
9947
|
+
quotaUser?: string;
|
|
9948
|
+
/** 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. */
|
|
9949
|
+
timeout?: string;
|
|
9950
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9951
|
+
upload_protocol?: string;
|
|
9952
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9953
|
+
uploadType?: string;
|
|
9954
|
+
}): Request<GoogleLongrunningOperation>;
|
|
9955
|
+
}
|
|
9956
|
+
interface DataLabelingJobsResource {
|
|
9957
|
+
/** Cancels a DataLabelingJob. Success of cancellation is not guaranteed. */
|
|
9958
|
+
cancel(request: {
|
|
9959
|
+
/** V1 error format. */
|
|
9960
|
+
'$.xgafv'?: string;
|
|
9961
|
+
/** OAuth access token. */
|
|
9962
|
+
access_token?: string;
|
|
9963
|
+
/** Data format for response. */
|
|
9964
|
+
alt?: string;
|
|
9965
|
+
/** JSONP */
|
|
9966
|
+
callback?: string;
|
|
9967
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9968
|
+
fields?: string;
|
|
9969
|
+
/** 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. */
|
|
9970
|
+
key?: string;
|
|
9971
|
+
/** Required. The name of the DataLabelingJob. Format: `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` */
|
|
9972
|
+
name: string;
|
|
9973
|
+
/** OAuth 2.0 token for the current user. */
|
|
9974
|
+
oauth_token?: string;
|
|
9975
|
+
/** Returns response with indentations and line breaks. */
|
|
9976
|
+
prettyPrint?: boolean;
|
|
9977
|
+
/** 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. */
|
|
9978
|
+
quotaUser?: string;
|
|
9979
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9980
|
+
upload_protocol?: string;
|
|
9981
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9982
|
+
uploadType?: string;
|
|
9983
|
+
/** Request body */
|
|
9984
|
+
resource: GoogleCloudAiplatformV1beta1CancelDataLabelingJobRequest;
|
|
9985
|
+
}): Request<{}>;
|
|
9986
|
+
cancel(
|
|
9987
|
+
request: {
|
|
9988
|
+
/** V1 error format. */
|
|
9989
|
+
'$.xgafv'?: string;
|
|
9990
|
+
/** OAuth access token. */
|
|
9991
|
+
access_token?: string;
|
|
9992
|
+
/** Data format for response. */
|
|
9993
|
+
alt?: string;
|
|
9994
|
+
/** JSONP */
|
|
9995
|
+
callback?: string;
|
|
9996
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9997
|
+
fields?: string;
|
|
9998
|
+
/** 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. */
|
|
9999
|
+
key?: string;
|
|
10000
|
+
/** Required. The name of the DataLabelingJob. Format: `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` */
|
|
10001
|
+
name: string;
|
|
10002
|
+
/** OAuth 2.0 token for the current user. */
|
|
10003
|
+
oauth_token?: string;
|
|
10004
|
+
/** Returns response with indentations and line breaks. */
|
|
10005
|
+
prettyPrint?: boolean;
|
|
10006
|
+
/** 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. */
|
|
10007
|
+
quotaUser?: string;
|
|
10008
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10009
|
+
upload_protocol?: string;
|
|
10010
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10011
|
+
uploadType?: string;
|
|
10012
|
+
},
|
|
10013
|
+
body: GoogleCloudAiplatformV1beta1CancelDataLabelingJobRequest
|
|
10014
|
+
): Request<{}>;
|
|
10015
|
+
/** Creates a DataLabelingJob. */
|
|
10016
|
+
create(request: {
|
|
10017
|
+
/** V1 error format. */
|
|
10018
|
+
'$.xgafv'?: string;
|
|
10019
|
+
/** OAuth access token. */
|
|
10020
|
+
access_token?: string;
|
|
10021
|
+
/** Data format for response. */
|
|
10022
|
+
alt?: string;
|
|
10023
|
+
/** JSONP */
|
|
10024
|
+
callback?: string;
|
|
10025
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
10026
|
+
fields?: string;
|
|
10027
|
+
/** 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. */
|
|
10028
|
+
key?: string;
|
|
10029
|
+
/** OAuth 2.0 token for the current user. */
|
|
10030
|
+
oauth_token?: string;
|
|
10031
|
+
/** Required. The parent of the DataLabelingJob. Format: `projects/{project}/locations/{location}` */
|
|
10032
|
+
parent: string;
|
|
10033
|
+
/** Returns response with indentations and line breaks. */
|
|
10034
|
+
prettyPrint?: boolean;
|
|
10035
|
+
/** 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. */
|
|
10036
|
+
quotaUser?: string;
|
|
10037
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10038
|
+
upload_protocol?: string;
|
|
10039
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10040
|
+
uploadType?: string;
|
|
10041
|
+
/** Request body */
|
|
10042
|
+
resource: GoogleCloudAiplatformV1beta1DataLabelingJob;
|
|
10043
|
+
}): Request<GoogleCloudAiplatformV1beta1DataLabelingJob>;
|
|
10044
|
+
create(
|
|
10045
|
+
request: {
|
|
10046
|
+
/** V1 error format. */
|
|
10047
|
+
'$.xgafv'?: string;
|
|
10048
|
+
/** OAuth access token. */
|
|
10049
|
+
access_token?: string;
|
|
10050
|
+
/** Data format for response. */
|
|
10051
|
+
alt?: string;
|
|
10052
|
+
/** JSONP */
|
|
10053
|
+
callback?: string;
|
|
10054
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
10055
|
+
fields?: string;
|
|
10056
|
+
/** 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. */
|
|
10057
|
+
key?: string;
|
|
10058
|
+
/** OAuth 2.0 token for the current user. */
|
|
10059
|
+
oauth_token?: string;
|
|
10060
|
+
/** Required. The parent of the DataLabelingJob. Format: `projects/{project}/locations/{location}` */
|
|
10061
|
+
parent: string;
|
|
10062
|
+
/** Returns response with indentations and line breaks. */
|
|
10063
|
+
prettyPrint?: boolean;
|
|
10064
|
+
/** 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. */
|
|
10065
|
+
quotaUser?: string;
|
|
10066
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10067
|
+
upload_protocol?: string;
|
|
10068
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10069
|
+
uploadType?: string;
|
|
10070
|
+
},
|
|
10071
|
+
body: GoogleCloudAiplatformV1beta1DataLabelingJob
|
|
10072
|
+
): Request<GoogleCloudAiplatformV1beta1DataLabelingJob>;
|
|
10073
|
+
/** Deletes a DataLabelingJob. */
|
|
10074
|
+
delete(request?: {
|
|
10075
|
+
/** V1 error format. */
|
|
10076
|
+
'$.xgafv'?: string;
|
|
10077
|
+
/** OAuth access token. */
|
|
10078
|
+
access_token?: string;
|
|
10079
|
+
/** Data format for response. */
|
|
10080
|
+
alt?: string;
|
|
10081
|
+
/** JSONP */
|
|
10082
|
+
callback?: string;
|
|
10083
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
10084
|
+
fields?: string;
|
|
10085
|
+
/** 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. */
|
|
10086
|
+
key?: string;
|
|
10087
|
+
/** Required. The name of the DataLabelingJob to be deleted. Format: `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` */
|
|
10088
|
+
name: string;
|
|
10089
|
+
/** OAuth 2.0 token for the current user. */
|
|
10090
|
+
oauth_token?: string;
|
|
10091
|
+
/** Returns response with indentations and line breaks. */
|
|
10092
|
+
prettyPrint?: boolean;
|
|
10093
|
+
/** 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. */
|
|
10094
|
+
quotaUser?: string;
|
|
10095
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10096
|
+
upload_protocol?: string;
|
|
10097
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10098
|
+
uploadType?: string;
|
|
10099
|
+
}): Request<GoogleLongrunningOperation>;
|
|
10100
|
+
/** Gets a DataLabelingJob. */
|
|
10101
|
+
get(request?: {
|
|
10102
|
+
/** V1 error format. */
|
|
10103
|
+
'$.xgafv'?: string;
|
|
10104
|
+
/** OAuth access token. */
|
|
10105
|
+
access_token?: string;
|
|
10106
|
+
/** Data format for response. */
|
|
10107
|
+
alt?: string;
|
|
10108
|
+
/** JSONP */
|
|
10109
|
+
callback?: string;
|
|
10110
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
10111
|
+
fields?: string;
|
|
10112
|
+
/** 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. */
|
|
10113
|
+
key?: string;
|
|
10114
|
+
/** Required. The name of the DataLabelingJob. Format: `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` */
|
|
9551
10115
|
name: string;
|
|
9552
10116
|
/** OAuth 2.0 token for the current user. */
|
|
9553
10117
|
oauth_token?: string;
|
|
@@ -12590,192 +13154,17 @@ declare namespace gapi.client {
|
|
|
12590
13154
|
prettyPrint?: boolean;
|
|
12591
13155
|
/** 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. */
|
|
12592
13156
|
quotaUser?: string;
|
|
12593
|
-
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
12594
|
-
resource: string;
|
|
12595
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12596
|
-
upload_protocol?: string;
|
|
12597
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12598
|
-
uploadType?: string;
|
|
12599
|
-
},
|
|
12600
|
-
body: GoogleIamV1SetIamPolicyRequest
|
|
12601
|
-
): Request<GoogleIamV1Policy>;
|
|
12602
|
-
/** Generate content with multimodal inputs with streaming support. */
|
|
12603
|
-
streamGenerateContent(request: {
|
|
12604
|
-
/** V1 error format. */
|
|
12605
|
-
'$.xgafv'?: string;
|
|
12606
|
-
/** OAuth access token. */
|
|
12607
|
-
access_token?: string;
|
|
12608
|
-
/** Data format for response. */
|
|
12609
|
-
alt?: string;
|
|
12610
|
-
/** JSONP */
|
|
12611
|
-
callback?: string;
|
|
12612
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
12613
|
-
fields?: string;
|
|
12614
|
-
/** 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. */
|
|
12615
|
-
key?: string;
|
|
12616
|
-
/** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*` */
|
|
12617
|
-
model: string;
|
|
12618
|
-
/** OAuth 2.0 token for the current user. */
|
|
12619
|
-
oauth_token?: string;
|
|
12620
|
-
/** Returns response with indentations and line breaks. */
|
|
12621
|
-
prettyPrint?: boolean;
|
|
12622
|
-
/** 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. */
|
|
12623
|
-
quotaUser?: string;
|
|
12624
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12625
|
-
upload_protocol?: string;
|
|
12626
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12627
|
-
uploadType?: string;
|
|
12628
|
-
/** Request body */
|
|
12629
|
-
resource: GoogleCloudAiplatformV1beta1GenerateContentRequest;
|
|
12630
|
-
}): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
|
|
12631
|
-
streamGenerateContent(
|
|
12632
|
-
request: {
|
|
12633
|
-
/** V1 error format. */
|
|
12634
|
-
'$.xgafv'?: string;
|
|
12635
|
-
/** OAuth access token. */
|
|
12636
|
-
access_token?: string;
|
|
12637
|
-
/** Data format for response. */
|
|
12638
|
-
alt?: string;
|
|
12639
|
-
/** JSONP */
|
|
12640
|
-
callback?: string;
|
|
12641
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
12642
|
-
fields?: string;
|
|
12643
|
-
/** 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. */
|
|
12644
|
-
key?: string;
|
|
12645
|
-
/** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*` */
|
|
12646
|
-
model: string;
|
|
12647
|
-
/** OAuth 2.0 token for the current user. */
|
|
12648
|
-
oauth_token?: string;
|
|
12649
|
-
/** Returns response with indentations and line breaks. */
|
|
12650
|
-
prettyPrint?: boolean;
|
|
12651
|
-
/** 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. */
|
|
12652
|
-
quotaUser?: string;
|
|
12653
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12654
|
-
upload_protocol?: string;
|
|
12655
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12656
|
-
uploadType?: string;
|
|
12657
|
-
},
|
|
12658
|
-
body: GoogleCloudAiplatformV1beta1GenerateContentRequest
|
|
12659
|
-
): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
|
|
12660
|
-
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
12661
|
-
testIamPermissions(request?: {
|
|
12662
|
-
/** V1 error format. */
|
|
12663
|
-
'$.xgafv'?: string;
|
|
12664
|
-
/** OAuth access token. */
|
|
12665
|
-
access_token?: string;
|
|
12666
|
-
/** Data format for response. */
|
|
12667
|
-
alt?: string;
|
|
12668
|
-
/** JSONP */
|
|
12669
|
-
callback?: string;
|
|
12670
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
12671
|
-
fields?: string;
|
|
12672
|
-
/** 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. */
|
|
12673
|
-
key?: string;
|
|
12674
|
-
/** OAuth 2.0 token for the current user. */
|
|
12675
|
-
oauth_token?: string;
|
|
12676
|
-
/** The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). */
|
|
12677
|
-
permissions?: string | string[];
|
|
12678
|
-
/** Returns response with indentations and line breaks. */
|
|
12679
|
-
prettyPrint?: boolean;
|
|
12680
|
-
/** 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. */
|
|
12681
|
-
quotaUser?: string;
|
|
12682
|
-
/** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
12683
|
-
resource: string;
|
|
12684
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12685
|
-
upload_protocol?: string;
|
|
12686
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12687
|
-
uploadType?: string;
|
|
12688
|
-
}): Request<GoogleIamV1TestIamPermissionsResponse>;
|
|
12689
|
-
/** Undeploys a Model from an Endpoint, removing a DeployedModel from it, and freeing all resources it's using. */
|
|
12690
|
-
undeployModel(request: {
|
|
12691
|
-
/** V1 error format. */
|
|
12692
|
-
'$.xgafv'?: string;
|
|
12693
|
-
/** OAuth access token. */
|
|
12694
|
-
access_token?: string;
|
|
12695
|
-
/** Data format for response. */
|
|
12696
|
-
alt?: string;
|
|
12697
|
-
/** JSONP */
|
|
12698
|
-
callback?: string;
|
|
12699
|
-
/** Required. The name of the Endpoint resource from which to undeploy a Model. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
12700
|
-
endpoint: string;
|
|
12701
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
12702
|
-
fields?: string;
|
|
12703
|
-
/** 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. */
|
|
12704
|
-
key?: string;
|
|
12705
|
-
/** OAuth 2.0 token for the current user. */
|
|
12706
|
-
oauth_token?: string;
|
|
12707
|
-
/** Returns response with indentations and line breaks. */
|
|
12708
|
-
prettyPrint?: boolean;
|
|
12709
|
-
/** 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. */
|
|
12710
|
-
quotaUser?: string;
|
|
12711
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12712
|
-
upload_protocol?: string;
|
|
12713
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12714
|
-
uploadType?: string;
|
|
12715
|
-
/** Request body */
|
|
12716
|
-
resource: GoogleCloudAiplatformV1beta1UndeployModelRequest;
|
|
12717
|
-
}): Request<GoogleLongrunningOperation>;
|
|
12718
|
-
undeployModel(
|
|
12719
|
-
request: {
|
|
12720
|
-
/** V1 error format. */
|
|
12721
|
-
'$.xgafv'?: string;
|
|
12722
|
-
/** OAuth access token. */
|
|
12723
|
-
access_token?: string;
|
|
12724
|
-
/** Data format for response. */
|
|
12725
|
-
alt?: string;
|
|
12726
|
-
/** JSONP */
|
|
12727
|
-
callback?: string;
|
|
12728
|
-
/** Required. The name of the Endpoint resource from which to undeploy a Model. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
12729
|
-
endpoint: string;
|
|
12730
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
12731
|
-
fields?: string;
|
|
12732
|
-
/** 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. */
|
|
12733
|
-
key?: string;
|
|
12734
|
-
/** OAuth 2.0 token for the current user. */
|
|
12735
|
-
oauth_token?: string;
|
|
12736
|
-
/** Returns response with indentations and line breaks. */
|
|
12737
|
-
prettyPrint?: boolean;
|
|
12738
|
-
/** 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. */
|
|
12739
|
-
quotaUser?: string;
|
|
12740
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12741
|
-
upload_protocol?: string;
|
|
12742
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12743
|
-
uploadType?: string;
|
|
12744
|
-
},
|
|
12745
|
-
body: GoogleCloudAiplatformV1beta1UndeployModelRequest
|
|
12746
|
-
): Request<GoogleLongrunningOperation>;
|
|
12747
|
-
operations: OperationsResource;
|
|
12748
|
-
}
|
|
12749
|
-
interface OperationsResource {
|
|
12750
|
-
/** 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`. */
|
|
12751
|
-
delete(request?: {
|
|
12752
|
-
/** V1 error format. */
|
|
12753
|
-
'$.xgafv'?: string;
|
|
12754
|
-
/** OAuth access token. */
|
|
12755
|
-
access_token?: string;
|
|
12756
|
-
/** Data format for response. */
|
|
12757
|
-
alt?: string;
|
|
12758
|
-
/** JSONP */
|
|
12759
|
-
callback?: string;
|
|
12760
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
12761
|
-
fields?: string;
|
|
12762
|
-
/** 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. */
|
|
12763
|
-
key?: string;
|
|
12764
|
-
/** The name of the operation resource to be deleted. */
|
|
12765
|
-
name: string;
|
|
12766
|
-
/** OAuth 2.0 token for the current user. */
|
|
12767
|
-
oauth_token?: string;
|
|
12768
|
-
/** Returns response with indentations and line breaks. */
|
|
12769
|
-
prettyPrint?: boolean;
|
|
12770
|
-
/** 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. */
|
|
12771
|
-
quotaUser?: string;
|
|
12772
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12773
|
-
upload_protocol?: string;
|
|
12774
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12775
|
-
uploadType?: string;
|
|
12776
|
-
}): Request<{}>;
|
|
12777
|
-
/** 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. */
|
|
12778
|
-
get(request?: {
|
|
13157
|
+
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
13158
|
+
resource: string;
|
|
13159
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13160
|
+
upload_protocol?: string;
|
|
13161
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13162
|
+
uploadType?: string;
|
|
13163
|
+
},
|
|
13164
|
+
body: GoogleIamV1SetIamPolicyRequest
|
|
13165
|
+
): Request<GoogleIamV1Policy>;
|
|
13166
|
+
/** Generate content with multimodal inputs with streaming support. */
|
|
13167
|
+
streamGenerateContent(request: {
|
|
12779
13168
|
/** V1 error format. */
|
|
12780
13169
|
'$.xgafv'?: string;
|
|
12781
13170
|
/** OAuth access token. */
|
|
@@ -12788,8 +13177,8 @@ declare namespace gapi.client {
|
|
|
12788
13177
|
fields?: string;
|
|
12789
13178
|
/** 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. */
|
|
12790
13179
|
key?: string;
|
|
12791
|
-
/** The name of the
|
|
12792
|
-
|
|
13180
|
+
/** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*` */
|
|
13181
|
+
model: string;
|
|
12793
13182
|
/** OAuth 2.0 token for the current user. */
|
|
12794
13183
|
oauth_token?: string;
|
|
12795
13184
|
/** Returns response with indentations and line breaks. */
|
|
@@ -12800,9 +13189,40 @@ declare namespace gapi.client {
|
|
|
12800
13189
|
upload_protocol?: string;
|
|
12801
13190
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12802
13191
|
uploadType?: string;
|
|
12803
|
-
|
|
12804
|
-
|
|
12805
|
-
|
|
13192
|
+
/** Request body */
|
|
13193
|
+
resource: GoogleCloudAiplatformV1beta1GenerateContentRequest;
|
|
13194
|
+
}): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
|
|
13195
|
+
streamGenerateContent(
|
|
13196
|
+
request: {
|
|
13197
|
+
/** V1 error format. */
|
|
13198
|
+
'$.xgafv'?: string;
|
|
13199
|
+
/** OAuth access token. */
|
|
13200
|
+
access_token?: string;
|
|
13201
|
+
/** Data format for response. */
|
|
13202
|
+
alt?: string;
|
|
13203
|
+
/** JSONP */
|
|
13204
|
+
callback?: string;
|
|
13205
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13206
|
+
fields?: string;
|
|
13207
|
+
/** 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. */
|
|
13208
|
+
key?: string;
|
|
13209
|
+
/** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*` */
|
|
13210
|
+
model: string;
|
|
13211
|
+
/** OAuth 2.0 token for the current user. */
|
|
13212
|
+
oauth_token?: string;
|
|
13213
|
+
/** Returns response with indentations and line breaks. */
|
|
13214
|
+
prettyPrint?: boolean;
|
|
13215
|
+
/** 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. */
|
|
13216
|
+
quotaUser?: string;
|
|
13217
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13218
|
+
upload_protocol?: string;
|
|
13219
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13220
|
+
uploadType?: string;
|
|
13221
|
+
},
|
|
13222
|
+
body: GoogleCloudAiplatformV1beta1GenerateContentRequest
|
|
13223
|
+
): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
|
|
13224
|
+
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
13225
|
+
testIamPermissions(request?: {
|
|
12806
13226
|
/** V1 error format. */
|
|
12807
13227
|
'$.xgafv'?: string;
|
|
12808
13228
|
/** OAuth access token. */
|
|
@@ -12813,29 +13233,25 @@ declare namespace gapi.client {
|
|
|
12813
13233
|
callback?: string;
|
|
12814
13234
|
/** Selector specifying which fields to include in a partial response. */
|
|
12815
13235
|
fields?: string;
|
|
12816
|
-
/** The standard list filter. */
|
|
12817
|
-
filter?: string;
|
|
12818
13236
|
/** 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. */
|
|
12819
13237
|
key?: string;
|
|
12820
|
-
/** The name of the operation's parent resource. */
|
|
12821
|
-
name: string;
|
|
12822
13238
|
/** OAuth 2.0 token for the current user. */
|
|
12823
13239
|
oauth_token?: string;
|
|
12824
|
-
/** The
|
|
12825
|
-
|
|
12826
|
-
/** The standard list page token. */
|
|
12827
|
-
pageToken?: string;
|
|
13240
|
+
/** The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). */
|
|
13241
|
+
permissions?: string | string[];
|
|
12828
13242
|
/** Returns response with indentations and line breaks. */
|
|
12829
13243
|
prettyPrint?: boolean;
|
|
12830
13244
|
/** 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. */
|
|
12831
13245
|
quotaUser?: string;
|
|
13246
|
+
/** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
13247
|
+
resource: string;
|
|
12832
13248
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12833
13249
|
upload_protocol?: string;
|
|
12834
13250
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12835
13251
|
uploadType?: string;
|
|
12836
|
-
}): Request<
|
|
12837
|
-
/**
|
|
12838
|
-
|
|
13252
|
+
}): Request<GoogleIamV1TestIamPermissionsResponse>;
|
|
13253
|
+
/** Undeploys a Model from an Endpoint, removing a DeployedModel from it, and freeing all resources it's using. */
|
|
13254
|
+
undeployModel(request: {
|
|
12839
13255
|
/** V1 error format. */
|
|
12840
13256
|
'$.xgafv'?: string;
|
|
12841
13257
|
/** OAuth access token. */
|
|
@@ -12844,57 +13260,57 @@ declare namespace gapi.client {
|
|
|
12844
13260
|
alt?: string;
|
|
12845
13261
|
/** JSONP */
|
|
12846
13262
|
callback?: string;
|
|
13263
|
+
/** Required. The name of the Endpoint resource from which to undeploy a Model. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
13264
|
+
endpoint: string;
|
|
12847
13265
|
/** Selector specifying which fields to include in a partial response. */
|
|
12848
13266
|
fields?: string;
|
|
12849
13267
|
/** 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. */
|
|
12850
13268
|
key?: string;
|
|
12851
|
-
/** The name of the operation resource to wait on. */
|
|
12852
|
-
name: string;
|
|
12853
13269
|
/** OAuth 2.0 token for the current user. */
|
|
12854
13270
|
oauth_token?: string;
|
|
12855
13271
|
/** Returns response with indentations and line breaks. */
|
|
12856
13272
|
prettyPrint?: boolean;
|
|
12857
13273
|
/** 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. */
|
|
12858
13274
|
quotaUser?: string;
|
|
12859
|
-
/** 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. */
|
|
12860
|
-
timeout?: string;
|
|
12861
13275
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12862
13276
|
upload_protocol?: string;
|
|
12863
13277
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12864
13278
|
uploadType?: string;
|
|
13279
|
+
/** Request body */
|
|
13280
|
+
resource: GoogleCloudAiplatformV1beta1UndeployModelRequest;
|
|
12865
13281
|
}): Request<GoogleLongrunningOperation>;
|
|
12866
|
-
|
|
12867
|
-
|
|
13282
|
+
undeployModel(
|
|
13283
|
+
request: {
|
|
13284
|
+
/** V1 error format. */
|
|
13285
|
+
'$.xgafv'?: string;
|
|
13286
|
+
/** OAuth access token. */
|
|
13287
|
+
access_token?: string;
|
|
13288
|
+
/** Data format for response. */
|
|
13289
|
+
alt?: string;
|
|
13290
|
+
/** JSONP */
|
|
13291
|
+
callback?: string;
|
|
13292
|
+
/** Required. The name of the Endpoint resource from which to undeploy a Model. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
13293
|
+
endpoint: string;
|
|
13294
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13295
|
+
fields?: string;
|
|
13296
|
+
/** 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. */
|
|
13297
|
+
key?: string;
|
|
13298
|
+
/** OAuth 2.0 token for the current user. */
|
|
13299
|
+
oauth_token?: string;
|
|
13300
|
+
/** Returns response with indentations and line breaks. */
|
|
13301
|
+
prettyPrint?: boolean;
|
|
13302
|
+
/** 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. */
|
|
13303
|
+
quotaUser?: string;
|
|
13304
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13305
|
+
upload_protocol?: string;
|
|
13306
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13307
|
+
uploadType?: string;
|
|
13308
|
+
},
|
|
13309
|
+
body: GoogleCloudAiplatformV1beta1UndeployModelRequest
|
|
13310
|
+
): Request<GoogleLongrunningOperation>;
|
|
12868
13311
|
operations: OperationsResource;
|
|
12869
13312
|
}
|
|
12870
13313
|
interface OperationsResource {
|
|
12871
|
-
/** 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`. */
|
|
12872
|
-
cancel(request?: {
|
|
12873
|
-
/** V1 error format. */
|
|
12874
|
-
'$.xgafv'?: string;
|
|
12875
|
-
/** OAuth access token. */
|
|
12876
|
-
access_token?: string;
|
|
12877
|
-
/** Data format for response. */
|
|
12878
|
-
alt?: string;
|
|
12879
|
-
/** JSONP */
|
|
12880
|
-
callback?: string;
|
|
12881
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
12882
|
-
fields?: string;
|
|
12883
|
-
/** 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. */
|
|
12884
|
-
key?: string;
|
|
12885
|
-
/** The name of the operation resource to be cancelled. */
|
|
12886
|
-
name: string;
|
|
12887
|
-
/** OAuth 2.0 token for the current user. */
|
|
12888
|
-
oauth_token?: string;
|
|
12889
|
-
/** Returns response with indentations and line breaks. */
|
|
12890
|
-
prettyPrint?: boolean;
|
|
12891
|
-
/** 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. */
|
|
12892
|
-
quotaUser?: string;
|
|
12893
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12894
|
-
upload_protocol?: string;
|
|
12895
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12896
|
-
uploadType?: string;
|
|
12897
|
-
}): Request<{}>;
|
|
12898
13314
|
/** 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`. */
|
|
12899
13315
|
delete(request?: {
|
|
12900
13316
|
/** V1 error format. */
|
|
@@ -13012,7 +13428,7 @@ declare namespace gapi.client {
|
|
|
13012
13428
|
uploadType?: string;
|
|
13013
13429
|
}): Request<GoogleLongrunningOperation>;
|
|
13014
13430
|
}
|
|
13015
|
-
interface
|
|
13431
|
+
interface EvaluationTasksResource {
|
|
13016
13432
|
operations: OperationsResource;
|
|
13017
13433
|
}
|
|
13018
13434
|
interface OperationsResource {
|
|
@@ -13160,7 +13576,7 @@ declare namespace gapi.client {
|
|
|
13160
13576
|
uploadType?: string;
|
|
13161
13577
|
}): Request<GoogleLongrunningOperation>;
|
|
13162
13578
|
}
|
|
13163
|
-
interface
|
|
13579
|
+
interface ExampleStoresResource {
|
|
13164
13580
|
operations: OperationsResource;
|
|
13165
13581
|
}
|
|
13166
13582
|
interface OperationsResource {
|
|
@@ -13308,7 +13724,7 @@ declare namespace gapi.client {
|
|
|
13308
13724
|
uploadType?: string;
|
|
13309
13725
|
}): Request<GoogleLongrunningOperation>;
|
|
13310
13726
|
}
|
|
13311
|
-
interface
|
|
13727
|
+
interface ExtensionControllersResource {
|
|
13312
13728
|
operations: OperationsResource;
|
|
13313
13729
|
}
|
|
13314
13730
|
interface OperationsResource {
|
|
@@ -13782,7 +14198,6 @@ declare namespace gapi.client {
|
|
|
13782
14198
|
},
|
|
13783
14199
|
body: GoogleCloudAiplatformV1beta1QueryExtensionRequest
|
|
13784
14200
|
): Request<GoogleCloudAiplatformV1beta1QueryExtensionResponse>;
|
|
13785
|
-
deployments: DeploymentsResource;
|
|
13786
14201
|
operations: OperationsResource;
|
|
13787
14202
|
}
|
|
13788
14203
|
interface OperationsResource {
|
|
@@ -14260,7 +14675,7 @@ declare namespace gapi.client {
|
|
|
14260
14675
|
key?: string;
|
|
14261
14676
|
/** OAuth 2.0 token for the current user. */
|
|
14262
14677
|
oauth_token?: string;
|
|
14263
|
-
/** Required. The resource name of the Location to create FeatureGroups. Format: `projects/{project}/locations/{location}
|
|
14678
|
+
/** Required. The resource name of the Location to create FeatureGroups. Format: `projects/{project}/locations/{location}` */
|
|
14264
14679
|
parent: string;
|
|
14265
14680
|
/** Returns response with indentations and line breaks. */
|
|
14266
14681
|
prettyPrint?: boolean;
|
|
@@ -14291,7 +14706,7 @@ declare namespace gapi.client {
|
|
|
14291
14706
|
key?: string;
|
|
14292
14707
|
/** OAuth 2.0 token for the current user. */
|
|
14293
14708
|
oauth_token?: string;
|
|
14294
|
-
/** Required. The resource name of the Location to create FeatureGroups. Format: `projects/{project}/locations/{location}
|
|
14709
|
+
/** Required. The resource name of the Location to create FeatureGroups. Format: `projects/{project}/locations/{location}` */
|
|
14295
14710
|
parent: string;
|
|
14296
14711
|
/** Returns response with indentations and line breaks. */
|
|
14297
14712
|
prettyPrint?: boolean;
|
|
@@ -26156,9 +26571,154 @@ declare namespace gapi.client {
|
|
|
26156
26571
|
uploadType?: string;
|
|
26157
26572
|
}): Request<GoogleLongrunningOperation>;
|
|
26158
26573
|
}
|
|
26159
|
-
interface OperationsResource {
|
|
26160
|
-
/** 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`. */
|
|
26161
|
-
cancel(request?: {
|
|
26574
|
+
interface OperationsResource {
|
|
26575
|
+
/** 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`. */
|
|
26576
|
+
cancel(request?: {
|
|
26577
|
+
/** V1 error format. */
|
|
26578
|
+
'$.xgafv'?: string;
|
|
26579
|
+
/** OAuth access token. */
|
|
26580
|
+
access_token?: string;
|
|
26581
|
+
/** Data format for response. */
|
|
26582
|
+
alt?: string;
|
|
26583
|
+
/** JSONP */
|
|
26584
|
+
callback?: string;
|
|
26585
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
26586
|
+
fields?: string;
|
|
26587
|
+
/** 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. */
|
|
26588
|
+
key?: string;
|
|
26589
|
+
/** The name of the operation resource to be cancelled. */
|
|
26590
|
+
name: string;
|
|
26591
|
+
/** OAuth 2.0 token for the current user. */
|
|
26592
|
+
oauth_token?: string;
|
|
26593
|
+
/** Returns response with indentations and line breaks. */
|
|
26594
|
+
prettyPrint?: boolean;
|
|
26595
|
+
/** 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. */
|
|
26596
|
+
quotaUser?: string;
|
|
26597
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
26598
|
+
upload_protocol?: string;
|
|
26599
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26600
|
+
uploadType?: string;
|
|
26601
|
+
}): Request<{}>;
|
|
26602
|
+
/** 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`. */
|
|
26603
|
+
delete(request?: {
|
|
26604
|
+
/** V1 error format. */
|
|
26605
|
+
'$.xgafv'?: string;
|
|
26606
|
+
/** OAuth access token. */
|
|
26607
|
+
access_token?: string;
|
|
26608
|
+
/** Data format for response. */
|
|
26609
|
+
alt?: string;
|
|
26610
|
+
/** JSONP */
|
|
26611
|
+
callback?: string;
|
|
26612
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
26613
|
+
fields?: string;
|
|
26614
|
+
/** 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. */
|
|
26615
|
+
key?: string;
|
|
26616
|
+
/** The name of the operation resource to be deleted. */
|
|
26617
|
+
name: string;
|
|
26618
|
+
/** OAuth 2.0 token for the current user. */
|
|
26619
|
+
oauth_token?: string;
|
|
26620
|
+
/** Returns response with indentations and line breaks. */
|
|
26621
|
+
prettyPrint?: boolean;
|
|
26622
|
+
/** 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. */
|
|
26623
|
+
quotaUser?: string;
|
|
26624
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
26625
|
+
upload_protocol?: string;
|
|
26626
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26627
|
+
uploadType?: string;
|
|
26628
|
+
}): Request<{}>;
|
|
26629
|
+
/** 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. */
|
|
26630
|
+
get(request?: {
|
|
26631
|
+
/** V1 error format. */
|
|
26632
|
+
'$.xgafv'?: string;
|
|
26633
|
+
/** OAuth access token. */
|
|
26634
|
+
access_token?: string;
|
|
26635
|
+
/** Data format for response. */
|
|
26636
|
+
alt?: string;
|
|
26637
|
+
/** JSONP */
|
|
26638
|
+
callback?: string;
|
|
26639
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
26640
|
+
fields?: string;
|
|
26641
|
+
/** 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. */
|
|
26642
|
+
key?: string;
|
|
26643
|
+
/** The name of the operation resource. */
|
|
26644
|
+
name: string;
|
|
26645
|
+
/** OAuth 2.0 token for the current user. */
|
|
26646
|
+
oauth_token?: string;
|
|
26647
|
+
/** Returns response with indentations and line breaks. */
|
|
26648
|
+
prettyPrint?: boolean;
|
|
26649
|
+
/** 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. */
|
|
26650
|
+
quotaUser?: string;
|
|
26651
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
26652
|
+
upload_protocol?: string;
|
|
26653
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26654
|
+
uploadType?: string;
|
|
26655
|
+
}): Request<GoogleLongrunningOperation>;
|
|
26656
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
26657
|
+
list(request?: {
|
|
26658
|
+
/** V1 error format. */
|
|
26659
|
+
'$.xgafv'?: string;
|
|
26660
|
+
/** OAuth access token. */
|
|
26661
|
+
access_token?: string;
|
|
26662
|
+
/** Data format for response. */
|
|
26663
|
+
alt?: string;
|
|
26664
|
+
/** JSONP */
|
|
26665
|
+
callback?: string;
|
|
26666
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
26667
|
+
fields?: string;
|
|
26668
|
+
/** The standard list filter. */
|
|
26669
|
+
filter?: string;
|
|
26670
|
+
/** 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. */
|
|
26671
|
+
key?: string;
|
|
26672
|
+
/** The name of the operation's parent resource. */
|
|
26673
|
+
name: string;
|
|
26674
|
+
/** OAuth 2.0 token for the current user. */
|
|
26675
|
+
oauth_token?: string;
|
|
26676
|
+
/** The standard list page size. */
|
|
26677
|
+
pageSize?: number;
|
|
26678
|
+
/** The standard list page token. */
|
|
26679
|
+
pageToken?: string;
|
|
26680
|
+
/** Returns response with indentations and line breaks. */
|
|
26681
|
+
prettyPrint?: boolean;
|
|
26682
|
+
/** 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. */
|
|
26683
|
+
quotaUser?: string;
|
|
26684
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
26685
|
+
upload_protocol?: string;
|
|
26686
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26687
|
+
uploadType?: string;
|
|
26688
|
+
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
26689
|
+
/** 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. */
|
|
26690
|
+
wait(request?: {
|
|
26691
|
+
/** V1 error format. */
|
|
26692
|
+
'$.xgafv'?: string;
|
|
26693
|
+
/** OAuth access token. */
|
|
26694
|
+
access_token?: string;
|
|
26695
|
+
/** Data format for response. */
|
|
26696
|
+
alt?: string;
|
|
26697
|
+
/** JSONP */
|
|
26698
|
+
callback?: string;
|
|
26699
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
26700
|
+
fields?: string;
|
|
26701
|
+
/** 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. */
|
|
26702
|
+
key?: string;
|
|
26703
|
+
/** The name of the operation resource to wait on. */
|
|
26704
|
+
name: string;
|
|
26705
|
+
/** OAuth 2.0 token for the current user. */
|
|
26706
|
+
oauth_token?: string;
|
|
26707
|
+
/** Returns response with indentations and line breaks. */
|
|
26708
|
+
prettyPrint?: boolean;
|
|
26709
|
+
/** 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. */
|
|
26710
|
+
quotaUser?: string;
|
|
26711
|
+
/** 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. */
|
|
26712
|
+
timeout?: string;
|
|
26713
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
26714
|
+
upload_protocol?: string;
|
|
26715
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26716
|
+
uploadType?: string;
|
|
26717
|
+
}): Request<GoogleLongrunningOperation>;
|
|
26718
|
+
}
|
|
26719
|
+
interface RagFilesResource {
|
|
26720
|
+
/** Deletes a RagFile. */
|
|
26721
|
+
delete(request?: {
|
|
26162
26722
|
/** V1 error format. */
|
|
26163
26723
|
'$.xgafv'?: string;
|
|
26164
26724
|
/** OAuth access token. */
|
|
@@ -26171,7 +26731,7 @@ declare namespace gapi.client {
|
|
|
26171
26731
|
fields?: string;
|
|
26172
26732
|
/** 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. */
|
|
26173
26733
|
key?: string;
|
|
26174
|
-
/** The name of the
|
|
26734
|
+
/** Required. The name of the RagFile resource to be deleted. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}` */
|
|
26175
26735
|
name: string;
|
|
26176
26736
|
/** OAuth 2.0 token for the current user. */
|
|
26177
26737
|
oauth_token?: string;
|
|
@@ -26183,9 +26743,9 @@ declare namespace gapi.client {
|
|
|
26183
26743
|
upload_protocol?: string;
|
|
26184
26744
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26185
26745
|
uploadType?: string;
|
|
26186
|
-
}): Request<
|
|
26187
|
-
/**
|
|
26188
|
-
|
|
26746
|
+
}): Request<GoogleLongrunningOperation>;
|
|
26747
|
+
/** Gets a RagFile. */
|
|
26748
|
+
get(request?: {
|
|
26189
26749
|
/** V1 error format. */
|
|
26190
26750
|
'$.xgafv'?: string;
|
|
26191
26751
|
/** OAuth access token. */
|
|
@@ -26198,7 +26758,7 @@ declare namespace gapi.client {
|
|
|
26198
26758
|
fields?: string;
|
|
26199
26759
|
/** 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. */
|
|
26200
26760
|
key?: string;
|
|
26201
|
-
/** The name of the
|
|
26761
|
+
/** Required. The name of the RagFile resource. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}` */
|
|
26202
26762
|
name: string;
|
|
26203
26763
|
/** OAuth 2.0 token for the current user. */
|
|
26204
26764
|
oauth_token?: string;
|
|
@@ -26210,9 +26770,9 @@ declare namespace gapi.client {
|
|
|
26210
26770
|
upload_protocol?: string;
|
|
26211
26771
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26212
26772
|
uploadType?: string;
|
|
26213
|
-
}): Request<
|
|
26214
|
-
/**
|
|
26215
|
-
|
|
26773
|
+
}): Request<GoogleCloudAiplatformV1beta1RagFile>;
|
|
26774
|
+
/** Import files from Google Cloud Storage or Google Drive into a RagCorpus. */
|
|
26775
|
+
import(request: {
|
|
26216
26776
|
/** V1 error format. */
|
|
26217
26777
|
'$.xgafv'?: string;
|
|
26218
26778
|
/** OAuth access token. */
|
|
@@ -26225,10 +26785,10 @@ declare namespace gapi.client {
|
|
|
26225
26785
|
fields?: string;
|
|
26226
26786
|
/** 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. */
|
|
26227
26787
|
key?: string;
|
|
26228
|
-
/** The name of the operation resource. */
|
|
26229
|
-
name: string;
|
|
26230
26788
|
/** OAuth 2.0 token for the current user. */
|
|
26231
26789
|
oauth_token?: string;
|
|
26790
|
+
/** Required. The name of the RagCorpus resource into which to import files. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
|
|
26791
|
+
parent: string;
|
|
26232
26792
|
/** Returns response with indentations and line breaks. */
|
|
26233
26793
|
prettyPrint?: boolean;
|
|
26234
26794
|
/** 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. */
|
|
@@ -26237,8 +26797,39 @@ declare namespace gapi.client {
|
|
|
26237
26797
|
upload_protocol?: string;
|
|
26238
26798
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26239
26799
|
uploadType?: string;
|
|
26800
|
+
/** Request body */
|
|
26801
|
+
resource: GoogleCloudAiplatformV1beta1ImportRagFilesRequest;
|
|
26240
26802
|
}): Request<GoogleLongrunningOperation>;
|
|
26241
|
-
|
|
26803
|
+
import(
|
|
26804
|
+
request: {
|
|
26805
|
+
/** V1 error format. */
|
|
26806
|
+
'$.xgafv'?: string;
|
|
26807
|
+
/** OAuth access token. */
|
|
26808
|
+
access_token?: string;
|
|
26809
|
+
/** Data format for response. */
|
|
26810
|
+
alt?: string;
|
|
26811
|
+
/** JSONP */
|
|
26812
|
+
callback?: string;
|
|
26813
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
26814
|
+
fields?: string;
|
|
26815
|
+
/** 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. */
|
|
26816
|
+
key?: string;
|
|
26817
|
+
/** OAuth 2.0 token for the current user. */
|
|
26818
|
+
oauth_token?: string;
|
|
26819
|
+
/** Required. The name of the RagCorpus resource into which to import files. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
|
|
26820
|
+
parent: string;
|
|
26821
|
+
/** Returns response with indentations and line breaks. */
|
|
26822
|
+
prettyPrint?: boolean;
|
|
26823
|
+
/** 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. */
|
|
26824
|
+
quotaUser?: string;
|
|
26825
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
26826
|
+
upload_protocol?: string;
|
|
26827
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26828
|
+
uploadType?: string;
|
|
26829
|
+
},
|
|
26830
|
+
body: GoogleCloudAiplatformV1beta1ImportRagFilesRequest
|
|
26831
|
+
): Request<GoogleLongrunningOperation>;
|
|
26832
|
+
/** Lists RagFiles in a RagCorpus. */
|
|
26242
26833
|
list(request?: {
|
|
26243
26834
|
/** V1 error format. */
|
|
26244
26835
|
'$.xgafv'?: string;
|
|
@@ -26250,18 +26841,16 @@ declare namespace gapi.client {
|
|
|
26250
26841
|
callback?: string;
|
|
26251
26842
|
/** Selector specifying which fields to include in a partial response. */
|
|
26252
26843
|
fields?: string;
|
|
26253
|
-
/** The standard list filter. */
|
|
26254
|
-
filter?: string;
|
|
26255
26844
|
/** 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. */
|
|
26256
26845
|
key?: string;
|
|
26257
|
-
/** The name of the operation's parent resource. */
|
|
26258
|
-
name: string;
|
|
26259
26846
|
/** OAuth 2.0 token for the current user. */
|
|
26260
26847
|
oauth_token?: string;
|
|
26261
|
-
/** The standard list page size. */
|
|
26848
|
+
/** Optional. The standard list page size. */
|
|
26262
26849
|
pageSize?: number;
|
|
26263
|
-
/** The standard list page token. */
|
|
26850
|
+
/** Optional. The standard list page token. Typically obtained via ListRagFilesResponse.next_page_token of the previous VertexRagDataService.ListRagFiles call. */
|
|
26264
26851
|
pageToken?: string;
|
|
26852
|
+
/** Required. The resource name of the RagCorpus from which to list the RagFiles. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
|
|
26853
|
+
parent: string;
|
|
26265
26854
|
/** Returns response with indentations and line breaks. */
|
|
26266
26855
|
prettyPrint?: boolean;
|
|
26267
26856
|
/** 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. */
|
|
@@ -26270,9 +26859,12 @@ declare namespace gapi.client {
|
|
|
26270
26859
|
upload_protocol?: string;
|
|
26271
26860
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26272
26861
|
uploadType?: string;
|
|
26273
|
-
}): Request<
|
|
26274
|
-
|
|
26275
|
-
|
|
26862
|
+
}): Request<GoogleCloudAiplatformV1beta1ListRagFilesResponse>;
|
|
26863
|
+
operations: OperationsResource;
|
|
26864
|
+
}
|
|
26865
|
+
interface RagCorporaResource {
|
|
26866
|
+
/** Creates a RagCorpus. */
|
|
26867
|
+
create(request: {
|
|
26276
26868
|
/** V1 error format. */
|
|
26277
26869
|
'$.xgafv'?: string;
|
|
26278
26870
|
/** OAuth access token. */
|
|
@@ -26285,7 +26877,67 @@ declare namespace gapi.client {
|
|
|
26285
26877
|
fields?: string;
|
|
26286
26878
|
/** 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. */
|
|
26287
26879
|
key?: string;
|
|
26288
|
-
/**
|
|
26880
|
+
/** OAuth 2.0 token for the current user. */
|
|
26881
|
+
oauth_token?: string;
|
|
26882
|
+
/** Required. The resource name of the Location to create the RagCorpus in. Format: `projects/{project}/locations/{location}` */
|
|
26883
|
+
parent: string;
|
|
26884
|
+
/** Returns response with indentations and line breaks. */
|
|
26885
|
+
prettyPrint?: boolean;
|
|
26886
|
+
/** 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. */
|
|
26887
|
+
quotaUser?: string;
|
|
26888
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
26889
|
+
upload_protocol?: string;
|
|
26890
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26891
|
+
uploadType?: string;
|
|
26892
|
+
/** Request body */
|
|
26893
|
+
resource: GoogleCloudAiplatformV1beta1RagCorpus;
|
|
26894
|
+
}): Request<GoogleLongrunningOperation>;
|
|
26895
|
+
create(
|
|
26896
|
+
request: {
|
|
26897
|
+
/** V1 error format. */
|
|
26898
|
+
'$.xgafv'?: string;
|
|
26899
|
+
/** OAuth access token. */
|
|
26900
|
+
access_token?: string;
|
|
26901
|
+
/** Data format for response. */
|
|
26902
|
+
alt?: string;
|
|
26903
|
+
/** JSONP */
|
|
26904
|
+
callback?: string;
|
|
26905
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
26906
|
+
fields?: string;
|
|
26907
|
+
/** 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. */
|
|
26908
|
+
key?: string;
|
|
26909
|
+
/** OAuth 2.0 token for the current user. */
|
|
26910
|
+
oauth_token?: string;
|
|
26911
|
+
/** Required. The resource name of the Location to create the RagCorpus in. Format: `projects/{project}/locations/{location}` */
|
|
26912
|
+
parent: string;
|
|
26913
|
+
/** Returns response with indentations and line breaks. */
|
|
26914
|
+
prettyPrint?: boolean;
|
|
26915
|
+
/** 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. */
|
|
26916
|
+
quotaUser?: string;
|
|
26917
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
26918
|
+
upload_protocol?: string;
|
|
26919
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26920
|
+
uploadType?: string;
|
|
26921
|
+
},
|
|
26922
|
+
body: GoogleCloudAiplatformV1beta1RagCorpus
|
|
26923
|
+
): Request<GoogleLongrunningOperation>;
|
|
26924
|
+
/** Deletes a RagCorpus. */
|
|
26925
|
+
delete(request?: {
|
|
26926
|
+
/** V1 error format. */
|
|
26927
|
+
'$.xgafv'?: string;
|
|
26928
|
+
/** OAuth access token. */
|
|
26929
|
+
access_token?: string;
|
|
26930
|
+
/** Data format for response. */
|
|
26931
|
+
alt?: string;
|
|
26932
|
+
/** JSONP */
|
|
26933
|
+
callback?: string;
|
|
26934
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
26935
|
+
fields?: string;
|
|
26936
|
+
/** Optional. If set to true, any RagFiles in this RagCorpus will also be deleted. Otherwise, the request will only work if the RagCorpus has no RagFiles. */
|
|
26937
|
+
force?: boolean;
|
|
26938
|
+
/** 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. */
|
|
26939
|
+
key?: string;
|
|
26940
|
+
/** Required. The name of the RagCorpus resource to be deleted. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
|
|
26289
26941
|
name: string;
|
|
26290
26942
|
/** OAuth 2.0 token for the current user. */
|
|
26291
26943
|
oauth_token?: string;
|
|
@@ -26293,18 +26945,69 @@ declare namespace gapi.client {
|
|
|
26293
26945
|
prettyPrint?: boolean;
|
|
26294
26946
|
/** 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. */
|
|
26295
26947
|
quotaUser?: string;
|
|
26296
|
-
/** 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. */
|
|
26297
|
-
timeout?: string;
|
|
26298
26948
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
26299
26949
|
upload_protocol?: string;
|
|
26300
26950
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26301
26951
|
uploadType?: string;
|
|
26302
26952
|
}): Request<GoogleLongrunningOperation>;
|
|
26303
|
-
|
|
26304
|
-
|
|
26305
|
-
|
|
26306
|
-
|
|
26307
|
-
|
|
26953
|
+
/** Gets a RagCorpus. */
|
|
26954
|
+
get(request?: {
|
|
26955
|
+
/** V1 error format. */
|
|
26956
|
+
'$.xgafv'?: string;
|
|
26957
|
+
/** OAuth access token. */
|
|
26958
|
+
access_token?: string;
|
|
26959
|
+
/** Data format for response. */
|
|
26960
|
+
alt?: string;
|
|
26961
|
+
/** JSONP */
|
|
26962
|
+
callback?: string;
|
|
26963
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
26964
|
+
fields?: string;
|
|
26965
|
+
/** 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. */
|
|
26966
|
+
key?: string;
|
|
26967
|
+
/** Required. The name of the RagCorpus resource. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
|
|
26968
|
+
name: string;
|
|
26969
|
+
/** OAuth 2.0 token for the current user. */
|
|
26970
|
+
oauth_token?: string;
|
|
26971
|
+
/** Returns response with indentations and line breaks. */
|
|
26972
|
+
prettyPrint?: boolean;
|
|
26973
|
+
/** 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. */
|
|
26974
|
+
quotaUser?: string;
|
|
26975
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
26976
|
+
upload_protocol?: string;
|
|
26977
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26978
|
+
uploadType?: string;
|
|
26979
|
+
}): Request<GoogleCloudAiplatformV1beta1RagCorpus>;
|
|
26980
|
+
/** Lists RagCorpora in a Location. */
|
|
26981
|
+
list(request?: {
|
|
26982
|
+
/** V1 error format. */
|
|
26983
|
+
'$.xgafv'?: string;
|
|
26984
|
+
/** OAuth access token. */
|
|
26985
|
+
access_token?: string;
|
|
26986
|
+
/** Data format for response. */
|
|
26987
|
+
alt?: string;
|
|
26988
|
+
/** JSONP */
|
|
26989
|
+
callback?: string;
|
|
26990
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
26991
|
+
fields?: string;
|
|
26992
|
+
/** 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. */
|
|
26993
|
+
key?: string;
|
|
26994
|
+
/** OAuth 2.0 token for the current user. */
|
|
26995
|
+
oauth_token?: string;
|
|
26996
|
+
/** Optional. The standard list page size. */
|
|
26997
|
+
pageSize?: number;
|
|
26998
|
+
/** Optional. The standard list page token. Typically obtained via ListRagCorporaResponse.next_page_token of the previous VertexRagDataService.ListRagCorpora call. */
|
|
26999
|
+
pageToken?: string;
|
|
27000
|
+
/** Required. The resource name of the Location from which to list the RagCorpora. Format: `projects/{project}/locations/{location}` */
|
|
27001
|
+
parent: string;
|
|
27002
|
+
/** Returns response with indentations and line breaks. */
|
|
27003
|
+
prettyPrint?: boolean;
|
|
27004
|
+
/** 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. */
|
|
27005
|
+
quotaUser?: string;
|
|
27006
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
27007
|
+
upload_protocol?: string;
|
|
27008
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
27009
|
+
uploadType?: string;
|
|
27010
|
+
}): Request<GoogleCloudAiplatformV1beta1ListRagCorporaResponse>;
|
|
26308
27011
|
operations: OperationsResource;
|
|
26309
27012
|
ragFiles: RagFilesResource;
|
|
26310
27013
|
}
|
|
@@ -30926,6 +31629,66 @@ declare namespace gapi.client {
|
|
|
30926
31629
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
30927
31630
|
uploadType?: string;
|
|
30928
31631
|
}): Request<GoogleCloudLocationListLocationsResponse>;
|
|
31632
|
+
/** Retrieves relevant contexts for a query. */
|
|
31633
|
+
retrieveContexts(request: {
|
|
31634
|
+
/** V1 error format. */
|
|
31635
|
+
'$.xgafv'?: string;
|
|
31636
|
+
/** OAuth access token. */
|
|
31637
|
+
access_token?: string;
|
|
31638
|
+
/** Data format for response. */
|
|
31639
|
+
alt?: string;
|
|
31640
|
+
/** JSONP */
|
|
31641
|
+
callback?: string;
|
|
31642
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
31643
|
+
fields?: string;
|
|
31644
|
+
/** 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. */
|
|
31645
|
+
key?: string;
|
|
31646
|
+
/** OAuth 2.0 token for the current user. */
|
|
31647
|
+
oauth_token?: string;
|
|
31648
|
+
/** Required. The resource name of the Location from which to retrieve RagContexts. The users must have permission to make a call in the project. Format: `projects/{project}/locations/{location}`. */
|
|
31649
|
+
parent: string;
|
|
31650
|
+
/** Returns response with indentations and line breaks. */
|
|
31651
|
+
prettyPrint?: boolean;
|
|
31652
|
+
/** 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. */
|
|
31653
|
+
quotaUser?: string;
|
|
31654
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
31655
|
+
upload_protocol?: string;
|
|
31656
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
31657
|
+
uploadType?: string;
|
|
31658
|
+
/** Request body */
|
|
31659
|
+
resource: GoogleCloudAiplatformV1beta1RetrieveContextsRequest;
|
|
31660
|
+
}): Request<GoogleCloudAiplatformV1beta1RetrieveContextsResponse>;
|
|
31661
|
+
retrieveContexts(
|
|
31662
|
+
request: {
|
|
31663
|
+
/** V1 error format. */
|
|
31664
|
+
'$.xgafv'?: string;
|
|
31665
|
+
/** OAuth access token. */
|
|
31666
|
+
access_token?: string;
|
|
31667
|
+
/** Data format for response. */
|
|
31668
|
+
alt?: string;
|
|
31669
|
+
/** JSONP */
|
|
31670
|
+
callback?: string;
|
|
31671
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
31672
|
+
fields?: string;
|
|
31673
|
+
/** 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. */
|
|
31674
|
+
key?: string;
|
|
31675
|
+
/** OAuth 2.0 token for the current user. */
|
|
31676
|
+
oauth_token?: string;
|
|
31677
|
+
/** Required. The resource name of the Location from which to retrieve RagContexts. The users must have permission to make a call in the project. Format: `projects/{project}/locations/{location}`. */
|
|
31678
|
+
parent: string;
|
|
31679
|
+
/** Returns response with indentations and line breaks. */
|
|
31680
|
+
prettyPrint?: boolean;
|
|
31681
|
+
/** 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. */
|
|
31682
|
+
quotaUser?: string;
|
|
31683
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
31684
|
+
upload_protocol?: string;
|
|
31685
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
31686
|
+
uploadType?: string;
|
|
31687
|
+
},
|
|
31688
|
+
body: GoogleCloudAiplatformV1beta1RetrieveContextsRequest
|
|
31689
|
+
): Request<GoogleCloudAiplatformV1beta1RetrieveContextsResponse>;
|
|
31690
|
+
agents: AgentsResource;
|
|
31691
|
+
apps: AppsResource;
|
|
30929
31692
|
batchPredictionJobs: BatchPredictionJobsResource;
|
|
30930
31693
|
customJobs: CustomJobsResource;
|
|
30931
31694
|
dataLabelingJobs: DataLabelingJobsResource;
|
|
@@ -31129,6 +31892,8 @@ declare namespace gapi.client {
|
|
|
31129
31892
|
models: ModelsResource;
|
|
31130
31893
|
}
|
|
31131
31894
|
|
|
31895
|
+
const media: MediaResource;
|
|
31896
|
+
|
|
31132
31897
|
const projects: ProjectsResource;
|
|
31133
31898
|
|
|
31134
31899
|
const publishers: PublishersResource;
|