@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20240429 → 0.0.20240507
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 +175 -11
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://aiplatform.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240507
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -158,6 +158,8 @@ declare namespace gapi.client {
|
|
|
158
158
|
citations?: CloudAiNlLlmProtoServiceCitation[];
|
|
159
159
|
}
|
|
160
160
|
interface CloudAiNlLlmProtoServiceContent {
|
|
161
|
+
/** If true, the content is from a cached content. */
|
|
162
|
+
isCached?: boolean;
|
|
161
163
|
/** The parts of the message. */
|
|
162
164
|
parts?: CloudAiNlLlmProtoServicePart[];
|
|
163
165
|
/** The role of the current conversation participant. */
|
|
@@ -276,6 +278,8 @@ declare namespace gapi.client {
|
|
|
276
278
|
filtered?: boolean;
|
|
277
279
|
/** Language filter result from SAFT LangId. */
|
|
278
280
|
languageFilterResult?: LearningGenaiRootLanguageFilterResult;
|
|
281
|
+
/** Multi modal recitation results. It will be populated as long as Multi modal Recitation processor is invoked. */
|
|
282
|
+
mmRecitationResult?: LearningGenaiRecitationMMRecitationCheckResult;
|
|
279
283
|
/** The RAI signals for the text. */
|
|
280
284
|
raiSignals?: CloudAiNlLlmProtoServiceRaiSignal[];
|
|
281
285
|
/** Translation request info during RAI for debugging purpose. Each TranslationRequestInfo corresponds to a request sent to the translation server. */
|
|
@@ -1132,6 +1136,8 @@ declare namespace gapi.client {
|
|
|
1132
1136
|
metadataArtifact?: string;
|
|
1133
1137
|
/** Required. Points to a YAML file stored on Google Cloud Storage describing additional information about the Dataset. The schema is defined as an OpenAPI 3.0.2 Schema Object. The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/metadata/. */
|
|
1134
1138
|
metadataSchemaUri?: string;
|
|
1139
|
+
/** Optional. Reference to the public base model last used by the dataset. Only set for prompt datasets. */
|
|
1140
|
+
modelReference?: string;
|
|
1135
1141
|
/** Output only. The resource name of the Dataset. */
|
|
1136
1142
|
name?: string;
|
|
1137
1143
|
/** All SavedQueries belong to the Dataset will be returned in List/Get Dataset response. The annotation_specs field will not be populated except for UI cases which will only use annotation_spec_count. In CreateDataset request, a SavedQuery is created together if this field is set, up to one SavedQuery can be set in CreateDatasetRequest. The SavedQuery should not contain any AnnotationSpec. */
|
|
@@ -1150,6 +1156,8 @@ declare namespace gapi.client {
|
|
|
1150
1156
|
etag?: string;
|
|
1151
1157
|
/** Required. Output only. Additional information about the DatasetVersion. */
|
|
1152
1158
|
metadata?: any;
|
|
1159
|
+
/** Output only. Reference to the public base model last used by the dataset version. Only set for prompt dataset versions. */
|
|
1160
|
+
modelReference?: string;
|
|
1153
1161
|
/** Output only. The resource name of the DatasetVersion. */
|
|
1154
1162
|
name?: string;
|
|
1155
1163
|
/** Output only. Timestamp when this DatasetVersion was last updated. */
|
|
@@ -1822,7 +1830,7 @@ declare namespace gapi.client {
|
|
|
1822
1830
|
versionColumnName?: string;
|
|
1823
1831
|
}
|
|
1824
1832
|
interface GoogleCloudAiplatformV1FeatureGroup {
|
|
1825
|
-
/** Indicates that features for this group come from BigQuery Table/View. By default treats the source as a sparse time series source
|
|
1833
|
+
/** Indicates that features for this group come from BigQuery Table/View. By default treats the source as a sparse time series source. The BigQuery source table or view must have at least one entity ID column and a column named `feature_timestamp`. */
|
|
1826
1834
|
bigQuery?: GoogleCloudAiplatformV1FeatureGroupBigQuery;
|
|
1827
1835
|
/** Output only. Timestamp when this FeatureGroup was created. */
|
|
1828
1836
|
createTime?: string;
|
|
@@ -2263,6 +2271,8 @@ declare namespace gapi.client {
|
|
|
2263
2271
|
presencePenalty?: number;
|
|
2264
2272
|
/** Optional. Output response mimetype of the generated candidate text. Supported mimetype: - `text/plain`: (default) Text output. - `application/json`: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. */
|
|
2265
2273
|
responseMimeType?: string;
|
|
2274
|
+
/** Optional. Control Three levels of creativity in the model output. Default: RESPONSE_STYLE_BALANCED */
|
|
2275
|
+
responseStyle?: string;
|
|
2266
2276
|
/** Optional. Stop sequences. */
|
|
2267
2277
|
stopSequences?: string[];
|
|
2268
2278
|
/** Optional. Controls the randomness of predictions. */
|
|
@@ -3553,12 +3563,16 @@ declare namespace gapi.client {
|
|
|
3553
3563
|
interface GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataContentValidationStats {
|
|
3554
3564
|
/** Number of records in this file we skipped due to validate errors. */
|
|
3555
3565
|
invalidRecordCount?: string;
|
|
3566
|
+
/** Number of sparse records in this file we skipped due to validate errors. */
|
|
3567
|
+
invalidSparseRecordCount?: string;
|
|
3556
3568
|
/** The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported. */
|
|
3557
3569
|
partialErrors?: GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError[];
|
|
3558
3570
|
/** Cloud Storage URI pointing to the original file in user's bucket. */
|
|
3559
3571
|
sourceGcsUri?: string;
|
|
3560
3572
|
/** Number of records in this file that were successfully processed. */
|
|
3561
3573
|
validRecordCount?: string;
|
|
3574
|
+
/** Number of sparse records in this file that were successfully processed. */
|
|
3575
|
+
validSparseRecordCount?: string;
|
|
3562
3576
|
}
|
|
3563
3577
|
interface GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError {
|
|
3564
3578
|
/** Empty if the embedding id is failed to parse. */
|
|
@@ -3653,6 +3667,10 @@ declare namespace gapi.client {
|
|
|
3653
3667
|
runtimeState?: string;
|
|
3654
3668
|
/** Required. The user email of the NotebookRuntime. */
|
|
3655
3669
|
runtimeUser?: string;
|
|
3670
|
+
/** Output only. Reserved for future use. */
|
|
3671
|
+
satisfiesPzi?: boolean;
|
|
3672
|
+
/** Output only. Reserved for future use. */
|
|
3673
|
+
satisfiesPzs?: boolean;
|
|
3656
3674
|
/** Output only. The service account that the NotebookRuntime workload runs as. */
|
|
3657
3675
|
serviceAccount?: string;
|
|
3658
3676
|
/** Output only. Timestamp when this NotebookRuntime was most recently updated. */
|
|
@@ -3681,7 +3699,7 @@ declare namespace gapi.client {
|
|
|
3681
3699
|
labels?: {[P in string]: string};
|
|
3682
3700
|
/** Optional. Immutable. The specification of a single machine for the template. */
|
|
3683
3701
|
machineSpec?: GoogleCloudAiplatformV1MachineSpec;
|
|
3684
|
-
/**
|
|
3702
|
+
/** The resource name of the NotebookRuntimeTemplate. */
|
|
3685
3703
|
name?: string;
|
|
3686
3704
|
/** Optional. Network spec. */
|
|
3687
3705
|
networkSpec?: GoogleCloudAiplatformV1NetworkSpec;
|
|
@@ -6107,9 +6125,9 @@ declare namespace gapi.client {
|
|
|
6107
6125
|
interface GoogleCloudAiplatformV1SupervisedHyperParameters {
|
|
6108
6126
|
/** Optional. Adapter size for tuning. */
|
|
6109
6127
|
adapterSize?: string;
|
|
6110
|
-
/** Optional. Number of
|
|
6128
|
+
/** Optional. Number of complete passes the model makes over the entire training dataset during training. */
|
|
6111
6129
|
epochCount?: string;
|
|
6112
|
-
/** Optional.
|
|
6130
|
+
/** Optional. Multiplier for adjusting the default learning rate. */
|
|
6113
6131
|
learningRateMultiplier?: number;
|
|
6114
6132
|
}
|
|
6115
6133
|
interface GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution {
|
|
@@ -6159,9 +6177,9 @@ declare namespace gapi.client {
|
|
|
6159
6177
|
interface GoogleCloudAiplatformV1SupervisedTuningSpec {
|
|
6160
6178
|
/** Optional. Hyperparameters for SFT. */
|
|
6161
6179
|
hyperParameters?: GoogleCloudAiplatformV1SupervisedHyperParameters;
|
|
6162
|
-
/** Required. Cloud Storage path to file containing training dataset for tuning. */
|
|
6180
|
+
/** Required. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file. */
|
|
6163
6181
|
trainingDatasetUri?: string;
|
|
6164
|
-
/** Optional. Cloud Storage path to file containing validation dataset for tuning. */
|
|
6182
|
+
/** Optional. Cloud Storage path to file containing validation dataset for tuning. The dataset must be formatted as a JSONL file. */
|
|
6165
6183
|
validationDatasetUri?: string;
|
|
6166
6184
|
}
|
|
6167
6185
|
interface GoogleCloudAiplatformV1SyncFeatureViewRequest {}
|
|
@@ -6442,12 +6460,14 @@ declare namespace gapi.client {
|
|
|
6442
6460
|
supervisedTuningDataStats?: GoogleCloudAiplatformV1SupervisedTuningDataStats;
|
|
6443
6461
|
}
|
|
6444
6462
|
interface GoogleCloudAiplatformV1TuningJob {
|
|
6445
|
-
/**
|
|
6463
|
+
/** The base model that is being tuned, e.g., "gemini-1.0-pro-002". */
|
|
6446
6464
|
baseModel?: string;
|
|
6447
6465
|
/** Output only. Time when the TuningJob was created. */
|
|
6448
6466
|
createTime?: string;
|
|
6449
6467
|
/** Optional. The description of the TuningJob. */
|
|
6450
6468
|
description?: string;
|
|
6469
|
+
/** Customer-managed encryption key options for a TuningJob. If this is set, then all resources created by the TuningJob will be encrypted with the provided encryption key. */
|
|
6470
|
+
encryptionSpec?: GoogleCloudAiplatformV1EncryptionSpec;
|
|
6451
6471
|
/** Output only. Time when the TuningJob entered any of the following JobStates: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`, `JOB_STATE_EXPIRED`. */
|
|
6452
6472
|
endTime?: string;
|
|
6453
6473
|
/** Output only. Only populated when job's state is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`. */
|
|
@@ -6875,6 +6895,10 @@ declare namespace gapi.client {
|
|
|
6875
6895
|
/** The recitation result against model training data. */
|
|
6876
6896
|
trainingSegmentResults?: LanguageLabsAidaTrustRecitationProtoSegmentResult[];
|
|
6877
6897
|
}
|
|
6898
|
+
interface LearningGenaiRecitationContentChunkRecitationCheckResult {
|
|
6899
|
+
imageResult?: LearningGenaiRecitationImageRecitationCheckResult;
|
|
6900
|
+
textResult?: LearningGenaiRecitationRecitationResult;
|
|
6901
|
+
}
|
|
6878
6902
|
interface LearningGenaiRecitationDocAttribution {
|
|
6879
6903
|
amarnaId?: string;
|
|
6880
6904
|
arxivId?: string;
|
|
@@ -6916,6 +6940,33 @@ declare namespace gapi.client {
|
|
|
6916
6940
|
wikipediaArticleTitle?: string;
|
|
6917
6941
|
youtubeVideoId?: string;
|
|
6918
6942
|
}
|
|
6943
|
+
interface LearningGenaiRecitationImageDocAttribution {
|
|
6944
|
+
/** Unique ID of the image. */
|
|
6945
|
+
datasetName?: string;
|
|
6946
|
+
/** Doc ID to identify the image. These could be urls of images or amarna id. */
|
|
6947
|
+
stringDocids?: string;
|
|
6948
|
+
}
|
|
6949
|
+
interface LearningGenaiRecitationImageRecitationCheckResult {
|
|
6950
|
+
/** Only has NO_ACTION or BLOCK to start with. */
|
|
6951
|
+
recitationAction?: string;
|
|
6952
|
+
/** Images that are similar to the requested image. */
|
|
6953
|
+
recitedImages?: LearningGenaiRecitationImageRecitationCheckResultSimilarImage[];
|
|
6954
|
+
}
|
|
6955
|
+
interface LearningGenaiRecitationImageRecitationCheckResultSimilarImage {
|
|
6956
|
+
/** Attribution information about the image */
|
|
6957
|
+
docAttribution?: LearningGenaiRecitationImageDocAttribution;
|
|
6958
|
+
/** The memorization embedding model that returned this image */
|
|
6959
|
+
embeddingModel?: string;
|
|
6960
|
+
/** Image ID corresponding of the image corresponding to the score. `image_id` serves for debugging purposes and can't be used by clients to retrieve an image. */
|
|
6961
|
+
imageId?: string;
|
|
6962
|
+
/** Similarity score of requested image compared with image in training data. */
|
|
6963
|
+
scores?: number;
|
|
6964
|
+
}
|
|
6965
|
+
interface LearningGenaiRecitationMMRecitationCheckResult {
|
|
6966
|
+
chunkResults?: LearningGenaiRecitationContentChunkRecitationCheckResult[];
|
|
6967
|
+
/** Overall recommended recitation action for the content. */
|
|
6968
|
+
recitationAction?: string;
|
|
6969
|
+
}
|
|
6919
6970
|
interface LearningGenaiRecitationRecitationResult {
|
|
6920
6971
|
dynamicSegmentResults?: LearningGenaiRecitationSegmentResult[];
|
|
6921
6972
|
/** The recitation action for one given input. When its segments contain different actions, the overall action will be returned in the precedence of BLOCK > CITE > NO_ACTION. When the given input is not found in any source, the recitation action will be NO_ACTION. */
|
|
@@ -7130,6 +7181,8 @@ declare namespace gapi.client {
|
|
|
7130
7181
|
factRetrievalMillisecondsByProvider?: {[P in string]: string};
|
|
7131
7182
|
/** Latency spent on prompt2query. The procedure generates a search-friendly query given the original prompt. */
|
|
7132
7183
|
prompt2queryMilliseconds?: string;
|
|
7184
|
+
/** Latency if use GroundedGeneration service for the whole retrieval & augmentation. */
|
|
7185
|
+
retrievalAugmentMilliseconds?: string;
|
|
7133
7186
|
}
|
|
7134
7187
|
interface LearningGenaiRootRAIOutput {
|
|
7135
7188
|
allowed?: boolean;
|
|
@@ -7143,6 +7196,42 @@ declare namespace gapi.client {
|
|
|
7143
7196
|
/** Regex used to decide that query or response should be taken down. Empty when query or response is kept. */
|
|
7144
7197
|
takedownRegex?: string;
|
|
7145
7198
|
}
|
|
7199
|
+
interface LearningGenaiRootRequestMetrics {
|
|
7200
|
+
/** Metrics for audio samples in the request. */
|
|
7201
|
+
audioMetrics?: LearningGenaiRootRequestMetricsAudioMetrics;
|
|
7202
|
+
/** Metrics for image samples in the request. */
|
|
7203
|
+
imageMetrics?: LearningGenaiRootRequestMetricsImageMetrics;
|
|
7204
|
+
/** Number of text tokens extracted from the request. */
|
|
7205
|
+
textTokenCount?: number;
|
|
7206
|
+
/** Total number of tokens in the request. */
|
|
7207
|
+
totalTokenCount?: number;
|
|
7208
|
+
/** Metrics for video samples in the request. */
|
|
7209
|
+
videoMetrics?: LearningGenaiRootRequestMetricsVideoMetrics;
|
|
7210
|
+
}
|
|
7211
|
+
interface LearningGenaiRootRequestMetricsAudioMetrics {
|
|
7212
|
+
/** Duration of the audio sample in seconds. */
|
|
7213
|
+
audioDuration?: string;
|
|
7214
|
+
/** Number of tokens derived directly from audio data. */
|
|
7215
|
+
audioTokenCount?: number;
|
|
7216
|
+
/** Number of audio frames in the audio. */
|
|
7217
|
+
numAudioFrames?: number;
|
|
7218
|
+
}
|
|
7219
|
+
interface LearningGenaiRootRequestMetricsImageMetrics {
|
|
7220
|
+
/** Number of tokens extracted from image bytes. */
|
|
7221
|
+
imageTokenCount?: number;
|
|
7222
|
+
/** Number of images in the request. */
|
|
7223
|
+
numImages?: number;
|
|
7224
|
+
}
|
|
7225
|
+
interface LearningGenaiRootRequestMetricsVideoMetrics {
|
|
7226
|
+
/** Metrics associated with audio sample in the video. */
|
|
7227
|
+
audioSample?: LearningGenaiRootRequestMetricsAudioMetrics;
|
|
7228
|
+
/** Number of video frames in the video. */
|
|
7229
|
+
numVideoFrames?: number;
|
|
7230
|
+
/** Duration of the video sample in seconds. */
|
|
7231
|
+
videoDuration?: string;
|
|
7232
|
+
/** Number of tokens extracted from video frames. */
|
|
7233
|
+
videoFramesTokenCount?: number;
|
|
7234
|
+
}
|
|
7146
7235
|
interface LearningGenaiRootRequestResponseTakedownResult {
|
|
7147
7236
|
/** False when response has to be taken down per above config. */
|
|
7148
7237
|
allowed?: boolean;
|
|
@@ -7267,7 +7356,12 @@ declare namespace gapi.client {
|
|
|
7267
7356
|
/** The sum of the size of all the contents in the request. */
|
|
7268
7357
|
totalContentSize?: string;
|
|
7269
7358
|
}
|
|
7359
|
+
interface LearningServingLlmAtlasOutputMetadata {
|
|
7360
|
+
requestTopic?: string;
|
|
7361
|
+
source?: string;
|
|
7362
|
+
}
|
|
7270
7363
|
interface LearningServingLlmMessageMetadata {
|
|
7364
|
+
atlasMetadata?: LearningServingLlmAtlasOutputMetadata;
|
|
7271
7365
|
/** Summary of classifier output. We attach this to all messages regardless of whether classification rules triggered or not. */
|
|
7272
7366
|
classifierSummary?: LearningGenaiRootClassifierOutputSummary;
|
|
7273
7367
|
/** Contains metadata related to Codey Processors. */
|
|
@@ -7292,22 +7386,30 @@ declare namespace gapi.client {
|
|
|
7292
7386
|
language?: string;
|
|
7293
7387
|
/** The LM prefix used to generate this response. */
|
|
7294
7388
|
lmPrefix?: string;
|
|
7389
|
+
/** FOR LMROOT INTERNAL USE ONLY. Externally, use learning.genai.root.RequestMetadata.RequestMetrics. Request metrics per modality including token count, duration, num_frames. */
|
|
7390
|
+
lmrootInternalRequestMetrics?: LearningGenaiRootRequestMetrics;
|
|
7391
|
+
/** Multi modal recitation results. It will be populated as long as Multi modal Recitation processor is invoked. */
|
|
7392
|
+
mmRecitationResult?: LearningGenaiRecitationMMRecitationCheckResult;
|
|
7393
|
+
/** Number of Controlled Decoding rewind and repeats that have happened for this response. */
|
|
7394
|
+
numRewinds?: number;
|
|
7295
7395
|
/** The original text generated by LLM. This is the raw output for debugging purposes. */
|
|
7296
7396
|
originalText?: string;
|
|
7297
|
-
/**
|
|
7397
|
+
/** Number of tokens decoded by the model as part of a stream. This count may be different from `per_stream_returned_token_count` which, is counted after any response rewriting or truncation. Applies to streaming response only. */
|
|
7298
7398
|
perStreamDecodedTokenCount?: number;
|
|
7399
|
+
/** Number of tokens returned per stream in a response candidate after any response rewriting or truncation. Applies to streaming response only. Applies to Gemini models only. */
|
|
7400
|
+
perStreamReturnedTokenCount?: number;
|
|
7299
7401
|
/** Results of running RAI on the query or this response candidate. One output per rai_config. It will be populated regardless of whether the threshold is exceeded or not. */
|
|
7300
7402
|
raiOutputs?: LearningGenaiRootRAIOutput[];
|
|
7301
7403
|
/** Recitation Results. It will be populated as long as Recitation processing is enabled, regardless of recitation outcome. */
|
|
7302
7404
|
recitationResult?: LearningGenaiRecitationRecitationResult;
|
|
7303
|
-
/** NOT YET IMPLEMENTED. Number of tokens returned as part of this candidate. */
|
|
7304
|
-
returnTokenCount?: number;
|
|
7305
7405
|
/** All the different scores for a message are logged here. */
|
|
7306
7406
|
scores?: LearningGenaiRootScore[];
|
|
7307
7407
|
/** Whether the response is terminated during streaming return. Only used for streaming requests. */
|
|
7308
7408
|
streamTerminated?: boolean;
|
|
7309
7409
|
/** Total tokens decoded so far per response_candidate. For streaming: Count of all the tokens decoded so far (aggregated count). For unary: Count of all the tokens decoded per response_candidate. */
|
|
7310
7410
|
totalDecodedTokenCount?: number;
|
|
7411
|
+
/** Total number of tokens returned in a response candidate. For streaming, it is the aggregated count (i.e. total so far) Applies to Gemini models only. */
|
|
7412
|
+
totalReturnedTokenCount?: number;
|
|
7311
7413
|
/** Translated user-prompt used for RAI post processing. This is for internal processing only. We will translate in pre-processor and pass the translated text to the post processor using this field. It will be empty if non of the signals requested need translation. */
|
|
7312
7414
|
translatedUserPrompts?: string[];
|
|
7313
7415
|
/** The metadata from Vertex SafetyCat processors */
|
|
@@ -8974,6 +9076,68 @@ declare namespace gapi.client {
|
|
|
8974
9076
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8975
9077
|
uploadType?: string;
|
|
8976
9078
|
}): Request<GoogleCloudAiplatformV1ListDatasetVersionsResponse>;
|
|
9079
|
+
/** Updates a DatasetVersion. */
|
|
9080
|
+
patch(request: {
|
|
9081
|
+
/** V1 error format. */
|
|
9082
|
+
'$.xgafv'?: string;
|
|
9083
|
+
/** OAuth access token. */
|
|
9084
|
+
access_token?: string;
|
|
9085
|
+
/** Data format for response. */
|
|
9086
|
+
alt?: string;
|
|
9087
|
+
/** JSONP */
|
|
9088
|
+
callback?: string;
|
|
9089
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9090
|
+
fields?: string;
|
|
9091
|
+
/** 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. */
|
|
9092
|
+
key?: string;
|
|
9093
|
+
/** Output only. The resource name of the DatasetVersion. */
|
|
9094
|
+
name: string;
|
|
9095
|
+
/** OAuth 2.0 token for the current user. */
|
|
9096
|
+
oauth_token?: string;
|
|
9097
|
+
/** Returns response with indentations and line breaks. */
|
|
9098
|
+
prettyPrint?: boolean;
|
|
9099
|
+
/** 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. */
|
|
9100
|
+
quotaUser?: string;
|
|
9101
|
+
/** Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Updatable fields: * `display_name` */
|
|
9102
|
+
updateMask?: string;
|
|
9103
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9104
|
+
upload_protocol?: string;
|
|
9105
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9106
|
+
uploadType?: string;
|
|
9107
|
+
/** Request body */
|
|
9108
|
+
resource: GoogleCloudAiplatformV1DatasetVersion;
|
|
9109
|
+
}): Request<GoogleCloudAiplatformV1DatasetVersion>;
|
|
9110
|
+
patch(
|
|
9111
|
+
request: {
|
|
9112
|
+
/** V1 error format. */
|
|
9113
|
+
'$.xgafv'?: string;
|
|
9114
|
+
/** OAuth access token. */
|
|
9115
|
+
access_token?: string;
|
|
9116
|
+
/** Data format for response. */
|
|
9117
|
+
alt?: string;
|
|
9118
|
+
/** JSONP */
|
|
9119
|
+
callback?: string;
|
|
9120
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9121
|
+
fields?: string;
|
|
9122
|
+
/** 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. */
|
|
9123
|
+
key?: string;
|
|
9124
|
+
/** Output only. The resource name of the DatasetVersion. */
|
|
9125
|
+
name: string;
|
|
9126
|
+
/** OAuth 2.0 token for the current user. */
|
|
9127
|
+
oauth_token?: string;
|
|
9128
|
+
/** Returns response with indentations and line breaks. */
|
|
9129
|
+
prettyPrint?: boolean;
|
|
9130
|
+
/** 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. */
|
|
9131
|
+
quotaUser?: string;
|
|
9132
|
+
/** Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Updatable fields: * `display_name` */
|
|
9133
|
+
updateMask?: string;
|
|
9134
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9135
|
+
upload_protocol?: string;
|
|
9136
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9137
|
+
uploadType?: string;
|
|
9138
|
+
},
|
|
9139
|
+
body: GoogleCloudAiplatformV1DatasetVersion
|
|
9140
|
+
): Request<GoogleCloudAiplatformV1DatasetVersion>;
|
|
8977
9141
|
/** Restores a dataset version. */
|
|
8978
9142
|
restore(request?: {
|
|
8979
9143
|
/** V1 error format. */
|