@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20240520 → 0.0.20240529
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 +521 -34
- 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: 20240529
|
|
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;
|
|
@@ -2883,6 +2982,12 @@ declare namespace gapi.client {
|
|
|
2883
2982
|
/** A token to retrieve the next page of results. Pass to ListBatchPredictionJobsRequest.page_token to obtain that page. */
|
|
2884
2983
|
nextPageToken?: string;
|
|
2885
2984
|
}
|
|
2985
|
+
interface GoogleCloudAiplatformV1beta1ListCachedContentsResponse {
|
|
2986
|
+
/** List of cached contents. */
|
|
2987
|
+
cachedContents?: GoogleCloudAiplatformV1beta1CachedContent[];
|
|
2988
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
2989
|
+
nextPageToken?: string;
|
|
2990
|
+
}
|
|
2886
2991
|
interface GoogleCloudAiplatformV1beta1ListContextsResponse {
|
|
2887
2992
|
/** The Contexts retrieved from the MetadataStore. */
|
|
2888
2993
|
contexts?: GoogleCloudAiplatformV1beta1Context[];
|
|
@@ -3707,6 +3812,14 @@ declare namespace gapi.client {
|
|
|
3707
3812
|
/** A Google Cloud Storage location for batch prediction model monitoring to dump statistics and anomalies. If not provided, a folder will be created in customer project to hold statistics and anomalies. */
|
|
3708
3813
|
statsAnomaliesBaseDirectory?: GoogleCloudAiplatformV1beta1GcsDestination;
|
|
3709
3814
|
}
|
|
3815
|
+
interface GoogleCloudAiplatformV1beta1ModelMonitoringGenAiStats {
|
|
3816
|
+
/** The data points of this time series. When listing time series, points are returned in reverse time order. */
|
|
3817
|
+
dataPoints?: GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPoint[];
|
|
3818
|
+
/** One of the supported monitoring objectives: `gen-ai-general` `gen-ai-evaluation` `gen-ai-safety` */
|
|
3819
|
+
objectiveType?: string;
|
|
3820
|
+
/** The stats name. */
|
|
3821
|
+
statsName?: string;
|
|
3822
|
+
}
|
|
3710
3823
|
interface GoogleCloudAiplatformV1beta1ModelMonitoringInput {
|
|
3711
3824
|
/** Vertex AI Batch prediction Job. */
|
|
3712
3825
|
batchPredictionOutput?: GoogleCloudAiplatformV1beta1ModelMonitoringInputBatchPredictionOutput;
|
|
@@ -3944,6 +4057,8 @@ declare namespace gapi.client {
|
|
|
3944
4057
|
outputSpec?: GoogleCloudAiplatformV1beta1ModelMonitoringOutputSpec;
|
|
3945
4058
|
}
|
|
3946
4059
|
interface GoogleCloudAiplatformV1beta1ModelMonitoringStats {
|
|
4060
|
+
/** Generated gen ai statistics. */
|
|
4061
|
+
genAiStats?: GoogleCloudAiplatformV1beta1ModelMonitoringGenAiStats;
|
|
3947
4062
|
/** Generated tabular statistics. */
|
|
3948
4063
|
tabularStats?: GoogleCloudAiplatformV1beta1ModelMonitoringTabularStats;
|
|
3949
4064
|
}
|
|
@@ -4311,14 +4426,6 @@ declare namespace gapi.client {
|
|
|
4311
4426
|
/** 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
4427
|
idleTimeout?: string;
|
|
4313
4428
|
}
|
|
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
4429
|
interface GoogleCloudAiplatformV1beta1NotebookRuntime {
|
|
4323
4430
|
/** Output only. Timestamp when this NotebookRuntime was created. */
|
|
4324
4431
|
createTime?: string;
|
|
@@ -4348,8 +4455,6 @@ declare namespace gapi.client {
|
|
|
4348
4455
|
notebookRuntimeType?: string;
|
|
4349
4456
|
/** Output only. The proxy endpoint used to access the NotebookRuntime. */
|
|
4350
4457
|
proxyUri?: string;
|
|
4351
|
-
/** Output only. Reservation Affinity of the notebook runtime. */
|
|
4352
|
-
reservationAffinity?: GoogleCloudAiplatformV1beta1NotebookReservationAffinity;
|
|
4353
4458
|
/** Output only. The runtime (instance) state of the NotebookRuntime. */
|
|
4354
4459
|
runtimeState?: string;
|
|
4355
4460
|
/** Required. The user email of the NotebookRuntime. */
|
|
@@ -4396,8 +4501,6 @@ declare namespace gapi.client {
|
|
|
4396
4501
|
networkTags?: string[];
|
|
4397
4502
|
/** Optional. Immutable. The type of the notebook runtime template. */
|
|
4398
4503
|
notebookRuntimeType?: string;
|
|
4399
|
-
/** Optional. Reservation Affinity of the notebook runtime template. */
|
|
4400
|
-
reservationAffinity?: GoogleCloudAiplatformV1beta1NotebookReservationAffinity;
|
|
4401
4504
|
/** 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
4505
|
serviceAccount?: string;
|
|
4403
4506
|
/** Optional. Immutable. Runtime Shielded VM spec. */
|
|
@@ -5274,6 +5377,32 @@ declare namespace gapi.client {
|
|
|
5274
5377
|
progressMessage?: string;
|
|
5275
5378
|
}
|
|
5276
5379
|
interface GoogleCloudAiplatformV1beta1RebootPersistentResourceRequest {}
|
|
5380
|
+
interface GoogleCloudAiplatformV1beta1ReinforcementLearningDataStats {
|
|
5381
|
+
/** Output only. Statistics computed for the preference dataset. This can be either a human preference dataset or a preference dataset generated from AI feedback. */
|
|
5382
|
+
preferenceDatasetStats?: GoogleCloudAiplatformV1beta1DatasetStats;
|
|
5383
|
+
/** Output only. Statistics computed for the prompt dataset used during reinforcement learning. */
|
|
5384
|
+
promptDatasetStats?: GoogleCloudAiplatformV1beta1DatasetStats;
|
|
5385
|
+
}
|
|
5386
|
+
interface GoogleCloudAiplatformV1beta1ReinforcementLearningHyperParameters {
|
|
5387
|
+
/** Optional. Number of training epoches for the tuning job. */
|
|
5388
|
+
epochCount?: string;
|
|
5389
|
+
/** Configures Reinforcement Learning to use human feedback for preference data during tuning. */
|
|
5390
|
+
humanFeedbackConfig?: GoogleCloudAiplatformV1beta1HumanFeedbackConfig;
|
|
5391
|
+
/** Optional. KL divergence coefficient for Reinforcement Learning. */
|
|
5392
|
+
klCoefficient?: number;
|
|
5393
|
+
/** Optional. Learning rate multiplier for Reinforcement Learning. */
|
|
5394
|
+
learningRateMultiplier?: number;
|
|
5395
|
+
/** Configures Reinforcement Learning to train a reward model to learn preference. */
|
|
5396
|
+
rewardModelTrainingConfig?: GoogleCloudAiplatformV1beta1RewardModelTrainingConfig;
|
|
5397
|
+
}
|
|
5398
|
+
interface GoogleCloudAiplatformV1beta1ReinforcementLearningSpec {
|
|
5399
|
+
/** Optional. Additional hyper-parameters to use during tuning. */
|
|
5400
|
+
hyperParameters?: GoogleCloudAiplatformV1beta1ReinforcementLearningHyperParameters;
|
|
5401
|
+
/** Required. Cloud Storage path to the prompt dataset to use during Reinforcement Learning. */
|
|
5402
|
+
promptDatasetUri?: string;
|
|
5403
|
+
/** Optional. Cloud Storage path to the validation dataset to use during Reinforcement Learning. */
|
|
5404
|
+
validationDatasetUri?: string;
|
|
5405
|
+
}
|
|
5277
5406
|
interface GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest {
|
|
5278
5407
|
/** The resource names of the child Contexts. */
|
|
5279
5408
|
childContexts?: string[];
|
|
@@ -5386,6 +5515,12 @@ declare namespace gapi.client {
|
|
|
5386
5515
|
/** The contexts of the query. */
|
|
5387
5516
|
contexts?: GoogleCloudAiplatformV1beta1RagContexts;
|
|
5388
5517
|
}
|
|
5518
|
+
interface GoogleCloudAiplatformV1beta1RewardModelTrainingConfig {
|
|
5519
|
+
/** Optional. Number of training epoches for the reward model training job. */
|
|
5520
|
+
epochCount?: string;
|
|
5521
|
+
/** Optional. Learning rate multiplier for reward model training. */
|
|
5522
|
+
learningRateMultiplier?: number;
|
|
5523
|
+
}
|
|
5389
5524
|
interface GoogleCloudAiplatformV1beta1RougeInput {
|
|
5390
5525
|
/** Required. Repeated rouge instances. */
|
|
5391
5526
|
instances?: GoogleCloudAiplatformV1beta1RougeInstance[];
|
|
@@ -6969,9 +7104,23 @@ declare namespace gapi.client {
|
|
|
6969
7104
|
totalNumberAlerts?: string;
|
|
6970
7105
|
}
|
|
6971
7106
|
interface GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilter {
|
|
7107
|
+
/** GenAi statistics filter. */
|
|
7108
|
+
genAiStatsFilter?: GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterGenAiStatsFilter;
|
|
6972
7109
|
/** Tabular statistics filter. */
|
|
6973
7110
|
tabularStatsFilter?: GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterTabularStatsFilter;
|
|
6974
7111
|
}
|
|
7112
|
+
interface GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterGenAiStatsFilter {
|
|
7113
|
+
/** From a particular cluster of monitoring results. */
|
|
7114
|
+
clusterId?: string;
|
|
7115
|
+
/** From a particular monitoring job. */
|
|
7116
|
+
modelMonitoringJob?: string;
|
|
7117
|
+
/** From a particular monitoring schedule. */
|
|
7118
|
+
modelMonitoringSchedule?: string;
|
|
7119
|
+
/** One of the supported monitoring objectives: `gen-ai-general` `gen-ai-evaluation` `gen-ai-safety` */
|
|
7120
|
+
objectiveType?: string;
|
|
7121
|
+
/** If not specified, will return all the stats_names. */
|
|
7122
|
+
statsName?: string;
|
|
7123
|
+
}
|
|
6975
7124
|
interface GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterTabularStatsFilter {
|
|
6976
7125
|
/** Specify the algorithm type used for distance calculation, eg: jensen_shannon_divergence, l_infinity. */
|
|
6977
7126
|
algorithm?: string;
|
|
@@ -7846,6 +7995,10 @@ declare namespace gapi.client {
|
|
|
7846
7995
|
model?: string;
|
|
7847
7996
|
}
|
|
7848
7997
|
interface GoogleCloudAiplatformV1beta1TuningDataStats {
|
|
7998
|
+
/** Statistics for distillation. */
|
|
7999
|
+
distillationDataStats?: GoogleCloudAiplatformV1beta1DistillationDataStats;
|
|
8000
|
+
/** Statistics for reinforcement learning. */
|
|
8001
|
+
reinforcementLearningDataStats?: GoogleCloudAiplatformV1beta1ReinforcementLearningDataStats;
|
|
7849
8002
|
/** The SFT Tuning data stats. */
|
|
7850
8003
|
supervisedTuningDataStats?: GoogleCloudAiplatformV1beta1SupervisedTuningDataStats;
|
|
7851
8004
|
}
|
|
@@ -7872,6 +8025,8 @@ declare namespace gapi.client {
|
|
|
7872
8025
|
name?: string;
|
|
7873
8026
|
/** Output only. The resource name of the PipelineJob associated with the TuningJob. Format: `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}`. */
|
|
7874
8027
|
pipelineJob?: string;
|
|
8028
|
+
/** Tuning Spec for Reinforcement Learning. */
|
|
8029
|
+
reinforcementLearningSpec?: GoogleCloudAiplatformV1beta1ReinforcementLearningSpec;
|
|
7875
8030
|
/** Output only. Time when the TuningJob for the first time entered the `JOB_STATE_RUNNING` state. */
|
|
7876
8031
|
startTime?: string;
|
|
7877
8032
|
/** Output only. The detailed state of the job. */
|
|
@@ -8805,6 +8960,213 @@ declare namespace gapi.client {
|
|
|
8805
8960
|
uploadType?: string;
|
|
8806
8961
|
}): Request<GoogleCloudAiplatformV1beta1ListBatchPredictionJobsResponse>;
|
|
8807
8962
|
}
|
|
8963
|
+
interface CachedContentsResource {
|
|
8964
|
+
/** Creates cached content, this call will initialize the cached content in the data storage, and users need to pay for the cache data storage. */
|
|
8965
|
+
create(request: {
|
|
8966
|
+
/** V1 error format. */
|
|
8967
|
+
'$.xgafv'?: string;
|
|
8968
|
+
/** OAuth access token. */
|
|
8969
|
+
access_token?: string;
|
|
8970
|
+
/** Data format for response. */
|
|
8971
|
+
alt?: string;
|
|
8972
|
+
/** JSONP */
|
|
8973
|
+
callback?: string;
|
|
8974
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8975
|
+
fields?: string;
|
|
8976
|
+
/** 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. */
|
|
8977
|
+
key?: string;
|
|
8978
|
+
/** OAuth 2.0 token for the current user. */
|
|
8979
|
+
oauth_token?: string;
|
|
8980
|
+
/** Required. The parent resource where the cached content will be created */
|
|
8981
|
+
parent: string;
|
|
8982
|
+
/** Returns response with indentations and line breaks. */
|
|
8983
|
+
prettyPrint?: boolean;
|
|
8984
|
+
/** 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. */
|
|
8985
|
+
quotaUser?: string;
|
|
8986
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8987
|
+
upload_protocol?: string;
|
|
8988
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8989
|
+
uploadType?: string;
|
|
8990
|
+
/** Request body */
|
|
8991
|
+
resource: GoogleCloudAiplatformV1beta1CachedContent;
|
|
8992
|
+
}): Request<GoogleCloudAiplatformV1beta1CachedContent>;
|
|
8993
|
+
create(
|
|
8994
|
+
request: {
|
|
8995
|
+
/** V1 error format. */
|
|
8996
|
+
'$.xgafv'?: string;
|
|
8997
|
+
/** OAuth access token. */
|
|
8998
|
+
access_token?: string;
|
|
8999
|
+
/** Data format for response. */
|
|
9000
|
+
alt?: string;
|
|
9001
|
+
/** JSONP */
|
|
9002
|
+
callback?: string;
|
|
9003
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9004
|
+
fields?: string;
|
|
9005
|
+
/** 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. */
|
|
9006
|
+
key?: string;
|
|
9007
|
+
/** OAuth 2.0 token for the current user. */
|
|
9008
|
+
oauth_token?: string;
|
|
9009
|
+
/** Required. The parent resource where the cached content will be created */
|
|
9010
|
+
parent: string;
|
|
9011
|
+
/** Returns response with indentations and line breaks. */
|
|
9012
|
+
prettyPrint?: boolean;
|
|
9013
|
+
/** 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. */
|
|
9014
|
+
quotaUser?: string;
|
|
9015
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9016
|
+
upload_protocol?: string;
|
|
9017
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9018
|
+
uploadType?: string;
|
|
9019
|
+
},
|
|
9020
|
+
body: GoogleCloudAiplatformV1beta1CachedContent
|
|
9021
|
+
): Request<GoogleCloudAiplatformV1beta1CachedContent>;
|
|
9022
|
+
/** Deletes cached content */
|
|
9023
|
+
delete(request?: {
|
|
9024
|
+
/** V1 error format. */
|
|
9025
|
+
'$.xgafv'?: string;
|
|
9026
|
+
/** OAuth access token. */
|
|
9027
|
+
access_token?: string;
|
|
9028
|
+
/** Data format for response. */
|
|
9029
|
+
alt?: string;
|
|
9030
|
+
/** JSONP */
|
|
9031
|
+
callback?: string;
|
|
9032
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9033
|
+
fields?: string;
|
|
9034
|
+
/** 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. */
|
|
9035
|
+
key?: string;
|
|
9036
|
+
/** Required. The resource name referring to the cached content */
|
|
9037
|
+
name: string;
|
|
9038
|
+
/** OAuth 2.0 token for the current user. */
|
|
9039
|
+
oauth_token?: string;
|
|
9040
|
+
/** Returns response with indentations and line breaks. */
|
|
9041
|
+
prettyPrint?: boolean;
|
|
9042
|
+
/** 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. */
|
|
9043
|
+
quotaUser?: string;
|
|
9044
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9045
|
+
upload_protocol?: string;
|
|
9046
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9047
|
+
uploadType?: string;
|
|
9048
|
+
}): Request<GoogleLongrunningOperation>;
|
|
9049
|
+
/** Gets cached content configurations */
|
|
9050
|
+
get(request?: {
|
|
9051
|
+
/** V1 error format. */
|
|
9052
|
+
'$.xgafv'?: string;
|
|
9053
|
+
/** OAuth access token. */
|
|
9054
|
+
access_token?: string;
|
|
9055
|
+
/** Data format for response. */
|
|
9056
|
+
alt?: string;
|
|
9057
|
+
/** JSONP */
|
|
9058
|
+
callback?: string;
|
|
9059
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9060
|
+
fields?: string;
|
|
9061
|
+
/** 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. */
|
|
9062
|
+
key?: string;
|
|
9063
|
+
/** Required. The resource name referring to the cached content */
|
|
9064
|
+
name: string;
|
|
9065
|
+
/** OAuth 2.0 token for the current user. */
|
|
9066
|
+
oauth_token?: string;
|
|
9067
|
+
/** Returns response with indentations and line breaks. */
|
|
9068
|
+
prettyPrint?: boolean;
|
|
9069
|
+
/** 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. */
|
|
9070
|
+
quotaUser?: string;
|
|
9071
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9072
|
+
upload_protocol?: string;
|
|
9073
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9074
|
+
uploadType?: string;
|
|
9075
|
+
}): Request<GoogleCloudAiplatformV1beta1CachedContent>;
|
|
9076
|
+
/** Lists cached contents in a project */
|
|
9077
|
+
list(request?: {
|
|
9078
|
+
/** V1 error format. */
|
|
9079
|
+
'$.xgafv'?: string;
|
|
9080
|
+
/** OAuth access token. */
|
|
9081
|
+
access_token?: string;
|
|
9082
|
+
/** Data format for response. */
|
|
9083
|
+
alt?: string;
|
|
9084
|
+
/** JSONP */
|
|
9085
|
+
callback?: string;
|
|
9086
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9087
|
+
fields?: string;
|
|
9088
|
+
/** 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. */
|
|
9089
|
+
key?: string;
|
|
9090
|
+
/** OAuth 2.0 token for the current user. */
|
|
9091
|
+
oauth_token?: string;
|
|
9092
|
+
/** 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. */
|
|
9093
|
+
pageSize?: number;
|
|
9094
|
+
/** 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. */
|
|
9095
|
+
pageToken?: string;
|
|
9096
|
+
/** Required. The parent, which owns this collection of cached contents. */
|
|
9097
|
+
parent: string;
|
|
9098
|
+
/** Returns response with indentations and line breaks. */
|
|
9099
|
+
prettyPrint?: boolean;
|
|
9100
|
+
/** 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. */
|
|
9101
|
+
quotaUser?: string;
|
|
9102
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9103
|
+
upload_protocol?: string;
|
|
9104
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9105
|
+
uploadType?: string;
|
|
9106
|
+
}): Request<GoogleCloudAiplatformV1beta1ListCachedContentsResponse>;
|
|
9107
|
+
/** Updates cached content configurations */
|
|
9108
|
+
patch(request: {
|
|
9109
|
+
/** V1 error format. */
|
|
9110
|
+
'$.xgafv'?: string;
|
|
9111
|
+
/** OAuth access token. */
|
|
9112
|
+
access_token?: string;
|
|
9113
|
+
/** Data format for response. */
|
|
9114
|
+
alt?: string;
|
|
9115
|
+
/** JSONP */
|
|
9116
|
+
callback?: string;
|
|
9117
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9118
|
+
fields?: string;
|
|
9119
|
+
/** 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. */
|
|
9120
|
+
key?: string;
|
|
9121
|
+
/** Immutable. Identifier. The resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content} */
|
|
9122
|
+
name: string;
|
|
9123
|
+
/** OAuth 2.0 token for the current user. */
|
|
9124
|
+
oauth_token?: string;
|
|
9125
|
+
/** Returns response with indentations and line breaks. */
|
|
9126
|
+
prettyPrint?: boolean;
|
|
9127
|
+
/** 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. */
|
|
9128
|
+
quotaUser?: string;
|
|
9129
|
+
/** Required. The list of fields to update. */
|
|
9130
|
+
updateMask?: string;
|
|
9131
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9132
|
+
upload_protocol?: string;
|
|
9133
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9134
|
+
uploadType?: string;
|
|
9135
|
+
/** Request body */
|
|
9136
|
+
resource: GoogleCloudAiplatformV1beta1CachedContent;
|
|
9137
|
+
}): Request<GoogleCloudAiplatformV1beta1CachedContent>;
|
|
9138
|
+
patch(
|
|
9139
|
+
request: {
|
|
9140
|
+
/** V1 error format. */
|
|
9141
|
+
'$.xgafv'?: string;
|
|
9142
|
+
/** OAuth access token. */
|
|
9143
|
+
access_token?: string;
|
|
9144
|
+
/** Data format for response. */
|
|
9145
|
+
alt?: string;
|
|
9146
|
+
/** JSONP */
|
|
9147
|
+
callback?: string;
|
|
9148
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9149
|
+
fields?: string;
|
|
9150
|
+
/** 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. */
|
|
9151
|
+
key?: string;
|
|
9152
|
+
/** Immutable. Identifier. The resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content} */
|
|
9153
|
+
name: string;
|
|
9154
|
+
/** OAuth 2.0 token for the current user. */
|
|
9155
|
+
oauth_token?: string;
|
|
9156
|
+
/** Returns response with indentations and line breaks. */
|
|
9157
|
+
prettyPrint?: boolean;
|
|
9158
|
+
/** 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. */
|
|
9159
|
+
quotaUser?: string;
|
|
9160
|
+
/** Required. The list of fields to update. */
|
|
9161
|
+
updateMask?: string;
|
|
9162
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9163
|
+
upload_protocol?: string;
|
|
9164
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9165
|
+
uploadType?: string;
|
|
9166
|
+
},
|
|
9167
|
+
body: GoogleCloudAiplatformV1beta1CachedContent
|
|
9168
|
+
): Request<GoogleCloudAiplatformV1beta1CachedContent>;
|
|
9169
|
+
}
|
|
8808
9170
|
interface OperationsResource {
|
|
8809
9171
|
/** 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
9172
|
cancel(request?: {
|
|
@@ -13573,7 +13935,7 @@ declare namespace gapi.client {
|
|
|
13573
13935
|
prettyPrint?: boolean;
|
|
13574
13936
|
/** 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
13937
|
quotaUser?: string;
|
|
13576
|
-
/** Required. Mask specifying which fields to update. Supported fields: * `display_name` * `description` * `tool_use_examples` */
|
|
13938
|
+
/** Required. Mask specifying which fields to update. Supported fields: * `display_name` * `description` * `runtime_config` * `tool_use_examples` * `manifest.description` */
|
|
13577
13939
|
updateMask?: string;
|
|
13578
13940
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13579
13941
|
upload_protocol?: string;
|
|
@@ -13604,7 +13966,7 @@ declare namespace gapi.client {
|
|
|
13604
13966
|
prettyPrint?: boolean;
|
|
13605
13967
|
/** 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
13968
|
quotaUser?: string;
|
|
13607
|
-
/** Required. Mask specifying which fields to update. Supported fields: * `display_name` * `description` * `tool_use_examples` */
|
|
13969
|
+
/** Required. Mask specifying which fields to update. Supported fields: * `display_name` * `description` * `runtime_config` * `tool_use_examples` * `manifest.description` */
|
|
13608
13970
|
updateMask?: string;
|
|
13609
13971
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13610
13972
|
upload_protocol?: string;
|
|
@@ -23590,6 +23952,68 @@ declare namespace gapi.client {
|
|
|
23590
23952
|
nasTrialDetails: NasTrialDetailsResource;
|
|
23591
23953
|
}
|
|
23592
23954
|
interface NotebookExecutionJobsResource {
|
|
23955
|
+
/** Creates a NotebookExecutionJob. */
|
|
23956
|
+
create(request: {
|
|
23957
|
+
/** V1 error format. */
|
|
23958
|
+
'$.xgafv'?: string;
|
|
23959
|
+
/** OAuth access token. */
|
|
23960
|
+
access_token?: string;
|
|
23961
|
+
/** Data format for response. */
|
|
23962
|
+
alt?: string;
|
|
23963
|
+
/** JSONP */
|
|
23964
|
+
callback?: string;
|
|
23965
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
23966
|
+
fields?: string;
|
|
23967
|
+
/** 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. */
|
|
23968
|
+
key?: string;
|
|
23969
|
+
/** Optional. User specified ID for the NotebookExecutionJob. */
|
|
23970
|
+
notebookExecutionJobId?: string;
|
|
23971
|
+
/** OAuth 2.0 token for the current user. */
|
|
23972
|
+
oauth_token?: string;
|
|
23973
|
+
/** Required. The resource name of the Location to create the NotebookExecutionJob. Format: `projects/{project}/locations/{location}` */
|
|
23974
|
+
parent: string;
|
|
23975
|
+
/** Returns response with indentations and line breaks. */
|
|
23976
|
+
prettyPrint?: boolean;
|
|
23977
|
+
/** 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. */
|
|
23978
|
+
quotaUser?: string;
|
|
23979
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
23980
|
+
upload_protocol?: string;
|
|
23981
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
23982
|
+
uploadType?: string;
|
|
23983
|
+
/** Request body */
|
|
23984
|
+
resource: GoogleCloudAiplatformV1beta1NotebookExecutionJob;
|
|
23985
|
+
}): Request<GoogleLongrunningOperation>;
|
|
23986
|
+
create(
|
|
23987
|
+
request: {
|
|
23988
|
+
/** V1 error format. */
|
|
23989
|
+
'$.xgafv'?: string;
|
|
23990
|
+
/** OAuth access token. */
|
|
23991
|
+
access_token?: string;
|
|
23992
|
+
/** Data format for response. */
|
|
23993
|
+
alt?: string;
|
|
23994
|
+
/** JSONP */
|
|
23995
|
+
callback?: string;
|
|
23996
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
23997
|
+
fields?: string;
|
|
23998
|
+
/** 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. */
|
|
23999
|
+
key?: string;
|
|
24000
|
+
/** Optional. User specified ID for the NotebookExecutionJob. */
|
|
24001
|
+
notebookExecutionJobId?: string;
|
|
24002
|
+
/** OAuth 2.0 token for the current user. */
|
|
24003
|
+
oauth_token?: string;
|
|
24004
|
+
/** Required. The resource name of the Location to create the NotebookExecutionJob. Format: `projects/{project}/locations/{location}` */
|
|
24005
|
+
parent: string;
|
|
24006
|
+
/** Returns response with indentations and line breaks. */
|
|
24007
|
+
prettyPrint?: boolean;
|
|
24008
|
+
/** 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. */
|
|
24009
|
+
quotaUser?: string;
|
|
24010
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24011
|
+
upload_protocol?: string;
|
|
24012
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24013
|
+
uploadType?: string;
|
|
24014
|
+
},
|
|
24015
|
+
body: GoogleCloudAiplatformV1beta1NotebookExecutionJob
|
|
24016
|
+
): Request<GoogleLongrunningOperation>;
|
|
23593
24017
|
/** Deletes a NotebookExecutionJob. */
|
|
23594
24018
|
delete(request?: {
|
|
23595
24019
|
/** V1 error format. */
|
|
@@ -24364,6 +24788,68 @@ declare namespace gapi.client {
|
|
|
24364
24788
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24365
24789
|
uploadType?: string;
|
|
24366
24790
|
}): Request<GoogleCloudAiplatformV1beta1ListNotebookRuntimeTemplatesResponse>;
|
|
24791
|
+
/** Updates a NotebookRuntimeTemplate. */
|
|
24792
|
+
patch(request: {
|
|
24793
|
+
/** V1 error format. */
|
|
24794
|
+
'$.xgafv'?: string;
|
|
24795
|
+
/** OAuth access token. */
|
|
24796
|
+
access_token?: string;
|
|
24797
|
+
/** Data format for response. */
|
|
24798
|
+
alt?: string;
|
|
24799
|
+
/** JSONP */
|
|
24800
|
+
callback?: string;
|
|
24801
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24802
|
+
fields?: string;
|
|
24803
|
+
/** 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. */
|
|
24804
|
+
key?: string;
|
|
24805
|
+
/** The resource name of the NotebookRuntimeTemplate. */
|
|
24806
|
+
name: string;
|
|
24807
|
+
/** OAuth 2.0 token for the current user. */
|
|
24808
|
+
oauth_token?: string;
|
|
24809
|
+
/** Returns response with indentations and line breaks. */
|
|
24810
|
+
prettyPrint?: boolean;
|
|
24811
|
+
/** 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. */
|
|
24812
|
+
quotaUser?: string;
|
|
24813
|
+
/** 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` */
|
|
24814
|
+
updateMask?: string;
|
|
24815
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24816
|
+
upload_protocol?: string;
|
|
24817
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24818
|
+
uploadType?: string;
|
|
24819
|
+
/** Request body */
|
|
24820
|
+
resource: GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate;
|
|
24821
|
+
}): Request<GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate>;
|
|
24822
|
+
patch(
|
|
24823
|
+
request: {
|
|
24824
|
+
/** V1 error format. */
|
|
24825
|
+
'$.xgafv'?: string;
|
|
24826
|
+
/** OAuth access token. */
|
|
24827
|
+
access_token?: string;
|
|
24828
|
+
/** Data format for response. */
|
|
24829
|
+
alt?: string;
|
|
24830
|
+
/** JSONP */
|
|
24831
|
+
callback?: string;
|
|
24832
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
24833
|
+
fields?: string;
|
|
24834
|
+
/** 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. */
|
|
24835
|
+
key?: string;
|
|
24836
|
+
/** The resource name of the NotebookRuntimeTemplate. */
|
|
24837
|
+
name: string;
|
|
24838
|
+
/** OAuth 2.0 token for the current user. */
|
|
24839
|
+
oauth_token?: string;
|
|
24840
|
+
/** Returns response with indentations and line breaks. */
|
|
24841
|
+
prettyPrint?: boolean;
|
|
24842
|
+
/** 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. */
|
|
24843
|
+
quotaUser?: string;
|
|
24844
|
+
/** 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` */
|
|
24845
|
+
updateMask?: string;
|
|
24846
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24847
|
+
upload_protocol?: string;
|
|
24848
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24849
|
+
uploadType?: string;
|
|
24850
|
+
},
|
|
24851
|
+
body: GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate
|
|
24852
|
+
): Request<GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate>;
|
|
24367
24853
|
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
24368
24854
|
setIamPolicy(
|
|
24369
24855
|
request: {
|
|
@@ -31403,6 +31889,7 @@ declare namespace gapi.client {
|
|
|
31403
31889
|
agents: AgentsResource;
|
|
31404
31890
|
apps: AppsResource;
|
|
31405
31891
|
batchPredictionJobs: BatchPredictionJobsResource;
|
|
31892
|
+
cachedContents: CachedContentsResource;
|
|
31406
31893
|
customJobs: CustomJobsResource;
|
|
31407
31894
|
dataLabelingJobs: DataLabelingJobsResource;
|
|
31408
31895
|
datasets: DatasetsResource;
|