@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20240814 → 0.0.20240828
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 +1294 -139
- package/package.json +1 -1
- package/readme.md +44 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://aiplatform.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240828
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1850,13 +1850,17 @@ declare namespace gapi.client {
|
|
|
1850
1850
|
interface GoogleCloudAiplatformV1FeatureGroupBigQuery {
|
|
1851
1851
|
/** Required. Immutable. The BigQuery source URI that points to either a BigQuery Table or View. */
|
|
1852
1852
|
bigQuerySource?: GoogleCloudAiplatformV1BigQuerySource;
|
|
1853
|
+
/** Optional. If set, all feature values will be fetched from a single row per unique entityId including nulls. If not set, will collapse all rows for each unique entityId into a singe row with any non-null values if present, if no non-null values are present will sync null. ex: If source has schema (entity_id, feature_timestamp, f0, f1) and values (e1, 2020-01-01T10:00:00.123Z, 10, 15) (e1, 2020-02-01T10:00:00.123Z, 20, null) If dense is set, (e1, 20, null) is synced to online stores. If dense is not set, (e1, 20, 15) is synced to online stores. */
|
|
1854
|
+
dense?: boolean;
|
|
1853
1855
|
/** Optional. Columns to construct entity_id / row keys. If not provided defaults to `entity_id`. */
|
|
1854
1856
|
entityIdColumns?: string[];
|
|
1855
|
-
/** Optional.
|
|
1857
|
+
/** Optional. Set if the data source is not a time-series. */
|
|
1858
|
+
staticDataSource?: boolean;
|
|
1859
|
+
/** Optional. If the source is a time-series source, this can be set to control how downstream sources (ex: FeatureView ) will treat time-series sources. If not set, will treat the source as a time-series source with `feature_timestamp` as timestamp column and no scan boundary. */
|
|
1856
1860
|
timeSeries?: GoogleCloudAiplatformV1FeatureGroupBigQueryTimeSeries;
|
|
1857
1861
|
}
|
|
1858
1862
|
interface GoogleCloudAiplatformV1FeatureGroupBigQueryTimeSeries {
|
|
1859
|
-
/** Optional. Column hosting timestamp values for a time-series source. Will be used to determine the latest
|
|
1863
|
+
/** Optional. Column hosting timestamp values for a time-series source. Will be used to determine the latest `feature_values` for each entity. Optional. If not provided, column named `feature_timestamp` of type `TIMESTAMP` will be used. */
|
|
1860
1864
|
timestampColumn?: string;
|
|
1861
1865
|
}
|
|
1862
1866
|
interface GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly {
|
|
@@ -2071,6 +2075,8 @@ declare namespace gapi.client {
|
|
|
2071
2075
|
syncConfig?: GoogleCloudAiplatformV1FeatureViewSyncConfig;
|
|
2072
2076
|
/** Output only. Timestamp when this FeatureView was last updated. */
|
|
2073
2077
|
updateTime?: string;
|
|
2078
|
+
/** Optional. The Vertex RAG Source that the FeatureView is linked to. */
|
|
2079
|
+
vertexRagSource?: GoogleCloudAiplatformV1FeatureViewVertexRagSource;
|
|
2074
2080
|
}
|
|
2075
2081
|
interface GoogleCloudAiplatformV1FeatureViewBigQuerySource {
|
|
2076
2082
|
/** Required. Columns to construct entity_id / row keys. */
|
|
@@ -2144,9 +2150,17 @@ declare namespace gapi.client {
|
|
|
2144
2150
|
interface GoogleCloudAiplatformV1FeatureViewSyncSyncSummary {
|
|
2145
2151
|
/** Output only. Total number of rows synced. */
|
|
2146
2152
|
rowSynced?: string;
|
|
2153
|
+
/** Lower bound of the system time watermark for the sync job. This is only set for continuously syncing feature views. */
|
|
2154
|
+
systemWatermarkTime?: string;
|
|
2147
2155
|
/** Output only. BigQuery slot milliseconds consumed for the sync job. */
|
|
2148
2156
|
totalSlot?: string;
|
|
2149
2157
|
}
|
|
2158
|
+
interface GoogleCloudAiplatformV1FeatureViewVertexRagSource {
|
|
2159
|
+
/** Optional. The RAG corpus id corresponding to this FeatureView. */
|
|
2160
|
+
ragCorpusId?: string;
|
|
2161
|
+
/** Required. The BigQuery view/table URI that will be materialized on each manual sync trigger. The table/view is expected to have the following columns at least: Field name Type Mode corpus_id STRING REQUIRED/NULLABLE file_id STRING REQUIRED/NULLABLE chunk_id STRING REQUIRED/NULLABLE chunk_data_type STRING REQUIRED/NULLABLE chunk_data STRING REQUIRED/NULLABLE embeddings FLOAT REPEATED file_original_uri STRING REQUIRED/NULLABLE */
|
|
2162
|
+
uri?: string;
|
|
2163
|
+
}
|
|
2150
2164
|
interface GoogleCloudAiplatformV1FetchFeatureValuesRequest {
|
|
2151
2165
|
/** Optional. Response data format. If not set, FeatureViewDataFormat.KEY_VALUE will be used. */
|
|
2152
2166
|
dataFormat?: string;
|
|
@@ -2302,11 +2316,13 @@ declare namespace gapi.client {
|
|
|
2302
2316
|
name?: string;
|
|
2303
2317
|
/** Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1 */
|
|
2304
2318
|
parameters?: GoogleCloudAiplatformV1Schema;
|
|
2319
|
+
/** Optional. Describes the output from this function in JSON Schema format. Reflects the Open API 3.03 Response Object. The Schema defines the type used for the response value of the function. */
|
|
2320
|
+
response?: GoogleCloudAiplatformV1Schema;
|
|
2305
2321
|
}
|
|
2306
2322
|
interface GoogleCloudAiplatformV1FunctionResponse {
|
|
2307
2323
|
/** Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name]. */
|
|
2308
2324
|
name?: string;
|
|
2309
|
-
/** Required. The function response in JSON object format. */
|
|
2325
|
+
/** Required. The function response in JSON object format. Use "output" key to specify function output and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as function output. */
|
|
2310
2326
|
response?: {[P in string]: any};
|
|
2311
2327
|
}
|
|
2312
2328
|
interface GoogleCloudAiplatformV1GcsDestination {
|
|
@@ -2352,6 +2368,7 @@ declare namespace gapi.client {
|
|
|
2352
2368
|
candidatesTokenCount?: number;
|
|
2353
2369
|
/** Number of tokens in the request. When `cached_content` is set, this is still the total effective prompt size meaning this includes the number of tokens in the cached content. */
|
|
2354
2370
|
promptTokenCount?: number;
|
|
2371
|
+
/** Total token count for prompt and response candidates. */
|
|
2355
2372
|
totalTokenCount?: number;
|
|
2356
2373
|
}
|
|
2357
2374
|
interface GoogleCloudAiplatformV1GenerationConfig {
|
|
@@ -2391,7 +2408,7 @@ declare namespace gapi.client {
|
|
|
2391
2408
|
modelRoutingPreference?: string;
|
|
2392
2409
|
}
|
|
2393
2410
|
interface GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode {
|
|
2394
|
-
/** The model name to use. Only the public LLM models are accepted. e.g. gemini-1.5-pro-001. */
|
|
2411
|
+
/** The model name to use. Only the public LLM models are accepted. e.g. 'gemini-1.5-pro-001'. */
|
|
2395
2412
|
modelName?: string;
|
|
2396
2413
|
}
|
|
2397
2414
|
interface GoogleCloudAiplatformV1GenericOperationMetadata {
|
|
@@ -3860,7 +3877,7 @@ declare namespace gapi.client {
|
|
|
3860
3877
|
directNotebookSource?: GoogleCloudAiplatformV1NotebookExecutionJobDirectNotebookSource;
|
|
3861
3878
|
/** The display name of the NotebookExecutionJob. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
|
|
3862
3879
|
displayName?: string;
|
|
3863
|
-
/** Customer-managed encryption key spec for the notebook execution job. This field is auto-populated if the NotebookRuntimeTemplate has an encryption spec. */
|
|
3880
|
+
/** Customer-managed encryption key spec for the notebook execution job. This field is auto-populated if the NotebookService.NotebookRuntimeTemplate has an encryption spec. */
|
|
3864
3881
|
encryptionSpec?: GoogleCloudAiplatformV1EncryptionSpec;
|
|
3865
3882
|
/** Max running time of the execution job in seconds (default 86400s / 24 hrs). */
|
|
3866
3883
|
executionTimeout?: string;
|
|
@@ -4124,6 +4141,10 @@ declare namespace gapi.client {
|
|
|
4124
4141
|
resourceRuntime?: GoogleCloudAiplatformV1ResourceRuntime;
|
|
4125
4142
|
/** Optional. Persistent Resource runtime spec. For example, used for Ray cluster configuration. */
|
|
4126
4143
|
resourceRuntimeSpec?: GoogleCloudAiplatformV1ResourceRuntimeSpec;
|
|
4144
|
+
/** Output only. Reserved for future use. */
|
|
4145
|
+
satisfiesPzi?: boolean;
|
|
4146
|
+
/** Output only. Reserved for future use. */
|
|
4147
|
+
satisfiesPzs?: boolean;
|
|
4127
4148
|
/** Output only. Time when the PersistentResource for the first time entered the `RUNNING` state. */
|
|
4128
4149
|
startTime?: string;
|
|
4129
4150
|
/** Output only. The detailed state of a Study. */
|
|
@@ -4404,6 +4425,8 @@ declare namespace gapi.client {
|
|
|
4404
4425
|
deploy?: GoogleCloudAiplatformV1PublisherModelCallToActionDeploy;
|
|
4405
4426
|
/** Optional. Deploy PublisherModel to Google Kubernetes Engine. */
|
|
4406
4427
|
deployGke?: GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke;
|
|
4428
|
+
/** Optional. Multiple setups to deploy the PublisherModel to Vertex Endpoint. */
|
|
4429
|
+
multiDeployVertex?: GoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex;
|
|
4407
4430
|
/** Optional. Open evaluation pipeline of the PublisherModel. */
|
|
4408
4431
|
openEvaluationPipeline?: GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences;
|
|
4409
4432
|
/** Optional. Open fine-tuning pipeline of the PublisherModel. */
|
|
@@ -4459,6 +4482,10 @@ declare namespace gapi.client {
|
|
|
4459
4482
|
/** Optional. GKE deployment configuration in yaml format. */
|
|
4460
4483
|
gkeYamlConfigs?: string[];
|
|
4461
4484
|
}
|
|
4485
|
+
interface GoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex {
|
|
4486
|
+
/** Optional. One click deployment configurations. */
|
|
4487
|
+
multiDeployVertex?: GoogleCloudAiplatformV1PublisherModelCallToActionDeploy[];
|
|
4488
|
+
}
|
|
4462
4489
|
interface GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines {
|
|
4463
4490
|
/** Required. Regional resource references to fine tuning pipelines. */
|
|
4464
4491
|
fineTuningPipelines?: GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences[];
|
|
@@ -4864,6 +4891,8 @@ declare namespace gapi.client {
|
|
|
4864
4891
|
disableAttribution?: boolean;
|
|
4865
4892
|
/** Set to use data source powered by Vertex AI Search. */
|
|
4866
4893
|
vertexAiSearch?: GoogleCloudAiplatformV1VertexAISearch;
|
|
4894
|
+
/** Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService. */
|
|
4895
|
+
vertexRagStore?: GoogleCloudAiplatformV1VertexRagStore;
|
|
4867
4896
|
}
|
|
4868
4897
|
interface GoogleCloudAiplatformV1RougeInput {
|
|
4869
4898
|
/** Required. Repeated rouge instances. */
|
|
@@ -5030,6 +5059,8 @@ declare namespace gapi.client {
|
|
|
5030
5059
|
interface GoogleCloudAiplatformV1Scheduling {
|
|
5031
5060
|
/** Optional. Indicates if the job should retry for internal errors after the job starts running. If true, overrides `Scheduling.restart_job_on_worker_restart` to false. */
|
|
5032
5061
|
disableRetries?: boolean;
|
|
5062
|
+
/** Optional. This is the maximum duration that a job will wait for the requested resources to be provisioned if the scheduling strategy is set to [Strategy.DWS_FLEX_START]. If set to 0, the job will wait indefinitely. The default is 24 hours. */
|
|
5063
|
+
maxWaitDuration?: string;
|
|
5033
5064
|
/** Restarts the entire CustomJob if a worker gets restarted. This feature can be used by distributed training jobs that are not resilient to workers leaving and joining a job. */
|
|
5034
5065
|
restartJobOnWorkerRestart?: boolean;
|
|
5035
5066
|
/** Optional. This determines which type of scheduling strategy to use. */
|
|
@@ -6868,8 +6899,12 @@ declare namespace gapi.client {
|
|
|
6868
6899
|
totalBillableCharacterCount?: string;
|
|
6869
6900
|
/** Output only. Number of billable tokens in the tuning dataset. */
|
|
6870
6901
|
totalBillableTokenCount?: string;
|
|
6902
|
+
/** The number of examples in the dataset that have been truncated by any amount. */
|
|
6903
|
+
totalTruncatedExampleCount?: string;
|
|
6871
6904
|
/** Output only. Number of tuning characters in the tuning dataset. */
|
|
6872
6905
|
totalTuningCharacterCount?: string;
|
|
6906
|
+
/** A partial sample of the indices (starting from 1) of the truncated examples. */
|
|
6907
|
+
truncatedExampleIndices?: string[];
|
|
6873
6908
|
/** Output only. Number of examples in the tuning dataset. */
|
|
6874
6909
|
tuningDatasetExampleCount?: string;
|
|
6875
6910
|
/** Output only. Number of tuning steps for this Tuning Job. */
|
|
@@ -7439,9 +7474,25 @@ declare namespace gapi.client {
|
|
|
7439
7474
|
stringValue?: string;
|
|
7440
7475
|
}
|
|
7441
7476
|
interface GoogleCloudAiplatformV1VertexAISearch {
|
|
7442
|
-
/** Required. Fully-qualified Vertex AI Search
|
|
7477
|
+
/** Required. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` */
|
|
7443
7478
|
datastore?: string;
|
|
7444
7479
|
}
|
|
7480
|
+
interface GoogleCloudAiplatformV1VertexRagStore {
|
|
7481
|
+
/** Optional. Deprecated. Please use rag_resources instead. */
|
|
7482
|
+
ragCorpora?: string[];
|
|
7483
|
+
/** 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. */
|
|
7484
|
+
ragResources?: GoogleCloudAiplatformV1VertexRagStoreRagResource[];
|
|
7485
|
+
/** Optional. Number of top k results to return from the selected corpora. */
|
|
7486
|
+
similarityTopK?: number;
|
|
7487
|
+
/** Optional. Only return results with vector distance smaller than the threshold. */
|
|
7488
|
+
vectorDistanceThreshold?: number;
|
|
7489
|
+
}
|
|
7490
|
+
interface GoogleCloudAiplatformV1VertexRagStoreRagResource {
|
|
7491
|
+
/** Optional. RagCorpora resource name. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
|
|
7492
|
+
ragCorpus?: string;
|
|
7493
|
+
/** Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field. */
|
|
7494
|
+
ragFileIds?: string[];
|
|
7495
|
+
}
|
|
7445
7496
|
interface GoogleCloudAiplatformV1VideoMetadata {
|
|
7446
7497
|
/** Optional. The end offset of the video. */
|
|
7447
7498
|
endOffset?: string;
|
|
@@ -7604,66 +7655,8 @@ declare namespace gapi.client {
|
|
|
7604
7655
|
/** The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. */
|
|
7605
7656
|
units?: string;
|
|
7606
7657
|
}
|
|
7607
|
-
interface
|
|
7608
|
-
/**
|
|
7609
|
-
cancel(request: {
|
|
7610
|
-
/** V1 error format. */
|
|
7611
|
-
'$.xgafv'?: string;
|
|
7612
|
-
/** OAuth access token. */
|
|
7613
|
-
access_token?: string;
|
|
7614
|
-
/** Data format for response. */
|
|
7615
|
-
alt?: string;
|
|
7616
|
-
/** JSONP */
|
|
7617
|
-
callback?: string;
|
|
7618
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
7619
|
-
fields?: string;
|
|
7620
|
-
/** 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. */
|
|
7621
|
-
key?: string;
|
|
7622
|
-
/** Required. The name of the BatchPredictionJob to cancel. Format: `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` */
|
|
7623
|
-
name: string;
|
|
7624
|
-
/** OAuth 2.0 token for the current user. */
|
|
7625
|
-
oauth_token?: string;
|
|
7626
|
-
/** Returns response with indentations and line breaks. */
|
|
7627
|
-
prettyPrint?: boolean;
|
|
7628
|
-
/** 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. */
|
|
7629
|
-
quotaUser?: string;
|
|
7630
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7631
|
-
upload_protocol?: string;
|
|
7632
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7633
|
-
uploadType?: string;
|
|
7634
|
-
/** Request body */
|
|
7635
|
-
resource: GoogleCloudAiplatformV1CancelBatchPredictionJobRequest;
|
|
7636
|
-
}): Request<{}>;
|
|
7637
|
-
cancel(
|
|
7638
|
-
request: {
|
|
7639
|
-
/** V1 error format. */
|
|
7640
|
-
'$.xgafv'?: string;
|
|
7641
|
-
/** OAuth access token. */
|
|
7642
|
-
access_token?: string;
|
|
7643
|
-
/** Data format for response. */
|
|
7644
|
-
alt?: string;
|
|
7645
|
-
/** JSONP */
|
|
7646
|
-
callback?: string;
|
|
7647
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
7648
|
-
fields?: string;
|
|
7649
|
-
/** 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. */
|
|
7650
|
-
key?: string;
|
|
7651
|
-
/** Required. The name of the BatchPredictionJob to cancel. Format: `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` */
|
|
7652
|
-
name: string;
|
|
7653
|
-
/** OAuth 2.0 token for the current user. */
|
|
7654
|
-
oauth_token?: string;
|
|
7655
|
-
/** Returns response with indentations and line breaks. */
|
|
7656
|
-
prettyPrint?: boolean;
|
|
7657
|
-
/** 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. */
|
|
7658
|
-
quotaUser?: string;
|
|
7659
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7660
|
-
upload_protocol?: string;
|
|
7661
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7662
|
-
uploadType?: string;
|
|
7663
|
-
},
|
|
7664
|
-
body: GoogleCloudAiplatformV1CancelBatchPredictionJobRequest
|
|
7665
|
-
): Request<{}>;
|
|
7666
|
-
/** Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start. */
|
|
7658
|
+
interface DatasetVersionsResource {
|
|
7659
|
+
/** Create a version from a Dataset. */
|
|
7667
7660
|
create(request: {
|
|
7668
7661
|
/** V1 error format. */
|
|
7669
7662
|
'$.xgafv'?: string;
|
|
@@ -7679,7 +7672,7 @@ declare namespace gapi.client {
|
|
|
7679
7672
|
key?: string;
|
|
7680
7673
|
/** OAuth 2.0 token for the current user. */
|
|
7681
7674
|
oauth_token?: string;
|
|
7682
|
-
/** Required. The
|
|
7675
|
+
/** Required. The name of the Dataset resource. Format: `projects/{project}/locations/{location}/datasets/{dataset}` */
|
|
7683
7676
|
parent: string;
|
|
7684
7677
|
/** Returns response with indentations and line breaks. */
|
|
7685
7678
|
prettyPrint?: boolean;
|
|
@@ -7690,8 +7683,8 @@ declare namespace gapi.client {
|
|
|
7690
7683
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7691
7684
|
uploadType?: string;
|
|
7692
7685
|
/** Request body */
|
|
7693
|
-
resource:
|
|
7694
|
-
}): Request<
|
|
7686
|
+
resource: GoogleCloudAiplatformV1DatasetVersion;
|
|
7687
|
+
}): Request<GoogleLongrunningOperation>;
|
|
7695
7688
|
create(
|
|
7696
7689
|
request: {
|
|
7697
7690
|
/** V1 error format. */
|
|
@@ -7708,7 +7701,7 @@ declare namespace gapi.client {
|
|
|
7708
7701
|
key?: string;
|
|
7709
7702
|
/** OAuth 2.0 token for the current user. */
|
|
7710
7703
|
oauth_token?: string;
|
|
7711
|
-
/** Required. The
|
|
7704
|
+
/** Required. The name of the Dataset resource. Format: `projects/{project}/locations/{location}/datasets/{dataset}` */
|
|
7712
7705
|
parent: string;
|
|
7713
7706
|
/** Returns response with indentations and line breaks. */
|
|
7714
7707
|
prettyPrint?: boolean;
|
|
@@ -7719,9 +7712,9 @@ declare namespace gapi.client {
|
|
|
7719
7712
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7720
7713
|
uploadType?: string;
|
|
7721
7714
|
},
|
|
7722
|
-
body:
|
|
7723
|
-
): Request<
|
|
7724
|
-
/** Deletes a
|
|
7715
|
+
body: GoogleCloudAiplatformV1DatasetVersion
|
|
7716
|
+
): Request<GoogleLongrunningOperation>;
|
|
7717
|
+
/** Deletes a Dataset version. */
|
|
7725
7718
|
delete(request?: {
|
|
7726
7719
|
/** V1 error format. */
|
|
7727
7720
|
'$.xgafv'?: string;
|
|
@@ -7735,7 +7728,7 @@ declare namespace gapi.client {
|
|
|
7735
7728
|
fields?: string;
|
|
7736
7729
|
/** 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. */
|
|
7737
7730
|
key?: string;
|
|
7738
|
-
/** Required. The name of the
|
|
7731
|
+
/** Required. The resource name of the Dataset version to delete. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` */
|
|
7739
7732
|
name: string;
|
|
7740
7733
|
/** OAuth 2.0 token for the current user. */
|
|
7741
7734
|
oauth_token?: string;
|
|
@@ -7748,7 +7741,7 @@ declare namespace gapi.client {
|
|
|
7748
7741
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7749
7742
|
uploadType?: string;
|
|
7750
7743
|
}): Request<GoogleLongrunningOperation>;
|
|
7751
|
-
/** Gets a
|
|
7744
|
+
/** Gets a Dataset version. */
|
|
7752
7745
|
get(request?: {
|
|
7753
7746
|
/** V1 error format. */
|
|
7754
7747
|
'$.xgafv'?: string;
|
|
@@ -7762,7 +7755,7 @@ declare namespace gapi.client {
|
|
|
7762
7755
|
fields?: string;
|
|
7763
7756
|
/** 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. */
|
|
7764
7757
|
key?: string;
|
|
7765
|
-
/** Required. The name of the
|
|
7758
|
+
/** Required. The resource name of the Dataset version to delete. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` */
|
|
7766
7759
|
name: string;
|
|
7767
7760
|
/** OAuth 2.0 token for the current user. */
|
|
7768
7761
|
oauth_token?: string;
|
|
@@ -7770,12 +7763,14 @@ declare namespace gapi.client {
|
|
|
7770
7763
|
prettyPrint?: boolean;
|
|
7771
7764
|
/** 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. */
|
|
7772
7765
|
quotaUser?: string;
|
|
7766
|
+
/** Mask specifying which fields to read. */
|
|
7767
|
+
readMask?: string;
|
|
7773
7768
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7774
7769
|
upload_protocol?: string;
|
|
7775
7770
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7776
7771
|
uploadType?: string;
|
|
7777
|
-
}): Request<
|
|
7778
|
-
/** Lists
|
|
7772
|
+
}): Request<GoogleCloudAiplatformV1DatasetVersion>;
|
|
7773
|
+
/** Lists DatasetVersions in a Dataset. */
|
|
7779
7774
|
list(request?: {
|
|
7780
7775
|
/** V1 error format. */
|
|
7781
7776
|
'$.xgafv'?: string;
|
|
@@ -7787,33 +7782,33 @@ declare namespace gapi.client {
|
|
|
7787
7782
|
callback?: string;
|
|
7788
7783
|
/** Selector specifying which fields to include in a partial response. */
|
|
7789
7784
|
fields?: string;
|
|
7790
|
-
/** The standard list filter.
|
|
7785
|
+
/** Optional. The standard list filter. */
|
|
7791
7786
|
filter?: string;
|
|
7792
7787
|
/** 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. */
|
|
7793
7788
|
key?: string;
|
|
7794
7789
|
/** OAuth 2.0 token for the current user. */
|
|
7795
7790
|
oauth_token?: string;
|
|
7796
|
-
/**
|
|
7791
|
+
/** Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. */
|
|
7792
|
+
orderBy?: string;
|
|
7793
|
+
/** Optional. The standard list page size. */
|
|
7797
7794
|
pageSize?: number;
|
|
7798
|
-
/** The standard list page token.
|
|
7795
|
+
/** Optional. The standard list page token. */
|
|
7799
7796
|
pageToken?: string;
|
|
7800
|
-
/** Required. The resource name of the
|
|
7797
|
+
/** Required. The resource name of the Dataset to list DatasetVersions from. Format: `projects/{project}/locations/{location}/datasets/{dataset}` */
|
|
7801
7798
|
parent: string;
|
|
7802
7799
|
/** Returns response with indentations and line breaks. */
|
|
7803
7800
|
prettyPrint?: boolean;
|
|
7804
7801
|
/** 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. */
|
|
7805
7802
|
quotaUser?: string;
|
|
7806
|
-
/** Mask specifying which fields to read. */
|
|
7803
|
+
/** Optional. Mask specifying which fields to read. */
|
|
7807
7804
|
readMask?: string;
|
|
7808
7805
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7809
7806
|
upload_protocol?: string;
|
|
7810
7807
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7811
7808
|
uploadType?: string;
|
|
7812
|
-
}): Request<
|
|
7813
|
-
|
|
7814
|
-
|
|
7815
|
-
/** 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`. */
|
|
7816
|
-
cancel(request?: {
|
|
7809
|
+
}): Request<GoogleCloudAiplatformV1ListDatasetVersionsResponse>;
|
|
7810
|
+
/** Updates a DatasetVersion. */
|
|
7811
|
+
patch(request: {
|
|
7817
7812
|
/** V1 error format. */
|
|
7818
7813
|
'$.xgafv'?: string;
|
|
7819
7814
|
/** OAuth access token. */
|
|
@@ -7826,7 +7821,7 @@ declare namespace gapi.client {
|
|
|
7826
7821
|
fields?: string;
|
|
7827
7822
|
/** 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. */
|
|
7828
7823
|
key?: string;
|
|
7829
|
-
/** The name of the
|
|
7824
|
+
/** Output only. Identifier. The resource name of the DatasetVersion. */
|
|
7830
7825
|
name: string;
|
|
7831
7826
|
/** OAuth 2.0 token for the current user. */
|
|
7832
7827
|
oauth_token?: string;
|
|
@@ -7834,13 +7829,48 @@ declare namespace gapi.client {
|
|
|
7834
7829
|
prettyPrint?: boolean;
|
|
7835
7830
|
/** 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. */
|
|
7836
7831
|
quotaUser?: string;
|
|
7832
|
+
/** Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Updatable fields: * `display_name` */
|
|
7833
|
+
updateMask?: string;
|
|
7837
7834
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7838
7835
|
upload_protocol?: string;
|
|
7839
7836
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7840
7837
|
uploadType?: string;
|
|
7841
|
-
|
|
7842
|
-
|
|
7843
|
-
|
|
7838
|
+
/** Request body */
|
|
7839
|
+
resource: GoogleCloudAiplatformV1DatasetVersion;
|
|
7840
|
+
}): Request<GoogleCloudAiplatformV1DatasetVersion>;
|
|
7841
|
+
patch(
|
|
7842
|
+
request: {
|
|
7843
|
+
/** V1 error format. */
|
|
7844
|
+
'$.xgafv'?: string;
|
|
7845
|
+
/** OAuth access token. */
|
|
7846
|
+
access_token?: string;
|
|
7847
|
+
/** Data format for response. */
|
|
7848
|
+
alt?: string;
|
|
7849
|
+
/** JSONP */
|
|
7850
|
+
callback?: string;
|
|
7851
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7852
|
+
fields?: string;
|
|
7853
|
+
/** 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. */
|
|
7854
|
+
key?: string;
|
|
7855
|
+
/** Output only. Identifier. The resource name of the DatasetVersion. */
|
|
7856
|
+
name: string;
|
|
7857
|
+
/** OAuth 2.0 token for the current user. */
|
|
7858
|
+
oauth_token?: string;
|
|
7859
|
+
/** Returns response with indentations and line breaks. */
|
|
7860
|
+
prettyPrint?: boolean;
|
|
7861
|
+
/** 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. */
|
|
7862
|
+
quotaUser?: string;
|
|
7863
|
+
/** Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Updatable fields: * `display_name` */
|
|
7864
|
+
updateMask?: string;
|
|
7865
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7866
|
+
upload_protocol?: string;
|
|
7867
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7868
|
+
uploadType?: string;
|
|
7869
|
+
},
|
|
7870
|
+
body: GoogleCloudAiplatformV1DatasetVersion
|
|
7871
|
+
): Request<GoogleCloudAiplatformV1DatasetVersion>;
|
|
7872
|
+
/** Restores a dataset version. */
|
|
7873
|
+
restore(request?: {
|
|
7844
7874
|
/** V1 error format. */
|
|
7845
7875
|
'$.xgafv'?: string;
|
|
7846
7876
|
/** OAuth access token. */
|
|
@@ -7853,7 +7883,7 @@ declare namespace gapi.client {
|
|
|
7853
7883
|
fields?: string;
|
|
7854
7884
|
/** 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. */
|
|
7855
7885
|
key?: string;
|
|
7856
|
-
/** The name of the
|
|
7886
|
+
/** Required. The name of the DatasetVersion resource. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` */
|
|
7857
7887
|
name: string;
|
|
7858
7888
|
/** OAuth 2.0 token for the current user. */
|
|
7859
7889
|
oauth_token?: string;
|
|
@@ -7865,9 +7895,11 @@ declare namespace gapi.client {
|
|
|
7865
7895
|
upload_protocol?: string;
|
|
7866
7896
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7867
7897
|
uploadType?: string;
|
|
7868
|
-
}): Request<
|
|
7869
|
-
|
|
7870
|
-
|
|
7898
|
+
}): Request<GoogleLongrunningOperation>;
|
|
7899
|
+
}
|
|
7900
|
+
interface DatasetsResource {
|
|
7901
|
+
/** Creates a Dataset. */
|
|
7902
|
+
create(request: {
|
|
7871
7903
|
/** V1 error format. */
|
|
7872
7904
|
'$.xgafv'?: string;
|
|
7873
7905
|
/** OAuth access token. */
|
|
@@ -7880,10 +7912,10 @@ declare namespace gapi.client {
|
|
|
7880
7912
|
fields?: string;
|
|
7881
7913
|
/** 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. */
|
|
7882
7914
|
key?: string;
|
|
7883
|
-
/** The name of the operation resource. */
|
|
7884
|
-
name: string;
|
|
7885
7915
|
/** OAuth 2.0 token for the current user. */
|
|
7886
7916
|
oauth_token?: string;
|
|
7917
|
+
/** Required. The resource name of the Location to create the Dataset in. Format: `projects/{project}/locations/{location}` */
|
|
7918
|
+
parent?: string;
|
|
7887
7919
|
/** Returns response with indentations and line breaks. */
|
|
7888
7920
|
prettyPrint?: boolean;
|
|
7889
7921
|
/** 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. */
|
|
@@ -7892,9 +7924,40 @@ declare namespace gapi.client {
|
|
|
7892
7924
|
upload_protocol?: string;
|
|
7893
7925
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7894
7926
|
uploadType?: string;
|
|
7927
|
+
/** Request body */
|
|
7928
|
+
resource: GoogleCloudAiplatformV1Dataset;
|
|
7895
7929
|
}): Request<GoogleLongrunningOperation>;
|
|
7896
|
-
|
|
7897
|
-
|
|
7930
|
+
create(
|
|
7931
|
+
request: {
|
|
7932
|
+
/** V1 error format. */
|
|
7933
|
+
'$.xgafv'?: string;
|
|
7934
|
+
/** OAuth access token. */
|
|
7935
|
+
access_token?: string;
|
|
7936
|
+
/** Data format for response. */
|
|
7937
|
+
alt?: string;
|
|
7938
|
+
/** JSONP */
|
|
7939
|
+
callback?: string;
|
|
7940
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7941
|
+
fields?: string;
|
|
7942
|
+
/** 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. */
|
|
7943
|
+
key?: string;
|
|
7944
|
+
/** OAuth 2.0 token for the current user. */
|
|
7945
|
+
oauth_token?: string;
|
|
7946
|
+
/** Required. The resource name of the Location to create the Dataset in. Format: `projects/{project}/locations/{location}` */
|
|
7947
|
+
parent?: string;
|
|
7948
|
+
/** Returns response with indentations and line breaks. */
|
|
7949
|
+
prettyPrint?: boolean;
|
|
7950
|
+
/** 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. */
|
|
7951
|
+
quotaUser?: string;
|
|
7952
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7953
|
+
upload_protocol?: string;
|
|
7954
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7955
|
+
uploadType?: string;
|
|
7956
|
+
},
|
|
7957
|
+
body: GoogleCloudAiplatformV1Dataset
|
|
7958
|
+
): Request<GoogleLongrunningOperation>;
|
|
7959
|
+
/** Deletes a Dataset. */
|
|
7960
|
+
delete(request?: {
|
|
7898
7961
|
/** V1 error format. */
|
|
7899
7962
|
'$.xgafv'?: string;
|
|
7900
7963
|
/** OAuth access token. */
|
|
@@ -7905,18 +7968,12 @@ declare namespace gapi.client {
|
|
|
7905
7968
|
callback?: string;
|
|
7906
7969
|
/** Selector specifying which fields to include in a partial response. */
|
|
7907
7970
|
fields?: string;
|
|
7908
|
-
/** The standard list filter. */
|
|
7909
|
-
filter?: string;
|
|
7910
7971
|
/** 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. */
|
|
7911
7972
|
key?: string;
|
|
7912
|
-
/** The name of the
|
|
7973
|
+
/** Required. The resource name of the Dataset to delete. Format: `projects/{project}/locations/{location}/datasets/{dataset}` */
|
|
7913
7974
|
name: string;
|
|
7914
7975
|
/** OAuth 2.0 token for the current user. */
|
|
7915
7976
|
oauth_token?: string;
|
|
7916
|
-
/** The standard list page size. */
|
|
7917
|
-
pageSize?: number;
|
|
7918
|
-
/** The standard list page token. */
|
|
7919
|
-
pageToken?: string;
|
|
7920
7977
|
/** Returns response with indentations and line breaks. */
|
|
7921
7978
|
prettyPrint?: boolean;
|
|
7922
7979
|
/** 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. */
|
|
@@ -7925,9 +7982,9 @@ declare namespace gapi.client {
|
|
|
7925
7982
|
upload_protocol?: string;
|
|
7926
7983
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7927
7984
|
uploadType?: string;
|
|
7928
|
-
}): Request<
|
|
7929
|
-
/**
|
|
7930
|
-
|
|
7985
|
+
}): Request<GoogleLongrunningOperation>;
|
|
7986
|
+
/** Gets a Dataset. */
|
|
7987
|
+
get(request?: {
|
|
7931
7988
|
/** V1 error format. */
|
|
7932
7989
|
'$.xgafv'?: string;
|
|
7933
7990
|
/** OAuth access token. */
|
|
@@ -7940,7 +7997,7 @@ declare namespace gapi.client {
|
|
|
7940
7997
|
fields?: string;
|
|
7941
7998
|
/** 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. */
|
|
7942
7999
|
key?: string;
|
|
7943
|
-
/** The name of the
|
|
8000
|
+
/** Required. The name of the Dataset resource. */
|
|
7944
8001
|
name: string;
|
|
7945
8002
|
/** OAuth 2.0 token for the current user. */
|
|
7946
8003
|
oauth_token?: string;
|
|
@@ -7948,17 +8005,15 @@ declare namespace gapi.client {
|
|
|
7948
8005
|
prettyPrint?: boolean;
|
|
7949
8006
|
/** 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. */
|
|
7950
8007
|
quotaUser?: string;
|
|
7951
|
-
/**
|
|
7952
|
-
|
|
8008
|
+
/** Mask specifying which fields to read. */
|
|
8009
|
+
readMask?: string;
|
|
7953
8010
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7954
8011
|
upload_protocol?: string;
|
|
7955
8012
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7956
8013
|
uploadType?: string;
|
|
7957
|
-
}): Request<
|
|
7958
|
-
|
|
7959
|
-
|
|
7960
|
-
/** 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`. */
|
|
7961
|
-
cancel(request: {
|
|
8014
|
+
}): Request<GoogleCloudAiplatformV1Dataset>;
|
|
8015
|
+
/** Lists Datasets in a Location. */
|
|
8016
|
+
list(request?: {
|
|
7962
8017
|
/** V1 error format. */
|
|
7963
8018
|
'$.xgafv'?: string;
|
|
7964
8019
|
/** OAuth access token. */
|
|
@@ -7969,29 +8024,717 @@ declare namespace gapi.client {
|
|
|
7969
8024
|
callback?: string;
|
|
7970
8025
|
/** Selector specifying which fields to include in a partial response. */
|
|
7971
8026
|
fields?: string;
|
|
8027
|
+
/** An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `display_name`: supports = and != * `metadata_schema_uri`: supports = and != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels."a key"`. Some examples: * `displayName="myDisplayName"` * `labels.myKey="myValue"` */
|
|
8028
|
+
filter?: string;
|
|
7972
8029
|
/** 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. */
|
|
7973
8030
|
key?: string;
|
|
7974
|
-
/** Required. The name of the CustomJob to cancel. Format: `projects/{project}/locations/{location}/customJobs/{custom_job}` */
|
|
7975
|
-
name: string;
|
|
7976
8031
|
/** OAuth 2.0 token for the current user. */
|
|
7977
8032
|
oauth_token?: string;
|
|
8033
|
+
/** A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `display_name` * `create_time` * `update_time` */
|
|
8034
|
+
orderBy?: string;
|
|
8035
|
+
/** The standard list page size. */
|
|
8036
|
+
pageSize?: number;
|
|
8037
|
+
/** The standard list page token. */
|
|
8038
|
+
pageToken?: string;
|
|
8039
|
+
/** Required. The name of the Dataset's parent resource. Format: `projects/{project}/locations/{location}` */
|
|
8040
|
+
parent?: string;
|
|
7978
8041
|
/** Returns response with indentations and line breaks. */
|
|
7979
8042
|
prettyPrint?: boolean;
|
|
7980
8043
|
/** 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. */
|
|
7981
8044
|
quotaUser?: string;
|
|
8045
|
+
/** Mask specifying which fields to read. */
|
|
8046
|
+
readMask?: string;
|
|
7982
8047
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7983
8048
|
upload_protocol?: string;
|
|
7984
8049
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7985
8050
|
uploadType?: string;
|
|
7986
|
-
|
|
7987
|
-
|
|
7988
|
-
|
|
7989
|
-
|
|
7990
|
-
|
|
7991
|
-
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
|
|
8051
|
+
}): Request<GoogleCloudAiplatformV1ListDatasetsResponse>;
|
|
8052
|
+
/** Updates a Dataset. */
|
|
8053
|
+
patch(request: {
|
|
8054
|
+
/** V1 error format. */
|
|
8055
|
+
'$.xgafv'?: string;
|
|
8056
|
+
/** OAuth access token. */
|
|
8057
|
+
access_token?: string;
|
|
8058
|
+
/** Data format for response. */
|
|
8059
|
+
alt?: string;
|
|
8060
|
+
/** JSONP */
|
|
8061
|
+
callback?: string;
|
|
8062
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8063
|
+
fields?: string;
|
|
8064
|
+
/** 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. */
|
|
8065
|
+
key?: string;
|
|
8066
|
+
/** Output only. Identifier. The resource name of the Dataset. */
|
|
8067
|
+
name: string;
|
|
8068
|
+
/** OAuth 2.0 token for the current user. */
|
|
8069
|
+
oauth_token?: string;
|
|
8070
|
+
/** Returns response with indentations and line breaks. */
|
|
8071
|
+
prettyPrint?: boolean;
|
|
8072
|
+
/** 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. */
|
|
8073
|
+
quotaUser?: string;
|
|
8074
|
+
/** Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Updatable fields: * `display_name` * `description` * `labels` */
|
|
8075
|
+
updateMask?: string;
|
|
8076
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8077
|
+
upload_protocol?: string;
|
|
8078
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8079
|
+
uploadType?: string;
|
|
8080
|
+
/** Request body */
|
|
8081
|
+
resource: GoogleCloudAiplatformV1Dataset;
|
|
8082
|
+
}): Request<GoogleCloudAiplatformV1Dataset>;
|
|
8083
|
+
patch(
|
|
8084
|
+
request: {
|
|
8085
|
+
/** V1 error format. */
|
|
8086
|
+
'$.xgafv'?: string;
|
|
8087
|
+
/** OAuth access token. */
|
|
8088
|
+
access_token?: string;
|
|
8089
|
+
/** Data format for response. */
|
|
8090
|
+
alt?: string;
|
|
8091
|
+
/** JSONP */
|
|
8092
|
+
callback?: string;
|
|
8093
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8094
|
+
fields?: string;
|
|
8095
|
+
/** 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. */
|
|
8096
|
+
key?: string;
|
|
8097
|
+
/** Output only. Identifier. The resource name of the Dataset. */
|
|
8098
|
+
name: string;
|
|
8099
|
+
/** OAuth 2.0 token for the current user. */
|
|
8100
|
+
oauth_token?: string;
|
|
8101
|
+
/** Returns response with indentations and line breaks. */
|
|
8102
|
+
prettyPrint?: boolean;
|
|
8103
|
+
/** 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. */
|
|
8104
|
+
quotaUser?: string;
|
|
8105
|
+
/** Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Updatable fields: * `display_name` * `description` * `labels` */
|
|
8106
|
+
updateMask?: string;
|
|
8107
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8108
|
+
upload_protocol?: string;
|
|
8109
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8110
|
+
uploadType?: string;
|
|
8111
|
+
},
|
|
8112
|
+
body: GoogleCloudAiplatformV1Dataset
|
|
8113
|
+
): Request<GoogleCloudAiplatformV1Dataset>;
|
|
8114
|
+
datasetVersions: DatasetVersionsResource;
|
|
8115
|
+
}
|
|
8116
|
+
interface EndpointsResource {
|
|
8117
|
+
/** Return a list of tokens based on the input text. */
|
|
8118
|
+
computeTokens(request: {
|
|
8119
|
+
/** V1 error format. */
|
|
8120
|
+
'$.xgafv'?: string;
|
|
8121
|
+
/** OAuth access token. */
|
|
8122
|
+
access_token?: string;
|
|
8123
|
+
/** Data format for response. */
|
|
8124
|
+
alt?: string;
|
|
8125
|
+
/** JSONP */
|
|
8126
|
+
callback?: string;
|
|
8127
|
+
/** Required. The name of the Endpoint requested to get lists of tokens and token ids. */
|
|
8128
|
+
endpoint: string;
|
|
8129
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8130
|
+
fields?: string;
|
|
8131
|
+
/** 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. */
|
|
8132
|
+
key?: string;
|
|
8133
|
+
/** OAuth 2.0 token for the current user. */
|
|
8134
|
+
oauth_token?: string;
|
|
8135
|
+
/** Returns response with indentations and line breaks. */
|
|
8136
|
+
prettyPrint?: boolean;
|
|
8137
|
+
/** 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. */
|
|
8138
|
+
quotaUser?: string;
|
|
8139
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8140
|
+
upload_protocol?: string;
|
|
8141
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8142
|
+
uploadType?: string;
|
|
8143
|
+
/** Request body */
|
|
8144
|
+
resource: GoogleCloudAiplatformV1ComputeTokensRequest;
|
|
8145
|
+
}): Request<GoogleCloudAiplatformV1ComputeTokensResponse>;
|
|
8146
|
+
computeTokens(
|
|
8147
|
+
request: {
|
|
8148
|
+
/** V1 error format. */
|
|
8149
|
+
'$.xgafv'?: string;
|
|
8150
|
+
/** OAuth access token. */
|
|
8151
|
+
access_token?: string;
|
|
8152
|
+
/** Data format for response. */
|
|
8153
|
+
alt?: string;
|
|
8154
|
+
/** JSONP */
|
|
8155
|
+
callback?: string;
|
|
8156
|
+
/** Required. The name of the Endpoint requested to get lists of tokens and token ids. */
|
|
8157
|
+
endpoint: string;
|
|
8158
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8159
|
+
fields?: string;
|
|
8160
|
+
/** 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. */
|
|
8161
|
+
key?: string;
|
|
8162
|
+
/** OAuth 2.0 token for the current user. */
|
|
8163
|
+
oauth_token?: string;
|
|
8164
|
+
/** Returns response with indentations and line breaks. */
|
|
8165
|
+
prettyPrint?: boolean;
|
|
8166
|
+
/** 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. */
|
|
8167
|
+
quotaUser?: string;
|
|
8168
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8169
|
+
upload_protocol?: string;
|
|
8170
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8171
|
+
uploadType?: string;
|
|
8172
|
+
},
|
|
8173
|
+
body: GoogleCloudAiplatformV1ComputeTokensRequest
|
|
8174
|
+
): Request<GoogleCloudAiplatformV1ComputeTokensResponse>;
|
|
8175
|
+
/** Perform a token counting. */
|
|
8176
|
+
countTokens(request: {
|
|
8177
|
+
/** V1 error format. */
|
|
8178
|
+
'$.xgafv'?: string;
|
|
8179
|
+
/** OAuth access token. */
|
|
8180
|
+
access_token?: string;
|
|
8181
|
+
/** Data format for response. */
|
|
8182
|
+
alt?: string;
|
|
8183
|
+
/** JSONP */
|
|
8184
|
+
callback?: string;
|
|
8185
|
+
/** Required. The name of the Endpoint requested to perform token counting. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
8186
|
+
endpoint: string;
|
|
8187
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8188
|
+
fields?: string;
|
|
8189
|
+
/** 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. */
|
|
8190
|
+
key?: string;
|
|
8191
|
+
/** OAuth 2.0 token for the current user. */
|
|
8192
|
+
oauth_token?: string;
|
|
8193
|
+
/** Returns response with indentations and line breaks. */
|
|
8194
|
+
prettyPrint?: boolean;
|
|
8195
|
+
/** 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. */
|
|
8196
|
+
quotaUser?: string;
|
|
8197
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8198
|
+
upload_protocol?: string;
|
|
8199
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8200
|
+
uploadType?: string;
|
|
8201
|
+
/** Request body */
|
|
8202
|
+
resource: GoogleCloudAiplatformV1CountTokensRequest;
|
|
8203
|
+
}): Request<GoogleCloudAiplatformV1CountTokensResponse>;
|
|
8204
|
+
countTokens(
|
|
8205
|
+
request: {
|
|
8206
|
+
/** V1 error format. */
|
|
8207
|
+
'$.xgafv'?: string;
|
|
8208
|
+
/** OAuth access token. */
|
|
8209
|
+
access_token?: string;
|
|
8210
|
+
/** Data format for response. */
|
|
8211
|
+
alt?: string;
|
|
8212
|
+
/** JSONP */
|
|
8213
|
+
callback?: string;
|
|
8214
|
+
/** Required. The name of the Endpoint requested to perform token counting. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
8215
|
+
endpoint: string;
|
|
8216
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8217
|
+
fields?: string;
|
|
8218
|
+
/** 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. */
|
|
8219
|
+
key?: string;
|
|
8220
|
+
/** OAuth 2.0 token for the current user. */
|
|
8221
|
+
oauth_token?: string;
|
|
8222
|
+
/** Returns response with indentations and line breaks. */
|
|
8223
|
+
prettyPrint?: boolean;
|
|
8224
|
+
/** 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. */
|
|
8225
|
+
quotaUser?: string;
|
|
8226
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8227
|
+
upload_protocol?: string;
|
|
8228
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8229
|
+
uploadType?: string;
|
|
8230
|
+
},
|
|
8231
|
+
body: GoogleCloudAiplatformV1CountTokensRequest
|
|
8232
|
+
): Request<GoogleCloudAiplatformV1CountTokensResponse>;
|
|
8233
|
+
/** Generate content with multimodal inputs. */
|
|
8234
|
+
generateContent(request: {
|
|
8235
|
+
/** V1 error format. */
|
|
8236
|
+
'$.xgafv'?: string;
|
|
8237
|
+
/** OAuth access token. */
|
|
8238
|
+
access_token?: string;
|
|
8239
|
+
/** Data format for response. */
|
|
8240
|
+
alt?: string;
|
|
8241
|
+
/** JSONP */
|
|
8242
|
+
callback?: string;
|
|
8243
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8244
|
+
fields?: string;
|
|
8245
|
+
/** 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. */
|
|
8246
|
+
key?: string;
|
|
8247
|
+
/** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
8248
|
+
model: string;
|
|
8249
|
+
/** OAuth 2.0 token for the current user. */
|
|
8250
|
+
oauth_token?: string;
|
|
8251
|
+
/** Returns response with indentations and line breaks. */
|
|
8252
|
+
prettyPrint?: boolean;
|
|
8253
|
+
/** 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. */
|
|
8254
|
+
quotaUser?: string;
|
|
8255
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8256
|
+
upload_protocol?: string;
|
|
8257
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8258
|
+
uploadType?: string;
|
|
8259
|
+
/** Request body */
|
|
8260
|
+
resource: GoogleCloudAiplatformV1GenerateContentRequest;
|
|
8261
|
+
}): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
|
|
8262
|
+
generateContent(
|
|
8263
|
+
request: {
|
|
8264
|
+
/** V1 error format. */
|
|
8265
|
+
'$.xgafv'?: string;
|
|
8266
|
+
/** OAuth access token. */
|
|
8267
|
+
access_token?: string;
|
|
8268
|
+
/** Data format for response. */
|
|
8269
|
+
alt?: string;
|
|
8270
|
+
/** JSONP */
|
|
8271
|
+
callback?: string;
|
|
8272
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8273
|
+
fields?: string;
|
|
8274
|
+
/** 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. */
|
|
8275
|
+
key?: string;
|
|
8276
|
+
/** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
8277
|
+
model: string;
|
|
8278
|
+
/** OAuth 2.0 token for the current user. */
|
|
8279
|
+
oauth_token?: string;
|
|
8280
|
+
/** Returns response with indentations and line breaks. */
|
|
8281
|
+
prettyPrint?: boolean;
|
|
8282
|
+
/** 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. */
|
|
8283
|
+
quotaUser?: string;
|
|
8284
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8285
|
+
upload_protocol?: string;
|
|
8286
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8287
|
+
uploadType?: string;
|
|
8288
|
+
},
|
|
8289
|
+
body: GoogleCloudAiplatformV1GenerateContentRequest
|
|
8290
|
+
): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
|
|
8291
|
+
/** Generate content with multimodal inputs with streaming support. */
|
|
8292
|
+
streamGenerateContent(request: {
|
|
8293
|
+
/** V1 error format. */
|
|
8294
|
+
'$.xgafv'?: string;
|
|
8295
|
+
/** OAuth access token. */
|
|
8296
|
+
access_token?: string;
|
|
8297
|
+
/** Data format for response. */
|
|
8298
|
+
alt?: string;
|
|
8299
|
+
/** JSONP */
|
|
8300
|
+
callback?: string;
|
|
8301
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8302
|
+
fields?: string;
|
|
8303
|
+
/** 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. */
|
|
8304
|
+
key?: string;
|
|
8305
|
+
/** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
8306
|
+
model: string;
|
|
8307
|
+
/** OAuth 2.0 token for the current user. */
|
|
8308
|
+
oauth_token?: string;
|
|
8309
|
+
/** Returns response with indentations and line breaks. */
|
|
8310
|
+
prettyPrint?: boolean;
|
|
8311
|
+
/** 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. */
|
|
8312
|
+
quotaUser?: string;
|
|
8313
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8314
|
+
upload_protocol?: string;
|
|
8315
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8316
|
+
uploadType?: string;
|
|
8317
|
+
/** Request body */
|
|
8318
|
+
resource: GoogleCloudAiplatformV1GenerateContentRequest;
|
|
8319
|
+
}): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
|
|
8320
|
+
streamGenerateContent(
|
|
8321
|
+
request: {
|
|
8322
|
+
/** V1 error format. */
|
|
8323
|
+
'$.xgafv'?: string;
|
|
8324
|
+
/** OAuth access token. */
|
|
8325
|
+
access_token?: string;
|
|
8326
|
+
/** Data format for response. */
|
|
8327
|
+
alt?: string;
|
|
8328
|
+
/** JSONP */
|
|
8329
|
+
callback?: string;
|
|
8330
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8331
|
+
fields?: string;
|
|
8332
|
+
/** 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. */
|
|
8333
|
+
key?: string;
|
|
8334
|
+
/** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
8335
|
+
model: string;
|
|
8336
|
+
/** OAuth 2.0 token for the current user. */
|
|
8337
|
+
oauth_token?: string;
|
|
8338
|
+
/** Returns response with indentations and line breaks. */
|
|
8339
|
+
prettyPrint?: boolean;
|
|
8340
|
+
/** 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. */
|
|
8341
|
+
quotaUser?: string;
|
|
8342
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8343
|
+
upload_protocol?: string;
|
|
8344
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8345
|
+
uploadType?: string;
|
|
8346
|
+
},
|
|
8347
|
+
body: GoogleCloudAiplatformV1GenerateContentRequest
|
|
8348
|
+
): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
|
|
8349
|
+
}
|
|
8350
|
+
interface BatchPredictionJobsResource {
|
|
8351
|
+
/** 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. */
|
|
8352
|
+
cancel(request: {
|
|
8353
|
+
/** V1 error format. */
|
|
8354
|
+
'$.xgafv'?: string;
|
|
8355
|
+
/** OAuth access token. */
|
|
8356
|
+
access_token?: string;
|
|
8357
|
+
/** Data format for response. */
|
|
8358
|
+
alt?: string;
|
|
8359
|
+
/** JSONP */
|
|
8360
|
+
callback?: string;
|
|
8361
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8362
|
+
fields?: string;
|
|
8363
|
+
/** 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. */
|
|
8364
|
+
key?: string;
|
|
8365
|
+
/** Required. The name of the BatchPredictionJob to cancel. Format: `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` */
|
|
8366
|
+
name: string;
|
|
8367
|
+
/** OAuth 2.0 token for the current user. */
|
|
8368
|
+
oauth_token?: string;
|
|
8369
|
+
/** Returns response with indentations and line breaks. */
|
|
8370
|
+
prettyPrint?: boolean;
|
|
8371
|
+
/** 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. */
|
|
8372
|
+
quotaUser?: string;
|
|
8373
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8374
|
+
upload_protocol?: string;
|
|
8375
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8376
|
+
uploadType?: string;
|
|
8377
|
+
/** Request body */
|
|
8378
|
+
resource: GoogleCloudAiplatformV1CancelBatchPredictionJobRequest;
|
|
8379
|
+
}): Request<{}>;
|
|
8380
|
+
cancel(
|
|
8381
|
+
request: {
|
|
8382
|
+
/** V1 error format. */
|
|
8383
|
+
'$.xgafv'?: string;
|
|
8384
|
+
/** OAuth access token. */
|
|
8385
|
+
access_token?: string;
|
|
8386
|
+
/** Data format for response. */
|
|
8387
|
+
alt?: string;
|
|
8388
|
+
/** JSONP */
|
|
8389
|
+
callback?: string;
|
|
8390
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8391
|
+
fields?: string;
|
|
8392
|
+
/** 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. */
|
|
8393
|
+
key?: string;
|
|
8394
|
+
/** Required. The name of the BatchPredictionJob to cancel. Format: `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` */
|
|
8395
|
+
name: string;
|
|
8396
|
+
/** OAuth 2.0 token for the current user. */
|
|
8397
|
+
oauth_token?: string;
|
|
8398
|
+
/** Returns response with indentations and line breaks. */
|
|
8399
|
+
prettyPrint?: boolean;
|
|
8400
|
+
/** 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. */
|
|
8401
|
+
quotaUser?: string;
|
|
8402
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8403
|
+
upload_protocol?: string;
|
|
8404
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8405
|
+
uploadType?: string;
|
|
8406
|
+
},
|
|
8407
|
+
body: GoogleCloudAiplatformV1CancelBatchPredictionJobRequest
|
|
8408
|
+
): Request<{}>;
|
|
8409
|
+
/** Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start. */
|
|
8410
|
+
create(request: {
|
|
8411
|
+
/** V1 error format. */
|
|
8412
|
+
'$.xgafv'?: string;
|
|
8413
|
+
/** OAuth access token. */
|
|
8414
|
+
access_token?: string;
|
|
8415
|
+
/** Data format for response. */
|
|
8416
|
+
alt?: string;
|
|
8417
|
+
/** JSONP */
|
|
8418
|
+
callback?: string;
|
|
8419
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8420
|
+
fields?: string;
|
|
8421
|
+
/** 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. */
|
|
8422
|
+
key?: string;
|
|
8423
|
+
/** OAuth 2.0 token for the current user. */
|
|
8424
|
+
oauth_token?: string;
|
|
8425
|
+
/** Required. The resource name of the Location to create the BatchPredictionJob in. Format: `projects/{project}/locations/{location}` */
|
|
8426
|
+
parent: string;
|
|
8427
|
+
/** Returns response with indentations and line breaks. */
|
|
8428
|
+
prettyPrint?: boolean;
|
|
8429
|
+
/** 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. */
|
|
8430
|
+
quotaUser?: string;
|
|
8431
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8432
|
+
upload_protocol?: string;
|
|
8433
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8434
|
+
uploadType?: string;
|
|
8435
|
+
/** Request body */
|
|
8436
|
+
resource: GoogleCloudAiplatformV1BatchPredictionJob;
|
|
8437
|
+
}): Request<GoogleCloudAiplatformV1BatchPredictionJob>;
|
|
8438
|
+
create(
|
|
8439
|
+
request: {
|
|
8440
|
+
/** V1 error format. */
|
|
8441
|
+
'$.xgafv'?: string;
|
|
8442
|
+
/** OAuth access token. */
|
|
8443
|
+
access_token?: string;
|
|
8444
|
+
/** Data format for response. */
|
|
8445
|
+
alt?: string;
|
|
8446
|
+
/** JSONP */
|
|
8447
|
+
callback?: string;
|
|
8448
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8449
|
+
fields?: string;
|
|
8450
|
+
/** 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. */
|
|
8451
|
+
key?: string;
|
|
8452
|
+
/** OAuth 2.0 token for the current user. */
|
|
8453
|
+
oauth_token?: string;
|
|
8454
|
+
/** Required. The resource name of the Location to create the BatchPredictionJob in. Format: `projects/{project}/locations/{location}` */
|
|
8455
|
+
parent: string;
|
|
8456
|
+
/** Returns response with indentations and line breaks. */
|
|
8457
|
+
prettyPrint?: boolean;
|
|
8458
|
+
/** 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. */
|
|
8459
|
+
quotaUser?: string;
|
|
8460
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8461
|
+
upload_protocol?: string;
|
|
8462
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8463
|
+
uploadType?: string;
|
|
8464
|
+
},
|
|
8465
|
+
body: GoogleCloudAiplatformV1BatchPredictionJob
|
|
8466
|
+
): Request<GoogleCloudAiplatformV1BatchPredictionJob>;
|
|
8467
|
+
/** Deletes a BatchPredictionJob. Can only be called on jobs that already finished. */
|
|
8468
|
+
delete(request?: {
|
|
8469
|
+
/** V1 error format. */
|
|
8470
|
+
'$.xgafv'?: string;
|
|
8471
|
+
/** OAuth access token. */
|
|
8472
|
+
access_token?: string;
|
|
8473
|
+
/** Data format for response. */
|
|
8474
|
+
alt?: string;
|
|
8475
|
+
/** JSONP */
|
|
8476
|
+
callback?: string;
|
|
8477
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8478
|
+
fields?: string;
|
|
8479
|
+
/** 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. */
|
|
8480
|
+
key?: string;
|
|
8481
|
+
/** Required. The name of the BatchPredictionJob resource to be deleted. Format: `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` */
|
|
8482
|
+
name: string;
|
|
8483
|
+
/** OAuth 2.0 token for the current user. */
|
|
8484
|
+
oauth_token?: string;
|
|
8485
|
+
/** Returns response with indentations and line breaks. */
|
|
8486
|
+
prettyPrint?: boolean;
|
|
8487
|
+
/** 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. */
|
|
8488
|
+
quotaUser?: string;
|
|
8489
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8490
|
+
upload_protocol?: string;
|
|
8491
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8492
|
+
uploadType?: string;
|
|
8493
|
+
}): Request<GoogleLongrunningOperation>;
|
|
8494
|
+
/** Gets a BatchPredictionJob */
|
|
8495
|
+
get(request?: {
|
|
8496
|
+
/** V1 error format. */
|
|
8497
|
+
'$.xgafv'?: string;
|
|
8498
|
+
/** OAuth access token. */
|
|
8499
|
+
access_token?: string;
|
|
8500
|
+
/** Data format for response. */
|
|
8501
|
+
alt?: string;
|
|
8502
|
+
/** JSONP */
|
|
8503
|
+
callback?: string;
|
|
8504
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8505
|
+
fields?: string;
|
|
8506
|
+
/** 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. */
|
|
8507
|
+
key?: string;
|
|
8508
|
+
/** Required. The name of the BatchPredictionJob resource. Format: `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` */
|
|
8509
|
+
name: string;
|
|
8510
|
+
/** OAuth 2.0 token for the current user. */
|
|
8511
|
+
oauth_token?: string;
|
|
8512
|
+
/** Returns response with indentations and line breaks. */
|
|
8513
|
+
prettyPrint?: boolean;
|
|
8514
|
+
/** 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. */
|
|
8515
|
+
quotaUser?: string;
|
|
8516
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8517
|
+
upload_protocol?: string;
|
|
8518
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8519
|
+
uploadType?: string;
|
|
8520
|
+
}): Request<GoogleCloudAiplatformV1BatchPredictionJob>;
|
|
8521
|
+
/** Lists BatchPredictionJobs in a Location. */
|
|
8522
|
+
list(request?: {
|
|
8523
|
+
/** V1 error format. */
|
|
8524
|
+
'$.xgafv'?: string;
|
|
8525
|
+
/** OAuth access token. */
|
|
8526
|
+
access_token?: string;
|
|
8527
|
+
/** Data format for response. */
|
|
8528
|
+
alt?: string;
|
|
8529
|
+
/** JSONP */
|
|
8530
|
+
callback?: string;
|
|
8531
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8532
|
+
fields?: string;
|
|
8533
|
+
/** 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:*` */
|
|
8534
|
+
filter?: string;
|
|
8535
|
+
/** 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. */
|
|
8536
|
+
key?: string;
|
|
8537
|
+
/** OAuth 2.0 token for the current user. */
|
|
8538
|
+
oauth_token?: string;
|
|
8539
|
+
/** The standard list page size. */
|
|
8540
|
+
pageSize?: number;
|
|
8541
|
+
/** The standard list page token. Typically obtained via ListBatchPredictionJobsResponse.next_page_token of the previous JobService.ListBatchPredictionJobs call. */
|
|
8542
|
+
pageToken?: string;
|
|
8543
|
+
/** Required. The resource name of the Location to list the BatchPredictionJobs from. Format: `projects/{project}/locations/{location}` */
|
|
8544
|
+
parent: string;
|
|
8545
|
+
/** Returns response with indentations and line breaks. */
|
|
8546
|
+
prettyPrint?: boolean;
|
|
8547
|
+
/** 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. */
|
|
8548
|
+
quotaUser?: string;
|
|
8549
|
+
/** Mask specifying which fields to read. */
|
|
8550
|
+
readMask?: string;
|
|
8551
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8552
|
+
upload_protocol?: string;
|
|
8553
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8554
|
+
uploadType?: string;
|
|
8555
|
+
}): Request<GoogleCloudAiplatformV1ListBatchPredictionJobsResponse>;
|
|
8556
|
+
}
|
|
8557
|
+
interface OperationsResource {
|
|
8558
|
+
/** 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`. */
|
|
8559
|
+
cancel(request?: {
|
|
8560
|
+
/** V1 error format. */
|
|
8561
|
+
'$.xgafv'?: string;
|
|
8562
|
+
/** OAuth access token. */
|
|
8563
|
+
access_token?: string;
|
|
8564
|
+
/** Data format for response. */
|
|
8565
|
+
alt?: string;
|
|
8566
|
+
/** JSONP */
|
|
8567
|
+
callback?: string;
|
|
8568
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8569
|
+
fields?: string;
|
|
8570
|
+
/** 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. */
|
|
8571
|
+
key?: string;
|
|
8572
|
+
/** The name of the operation resource to be cancelled. */
|
|
8573
|
+
name: string;
|
|
8574
|
+
/** OAuth 2.0 token for the current user. */
|
|
8575
|
+
oauth_token?: string;
|
|
8576
|
+
/** Returns response with indentations and line breaks. */
|
|
8577
|
+
prettyPrint?: boolean;
|
|
8578
|
+
/** 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. */
|
|
8579
|
+
quotaUser?: string;
|
|
8580
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8581
|
+
upload_protocol?: string;
|
|
8582
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8583
|
+
uploadType?: string;
|
|
8584
|
+
}): Request<{}>;
|
|
8585
|
+
/** 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`. */
|
|
8586
|
+
delete(request?: {
|
|
8587
|
+
/** V1 error format. */
|
|
8588
|
+
'$.xgafv'?: string;
|
|
8589
|
+
/** OAuth access token. */
|
|
8590
|
+
access_token?: string;
|
|
8591
|
+
/** Data format for response. */
|
|
8592
|
+
alt?: string;
|
|
8593
|
+
/** JSONP */
|
|
8594
|
+
callback?: string;
|
|
8595
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8596
|
+
fields?: string;
|
|
8597
|
+
/** 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. */
|
|
8598
|
+
key?: string;
|
|
8599
|
+
/** The name of the operation resource to be deleted. */
|
|
8600
|
+
name: string;
|
|
8601
|
+
/** OAuth 2.0 token for the current user. */
|
|
8602
|
+
oauth_token?: string;
|
|
8603
|
+
/** Returns response with indentations and line breaks. */
|
|
8604
|
+
prettyPrint?: boolean;
|
|
8605
|
+
/** 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. */
|
|
8606
|
+
quotaUser?: string;
|
|
8607
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8608
|
+
upload_protocol?: string;
|
|
8609
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8610
|
+
uploadType?: string;
|
|
8611
|
+
}): Request<{}>;
|
|
8612
|
+
/** 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. */
|
|
8613
|
+
get(request?: {
|
|
8614
|
+
/** V1 error format. */
|
|
8615
|
+
'$.xgafv'?: string;
|
|
8616
|
+
/** OAuth access token. */
|
|
8617
|
+
access_token?: string;
|
|
8618
|
+
/** Data format for response. */
|
|
8619
|
+
alt?: string;
|
|
8620
|
+
/** JSONP */
|
|
8621
|
+
callback?: string;
|
|
8622
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8623
|
+
fields?: string;
|
|
8624
|
+
/** 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. */
|
|
8625
|
+
key?: string;
|
|
8626
|
+
/** The name of the operation resource. */
|
|
8627
|
+
name: string;
|
|
8628
|
+
/** OAuth 2.0 token for the current user. */
|
|
8629
|
+
oauth_token?: string;
|
|
8630
|
+
/** Returns response with indentations and line breaks. */
|
|
8631
|
+
prettyPrint?: boolean;
|
|
8632
|
+
/** 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. */
|
|
8633
|
+
quotaUser?: string;
|
|
8634
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8635
|
+
upload_protocol?: string;
|
|
8636
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8637
|
+
uploadType?: string;
|
|
8638
|
+
}): Request<GoogleLongrunningOperation>;
|
|
8639
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
8640
|
+
list(request?: {
|
|
8641
|
+
/** V1 error format. */
|
|
8642
|
+
'$.xgafv'?: string;
|
|
8643
|
+
/** OAuth access token. */
|
|
8644
|
+
access_token?: string;
|
|
8645
|
+
/** Data format for response. */
|
|
8646
|
+
alt?: string;
|
|
8647
|
+
/** JSONP */
|
|
8648
|
+
callback?: string;
|
|
8649
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8650
|
+
fields?: string;
|
|
8651
|
+
/** The standard list filter. */
|
|
8652
|
+
filter?: string;
|
|
8653
|
+
/** 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. */
|
|
8654
|
+
key?: string;
|
|
8655
|
+
/** The name of the operation's parent resource. */
|
|
8656
|
+
name: string;
|
|
8657
|
+
/** OAuth 2.0 token for the current user. */
|
|
8658
|
+
oauth_token?: string;
|
|
8659
|
+
/** The standard list page size. */
|
|
8660
|
+
pageSize?: number;
|
|
8661
|
+
/** The standard list page token. */
|
|
8662
|
+
pageToken?: string;
|
|
8663
|
+
/** Returns response with indentations and line breaks. */
|
|
8664
|
+
prettyPrint?: boolean;
|
|
8665
|
+
/** 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. */
|
|
8666
|
+
quotaUser?: string;
|
|
8667
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8668
|
+
upload_protocol?: string;
|
|
8669
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8670
|
+
uploadType?: string;
|
|
8671
|
+
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
8672
|
+
/** 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. */
|
|
8673
|
+
wait(request?: {
|
|
8674
|
+
/** V1 error format. */
|
|
8675
|
+
'$.xgafv'?: string;
|
|
8676
|
+
/** OAuth access token. */
|
|
8677
|
+
access_token?: string;
|
|
8678
|
+
/** Data format for response. */
|
|
8679
|
+
alt?: string;
|
|
8680
|
+
/** JSONP */
|
|
8681
|
+
callback?: string;
|
|
8682
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8683
|
+
fields?: string;
|
|
8684
|
+
/** 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. */
|
|
8685
|
+
key?: string;
|
|
8686
|
+
/** The name of the operation resource to wait on. */
|
|
8687
|
+
name: string;
|
|
8688
|
+
/** OAuth 2.0 token for the current user. */
|
|
8689
|
+
oauth_token?: string;
|
|
8690
|
+
/** Returns response with indentations and line breaks. */
|
|
8691
|
+
prettyPrint?: boolean;
|
|
8692
|
+
/** 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. */
|
|
8693
|
+
quotaUser?: string;
|
|
8694
|
+
/** 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. */
|
|
8695
|
+
timeout?: string;
|
|
8696
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8697
|
+
upload_protocol?: string;
|
|
8698
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8699
|
+
uploadType?: string;
|
|
8700
|
+
}): Request<GoogleLongrunningOperation>;
|
|
8701
|
+
}
|
|
8702
|
+
interface CustomJobsResource {
|
|
8703
|
+
/** 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`. */
|
|
8704
|
+
cancel(request: {
|
|
8705
|
+
/** V1 error format. */
|
|
8706
|
+
'$.xgafv'?: string;
|
|
8707
|
+
/** OAuth access token. */
|
|
8708
|
+
access_token?: string;
|
|
8709
|
+
/** Data format for response. */
|
|
8710
|
+
alt?: string;
|
|
8711
|
+
/** JSONP */
|
|
8712
|
+
callback?: string;
|
|
8713
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8714
|
+
fields?: string;
|
|
8715
|
+
/** 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. */
|
|
8716
|
+
key?: string;
|
|
8717
|
+
/** Required. The name of the CustomJob to cancel. Format: `projects/{project}/locations/{location}/customJobs/{custom_job}` */
|
|
8718
|
+
name: string;
|
|
8719
|
+
/** OAuth 2.0 token for the current user. */
|
|
8720
|
+
oauth_token?: string;
|
|
8721
|
+
/** Returns response with indentations and line breaks. */
|
|
8722
|
+
prettyPrint?: boolean;
|
|
8723
|
+
/** 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. */
|
|
8724
|
+
quotaUser?: string;
|
|
8725
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8726
|
+
upload_protocol?: string;
|
|
8727
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8728
|
+
uploadType?: string;
|
|
8729
|
+
/** Request body */
|
|
8730
|
+
resource: GoogleCloudAiplatformV1CancelCustomJobRequest;
|
|
8731
|
+
}): Request<{}>;
|
|
8732
|
+
cancel(
|
|
8733
|
+
request: {
|
|
8734
|
+
/** V1 error format. */
|
|
8735
|
+
'$.xgafv'?: string;
|
|
8736
|
+
/** OAuth access token. */
|
|
8737
|
+
access_token?: string;
|
|
7995
8738
|
/** Data format for response. */
|
|
7996
8739
|
alt?: string;
|
|
7997
8740
|
/** JSONP */
|
|
@@ -8842,7 +9585,7 @@ declare namespace gapi.client {
|
|
|
8842
9585
|
}): Request<GoogleLongrunningOperation>;
|
|
8843
9586
|
}
|
|
8844
9587
|
interface AnnotationsResource {
|
|
8845
|
-
/** Lists Annotations belongs to a dataitem */
|
|
9588
|
+
/** Lists Annotations belongs to a dataitem This RPC is only available in InternalDatasetService. It is only used for exporting conversation data to CCAI Insights. */
|
|
8846
9589
|
list(request?: {
|
|
8847
9590
|
/** V1 error format. */
|
|
8848
9591
|
'$.xgafv'?: string;
|
|
@@ -11036,7 +11779,7 @@ declare namespace gapi.client {
|
|
|
11036
11779
|
fields?: string;
|
|
11037
11780
|
/** 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. */
|
|
11038
11781
|
key?: string;
|
|
11039
|
-
/** Required. The name of the publisher model
|
|
11782
|
+
/** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
11040
11783
|
model: string;
|
|
11041
11784
|
/** OAuth 2.0 token for the current user. */
|
|
11042
11785
|
oauth_token?: string;
|
|
@@ -11065,7 +11808,7 @@ declare namespace gapi.client {
|
|
|
11065
11808
|
fields?: string;
|
|
11066
11809
|
/** 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. */
|
|
11067
11810
|
key?: string;
|
|
11068
|
-
/** Required. The name of the publisher model
|
|
11811
|
+
/** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
11069
11812
|
model: string;
|
|
11070
11813
|
/** OAuth 2.0 token for the current user. */
|
|
11071
11814
|
oauth_token?: string;
|
|
@@ -11452,7 +12195,7 @@ declare namespace gapi.client {
|
|
|
11452
12195
|
fields?: string;
|
|
11453
12196
|
/** 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. */
|
|
11454
12197
|
key?: string;
|
|
11455
|
-
/** Required. The name of the publisher model
|
|
12198
|
+
/** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
11456
12199
|
model: string;
|
|
11457
12200
|
/** OAuth 2.0 token for the current user. */
|
|
11458
12201
|
oauth_token?: string;
|
|
@@ -11481,7 +12224,7 @@ declare namespace gapi.client {
|
|
|
11481
12224
|
fields?: string;
|
|
11482
12225
|
/** 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. */
|
|
11483
12226
|
key?: string;
|
|
11484
|
-
/** Required. The name of the publisher model
|
|
12227
|
+
/** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
11485
12228
|
model: string;
|
|
11486
12229
|
/** OAuth 2.0 token for the current user. */
|
|
11487
12230
|
oauth_token?: string;
|
|
@@ -12650,6 +13393,35 @@ declare namespace gapi.client {
|
|
|
12650
13393
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12651
13394
|
uploadType?: string;
|
|
12652
13395
|
}): Request<GoogleCloudAiplatformV1FeatureView>;
|
|
13396
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
13397
|
+
getIamPolicy(request?: {
|
|
13398
|
+
/** V1 error format. */
|
|
13399
|
+
'$.xgafv'?: string;
|
|
13400
|
+
/** OAuth access token. */
|
|
13401
|
+
access_token?: string;
|
|
13402
|
+
/** Data format for response. */
|
|
13403
|
+
alt?: string;
|
|
13404
|
+
/** JSONP */
|
|
13405
|
+
callback?: string;
|
|
13406
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13407
|
+
fields?: string;
|
|
13408
|
+
/** 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. */
|
|
13409
|
+
key?: string;
|
|
13410
|
+
/** OAuth 2.0 token for the current user. */
|
|
13411
|
+
oauth_token?: string;
|
|
13412
|
+
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
13413
|
+
'options.requestedPolicyVersion'?: number;
|
|
13414
|
+
/** Returns response with indentations and line breaks. */
|
|
13415
|
+
prettyPrint?: boolean;
|
|
13416
|
+
/** 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. */
|
|
13417
|
+
quotaUser?: string;
|
|
13418
|
+
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
13419
|
+
resource: string;
|
|
13420
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13421
|
+
upload_protocol?: string;
|
|
13422
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13423
|
+
uploadType?: string;
|
|
13424
|
+
}): Request<GoogleIamV1Policy>;
|
|
12653
13425
|
/** Lists FeatureViews in a given FeatureOnlineStore. */
|
|
12654
13426
|
list(request?: {
|
|
12655
13427
|
/** V1 error format. */
|
|
@@ -12805,6 +13577,36 @@ declare namespace gapi.client {
|
|
|
12805
13577
|
},
|
|
12806
13578
|
body: GoogleCloudAiplatformV1SearchNearestEntitiesRequest
|
|
12807
13579
|
): Request<GoogleCloudAiplatformV1SearchNearestEntitiesResponse>;
|
|
13580
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
13581
|
+
setIamPolicy(
|
|
13582
|
+
request: {
|
|
13583
|
+
/** V1 error format. */
|
|
13584
|
+
'$.xgafv'?: string;
|
|
13585
|
+
/** OAuth access token. */
|
|
13586
|
+
access_token?: string;
|
|
13587
|
+
/** Data format for response. */
|
|
13588
|
+
alt?: string;
|
|
13589
|
+
/** JSONP */
|
|
13590
|
+
callback?: string;
|
|
13591
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13592
|
+
fields?: string;
|
|
13593
|
+
/** 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. */
|
|
13594
|
+
key?: string;
|
|
13595
|
+
/** OAuth 2.0 token for the current user. */
|
|
13596
|
+
oauth_token?: string;
|
|
13597
|
+
/** Returns response with indentations and line breaks. */
|
|
13598
|
+
prettyPrint?: boolean;
|
|
13599
|
+
/** 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. */
|
|
13600
|
+
quotaUser?: string;
|
|
13601
|
+
/** 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. */
|
|
13602
|
+
resource: string;
|
|
13603
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13604
|
+
upload_protocol?: string;
|
|
13605
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13606
|
+
uploadType?: string;
|
|
13607
|
+
},
|
|
13608
|
+
body: GoogleIamV1SetIamPolicyRequest
|
|
13609
|
+
): Request<GoogleIamV1Policy>;
|
|
12808
13610
|
/** Triggers on-demand sync for the FeatureView. */
|
|
12809
13611
|
sync(request: {
|
|
12810
13612
|
/** V1 error format. */
|
|
@@ -12863,6 +13665,35 @@ declare namespace gapi.client {
|
|
|
12863
13665
|
},
|
|
12864
13666
|
body: GoogleCloudAiplatformV1SyncFeatureViewRequest
|
|
12865
13667
|
): Request<GoogleCloudAiplatformV1SyncFeatureViewResponse>;
|
|
13668
|
+
/** 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. */
|
|
13669
|
+
testIamPermissions(request?: {
|
|
13670
|
+
/** V1 error format. */
|
|
13671
|
+
'$.xgafv'?: string;
|
|
13672
|
+
/** OAuth access token. */
|
|
13673
|
+
access_token?: string;
|
|
13674
|
+
/** Data format for response. */
|
|
13675
|
+
alt?: string;
|
|
13676
|
+
/** JSONP */
|
|
13677
|
+
callback?: string;
|
|
13678
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13679
|
+
fields?: string;
|
|
13680
|
+
/** 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. */
|
|
13681
|
+
key?: string;
|
|
13682
|
+
/** OAuth 2.0 token for the current user. */
|
|
13683
|
+
oauth_token?: string;
|
|
13684
|
+
/** 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). */
|
|
13685
|
+
permissions?: string | string[];
|
|
13686
|
+
/** Returns response with indentations and line breaks. */
|
|
13687
|
+
prettyPrint?: boolean;
|
|
13688
|
+
/** 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. */
|
|
13689
|
+
quotaUser?: string;
|
|
13690
|
+
/** 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. */
|
|
13691
|
+
resource: string;
|
|
13692
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13693
|
+
upload_protocol?: string;
|
|
13694
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13695
|
+
uploadType?: string;
|
|
13696
|
+
}): Request<GoogleIamV1TestIamPermissionsResponse>;
|
|
12866
13697
|
featureViewSyncs: FeatureViewSyncsResource;
|
|
12867
13698
|
operations: OperationsResource;
|
|
12868
13699
|
}
|
|
@@ -13103,6 +13934,35 @@ declare namespace gapi.client {
|
|
|
13103
13934
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13104
13935
|
uploadType?: string;
|
|
13105
13936
|
}): Request<GoogleCloudAiplatformV1FeatureOnlineStore>;
|
|
13937
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
13938
|
+
getIamPolicy(request?: {
|
|
13939
|
+
/** V1 error format. */
|
|
13940
|
+
'$.xgafv'?: string;
|
|
13941
|
+
/** OAuth access token. */
|
|
13942
|
+
access_token?: string;
|
|
13943
|
+
/** Data format for response. */
|
|
13944
|
+
alt?: string;
|
|
13945
|
+
/** JSONP */
|
|
13946
|
+
callback?: string;
|
|
13947
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13948
|
+
fields?: string;
|
|
13949
|
+
/** 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. */
|
|
13950
|
+
key?: string;
|
|
13951
|
+
/** OAuth 2.0 token for the current user. */
|
|
13952
|
+
oauth_token?: string;
|
|
13953
|
+
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
13954
|
+
'options.requestedPolicyVersion'?: number;
|
|
13955
|
+
/** Returns response with indentations and line breaks. */
|
|
13956
|
+
prettyPrint?: boolean;
|
|
13957
|
+
/** 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. */
|
|
13958
|
+
quotaUser?: string;
|
|
13959
|
+
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
13960
|
+
resource: string;
|
|
13961
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13962
|
+
upload_protocol?: string;
|
|
13963
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13964
|
+
uploadType?: string;
|
|
13965
|
+
}): Request<GoogleIamV1Policy>;
|
|
13106
13966
|
/** Lists FeatureOnlineStores in a given project and location. */
|
|
13107
13967
|
list(request?: {
|
|
13108
13968
|
/** V1 error format. */
|
|
@@ -13200,6 +14060,65 @@ declare namespace gapi.client {
|
|
|
13200
14060
|
},
|
|
13201
14061
|
body: GoogleCloudAiplatformV1FeatureOnlineStore
|
|
13202
14062
|
): Request<GoogleLongrunningOperation>;
|
|
14063
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
14064
|
+
setIamPolicy(
|
|
14065
|
+
request: {
|
|
14066
|
+
/** V1 error format. */
|
|
14067
|
+
'$.xgafv'?: string;
|
|
14068
|
+
/** OAuth access token. */
|
|
14069
|
+
access_token?: string;
|
|
14070
|
+
/** Data format for response. */
|
|
14071
|
+
alt?: string;
|
|
14072
|
+
/** JSONP */
|
|
14073
|
+
callback?: string;
|
|
14074
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14075
|
+
fields?: string;
|
|
14076
|
+
/** 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. */
|
|
14077
|
+
key?: string;
|
|
14078
|
+
/** OAuth 2.0 token for the current user. */
|
|
14079
|
+
oauth_token?: string;
|
|
14080
|
+
/** Returns response with indentations and line breaks. */
|
|
14081
|
+
prettyPrint?: boolean;
|
|
14082
|
+
/** 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. */
|
|
14083
|
+
quotaUser?: string;
|
|
14084
|
+
/** 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. */
|
|
14085
|
+
resource: string;
|
|
14086
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14087
|
+
upload_protocol?: string;
|
|
14088
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14089
|
+
uploadType?: string;
|
|
14090
|
+
},
|
|
14091
|
+
body: GoogleIamV1SetIamPolicyRequest
|
|
14092
|
+
): Request<GoogleIamV1Policy>;
|
|
14093
|
+
/** 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. */
|
|
14094
|
+
testIamPermissions(request?: {
|
|
14095
|
+
/** V1 error format. */
|
|
14096
|
+
'$.xgafv'?: string;
|
|
14097
|
+
/** OAuth access token. */
|
|
14098
|
+
access_token?: string;
|
|
14099
|
+
/** Data format for response. */
|
|
14100
|
+
alt?: string;
|
|
14101
|
+
/** JSONP */
|
|
14102
|
+
callback?: string;
|
|
14103
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14104
|
+
fields?: string;
|
|
14105
|
+
/** 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. */
|
|
14106
|
+
key?: string;
|
|
14107
|
+
/** OAuth 2.0 token for the current user. */
|
|
14108
|
+
oauth_token?: string;
|
|
14109
|
+
/** 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). */
|
|
14110
|
+
permissions?: string | string[];
|
|
14111
|
+
/** Returns response with indentations and line breaks. */
|
|
14112
|
+
prettyPrint?: boolean;
|
|
14113
|
+
/** 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. */
|
|
14114
|
+
quotaUser?: string;
|
|
14115
|
+
/** 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. */
|
|
14116
|
+
resource: string;
|
|
14117
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14118
|
+
upload_protocol?: string;
|
|
14119
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14120
|
+
uploadType?: string;
|
|
14121
|
+
}): Request<GoogleIamV1TestIamPermissionsResponse>;
|
|
13203
14122
|
featureViews: FeatureViewsResource;
|
|
13204
14123
|
operations: OperationsResource;
|
|
13205
14124
|
}
|
|
@@ -22996,7 +23915,7 @@ declare namespace gapi.client {
|
|
|
22996
23915
|
fields?: string;
|
|
22997
23916
|
/** 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. */
|
|
22998
23917
|
key?: string;
|
|
22999
|
-
/** Required. The name of the publisher model
|
|
23918
|
+
/** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
23000
23919
|
model: string;
|
|
23001
23920
|
/** OAuth 2.0 token for the current user. */
|
|
23002
23921
|
oauth_token?: string;
|
|
@@ -23025,7 +23944,7 @@ declare namespace gapi.client {
|
|
|
23025
23944
|
fields?: string;
|
|
23026
23945
|
/** 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. */
|
|
23027
23946
|
key?: string;
|
|
23028
|
-
/** Required. The name of the publisher model
|
|
23947
|
+
/** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
23029
23948
|
model: string;
|
|
23030
23949
|
/** OAuth 2.0 token for the current user. */
|
|
23031
23950
|
oauth_token?: string;
|
|
@@ -23228,7 +24147,7 @@ declare namespace gapi.client {
|
|
|
23228
24147
|
fields?: string;
|
|
23229
24148
|
/** 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. */
|
|
23230
24149
|
key?: string;
|
|
23231
|
-
/** Required. The name of the publisher model
|
|
24150
|
+
/** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
23232
24151
|
model: string;
|
|
23233
24152
|
/** OAuth 2.0 token for the current user. */
|
|
23234
24153
|
oauth_token?: string;
|
|
@@ -23257,7 +24176,7 @@ declare namespace gapi.client {
|
|
|
23257
24176
|
fields?: string;
|
|
23258
24177
|
/** 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. */
|
|
23259
24178
|
key?: string;
|
|
23260
|
-
/** Required. The name of the publisher model
|
|
24179
|
+
/** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
23261
24180
|
model: string;
|
|
23262
24181
|
/** OAuth 2.0 token for the current user. */
|
|
23263
24182
|
oauth_token?: string;
|
|
@@ -27812,6 +28731,180 @@ declare namespace gapi.client {
|
|
|
27812
28731
|
locations: LocationsResource;
|
|
27813
28732
|
}
|
|
27814
28733
|
interface ModelsResource {
|
|
28734
|
+
/** Return a list of tokens based on the input text. */
|
|
28735
|
+
computeTokens(request: {
|
|
28736
|
+
/** V1 error format. */
|
|
28737
|
+
'$.xgafv'?: string;
|
|
28738
|
+
/** OAuth access token. */
|
|
28739
|
+
access_token?: string;
|
|
28740
|
+
/** Data format for response. */
|
|
28741
|
+
alt?: string;
|
|
28742
|
+
/** JSONP */
|
|
28743
|
+
callback?: string;
|
|
28744
|
+
/** Required. The name of the Endpoint requested to get lists of tokens and token ids. */
|
|
28745
|
+
endpoint: string;
|
|
28746
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
28747
|
+
fields?: string;
|
|
28748
|
+
/** 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. */
|
|
28749
|
+
key?: string;
|
|
28750
|
+
/** OAuth 2.0 token for the current user. */
|
|
28751
|
+
oauth_token?: string;
|
|
28752
|
+
/** Returns response with indentations and line breaks. */
|
|
28753
|
+
prettyPrint?: boolean;
|
|
28754
|
+
/** 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. */
|
|
28755
|
+
quotaUser?: string;
|
|
28756
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
28757
|
+
upload_protocol?: string;
|
|
28758
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
28759
|
+
uploadType?: string;
|
|
28760
|
+
/** Request body */
|
|
28761
|
+
resource: GoogleCloudAiplatformV1ComputeTokensRequest;
|
|
28762
|
+
}): Request<GoogleCloudAiplatformV1ComputeTokensResponse>;
|
|
28763
|
+
computeTokens(
|
|
28764
|
+
request: {
|
|
28765
|
+
/** V1 error format. */
|
|
28766
|
+
'$.xgafv'?: string;
|
|
28767
|
+
/** OAuth access token. */
|
|
28768
|
+
access_token?: string;
|
|
28769
|
+
/** Data format for response. */
|
|
28770
|
+
alt?: string;
|
|
28771
|
+
/** JSONP */
|
|
28772
|
+
callback?: string;
|
|
28773
|
+
/** Required. The name of the Endpoint requested to get lists of tokens and token ids. */
|
|
28774
|
+
endpoint: string;
|
|
28775
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
28776
|
+
fields?: string;
|
|
28777
|
+
/** 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. */
|
|
28778
|
+
key?: string;
|
|
28779
|
+
/** OAuth 2.0 token for the current user. */
|
|
28780
|
+
oauth_token?: string;
|
|
28781
|
+
/** Returns response with indentations and line breaks. */
|
|
28782
|
+
prettyPrint?: boolean;
|
|
28783
|
+
/** 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. */
|
|
28784
|
+
quotaUser?: string;
|
|
28785
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
28786
|
+
upload_protocol?: string;
|
|
28787
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
28788
|
+
uploadType?: string;
|
|
28789
|
+
},
|
|
28790
|
+
body: GoogleCloudAiplatformV1ComputeTokensRequest
|
|
28791
|
+
): Request<GoogleCloudAiplatformV1ComputeTokensResponse>;
|
|
28792
|
+
/** Perform a token counting. */
|
|
28793
|
+
countTokens(request: {
|
|
28794
|
+
/** V1 error format. */
|
|
28795
|
+
'$.xgafv'?: string;
|
|
28796
|
+
/** OAuth access token. */
|
|
28797
|
+
access_token?: string;
|
|
28798
|
+
/** Data format for response. */
|
|
28799
|
+
alt?: string;
|
|
28800
|
+
/** JSONP */
|
|
28801
|
+
callback?: string;
|
|
28802
|
+
/** Required. The name of the Endpoint requested to perform token counting. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
28803
|
+
endpoint: string;
|
|
28804
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
28805
|
+
fields?: string;
|
|
28806
|
+
/** 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. */
|
|
28807
|
+
key?: string;
|
|
28808
|
+
/** OAuth 2.0 token for the current user. */
|
|
28809
|
+
oauth_token?: string;
|
|
28810
|
+
/** Returns response with indentations and line breaks. */
|
|
28811
|
+
prettyPrint?: boolean;
|
|
28812
|
+
/** 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. */
|
|
28813
|
+
quotaUser?: string;
|
|
28814
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
28815
|
+
upload_protocol?: string;
|
|
28816
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
28817
|
+
uploadType?: string;
|
|
28818
|
+
/** Request body */
|
|
28819
|
+
resource: GoogleCloudAiplatformV1CountTokensRequest;
|
|
28820
|
+
}): Request<GoogleCloudAiplatformV1CountTokensResponse>;
|
|
28821
|
+
countTokens(
|
|
28822
|
+
request: {
|
|
28823
|
+
/** V1 error format. */
|
|
28824
|
+
'$.xgafv'?: string;
|
|
28825
|
+
/** OAuth access token. */
|
|
28826
|
+
access_token?: string;
|
|
28827
|
+
/** Data format for response. */
|
|
28828
|
+
alt?: string;
|
|
28829
|
+
/** JSONP */
|
|
28830
|
+
callback?: string;
|
|
28831
|
+
/** Required. The name of the Endpoint requested to perform token counting. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
28832
|
+
endpoint: string;
|
|
28833
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
28834
|
+
fields?: string;
|
|
28835
|
+
/** 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. */
|
|
28836
|
+
key?: string;
|
|
28837
|
+
/** OAuth 2.0 token for the current user. */
|
|
28838
|
+
oauth_token?: string;
|
|
28839
|
+
/** Returns response with indentations and line breaks. */
|
|
28840
|
+
prettyPrint?: boolean;
|
|
28841
|
+
/** 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. */
|
|
28842
|
+
quotaUser?: string;
|
|
28843
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
28844
|
+
upload_protocol?: string;
|
|
28845
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
28846
|
+
uploadType?: string;
|
|
28847
|
+
},
|
|
28848
|
+
body: GoogleCloudAiplatformV1CountTokensRequest
|
|
28849
|
+
): Request<GoogleCloudAiplatformV1CountTokensResponse>;
|
|
28850
|
+
/** Generate content with multimodal inputs. */
|
|
28851
|
+
generateContent(request: {
|
|
28852
|
+
/** V1 error format. */
|
|
28853
|
+
'$.xgafv'?: string;
|
|
28854
|
+
/** OAuth access token. */
|
|
28855
|
+
access_token?: string;
|
|
28856
|
+
/** Data format for response. */
|
|
28857
|
+
alt?: string;
|
|
28858
|
+
/** JSONP */
|
|
28859
|
+
callback?: string;
|
|
28860
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
28861
|
+
fields?: string;
|
|
28862
|
+
/** 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. */
|
|
28863
|
+
key?: string;
|
|
28864
|
+
/** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
28865
|
+
model: string;
|
|
28866
|
+
/** OAuth 2.0 token for the current user. */
|
|
28867
|
+
oauth_token?: string;
|
|
28868
|
+
/** Returns response with indentations and line breaks. */
|
|
28869
|
+
prettyPrint?: boolean;
|
|
28870
|
+
/** 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. */
|
|
28871
|
+
quotaUser?: string;
|
|
28872
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
28873
|
+
upload_protocol?: string;
|
|
28874
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
28875
|
+
uploadType?: string;
|
|
28876
|
+
/** Request body */
|
|
28877
|
+
resource: GoogleCloudAiplatformV1GenerateContentRequest;
|
|
28878
|
+
}): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
|
|
28879
|
+
generateContent(
|
|
28880
|
+
request: {
|
|
28881
|
+
/** V1 error format. */
|
|
28882
|
+
'$.xgafv'?: string;
|
|
28883
|
+
/** OAuth access token. */
|
|
28884
|
+
access_token?: string;
|
|
28885
|
+
/** Data format for response. */
|
|
28886
|
+
alt?: string;
|
|
28887
|
+
/** JSONP */
|
|
28888
|
+
callback?: string;
|
|
28889
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
28890
|
+
fields?: string;
|
|
28891
|
+
/** 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. */
|
|
28892
|
+
key?: string;
|
|
28893
|
+
/** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
28894
|
+
model: string;
|
|
28895
|
+
/** OAuth 2.0 token for the current user. */
|
|
28896
|
+
oauth_token?: string;
|
|
28897
|
+
/** Returns response with indentations and line breaks. */
|
|
28898
|
+
prettyPrint?: boolean;
|
|
28899
|
+
/** 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. */
|
|
28900
|
+
quotaUser?: string;
|
|
28901
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
28902
|
+
upload_protocol?: string;
|
|
28903
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
28904
|
+
uploadType?: string;
|
|
28905
|
+
},
|
|
28906
|
+
body: GoogleCloudAiplatformV1GenerateContentRequest
|
|
28907
|
+
): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
|
|
27815
28908
|
/** Gets a Model Garden publisher model. */
|
|
27816
28909
|
get(request?: {
|
|
27817
28910
|
/** V1 error format. */
|
|
@@ -27847,11 +28940,73 @@ declare namespace gapi.client {
|
|
|
27847
28940
|
/** Optional. PublisherModel view specifying which fields to read. */
|
|
27848
28941
|
view?: string;
|
|
27849
28942
|
}): Request<GoogleCloudAiplatformV1PublisherModel>;
|
|
28943
|
+
/** Generate content with multimodal inputs with streaming support. */
|
|
28944
|
+
streamGenerateContent(request: {
|
|
28945
|
+
/** V1 error format. */
|
|
28946
|
+
'$.xgafv'?: string;
|
|
28947
|
+
/** OAuth access token. */
|
|
28948
|
+
access_token?: string;
|
|
28949
|
+
/** Data format for response. */
|
|
28950
|
+
alt?: string;
|
|
28951
|
+
/** JSONP */
|
|
28952
|
+
callback?: string;
|
|
28953
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
28954
|
+
fields?: string;
|
|
28955
|
+
/** 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. */
|
|
28956
|
+
key?: string;
|
|
28957
|
+
/** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
28958
|
+
model: string;
|
|
28959
|
+
/** OAuth 2.0 token for the current user. */
|
|
28960
|
+
oauth_token?: string;
|
|
28961
|
+
/** Returns response with indentations and line breaks. */
|
|
28962
|
+
prettyPrint?: boolean;
|
|
28963
|
+
/** 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. */
|
|
28964
|
+
quotaUser?: string;
|
|
28965
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
28966
|
+
upload_protocol?: string;
|
|
28967
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
28968
|
+
uploadType?: string;
|
|
28969
|
+
/** Request body */
|
|
28970
|
+
resource: GoogleCloudAiplatformV1GenerateContentRequest;
|
|
28971
|
+
}): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
|
|
28972
|
+
streamGenerateContent(
|
|
28973
|
+
request: {
|
|
28974
|
+
/** V1 error format. */
|
|
28975
|
+
'$.xgafv'?: string;
|
|
28976
|
+
/** OAuth access token. */
|
|
28977
|
+
access_token?: string;
|
|
28978
|
+
/** Data format for response. */
|
|
28979
|
+
alt?: string;
|
|
28980
|
+
/** JSONP */
|
|
28981
|
+
callback?: string;
|
|
28982
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
28983
|
+
fields?: string;
|
|
28984
|
+
/** 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. */
|
|
28985
|
+
key?: string;
|
|
28986
|
+
/** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
28987
|
+
model: string;
|
|
28988
|
+
/** OAuth 2.0 token for the current user. */
|
|
28989
|
+
oauth_token?: string;
|
|
28990
|
+
/** Returns response with indentations and line breaks. */
|
|
28991
|
+
prettyPrint?: boolean;
|
|
28992
|
+
/** 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. */
|
|
28993
|
+
quotaUser?: string;
|
|
28994
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
28995
|
+
upload_protocol?: string;
|
|
28996
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
28997
|
+
uploadType?: string;
|
|
28998
|
+
},
|
|
28999
|
+
body: GoogleCloudAiplatformV1GenerateContentRequest
|
|
29000
|
+
): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
|
|
27850
29001
|
}
|
|
27851
29002
|
interface PublishersResource {
|
|
27852
29003
|
models: ModelsResource;
|
|
27853
29004
|
}
|
|
27854
29005
|
|
|
29006
|
+
const datasets: DatasetsResource;
|
|
29007
|
+
|
|
29008
|
+
const endpoints: EndpointsResource;
|
|
29009
|
+
|
|
27855
29010
|
const projects: ProjectsResource;
|
|
27856
29011
|
|
|
27857
29012
|
const publishers: PublishersResource;
|