@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20240229 → 0.0.20240312
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 +83 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://aiplatform.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240312
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -206,6 +206,8 @@ declare namespace gapi.client {
|
|
|
206
206
|
outputFilterInfo?: LearningServingLlmMessageMetadata[];
|
|
207
207
|
}
|
|
208
208
|
interface CloudAiNlLlmProtoServicePart {
|
|
209
|
+
/** Document metadata. The metadata should only be used by the Cloud LLM when supporting document mime types. It will only be populated when this image input part is converted from a document input part. */
|
|
210
|
+
documentMetadata?: CloudAiNlLlmProtoServicePartDocumentMetadata;
|
|
209
211
|
/** URI-based data. */
|
|
210
212
|
fileData?: CloudAiNlLlmProtoServicePartFileData;
|
|
211
213
|
/** Function call data. */
|
|
@@ -227,6 +229,12 @@ declare namespace gapi.client {
|
|
|
227
229
|
/** Original file data where the blob comes from. */
|
|
228
230
|
originalFileData?: CloudAiNlLlmProtoServicePartFileData;
|
|
229
231
|
}
|
|
232
|
+
interface CloudAiNlLlmProtoServicePartDocumentMetadata {
|
|
233
|
+
/** The original document blob. */
|
|
234
|
+
originalDocumentBlob?: CloudAiNlLlmProtoServicePartBlob;
|
|
235
|
+
/** The (1-indexed) page number of the image in the original document. The first page carries the original document content and mime type. */
|
|
236
|
+
pageNumber?: number;
|
|
237
|
+
}
|
|
230
238
|
interface CloudAiNlLlmProtoServicePartFileData {
|
|
231
239
|
/** Inline data. */
|
|
232
240
|
fileUri?: string;
|
|
@@ -272,11 +280,23 @@ declare namespace gapi.client {
|
|
|
272
280
|
confidence?: string;
|
|
273
281
|
/** Whether the category is flagged as being present. Currently, this is set to true if score >= 0.5. */
|
|
274
282
|
flagged?: boolean;
|
|
283
|
+
/** The influential terms that could potentially block the response. */
|
|
284
|
+
influentialTerms?: CloudAiNlLlmProtoServiceRaiSignalInfluentialTerm[];
|
|
275
285
|
/** The RAI category. */
|
|
276
286
|
raiCategory?: string;
|
|
277
287
|
/** The score for the category, in the range [0.0, 1.0]. */
|
|
278
288
|
score?: number;
|
|
279
289
|
}
|
|
290
|
+
interface CloudAiNlLlmProtoServiceRaiSignalInfluentialTerm {
|
|
291
|
+
/** The beginning offset of the influential term. */
|
|
292
|
+
beginOffset?: number;
|
|
293
|
+
/** The confidence score of the influential term. */
|
|
294
|
+
confidence?: number;
|
|
295
|
+
/** The source of the influential term, prompt or response. */
|
|
296
|
+
source?: string;
|
|
297
|
+
/** The influential term. */
|
|
298
|
+
term?: string;
|
|
299
|
+
}
|
|
280
300
|
interface CloudAiNlLlmProtoServiceSafetyRating {
|
|
281
301
|
/** Indicates whether the content was filtered out because of this rating. */
|
|
282
302
|
blocked?: boolean;
|
|
@@ -10370,7 +10390,7 @@ declare namespace gapi.client {
|
|
|
10370
10390
|
callback?: string;
|
|
10371
10391
|
/** Selector specifying which fields to include in a partial response. */
|
|
10372
10392
|
fields?: string;
|
|
10373
|
-
/** Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `endpoint` supports = and !=. `endpoint` represents the Endpoint ID, i.e. the last segment of the Endpoint's resource name. * `display_name` supports = and, != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels."a key"`. Some examples: * `endpoint=1` * `displayName="myDisplayName"` * `labels.myKey="myValue"` */
|
|
10393
|
+
/** Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `endpoint` supports = and !=. `endpoint` represents the Endpoint ID, i.e. the last segment of the Endpoint's resource name. * `display_name` supports = and, != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels."a key"`. * `base_model_name` only supports = Some examples: * `endpoint=1` * `displayName="myDisplayName"` * `labels.myKey="myValue"` * `baseModelName="text-bison"` */
|
|
10374
10394
|
filter?: string;
|
|
10375
10395
|
/** 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. */
|
|
10376
10396
|
key?: string;
|
|
@@ -19286,7 +19306,7 @@ declare namespace gapi.client {
|
|
|
19286
19306
|
callback?: string;
|
|
19287
19307
|
/** Selector specifying which fields to include in a partial response. */
|
|
19288
19308
|
fields?: string;
|
|
19289
|
-
/** An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `model` supports = and !=. `model` represents the Model ID, i.e. the last segment of the Model's resource name. * `display_name` supports = and != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels."a key"`. Some examples: * `model=1234` * `displayName="myDisplayName"` * `labels.myKey="myValue"` */
|
|
19309
|
+
/** An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `model` supports = and !=. `model` represents the Model ID, i.e. the last segment of the Model's resource name. * `display_name` supports = and != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels."a key"`. * `base_model_name` only supports = Some examples: * `model=1234` * `displayName="myDisplayName"` * `labels.myKey="myValue"` * `baseModelName="text-bison"` */
|
|
19290
19310
|
filter?: string;
|
|
19291
19311
|
/** 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. */
|
|
19292
19312
|
key?: string;
|
|
@@ -25569,6 +25589,65 @@ declare namespace gapi.client {
|
|
|
25569
25589
|
}): Request<GoogleCloudAiplatformV1ListTrainingPipelinesResponse>;
|
|
25570
25590
|
operations: OperationsResource;
|
|
25571
25591
|
}
|
|
25592
|
+
interface OperationsResource {
|
|
25593
|
+
/** 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`. */
|
|
25594
|
+
cancel(request?: {
|
|
25595
|
+
/** V1 error format. */
|
|
25596
|
+
'$.xgafv'?: string;
|
|
25597
|
+
/** OAuth access token. */
|
|
25598
|
+
access_token?: string;
|
|
25599
|
+
/** Data format for response. */
|
|
25600
|
+
alt?: string;
|
|
25601
|
+
/** JSONP */
|
|
25602
|
+
callback?: string;
|
|
25603
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
25604
|
+
fields?: string;
|
|
25605
|
+
/** 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. */
|
|
25606
|
+
key?: string;
|
|
25607
|
+
/** The name of the operation resource to be cancelled. */
|
|
25608
|
+
name: string;
|
|
25609
|
+
/** OAuth 2.0 token for the current user. */
|
|
25610
|
+
oauth_token?: string;
|
|
25611
|
+
/** Returns response with indentations and line breaks. */
|
|
25612
|
+
prettyPrint?: boolean;
|
|
25613
|
+
/** 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. */
|
|
25614
|
+
quotaUser?: string;
|
|
25615
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25616
|
+
upload_protocol?: string;
|
|
25617
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25618
|
+
uploadType?: string;
|
|
25619
|
+
}): Request<{}>;
|
|
25620
|
+
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
25621
|
+
get(request?: {
|
|
25622
|
+
/** V1 error format. */
|
|
25623
|
+
'$.xgafv'?: string;
|
|
25624
|
+
/** OAuth access token. */
|
|
25625
|
+
access_token?: string;
|
|
25626
|
+
/** Data format for response. */
|
|
25627
|
+
alt?: string;
|
|
25628
|
+
/** JSONP */
|
|
25629
|
+
callback?: string;
|
|
25630
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
25631
|
+
fields?: string;
|
|
25632
|
+
/** 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. */
|
|
25633
|
+
key?: string;
|
|
25634
|
+
/** The name of the operation resource. */
|
|
25635
|
+
name: string;
|
|
25636
|
+
/** OAuth 2.0 token for the current user. */
|
|
25637
|
+
oauth_token?: string;
|
|
25638
|
+
/** Returns response with indentations and line breaks. */
|
|
25639
|
+
prettyPrint?: boolean;
|
|
25640
|
+
/** 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. */
|
|
25641
|
+
quotaUser?: string;
|
|
25642
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25643
|
+
upload_protocol?: string;
|
|
25644
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25645
|
+
uploadType?: string;
|
|
25646
|
+
}): Request<GoogleLongrunningOperation>;
|
|
25647
|
+
}
|
|
25648
|
+
interface TuningJobsResource {
|
|
25649
|
+
operations: OperationsResource;
|
|
25650
|
+
}
|
|
25572
25651
|
interface LocationsResource {
|
|
25573
25652
|
/** Gets information about a location. */
|
|
25574
25653
|
get(request?: {
|
|
@@ -25657,6 +25736,7 @@ declare namespace gapi.client {
|
|
|
25657
25736
|
studies: StudiesResource;
|
|
25658
25737
|
tensorboards: TensorboardsResource;
|
|
25659
25738
|
trainingPipelines: TrainingPipelinesResource;
|
|
25739
|
+
tuningJobs: TuningJobsResource;
|
|
25660
25740
|
}
|
|
25661
25741
|
interface ProjectsResource {
|
|
25662
25742
|
locations: LocationsResource;
|