@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20240520 → 0.0.20240531
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 +633 -36
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://aiplatform.googleapis.com/$discovery/rest?version=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240531
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -28,27 +28,13 @@ declare namespace gapi.client {
|
|
|
28
28
|
): void;
|
|
29
29
|
|
|
30
30
|
namespace aiplatform {
|
|
31
|
-
interface CloudAiLargeModelsVisionFilteredText {
|
|
32
|
-
/** Filtered category */
|
|
33
|
-
category?: string;
|
|
34
|
-
/** Confidence score */
|
|
35
|
-
confidence?: string;
|
|
36
|
-
/** Input prompt */
|
|
37
|
-
prompt?: string;
|
|
38
|
-
/** Score for category */
|
|
39
|
-
score?: number;
|
|
40
|
-
}
|
|
41
31
|
interface CloudAiLargeModelsVisionGenerateVideoResponse {
|
|
42
32
|
/** The generates samples. */
|
|
43
33
|
generatedSamples?: CloudAiLargeModelsVisionMedia[];
|
|
44
|
-
/** Returns rai error message for filtered videos. */
|
|
45
|
-
raiErrorMessage?: string;
|
|
46
34
|
/** Returns if any videos were filtered due to RAI policies. */
|
|
47
35
|
raiMediaFilteredCount?: number;
|
|
48
36
|
/** Returns rai failure reasons if any. */
|
|
49
37
|
raiMediaFilteredReasons?: string[];
|
|
50
|
-
/** Returns filtered text rai info. */
|
|
51
|
-
raiTextFilteredReason?: CloudAiLargeModelsVisionFilteredText;
|
|
52
38
|
}
|
|
53
39
|
interface CloudAiLargeModelsVisionImage {
|
|
54
40
|
/** Image encoding, encoded as "image/png" or "image/jpg". */
|
|
@@ -86,6 +72,7 @@ declare namespace gapi.client {
|
|
|
86
72
|
y2?: number;
|
|
87
73
|
}
|
|
88
74
|
interface CloudAiLargeModelsVisionRaiInfo {
|
|
75
|
+
/** The list of detected labels for different rai categories. */
|
|
89
76
|
detectedLabels?: CloudAiLargeModelsVisionRaiInfoDetectedLabels[];
|
|
90
77
|
/** List of rai categories' information to return */
|
|
91
78
|
raiCategories?: string[];
|
|
@@ -93,12 +80,32 @@ declare namespace gapi.client {
|
|
|
93
80
|
scores?: number[];
|
|
94
81
|
}
|
|
95
82
|
interface CloudAiLargeModelsVisionRaiInfoDetectedLabels {
|
|
96
|
-
/**
|
|
97
|
-
|
|
83
|
+
/** The list of detected entities for the rai signal. */
|
|
84
|
+
entities?: CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity[];
|
|
98
85
|
/** The RAI category for the deteceted labels. */
|
|
99
86
|
raiCategory?: string;
|
|
100
|
-
|
|
101
|
-
|
|
87
|
+
}
|
|
88
|
+
interface CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox {
|
|
89
|
+
/** The X coordinate of the top-left corner, in pixels. */
|
|
90
|
+
x1?: number;
|
|
91
|
+
/** The X coordinate of the bottom-right corner, in pixels. */
|
|
92
|
+
x2?: number;
|
|
93
|
+
/** The Y coordinate of the top-left corner, in pixels. */
|
|
94
|
+
y1?: number;
|
|
95
|
+
/** The Y coordinate of the bottom-right corner, in pixels. */
|
|
96
|
+
y2?: number;
|
|
97
|
+
}
|
|
98
|
+
interface CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity {
|
|
99
|
+
/** Bounding box of the label */
|
|
100
|
+
boundingBox?: CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox;
|
|
101
|
+
/** Description of the label */
|
|
102
|
+
description?: string;
|
|
103
|
+
/** The intersection ratio between the detection bounding box and the mask. */
|
|
104
|
+
iouScore?: number;
|
|
105
|
+
/** MID of the label */
|
|
106
|
+
mid?: string;
|
|
107
|
+
/** Confidence score of the label */
|
|
108
|
+
score?: number;
|
|
102
109
|
}
|
|
103
110
|
interface CloudAiLargeModelsVisionSemanticFilterResponse {
|
|
104
111
|
/** Class labels of the bounding boxes that failed the semantic filtering. Bounding box coordinates. */
|
|
@@ -112,6 +119,12 @@ declare namespace gapi.client {
|
|
|
112
119
|
/** Raw bytes. */
|
|
113
120
|
video?: string;
|
|
114
121
|
}
|
|
122
|
+
interface CloudAiPlatformCommonCreatePipelineJobApiErrorDetail {
|
|
123
|
+
/** The error root cause returned by CreatePipelineJob API. */
|
|
124
|
+
errorCause?: string;
|
|
125
|
+
/** Public messages contains actionable items for the error cause. */
|
|
126
|
+
publicMessage?: string;
|
|
127
|
+
}
|
|
115
128
|
interface GoogleApiHttpBody {
|
|
116
129
|
/** The HTTP Content-Type header value specifying the content type of the body. */
|
|
117
130
|
contentType?: string;
|
|
@@ -567,6 +580,28 @@ declare namespace gapi.client {
|
|
|
567
580
|
/** Identifier. Name of the cache config. Format: - `projects/{project}/cacheConfig`. */
|
|
568
581
|
name?: string;
|
|
569
582
|
}
|
|
583
|
+
interface GoogleCloudAiplatformV1beta1CachedContent {
|
|
584
|
+
/** Optional. Input only. Immutable. The content to cache */
|
|
585
|
+
contents?: GoogleCloudAiplatformV1beta1Content[];
|
|
586
|
+
/** Output only. Creatation time of the cache entry. */
|
|
587
|
+
createTime?: string;
|
|
588
|
+
/** Timestamp of when this resource is considered expired. This is *always* provided on output, regardless of what was sent on input. */
|
|
589
|
+
expireTime?: string;
|
|
590
|
+
/** Immutable. The name of the publisher model to use for cached content. Format: projects/{project}/locations/{location}/publishers/{publisher}/models/{model} */
|
|
591
|
+
model?: string;
|
|
592
|
+
/** Immutable. Identifier. The resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content} */
|
|
593
|
+
name?: string;
|
|
594
|
+
/** Optional. Input only. Immutable. Developer set system instruction. Currently, text only */
|
|
595
|
+
systemInstruction?: GoogleCloudAiplatformV1beta1Content;
|
|
596
|
+
/** Optional. Input only. Immutable. Tool config. This config is shared for all tools */
|
|
597
|
+
toolConfig?: GoogleCloudAiplatformV1beta1ToolConfig;
|
|
598
|
+
/** Optional. Input only. Immutable. A list of `Tools` the model may use to generate the next response */
|
|
599
|
+
tools?: GoogleCloudAiplatformV1beta1Tool[];
|
|
600
|
+
/** Input only. The TTL for this resource. The expiration time is computed: now + TTL. */
|
|
601
|
+
ttl?: string;
|
|
602
|
+
/** Output only. When the cache entry was last updated in UTC time. */
|
|
603
|
+
updateTime?: string;
|
|
604
|
+
}
|
|
570
605
|
interface GoogleCloudAiplatformV1beta1CancelBatchPredictionJobRequest {}
|
|
571
606
|
interface GoogleCloudAiplatformV1beta1CancelCustomJobRequest {}
|
|
572
607
|
interface GoogleCloudAiplatformV1beta1CancelDataLabelingJobRequest {}
|
|
@@ -832,6 +867,12 @@ declare namespace gapi.client {
|
|
|
832
867
|
/** The operation generic information. */
|
|
833
868
|
genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
|
|
834
869
|
}
|
|
870
|
+
interface GoogleCloudAiplatformV1beta1CreateNotebookExecutionJobOperationMetadata {
|
|
871
|
+
/** The operation generic information. */
|
|
872
|
+
genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
|
|
873
|
+
/** A human-readable message that shows the intermediate progress details of NotebookRuntime. */
|
|
874
|
+
progressMessage?: string;
|
|
875
|
+
}
|
|
835
876
|
interface GoogleCloudAiplatformV1beta1CreateNotebookExecutionJobRequest {
|
|
836
877
|
/** Required. The NotebookExecutionJob to create. */
|
|
837
878
|
notebookExecutionJob?: GoogleCloudAiplatformV1beta1NotebookExecutionJob;
|
|
@@ -1044,6 +1085,50 @@ declare namespace gapi.client {
|
|
|
1044
1085
|
/** Output only. Timestamp when this Dataset was last updated. */
|
|
1045
1086
|
updateTime?: string;
|
|
1046
1087
|
}
|
|
1088
|
+
interface GoogleCloudAiplatformV1beta1DatasetDistribution {
|
|
1089
|
+
/** Output only. Defines the histogram bucket. */
|
|
1090
|
+
buckets?: GoogleCloudAiplatformV1beta1DatasetDistributionDistributionBucket[];
|
|
1091
|
+
/** Output only. The maximum of the population values. */
|
|
1092
|
+
max?: number;
|
|
1093
|
+
/** Output only. The arithmetic mean of the values in the population. */
|
|
1094
|
+
mean?: number;
|
|
1095
|
+
/** Output only. The median of the values in the population. */
|
|
1096
|
+
median?: number;
|
|
1097
|
+
/** Output only. The minimum of the population values. */
|
|
1098
|
+
min?: number;
|
|
1099
|
+
/** Output only. The 5th percentile of the values in the population. */
|
|
1100
|
+
p5?: number;
|
|
1101
|
+
/** Output only. The 95th percentile of the values in the population. */
|
|
1102
|
+
p95?: number;
|
|
1103
|
+
/** Output only. Sum of a given population of values. */
|
|
1104
|
+
sum?: number;
|
|
1105
|
+
}
|
|
1106
|
+
interface GoogleCloudAiplatformV1beta1DatasetDistributionDistributionBucket {
|
|
1107
|
+
/** Output only. Number of values in the bucket. */
|
|
1108
|
+
count?: string;
|
|
1109
|
+
/** Output only. Left bound of the bucket. */
|
|
1110
|
+
left?: number;
|
|
1111
|
+
/** Output only. Right bound of the bucket. */
|
|
1112
|
+
right?: number;
|
|
1113
|
+
}
|
|
1114
|
+
interface GoogleCloudAiplatformV1beta1DatasetStats {
|
|
1115
|
+
/** Output only. Number of billable characters in the tuning dataset. */
|
|
1116
|
+
totalBillableCharacterCount?: string;
|
|
1117
|
+
/** Output only. Number of tuning characters in the tuning dataset. */
|
|
1118
|
+
totalTuningCharacterCount?: string;
|
|
1119
|
+
/** Output only. Number of examples in the tuning dataset. */
|
|
1120
|
+
tuningDatasetExampleCount?: string;
|
|
1121
|
+
/** Output only. Number of tuning steps for this Tuning Job. */
|
|
1122
|
+
tuningStepCount?: string;
|
|
1123
|
+
/** Output only. Sample user messages in the training dataset uri. */
|
|
1124
|
+
userDatasetExamples?: GoogleCloudAiplatformV1beta1Content[];
|
|
1125
|
+
/** Output only. Dataset distributions for the user input tokens. */
|
|
1126
|
+
userInputTokenDistribution?: GoogleCloudAiplatformV1beta1DatasetDistribution;
|
|
1127
|
+
/** Output only. Dataset distributions for the messages per example. */
|
|
1128
|
+
userMessagePerExampleDistribution?: GoogleCloudAiplatformV1beta1DatasetDistribution;
|
|
1129
|
+
/** Output only. Dataset distributions for the user output tokens. */
|
|
1130
|
+
userOutputTokenDistribution?: GoogleCloudAiplatformV1beta1DatasetDistribution;
|
|
1131
|
+
}
|
|
1047
1132
|
interface GoogleCloudAiplatformV1beta1DatasetVersion {
|
|
1048
1133
|
/** Output only. Name of the associated BigQuery dataset. */
|
|
1049
1134
|
bigQueryDatasetName?: string;
|
|
@@ -1283,6 +1368,10 @@ declare namespace gapi.client {
|
|
|
1283
1368
|
/** Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive). */
|
|
1284
1369
|
bootDiskType?: string;
|
|
1285
1370
|
}
|
|
1371
|
+
interface GoogleCloudAiplatformV1beta1DistillationDataStats {
|
|
1372
|
+
/** Output only. Statistics computed for the training dataset. */
|
|
1373
|
+
trainingDatasetStats?: GoogleCloudAiplatformV1beta1DatasetStats;
|
|
1374
|
+
}
|
|
1286
1375
|
interface GoogleCloudAiplatformV1beta1DistillationHyperParameters {
|
|
1287
1376
|
/** Optional. Adapter size for distillation. */
|
|
1288
1377
|
adapterSize?: string;
|
|
@@ -1885,7 +1974,7 @@ declare namespace gapi.client {
|
|
|
1885
1974
|
apiSpec?: GoogleCloudAiplatformV1beta1ExtensionManifestApiSpec;
|
|
1886
1975
|
/** Required. Immutable. Type of auth supported by this extension. */
|
|
1887
1976
|
authConfig?: GoogleCloudAiplatformV1beta1AuthConfig;
|
|
1888
|
-
/** Required. The natural language description shown to the LLM. It should describe the usage of the extension, and is essential for the LLM to perform reasoning. */
|
|
1977
|
+
/** Required. The natural language description shown to the LLM. It should describe the usage of the extension, and is essential for the LLM to perform reasoning. e.g., if the extension is a data store, you can let the LLM know what data it contains. */
|
|
1889
1978
|
description?: string;
|
|
1890
1979
|
/** Required. Extension name shown to the LLM. The name can be up to 128 characters long. */
|
|
1891
1980
|
name?: string;
|
|
@@ -1981,6 +2070,8 @@ declare namespace gapi.client {
|
|
|
1981
2070
|
dedicatedServingEndpoint?: GoogleCloudAiplatformV1beta1FeatureOnlineStoreDedicatedServingEndpoint;
|
|
1982
2071
|
/** Optional. Deprecated: This field is no longer needed anymore and embedding management is automatically enabled when specifying Optimized storage type. */
|
|
1983
2072
|
embeddingManagement?: GoogleCloudAiplatformV1beta1FeatureOnlineStoreEmbeddingManagement;
|
|
2073
|
+
/** Optional. Customer-managed encryption key spec for data storage. If set, online store will be secured by this key. */
|
|
2074
|
+
encryptionSpec?: GoogleCloudAiplatformV1beta1EncryptionSpec;
|
|
1984
2075
|
/** Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. */
|
|
1985
2076
|
etag?: string;
|
|
1986
2077
|
/** Optional. The labels with user-defined metadata to organize your FeatureOnlineStore. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one FeatureOnlineStore(System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. */
|
|
@@ -2452,6 +2543,8 @@ declare namespace gapi.client {
|
|
|
2452
2543
|
tokenType?: string;
|
|
2453
2544
|
}
|
|
2454
2545
|
interface GoogleCloudAiplatformV1beta1GenerateContentRequest {
|
|
2546
|
+
/** Optional. The name of the cached content used as context to serve the prediction. Note: only used in explicit caching, where users can have control over caching (e.g. what content to cache) and enjoy guaranteed cost savings. Format: `projects/{project}/locations/{location}/cachedContents/{cachedContent}` */
|
|
2547
|
+
cachedContent?: string;
|
|
2455
2548
|
/** Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request. */
|
|
2456
2549
|
contents?: GoogleCloudAiplatformV1beta1Content[];
|
|
2457
2550
|
/** Optional. Generation config. */
|
|
@@ -2499,6 +2592,8 @@ declare namespace gapi.client {
|
|
|
2499
2592
|
presencePenalty?: number;
|
|
2500
2593
|
/** 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. */
|
|
2501
2594
|
responseMimeType?: string;
|
|
2595
|
+
/** Optional. The `Schema` object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). If set, a compatible response_mime_type must also be set. Compatible mimetypes: `application/json`: Schema for JSON response. */
|
|
2596
|
+
responseSchema?: GoogleCloudAiplatformV1beta1Schema;
|
|
2502
2597
|
/** Optional. Stop sequences. */
|
|
2503
2598
|
stopSequences?: string[];
|
|
2504
2599
|
/** Optional. Controls the randomness of predictions. */
|
|
@@ -2563,6 +2658,10 @@ declare namespace gapi.client {
|
|
|
2563
2658
|
/** Optional. Web search queries for the following-up web search. */
|
|
2564
2659
|
webSearchQueries?: string[];
|
|
2565
2660
|
}
|
|
2661
|
+
interface GoogleCloudAiplatformV1beta1HumanFeedbackConfig {
|
|
2662
|
+
/** Required. Cloud Storage path to human preference data. */
|
|
2663
|
+
preferenceDatasetUri?: string;
|
|
2664
|
+
}
|
|
2566
2665
|
interface GoogleCloudAiplatformV1beta1HyperparameterTuningJob {
|
|
2567
2666
|
/** Output only. Time when the HyperparameterTuningJob was created. */
|
|
2568
2667
|
createTime?: string;
|
|
@@ -2684,6 +2783,8 @@ declare namespace gapi.client {
|
|
|
2684
2783
|
gcsSource?: GoogleCloudAiplatformV1beta1GcsSource;
|
|
2685
2784
|
/** Google Drive location. Supports importing individual files as well as Google Drive folders. */
|
|
2686
2785
|
googleDriveSource?: GoogleCloudAiplatformV1beta1GoogleDriveSource;
|
|
2786
|
+
/** Optional. The max number of queries per minute that this job is allowed to make to the embedding model specified on the corpus. This value is specific to this job and not shared across other import jobs. Consult the Quotas page on the project to set an appropriate value here. If unspecified, a default value of 1,000 QPM would be used. */
|
|
2787
|
+
maxEmbeddingRequestsPerMin?: number;
|
|
2687
2788
|
/** Specifies the size and overlap of chunks after importing RagFiles. */
|
|
2688
2789
|
ragFileChunkingConfig?: GoogleCloudAiplatformV1beta1RagFileChunkingConfig;
|
|
2689
2790
|
}
|
|
@@ -2883,6 +2984,12 @@ declare namespace gapi.client {
|
|
|
2883
2984
|
/** A token to retrieve the next page of results. Pass to ListBatchPredictionJobsRequest.page_token to obtain that page. */
|
|
2884
2985
|
nextPageToken?: string;
|
|
2885
2986
|
}
|
|
2987
|
+
interface GoogleCloudAiplatformV1beta1ListCachedContentsResponse {
|
|
2988
|
+
/** List of cached contents. */
|
|
2989
|
+
cachedContents?: GoogleCloudAiplatformV1beta1CachedContent[];
|
|
2990
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
2991
|
+
nextPageToken?: string;
|
|
2992
|
+
}
|
|
2886
2993
|
interface GoogleCloudAiplatformV1beta1ListContextsResponse {
|
|
2887
2994
|
/** The Contexts retrieved from the MetadataStore. */
|
|
2888
2995
|
contexts?: GoogleCloudAiplatformV1beta1Context[];
|
|
@@ -4311,14 +4418,6 @@ declare namespace gapi.client {
|
|
|
4311
4418
|
/** Required. Duration is accurate to the second. In Notebook, Idle Timeout is accurate to minute so the range of idle_timeout (second) is: 10 * 60 ~ 1440 * 60. */
|
|
4312
4419
|
idleTimeout?: string;
|
|
4313
4420
|
}
|
|
4314
|
-
interface GoogleCloudAiplatformV1beta1NotebookReservationAffinity {
|
|
4315
|
-
/** Required. Specifies the type of reservation from which this instance can consume resources: RESERVATION_ANY (default), RESERVATION_SPECIFIC, or RESERVATION_NONE. See Consuming reserved instances for examples. */
|
|
4316
|
-
consumeReservationType?: string;
|
|
4317
|
-
/** Optional. Corresponds to the label key of a reservation resource. To target a RESERVATION_SPECIFIC by name, use compute.googleapis.com/reservation-name as the key and specify the name of your reservation as its value. */
|
|
4318
|
-
key?: string;
|
|
4319
|
-
/** Optional. Corresponds to the label values of a reservation resource. This must be the full path name of Reservation. */
|
|
4320
|
-
values?: string[];
|
|
4321
|
-
}
|
|
4322
4421
|
interface GoogleCloudAiplatformV1beta1NotebookRuntime {
|
|
4323
4422
|
/** Output only. Timestamp when this NotebookRuntime was created. */
|
|
4324
4423
|
createTime?: string;
|
|
@@ -4348,8 +4447,6 @@ declare namespace gapi.client {
|
|
|
4348
4447
|
notebookRuntimeType?: string;
|
|
4349
4448
|
/** Output only. The proxy endpoint used to access the NotebookRuntime. */
|
|
4350
4449
|
proxyUri?: string;
|
|
4351
|
-
/** Output only. Reservation Affinity of the notebook runtime. */
|
|
4352
|
-
reservationAffinity?: GoogleCloudAiplatformV1beta1NotebookReservationAffinity;
|
|
4353
4450
|
/** Output only. The runtime (instance) state of the NotebookRuntime. */
|
|
4354
4451
|
runtimeState?: string;
|
|
4355
4452
|
/** Required. The user email of the NotebookRuntime. */
|
|
@@ -4396,8 +4493,6 @@ declare namespace gapi.client {
|
|
|
4396
4493
|
networkTags?: string[];
|
|
4397
4494
|
/** Optional. Immutable. The type of the notebook runtime template. */
|
|
4398
4495
|
notebookRuntimeType?: string;
|
|
4399
|
-
/** Optional. Reservation Affinity of the notebook runtime template. */
|
|
4400
|
-
reservationAffinity?: GoogleCloudAiplatformV1beta1NotebookReservationAffinity;
|
|
4401
4496
|
/** The service account that the runtime workload runs as. You can use any service account within the same project, but you must have the service account user permission to use the instance. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used. */
|
|
4402
4497
|
serviceAccount?: string;
|
|
4403
4498
|
/** Optional. Immutable. Runtime Shielded VM spec. */
|
|
@@ -4778,8 +4873,6 @@ declare namespace gapi.client {
|
|
|
4778
4873
|
deploy?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeploy;
|
|
4779
4874
|
/** Optional. Deploy PublisherModel to Google Kubernetes Engine. */
|
|
4780
4875
|
deployGke?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke;
|
|
4781
|
-
/** Optional. Fine tune the PublisherModel with the third-party model tuning UI. */
|
|
4782
|
-
fineTune?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences;
|
|
4783
4876
|
/** Optional. Open evaluation pipeline of the PublisherModel. */
|
|
4784
4877
|
openEvaluationPipeline?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences;
|
|
4785
4878
|
/** Optional. Open fine-tuning pipeline of the PublisherModel. */
|
|
@@ -5108,9 +5201,23 @@ declare namespace gapi.client {
|
|
|
5108
5201
|
displayName?: string;
|
|
5109
5202
|
/** Output only. The resource name of the RagCorpus. */
|
|
5110
5203
|
name?: string;
|
|
5204
|
+
/** Optional. Immutable. The embedding model config of the RagCorpus. */
|
|
5205
|
+
ragEmbeddingModelConfig?: GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig;
|
|
5111
5206
|
/** Output only. Timestamp when this RagCorpus was last updated. */
|
|
5112
5207
|
updateTime?: string;
|
|
5113
5208
|
}
|
|
5209
|
+
interface GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig {
|
|
5210
|
+
/** The Vertex AI Prediction Endpoint that either refers to a publisher model or an endpoint that is hosting a 1P fine-tuned text embedding model. Endpoints hosting non-1P fine-tuned text embedding models are currently not supported. */
|
|
5211
|
+
vertexPredictionEndpoint?: GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoint;
|
|
5212
|
+
}
|
|
5213
|
+
interface GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoint {
|
|
5214
|
+
/** Required. The endpoint resource name. Format: `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` or `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
5215
|
+
endpoint?: string;
|
|
5216
|
+
/** Output only. The resource name of the model that is deployed on the endpoint. Present only when the endpoint is not a publisher model. Pattern: `projects/{project}/locations/{location}/models/{model}` */
|
|
5217
|
+
model?: string;
|
|
5218
|
+
/** Output only. Version ID of the model that is deployed on the endpoint. Present only when the endpoint is not a publisher model. */
|
|
5219
|
+
modelVersionId?: string;
|
|
5220
|
+
}
|
|
5114
5221
|
interface GoogleCloudAiplatformV1beta1RagFile {
|
|
5115
5222
|
/** Output only. Timestamp when this RagFile was created. */
|
|
5116
5223
|
createTime?: string;
|
|
@@ -5274,6 +5381,32 @@ declare namespace gapi.client {
|
|
|
5274
5381
|
progressMessage?: string;
|
|
5275
5382
|
}
|
|
5276
5383
|
interface GoogleCloudAiplatformV1beta1RebootPersistentResourceRequest {}
|
|
5384
|
+
interface GoogleCloudAiplatformV1beta1ReinforcementLearningDataStats {
|
|
5385
|
+
/** Output only. Statistics computed for the preference dataset. This can be either a human preference dataset or a preference dataset generated from AI feedback. */
|
|
5386
|
+
preferenceDatasetStats?: GoogleCloudAiplatformV1beta1DatasetStats;
|
|
5387
|
+
/** Output only. Statistics computed for the prompt dataset used during reinforcement learning. */
|
|
5388
|
+
promptDatasetStats?: GoogleCloudAiplatformV1beta1DatasetStats;
|
|
5389
|
+
}
|
|
5390
|
+
interface GoogleCloudAiplatformV1beta1ReinforcementLearningHyperParameters {
|
|
5391
|
+
/** Optional. Number of training epoches for the tuning job. */
|
|
5392
|
+
epochCount?: string;
|
|
5393
|
+
/** Configures Reinforcement Learning to use human feedback for preference data during tuning. */
|
|
5394
|
+
humanFeedbackConfig?: GoogleCloudAiplatformV1beta1HumanFeedbackConfig;
|
|
5395
|
+
/** Optional. KL divergence coefficient for Reinforcement Learning. */
|
|
5396
|
+
klCoefficient?: number;
|
|
5397
|
+
/** Optional. Learning rate multiplier for Reinforcement Learning. */
|
|
5398
|
+
learningRateMultiplier?: number;
|
|
5399
|
+
/** Configures Reinforcement Learning to train a reward model to learn preference. */
|
|
5400
|
+
rewardModelTrainingConfig?: GoogleCloudAiplatformV1beta1RewardModelTrainingConfig;
|
|
5401
|
+
}
|
|
5402
|
+
interface GoogleCloudAiplatformV1beta1ReinforcementLearningSpec {
|
|
5403
|
+
/** Optional. Additional hyper-parameters to use during tuning. */
|
|
5404
|
+
hyperParameters?: GoogleCloudAiplatformV1beta1ReinforcementLearningHyperParameters;
|
|
5405
|
+
/** Required. Cloud Storage path to the prompt dataset to use during Reinforcement Learning. */
|
|
5406
|
+
promptDatasetUri?: string;
|
|
5407
|
+
/** Optional. Cloud Storage path to the validation dataset to use during Reinforcement Learning. */
|
|
5408
|
+
validationDatasetUri?: string;
|
|
5409
|
+
}
|
|
5277
5410
|
interface GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest {
|
|
5278
5411
|
/** The resource names of the child Contexts. */
|
|
5279
5412
|
childContexts?: string[];
|
|
@@ -5386,6 +5519,12 @@ declare namespace gapi.client {
|
|
|
5386
5519
|
/** The contexts of the query. */
|
|
5387
5520
|
contexts?: GoogleCloudAiplatformV1beta1RagContexts;
|
|
5388
5521
|
}
|
|
5522
|
+
interface GoogleCloudAiplatformV1beta1RewardModelTrainingConfig {
|
|
5523
|
+
/** Optional. Number of training epoches for the reward model training job. */
|
|
5524
|
+
epochCount?: string;
|
|
5525
|
+
/** Optional. Learning rate multiplier for reward model training. */
|
|
5526
|
+
learningRateMultiplier?: number;
|
|
5527
|
+
}
|
|
5389
5528
|
interface GoogleCloudAiplatformV1beta1RougeInput {
|
|
5390
5529
|
/** Required. Repeated rouge instances. */
|
|
5391
5530
|
instances?: GoogleCloudAiplatformV1beta1RougeInstance[];
|
|
@@ -7089,6 +7228,10 @@ declare namespace gapi.client {
|
|
|
7089
7228
|
/** Required. Selector choosing Features of the target EntityType. Feature IDs will be deduplicated. */
|
|
7090
7229
|
featureSelector?: GoogleCloudAiplatformV1beta1FeatureSelector;
|
|
7091
7230
|
}
|
|
7231
|
+
interface GoogleCloudAiplatformV1beta1StreamRawPredictRequest {
|
|
7232
|
+
/** The prediction input. Supports HTTP headers and arbitrary data payload. */
|
|
7233
|
+
httpBody?: GoogleApiHttpBody;
|
|
7234
|
+
}
|
|
7092
7235
|
interface GoogleCloudAiplatformV1beta1StringArray {
|
|
7093
7236
|
/** A list of string values. */
|
|
7094
7237
|
values?: string[];
|
|
@@ -7846,6 +7989,10 @@ declare namespace gapi.client {
|
|
|
7846
7989
|
model?: string;
|
|
7847
7990
|
}
|
|
7848
7991
|
interface GoogleCloudAiplatformV1beta1TuningDataStats {
|
|
7992
|
+
/** Statistics for distillation. */
|
|
7993
|
+
distillationDataStats?: GoogleCloudAiplatformV1beta1DistillationDataStats;
|
|
7994
|
+
/** Statistics for reinforcement learning. */
|
|
7995
|
+
reinforcementLearningDataStats?: GoogleCloudAiplatformV1beta1ReinforcementLearningDataStats;
|
|
7849
7996
|
/** The SFT Tuning data stats. */
|
|
7850
7997
|
supervisedTuningDataStats?: GoogleCloudAiplatformV1beta1SupervisedTuningDataStats;
|
|
7851
7998
|
}
|
|
@@ -7872,6 +8019,8 @@ declare namespace gapi.client {
|
|
|
7872
8019
|
name?: string;
|
|
7873
8020
|
/** Output only. The resource name of the PipelineJob associated with the TuningJob. Format: `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}`. */
|
|
7874
8021
|
pipelineJob?: string;
|
|
8022
|
+
/** Tuning Spec for Reinforcement Learning. */
|
|
8023
|
+
reinforcementLearningSpec?: GoogleCloudAiplatformV1beta1ReinforcementLearningSpec;
|
|
7875
8024
|
/** Output only. Time when the TuningJob for the first time entered the `JOB_STATE_RUNNING` state. */
|
|
7876
8025
|
startTime?: string;
|
|
7877
8026
|
/** Output only. The detailed state of the job. */
|
|
@@ -8805,6 +8954,213 @@ declare namespace gapi.client {
|
|
|
8805
8954
|
uploadType?: string;
|
|
8806
8955
|
}): Request<GoogleCloudAiplatformV1beta1ListBatchPredictionJobsResponse>;
|
|
8807
8956
|
}
|
|
8957
|
+
interface CachedContentsResource {
|
|
8958
|
+
/** Creates cached content, this call will initialize the cached content in the data storage, and users need to pay for the cache data storage. */
|
|
8959
|
+
create(request: {
|
|
8960
|
+
/** V1 error format. */
|
|
8961
|
+
'$.xgafv'?: string;
|
|
8962
|
+
/** OAuth access token. */
|
|
8963
|
+
access_token?: string;
|
|
8964
|
+
/** Data format for response. */
|
|
8965
|
+
alt?: string;
|
|
8966
|
+
/** JSONP */
|
|
8967
|
+
callback?: string;
|
|
8968
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8969
|
+
fields?: string;
|
|
8970
|
+
/** 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. */
|
|
8971
|
+
key?: string;
|
|
8972
|
+
/** OAuth 2.0 token for the current user. */
|
|
8973
|
+
oauth_token?: string;
|
|
8974
|
+
/** Required. The parent resource where the cached content will be created */
|
|
8975
|
+
parent: string;
|
|
8976
|
+
/** Returns response with indentations and line breaks. */
|
|
8977
|
+
prettyPrint?: boolean;
|
|
8978
|
+
/** 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. */
|
|
8979
|
+
quotaUser?: string;
|
|
8980
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8981
|
+
upload_protocol?: string;
|
|
8982
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8983
|
+
uploadType?: string;
|
|
8984
|
+
/** Request body */
|
|
8985
|
+
resource: GoogleCloudAiplatformV1beta1CachedContent;
|
|
8986
|
+
}): Request<GoogleCloudAiplatformV1beta1CachedContent>;
|
|
8987
|
+
create(
|
|
8988
|
+
request: {
|
|
8989
|
+
/** V1 error format. */
|
|
8990
|
+
'$.xgafv'?: string;
|
|
8991
|
+
/** OAuth access token. */
|
|
8992
|
+
access_token?: string;
|
|
8993
|
+
/** Data format for response. */
|
|
8994
|
+
alt?: string;
|
|
8995
|
+
/** JSONP */
|
|
8996
|
+
callback?: string;
|
|
8997
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8998
|
+
fields?: string;
|
|
8999
|
+
/** 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. */
|
|
9000
|
+
key?: string;
|
|
9001
|
+
/** OAuth 2.0 token for the current user. */
|
|
9002
|
+
oauth_token?: string;
|
|
9003
|
+
/** Required. The parent resource where the cached content will be created */
|
|
9004
|
+
parent: string;
|
|
9005
|
+
/** Returns response with indentations and line breaks. */
|
|
9006
|
+
prettyPrint?: boolean;
|
|
9007
|
+
/** 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. */
|
|
9008
|
+
quotaUser?: string;
|
|
9009
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9010
|
+
upload_protocol?: string;
|
|
9011
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9012
|
+
uploadType?: string;
|
|
9013
|
+
},
|
|
9014
|
+
body: GoogleCloudAiplatformV1beta1CachedContent
|
|
9015
|
+
): Request<GoogleCloudAiplatformV1beta1CachedContent>;
|
|
9016
|
+
/** Deletes cached content */
|
|
9017
|
+
delete(request?: {
|
|
9018
|
+
/** V1 error format. */
|
|
9019
|
+
'$.xgafv'?: string;
|
|
9020
|
+
/** OAuth access token. */
|
|
9021
|
+
access_token?: string;
|
|
9022
|
+
/** Data format for response. */
|
|
9023
|
+
alt?: string;
|
|
9024
|
+
/** JSONP */
|
|
9025
|
+
callback?: string;
|
|
9026
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9027
|
+
fields?: string;
|
|
9028
|
+
/** 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. */
|
|
9029
|
+
key?: string;
|
|
9030
|
+
/** Required. The resource name referring to the cached content */
|
|
9031
|
+
name: string;
|
|
9032
|
+
/** OAuth 2.0 token for the current user. */
|
|
9033
|
+
oauth_token?: string;
|
|
9034
|
+
/** Returns response with indentations and line breaks. */
|
|
9035
|
+
prettyPrint?: boolean;
|
|
9036
|
+
/** 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. */
|
|
9037
|
+
quotaUser?: string;
|
|
9038
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9039
|
+
upload_protocol?: string;
|
|
9040
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9041
|
+
uploadType?: string;
|
|
9042
|
+
}): Request<{}>;
|
|
9043
|
+
/** Gets cached content configurations */
|
|
9044
|
+
get(request?: {
|
|
9045
|
+
/** V1 error format. */
|
|
9046
|
+
'$.xgafv'?: string;
|
|
9047
|
+
/** OAuth access token. */
|
|
9048
|
+
access_token?: string;
|
|
9049
|
+
/** Data format for response. */
|
|
9050
|
+
alt?: string;
|
|
9051
|
+
/** JSONP */
|
|
9052
|
+
callback?: string;
|
|
9053
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9054
|
+
fields?: string;
|
|
9055
|
+
/** 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. */
|
|
9056
|
+
key?: string;
|
|
9057
|
+
/** Required. The resource name referring to the cached content */
|
|
9058
|
+
name: string;
|
|
9059
|
+
/** OAuth 2.0 token for the current user. */
|
|
9060
|
+
oauth_token?: string;
|
|
9061
|
+
/** Returns response with indentations and line breaks. */
|
|
9062
|
+
prettyPrint?: boolean;
|
|
9063
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
9064
|
+
quotaUser?: string;
|
|
9065
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9066
|
+
upload_protocol?: string;
|
|
9067
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9068
|
+
uploadType?: string;
|
|
9069
|
+
}): Request<GoogleCloudAiplatformV1beta1CachedContent>;
|
|
9070
|
+
/** Lists cached contents in a project */
|
|
9071
|
+
list(request?: {
|
|
9072
|
+
/** V1 error format. */
|
|
9073
|
+
'$.xgafv'?: string;
|
|
9074
|
+
/** OAuth access token. */
|
|
9075
|
+
access_token?: string;
|
|
9076
|
+
/** Data format for response. */
|
|
9077
|
+
alt?: string;
|
|
9078
|
+
/** JSONP */
|
|
9079
|
+
callback?: string;
|
|
9080
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9081
|
+
fields?: string;
|
|
9082
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
9083
|
+
key?: string;
|
|
9084
|
+
/** OAuth 2.0 token for the current user. */
|
|
9085
|
+
oauth_token?: string;
|
|
9086
|
+
/** Optional. The maximum number of cached contents to return. The service may return fewer than this value. If unspecified, some default (under maximum) number of items will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
|
|
9087
|
+
pageSize?: number;
|
|
9088
|
+
/** Optional. A page token, received from a previous `ListCachedContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCachedContents` must match the call that provided the page token. */
|
|
9089
|
+
pageToken?: string;
|
|
9090
|
+
/** Required. The parent, which owns this collection of cached contents. */
|
|
9091
|
+
parent: string;
|
|
9092
|
+
/** Returns response with indentations and line breaks. */
|
|
9093
|
+
prettyPrint?: boolean;
|
|
9094
|
+
/** 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. */
|
|
9095
|
+
quotaUser?: string;
|
|
9096
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9097
|
+
upload_protocol?: string;
|
|
9098
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9099
|
+
uploadType?: string;
|
|
9100
|
+
}): Request<GoogleCloudAiplatformV1beta1ListCachedContentsResponse>;
|
|
9101
|
+
/** Updates cached content configurations */
|
|
9102
|
+
patch(request: {
|
|
9103
|
+
/** V1 error format. */
|
|
9104
|
+
'$.xgafv'?: string;
|
|
9105
|
+
/** OAuth access token. */
|
|
9106
|
+
access_token?: string;
|
|
9107
|
+
/** Data format for response. */
|
|
9108
|
+
alt?: string;
|
|
9109
|
+
/** JSONP */
|
|
9110
|
+
callback?: string;
|
|
9111
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9112
|
+
fields?: string;
|
|
9113
|
+
/** 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. */
|
|
9114
|
+
key?: string;
|
|
9115
|
+
/** Immutable. Identifier. The resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content} */
|
|
9116
|
+
name: string;
|
|
9117
|
+
/** OAuth 2.0 token for the current user. */
|
|
9118
|
+
oauth_token?: string;
|
|
9119
|
+
/** Returns response with indentations and line breaks. */
|
|
9120
|
+
prettyPrint?: boolean;
|
|
9121
|
+
/** 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. */
|
|
9122
|
+
quotaUser?: string;
|
|
9123
|
+
/** Required. The list of fields to update. */
|
|
9124
|
+
updateMask?: string;
|
|
9125
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9126
|
+
upload_protocol?: string;
|
|
9127
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9128
|
+
uploadType?: string;
|
|
9129
|
+
/** Request body */
|
|
9130
|
+
resource: GoogleCloudAiplatformV1beta1CachedContent;
|
|
9131
|
+
}): Request<GoogleCloudAiplatformV1beta1CachedContent>;
|
|
9132
|
+
patch(
|
|
9133
|
+
request: {
|
|
9134
|
+
/** V1 error format. */
|
|
9135
|
+
'$.xgafv'?: string;
|
|
9136
|
+
/** OAuth access token. */
|
|
9137
|
+
access_token?: string;
|
|
9138
|
+
/** Data format for response. */
|
|
9139
|
+
alt?: string;
|
|
9140
|
+
/** JSONP */
|
|
9141
|
+
callback?: string;
|
|
9142
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9143
|
+
fields?: string;
|
|
9144
|
+
/** 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. */
|
|
9145
|
+
key?: string;
|
|
9146
|
+
/** Immutable. Identifier. The resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content} */
|
|
9147
|
+
name: string;
|
|
9148
|
+
/** OAuth 2.0 token for the current user. */
|
|
9149
|
+
oauth_token?: string;
|
|
9150
|
+
/** Returns response with indentations and line breaks. */
|
|
9151
|
+
prettyPrint?: boolean;
|
|
9152
|
+
/** 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. */
|
|
9153
|
+
quotaUser?: string;
|
|
9154
|
+
/** Required. The list of fields to update. */
|
|
9155
|
+
updateMask?: string;
|
|
9156
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9157
|
+
upload_protocol?: string;
|
|
9158
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9159
|
+
uploadType?: string;
|
|
9160
|
+
},
|
|
9161
|
+
body: GoogleCloudAiplatformV1beta1CachedContent
|
|
9162
|
+
): Request<GoogleCloudAiplatformV1beta1CachedContent>;
|
|
9163
|
+
}
|
|
8808
9164
|
interface OperationsResource {
|
|
8809
9165
|
/** 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`. */
|
|
8810
9166
|
cancel(request?: {
|
|
@@ -12693,6 +13049,64 @@ declare namespace gapi.client {
|
|
|
12693
13049
|
},
|
|
12694
13050
|
body: GoogleCloudAiplatformV1beta1GenerateContentRequest
|
|
12695
13051
|
): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
|
|
13052
|
+
/** Perform a streaming online prediction with an arbitrary HTTP payload. */
|
|
13053
|
+
streamRawPredict(request: {
|
|
13054
|
+
/** V1 error format. */
|
|
13055
|
+
'$.xgafv'?: string;
|
|
13056
|
+
/** OAuth access token. */
|
|
13057
|
+
access_token?: string;
|
|
13058
|
+
/** Data format for response. */
|
|
13059
|
+
alt?: string;
|
|
13060
|
+
/** JSONP */
|
|
13061
|
+
callback?: string;
|
|
13062
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
13063
|
+
endpoint: string;
|
|
13064
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13065
|
+
fields?: string;
|
|
13066
|
+
/** 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. */
|
|
13067
|
+
key?: string;
|
|
13068
|
+
/** OAuth 2.0 token for the current user. */
|
|
13069
|
+
oauth_token?: string;
|
|
13070
|
+
/** Returns response with indentations and line breaks. */
|
|
13071
|
+
prettyPrint?: boolean;
|
|
13072
|
+
/** 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. */
|
|
13073
|
+
quotaUser?: string;
|
|
13074
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13075
|
+
upload_protocol?: string;
|
|
13076
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13077
|
+
uploadType?: string;
|
|
13078
|
+
/** Request body */
|
|
13079
|
+
resource: GoogleCloudAiplatformV1beta1StreamRawPredictRequest;
|
|
13080
|
+
}): Request<GoogleApiHttpBody>;
|
|
13081
|
+
streamRawPredict(
|
|
13082
|
+
request: {
|
|
13083
|
+
/** V1 error format. */
|
|
13084
|
+
'$.xgafv'?: string;
|
|
13085
|
+
/** OAuth access token. */
|
|
13086
|
+
access_token?: string;
|
|
13087
|
+
/** Data format for response. */
|
|
13088
|
+
alt?: string;
|
|
13089
|
+
/** JSONP */
|
|
13090
|
+
callback?: string;
|
|
13091
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
13092
|
+
endpoint: string;
|
|
13093
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13094
|
+
fields?: string;
|
|
13095
|
+
/** 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. */
|
|
13096
|
+
key?: string;
|
|
13097
|
+
/** OAuth 2.0 token for the current user. */
|
|
13098
|
+
oauth_token?: string;
|
|
13099
|
+
/** Returns response with indentations and line breaks. */
|
|
13100
|
+
prettyPrint?: boolean;
|
|
13101
|
+
/** 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. */
|
|
13102
|
+
quotaUser?: string;
|
|
13103
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13104
|
+
upload_protocol?: string;
|
|
13105
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13106
|
+
uploadType?: string;
|
|
13107
|
+
},
|
|
13108
|
+
body: GoogleCloudAiplatformV1beta1StreamRawPredictRequest
|
|
13109
|
+
): Request<GoogleApiHttpBody>;
|
|
12696
13110
|
/** 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. */
|
|
12697
13111
|
testIamPermissions(request?: {
|
|
12698
13112
|
/** V1 error format. */
|
|
@@ -13573,7 +13987,7 @@ declare namespace gapi.client {
|
|
|
13573
13987
|
prettyPrint?: boolean;
|
|
13574
13988
|
/** 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. */
|
|
13575
13989
|
quotaUser?: string;
|
|
13576
|
-
/** Required. Mask specifying which fields to update. Supported fields: * `display_name` * `description` * `tool_use_examples` */
|
|
13990
|
+
/** Required. Mask specifying which fields to update. Supported fields: * `display_name` * `description` * `runtime_config` * `tool_use_examples` * `manifest.description` */
|
|
13577
13991
|
updateMask?: string;
|
|
13578
13992
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13579
13993
|
upload_protocol?: string;
|
|
@@ -13604,7 +14018,7 @@ declare namespace gapi.client {
|
|
|
13604
14018
|
prettyPrint?: boolean;
|
|
13605
14019
|
/** 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. */
|
|
13606
14020
|
quotaUser?: string;
|
|
13607
|
-
/** Required. Mask specifying which fields to update. Supported fields: * `display_name` * `description` * `tool_use_examples` */
|
|
14021
|
+
/** Required. Mask specifying which fields to update. Supported fields: * `display_name` * `description` * `runtime_config` * `tool_use_examples` * `manifest.description` */
|
|
13608
14022
|
updateMask?: string;
|
|
13609
14023
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13610
14024
|
upload_protocol?: string;
|
|
@@ -23590,6 +24004,68 @@ declare namespace gapi.client {
|
|
|
23590
24004
|
nasTrialDetails: NasTrialDetailsResource;
|
|
23591
24005
|
}
|
|
23592
24006
|
interface NotebookExecutionJobsResource {
|
|
24007
|
+
/** Creates a NotebookExecutionJob. */
|
|
24008
|
+
create(request: {
|
|
24009
|
+
/** V1 error format. */
|
|
24010
|
+
'$.xgafv'?: string;
|
|
24011
|
+
/** OAuth access token. */
|
|
24012
|
+
access_token?: string;
|
|
24013
|
+
/** Data format for response. */
|
|
24014
|
+
alt?: string;
|
|
24015
|
+
/** JSONP */
|
|
24016
|
+
callback?: string;
|
|
24017
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24018
|
+
fields?: string;
|
|
24019
|
+
/** 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. */
|
|
24020
|
+
key?: string;
|
|
24021
|
+
/** Optional. User specified ID for the NotebookExecutionJob. */
|
|
24022
|
+
notebookExecutionJobId?: string;
|
|
24023
|
+
/** OAuth 2.0 token for the current user. */
|
|
24024
|
+
oauth_token?: string;
|
|
24025
|
+
/** Required. The resource name of the Location to create the NotebookExecutionJob. Format: `projects/{project}/locations/{location}` */
|
|
24026
|
+
parent: string;
|
|
24027
|
+
/** Returns response with indentations and line breaks. */
|
|
24028
|
+
prettyPrint?: boolean;
|
|
24029
|
+
/** 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. */
|
|
24030
|
+
quotaUser?: string;
|
|
24031
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24032
|
+
upload_protocol?: string;
|
|
24033
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24034
|
+
uploadType?: string;
|
|
24035
|
+
/** Request body */
|
|
24036
|
+
resource: GoogleCloudAiplatformV1beta1NotebookExecutionJob;
|
|
24037
|
+
}): Request<GoogleLongrunningOperation>;
|
|
24038
|
+
create(
|
|
24039
|
+
request: {
|
|
24040
|
+
/** V1 error format. */
|
|
24041
|
+
'$.xgafv'?: string;
|
|
24042
|
+
/** OAuth access token. */
|
|
24043
|
+
access_token?: string;
|
|
24044
|
+
/** Data format for response. */
|
|
24045
|
+
alt?: string;
|
|
24046
|
+
/** JSONP */
|
|
24047
|
+
callback?: string;
|
|
24048
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24049
|
+
fields?: string;
|
|
24050
|
+
/** 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. */
|
|
24051
|
+
key?: string;
|
|
24052
|
+
/** Optional. User specified ID for the NotebookExecutionJob. */
|
|
24053
|
+
notebookExecutionJobId?: string;
|
|
24054
|
+
/** OAuth 2.0 token for the current user. */
|
|
24055
|
+
oauth_token?: string;
|
|
24056
|
+
/** Required. The resource name of the Location to create the NotebookExecutionJob. Format: `projects/{project}/locations/{location}` */
|
|
24057
|
+
parent: string;
|
|
24058
|
+
/** Returns response with indentations and line breaks. */
|
|
24059
|
+
prettyPrint?: boolean;
|
|
24060
|
+
/** 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. */
|
|
24061
|
+
quotaUser?: string;
|
|
24062
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24063
|
+
upload_protocol?: string;
|
|
24064
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24065
|
+
uploadType?: string;
|
|
24066
|
+
},
|
|
24067
|
+
body: GoogleCloudAiplatformV1beta1NotebookExecutionJob
|
|
24068
|
+
): Request<GoogleLongrunningOperation>;
|
|
23593
24069
|
/** Deletes a NotebookExecutionJob. */
|
|
23594
24070
|
delete(request?: {
|
|
23595
24071
|
/** V1 error format. */
|
|
@@ -24364,6 +24840,68 @@ declare namespace gapi.client {
|
|
|
24364
24840
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24365
24841
|
uploadType?: string;
|
|
24366
24842
|
}): Request<GoogleCloudAiplatformV1beta1ListNotebookRuntimeTemplatesResponse>;
|
|
24843
|
+
/** Updates a NotebookRuntimeTemplate. */
|
|
24844
|
+
patch(request: {
|
|
24845
|
+
/** V1 error format. */
|
|
24846
|
+
'$.xgafv'?: string;
|
|
24847
|
+
/** OAuth access token. */
|
|
24848
|
+
access_token?: string;
|
|
24849
|
+
/** Data format for response. */
|
|
24850
|
+
alt?: string;
|
|
24851
|
+
/** JSONP */
|
|
24852
|
+
callback?: string;
|
|
24853
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24854
|
+
fields?: string;
|
|
24855
|
+
/** 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. */
|
|
24856
|
+
key?: string;
|
|
24857
|
+
/** The resource name of the NotebookRuntimeTemplate. */
|
|
24858
|
+
name: string;
|
|
24859
|
+
/** OAuth 2.0 token for the current user. */
|
|
24860
|
+
oauth_token?: string;
|
|
24861
|
+
/** Returns response with indentations and line breaks. */
|
|
24862
|
+
prettyPrint?: boolean;
|
|
24863
|
+
/** 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. */
|
|
24864
|
+
quotaUser?: string;
|
|
24865
|
+
/** Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Input format: `{paths: "${updated_filed}"}` Updatable fields: * `encryption_spec.kms_key_name` */
|
|
24866
|
+
updateMask?: string;
|
|
24867
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24868
|
+
upload_protocol?: string;
|
|
24869
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24870
|
+
uploadType?: string;
|
|
24871
|
+
/** Request body */
|
|
24872
|
+
resource: GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate;
|
|
24873
|
+
}): Request<GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate>;
|
|
24874
|
+
patch(
|
|
24875
|
+
request: {
|
|
24876
|
+
/** V1 error format. */
|
|
24877
|
+
'$.xgafv'?: string;
|
|
24878
|
+
/** OAuth access token. */
|
|
24879
|
+
access_token?: string;
|
|
24880
|
+
/** Data format for response. */
|
|
24881
|
+
alt?: string;
|
|
24882
|
+
/** JSONP */
|
|
24883
|
+
callback?: string;
|
|
24884
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24885
|
+
fields?: string;
|
|
24886
|
+
/** 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. */
|
|
24887
|
+
key?: string;
|
|
24888
|
+
/** The resource name of the NotebookRuntimeTemplate. */
|
|
24889
|
+
name: string;
|
|
24890
|
+
/** OAuth 2.0 token for the current user. */
|
|
24891
|
+
oauth_token?: string;
|
|
24892
|
+
/** Returns response with indentations and line breaks. */
|
|
24893
|
+
prettyPrint?: boolean;
|
|
24894
|
+
/** 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. */
|
|
24895
|
+
quotaUser?: string;
|
|
24896
|
+
/** Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Input format: `{paths: "${updated_filed}"}` Updatable fields: * `encryption_spec.kms_key_name` */
|
|
24897
|
+
updateMask?: string;
|
|
24898
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24899
|
+
upload_protocol?: string;
|
|
24900
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24901
|
+
uploadType?: string;
|
|
24902
|
+
},
|
|
24903
|
+
body: GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate
|
|
24904
|
+
): Request<GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate>;
|
|
24367
24905
|
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
24368
24906
|
setIamPolicy(
|
|
24369
24907
|
request: {
|
|
@@ -25895,6 +26433,64 @@ declare namespace gapi.client {
|
|
|
25895
26433
|
},
|
|
25896
26434
|
body: GoogleCloudAiplatformV1beta1GenerateContentRequest
|
|
25897
26435
|
): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
|
|
26436
|
+
/** Perform a streaming online prediction with an arbitrary HTTP payload. */
|
|
26437
|
+
streamRawPredict(request: {
|
|
26438
|
+
/** V1 error format. */
|
|
26439
|
+
'$.xgafv'?: string;
|
|
26440
|
+
/** OAuth access token. */
|
|
26441
|
+
access_token?: string;
|
|
26442
|
+
/** Data format for response. */
|
|
26443
|
+
alt?: string;
|
|
26444
|
+
/** JSONP */
|
|
26445
|
+
callback?: string;
|
|
26446
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
26447
|
+
endpoint: string;
|
|
26448
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
26449
|
+
fields?: string;
|
|
26450
|
+
/** 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. */
|
|
26451
|
+
key?: string;
|
|
26452
|
+
/** OAuth 2.0 token for the current user. */
|
|
26453
|
+
oauth_token?: string;
|
|
26454
|
+
/** Returns response with indentations and line breaks. */
|
|
26455
|
+
prettyPrint?: boolean;
|
|
26456
|
+
/** 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. */
|
|
26457
|
+
quotaUser?: string;
|
|
26458
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
26459
|
+
upload_protocol?: string;
|
|
26460
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26461
|
+
uploadType?: string;
|
|
26462
|
+
/** Request body */
|
|
26463
|
+
resource: GoogleCloudAiplatformV1beta1StreamRawPredictRequest;
|
|
26464
|
+
}): Request<GoogleApiHttpBody>;
|
|
26465
|
+
streamRawPredict(
|
|
26466
|
+
request: {
|
|
26467
|
+
/** V1 error format. */
|
|
26468
|
+
'$.xgafv'?: string;
|
|
26469
|
+
/** OAuth access token. */
|
|
26470
|
+
access_token?: string;
|
|
26471
|
+
/** Data format for response. */
|
|
26472
|
+
alt?: string;
|
|
26473
|
+
/** JSONP */
|
|
26474
|
+
callback?: string;
|
|
26475
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
26476
|
+
endpoint: string;
|
|
26477
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
26478
|
+
fields?: string;
|
|
26479
|
+
/** 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. */
|
|
26480
|
+
key?: string;
|
|
26481
|
+
/** OAuth 2.0 token for the current user. */
|
|
26482
|
+
oauth_token?: string;
|
|
26483
|
+
/** Returns response with indentations and line breaks. */
|
|
26484
|
+
prettyPrint?: boolean;
|
|
26485
|
+
/** 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. */
|
|
26486
|
+
quotaUser?: string;
|
|
26487
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
26488
|
+
upload_protocol?: string;
|
|
26489
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26490
|
+
uploadType?: string;
|
|
26491
|
+
},
|
|
26492
|
+
body: GoogleCloudAiplatformV1beta1StreamRawPredictRequest
|
|
26493
|
+
): Request<GoogleApiHttpBody>;
|
|
25898
26494
|
}
|
|
25899
26495
|
interface PublishersResource {
|
|
25900
26496
|
models: ModelsResource;
|
|
@@ -31403,6 +31999,7 @@ declare namespace gapi.client {
|
|
|
31403
31999
|
agents: AgentsResource;
|
|
31404
32000
|
apps: AppsResource;
|
|
31405
32001
|
batchPredictionJobs: BatchPredictionJobsResource;
|
|
32002
|
+
cachedContents: CachedContentsResource;
|
|
31406
32003
|
customJobs: CustomJobsResource;
|
|
31407
32004
|
dataLabelingJobs: DataLabelingJobsResource;
|
|
31408
32005
|
datasets: DatasetsResource;
|