@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.4.20251101 → 0.4.20251107

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.
Files changed (2) hide show
  1. package/index.d.ts +214 -8
  2. 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: 20251101
12
+ // Revision: 20251107
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -441,7 +441,7 @@ declare namespace gapi.client {
441
441
  samplingCount?: number;
442
442
  }
443
443
  interface GoogleCloudAiplatformV1beta1AutoscalingMetricSpec {
444
- /** Required. The resource metric name. Supported metrics: * For Online Prediction: * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * `aiplatform.googleapis.com/prediction/online/cpu/utilization` * `aiplatform.googleapis.com/prediction/online/request_count` */
444
+ /** Required. The resource metric name. Supported metrics: * For Online Prediction: * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * `aiplatform.googleapis.com/prediction/online/cpu/utilization` * `aiplatform.googleapis.com/prediction/online/request_count` * `pubsub.googleapis.com/subscription/num_undelivered_messages` */
445
445
  metricName?: string;
446
446
  /** Optional. The Cloud Monitoring monitored resource labels as key value pairs used for metrics filtering. See Cloud Monitoring Labels https://cloud.google.com/monitoring/api/v3/metric-model#generic-label-info */
447
447
  monitoredResourceLabels?: {[P in string]: string};
@@ -2281,7 +2281,7 @@ declare namespace gapi.client {
2281
2281
  prompt?: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData;
2282
2282
  /** Optional. Data used to populate placeholder `reference` in a metric prompt template. */
2283
2283
  reference?: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData;
2284
- /** Required. Data used to populate placeholder `response` in a metric prompt template. */
2284
+ /** Optional. Data used to populate placeholder `response` in a metric prompt template. */
2285
2285
  response?: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData;
2286
2286
  /** Optional. Named groups of rubrics associated with the prompt. This is used for rubric-based evaluations where rubrics can be referenced by a key. The key could represent versions, associated metrics, etc. */
2287
2287
  rubricGroups?: {[P in string]: GoogleCloudAiplatformV1beta1RubricGroup};
@@ -7554,6 +7554,12 @@ declare namespace gapi.client {
7554
7554
  /** A sample of the Execution names that will be deleted. Only populated if `force` is set to false. The maximum number of samples is 100 (it is possible to return fewer). */
7555
7555
  purgeSample?: string[];
7556
7556
  }
7557
+ interface GoogleCloudAiplatformV1beta1PurgeMemoriesRequest {
7558
+ /** Required. The standard list filter to determine which memories to purge. More detail in [AIP-160](https://google.aip.dev/160). */
7559
+ filter?: string;
7560
+ /** Optional. If true, the memories will actually be purged. If false, the purge request will be validated but not executed. */
7561
+ force?: boolean;
7562
+ }
7557
7563
  interface GoogleCloudAiplatformV1beta1PythonPackageSpec {
7558
7564
  /** Command line arguments to be passed to the Python task. */
7559
7565
  args?: string[];
@@ -8462,7 +8468,7 @@ declare namespace gapi.client {
8462
8468
  contexts?: GoogleCloudAiplatformV1beta1RagContexts;
8463
8469
  }
8464
8470
  interface GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest {
8465
- /** Optional. The standard list filter that will be applied to the retrieved memories. More detail in [AIP-160](https://google.aip.dev/160). Supported fields: * `fact` * `create_time` * `update_time` */
8471
+ /** Optional. The standard list filter that will be applied to the retrieved memories. More detail in [AIP-160](https://google.aip.dev/160). Supported fields: * `fact` * `create_time` * `update_time` * `topics` (i.e. `topics.custom_memory_topic_label: "example topic" OR topics.managed_memory_topic: USER_PREFERENCES`) */
8466
8472
  filter?: string;
8467
8473
  /** Required. The scope of the memories to retrieve. A memory must have exactly the same scope (`Memory.scope`) as the scope provided here to be retrieved (same keys and values). Order does not matter, but it is case-sensitive. */
8468
8474
  scope?: {[P in string]: string};
@@ -9540,6 +9546,20 @@ declare namespace gapi.client {
9540
9546
  /** The parts of the variable value. */
9541
9547
  partList?: GoogleCloudAiplatformV1beta1SchemaPromptSpecPartList;
9542
9548
  }
9549
+ interface GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData {
9550
+ /** Serialized state of the code repository. This string will typically contain a JSON representation of the UI's CodeRepositoryService state (files, folders, content, and any metadata). The UI is responsible for serialization and deserialization. */
9551
+ codeRepositoryState?: string;
9552
+ /** Linked resources attached to the application by the user. */
9553
+ linkedResources?: GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderDataLinkedResource[];
9554
+ }
9555
+ interface GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderDataLinkedResource {
9556
+ /** A user-friendly name for the data source shown in the UI. */
9557
+ displayName?: string;
9558
+ /** The unique resource name of the data source. The format is determined by the 'type' field. For type "SAVED_PROMPT": projects/{project}/locations/{location}/datasets/{dataset} For type "AI_AGENT": projects/{project}/locations/{location}/agents/{agent} */
9559
+ name?: string;
9560
+ /** The type of the linked resource. e.g., "SAVED_PROMPT", "AI_AGENT" This string corresponds to the name of the LinkedResourceType enum member. See: google3/cloud/console/web/ai/platform/llm/prompts/build/services/specs_repository_service/linked_resources/linked_resource.ts */
9561
+ type?: string;
9562
+ }
9543
9563
  interface GoogleCloudAiplatformV1beta1SchemaPromptSpecMultimodalPrompt {
9544
9564
  /** The prompt message. */
9545
9565
  promptMessage?: GoogleCloudAiplatformV1beta1SchemaPromptSpecPromptMessage;
@@ -9575,6 +9595,8 @@ declare namespace gapi.client {
9575
9595
  referenceSentencePairs?: GoogleCloudAiplatformV1beta1SchemaPromptSpecReferenceSentencePair[];
9576
9596
  }
9577
9597
  interface GoogleCloudAiplatformV1beta1SchemaPromptSpecStructuredPrompt {
9598
+ /** Data for app builder use case. */
9599
+ appBuilderData?: GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData;
9578
9600
  /** Preamble: The context of the prompt. */
9579
9601
  context?: GoogleCloudAiplatformV1beta1Content;
9580
9602
  /** Preamble: A set of examples for expected model response. */
@@ -23722,6 +23744,73 @@ declare namespace gapi.client {
23722
23744
  interface DeployedModelsResource {
23723
23745
  invoke: InvokeResource;
23724
23746
  }
23747
+ interface ScienceResource {
23748
+ /** Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request. */
23749
+ inference(request: {
23750
+ /** V1 error format. */
23751
+ '$.xgafv'?: string;
23752
+ /** OAuth access token. */
23753
+ access_token?: string;
23754
+ /** Data format for response. */
23755
+ alt?: string;
23756
+ /** JSONP */
23757
+ callback?: string;
23758
+ /** ID of the DeployedModel that serves the invoke request. */
23759
+ deployedModelId?: string;
23760
+ /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
23761
+ endpoint: string;
23762
+ /** Selector specifying which fields to include in a partial response. */
23763
+ fields?: string;
23764
+ /** 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. */
23765
+ key?: string;
23766
+ /** OAuth 2.0 token for the current user. */
23767
+ oauth_token?: string;
23768
+ /** Returns response with indentations and line breaks. */
23769
+ prettyPrint?: boolean;
23770
+ /** 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. */
23771
+ quotaUser?: string;
23772
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
23773
+ upload_protocol?: string;
23774
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
23775
+ uploadType?: string;
23776
+ /** Request body */
23777
+ resource: GoogleApiHttpBody;
23778
+ }): Request<GoogleApiHttpBody>;
23779
+ inference(
23780
+ request: {
23781
+ /** V1 error format. */
23782
+ '$.xgafv'?: string;
23783
+ /** OAuth access token. */
23784
+ access_token?: string;
23785
+ /** Data format for response. */
23786
+ alt?: string;
23787
+ /** JSONP */
23788
+ callback?: string;
23789
+ /** ID of the DeployedModel that serves the invoke request. */
23790
+ deployedModelId?: string;
23791
+ /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
23792
+ endpoint: string;
23793
+ /** Selector specifying which fields to include in a partial response. */
23794
+ fields?: string;
23795
+ /** 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. */
23796
+ key?: string;
23797
+ /** OAuth 2.0 token for the current user. */
23798
+ oauth_token?: string;
23799
+ /** Returns response with indentations and line breaks. */
23800
+ prettyPrint?: boolean;
23801
+ /** 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. */
23802
+ quotaUser?: string;
23803
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
23804
+ upload_protocol?: string;
23805
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
23806
+ uploadType?: string;
23807
+ },
23808
+ body: GoogleApiHttpBody,
23809
+ ): Request<GoogleApiHttpBody>;
23810
+ }
23811
+ interface GoogleResource {
23812
+ science: ScienceResource;
23813
+ }
23725
23814
  interface InvokeResource {
23726
23815
  /** Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request. */
23727
23816
  invoke(request: {
@@ -25286,6 +25375,7 @@ declare namespace gapi.client {
25286
25375
  ): Request<GoogleLongrunningOperation>;
25287
25376
  chat: ChatResource;
25288
25377
  deployedModels: DeployedModelsResource;
25378
+ google: GoogleResource;
25289
25379
  invoke: InvokeResource;
25290
25380
  openapi: OpenapiResource;
25291
25381
  operations: OperationsResource;
@@ -43168,7 +43258,7 @@ declare namespace gapi.client {
43168
43258
  callback?: string;
43169
43259
  /** Selector specifying which fields to include in a partial response. */
43170
43260
  fields?: string;
43171
- /** Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). Supported fields (equality match only): * `scope` (as a JSON string) */
43261
+ /** Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). Supported fields: * `scope` (as a JSON string with equality match only) * `topics` (i.e. `topics.custom_memory_topic_label: "example topic" OR topics.managed_memory_topic: USER_PREFERENCES`) */
43172
43262
  filter?: string;
43173
43263
  /** 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. */
43174
43264
  key?: string;
@@ -43253,6 +43343,64 @@ declare namespace gapi.client {
43253
43343
  },
43254
43344
  body: GoogleCloudAiplatformV1beta1Memory,
43255
43345
  ): Request<GoogleLongrunningOperation>;
43346
+ /** Purge memories. */
43347
+ purge(request: {
43348
+ /** V1 error format. */
43349
+ '$.xgafv'?: string;
43350
+ /** OAuth access token. */
43351
+ access_token?: string;
43352
+ /** Data format for response. */
43353
+ alt?: string;
43354
+ /** JSONP */
43355
+ callback?: string;
43356
+ /** Selector specifying which fields to include in a partial response. */
43357
+ fields?: string;
43358
+ /** 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. */
43359
+ key?: string;
43360
+ /** OAuth 2.0 token for the current user. */
43361
+ oauth_token?: string;
43362
+ /** Required. The resource name of the ReasoningEngine to purge memories from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
43363
+ parent: string;
43364
+ /** Returns response with indentations and line breaks. */
43365
+ prettyPrint?: boolean;
43366
+ /** 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. */
43367
+ quotaUser?: string;
43368
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43369
+ upload_protocol?: string;
43370
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43371
+ uploadType?: string;
43372
+ /** Request body */
43373
+ resource: GoogleCloudAiplatformV1beta1PurgeMemoriesRequest;
43374
+ }): Request<GoogleLongrunningOperation>;
43375
+ purge(
43376
+ request: {
43377
+ /** V1 error format. */
43378
+ '$.xgafv'?: string;
43379
+ /** OAuth access token. */
43380
+ access_token?: string;
43381
+ /** Data format for response. */
43382
+ alt?: string;
43383
+ /** JSONP */
43384
+ callback?: string;
43385
+ /** Selector specifying which fields to include in a partial response. */
43386
+ fields?: string;
43387
+ /** 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. */
43388
+ key?: string;
43389
+ /** OAuth 2.0 token for the current user. */
43390
+ oauth_token?: string;
43391
+ /** Required. The resource name of the ReasoningEngine to purge memories from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
43392
+ parent: string;
43393
+ /** Returns response with indentations and line breaks. */
43394
+ prettyPrint?: boolean;
43395
+ /** 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. */
43396
+ quotaUser?: string;
43397
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43398
+ upload_protocol?: string;
43399
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43400
+ uploadType?: string;
43401
+ },
43402
+ body: GoogleCloudAiplatformV1beta1PurgeMemoriesRequest,
43403
+ ): Request<GoogleLongrunningOperation>;
43256
43404
  /** Retrieve memories. */
43257
43405
  retrieve(request: {
43258
43406
  /** V1 error format. */
@@ -44239,7 +44387,7 @@ declare namespace gapi.client {
44239
44387
  callback?: string;
44240
44388
  /** Selector specifying which fields to include in a partial response. */
44241
44389
  fields?: string;
44242
- /** Optional. The standard list filter. Supported fields: * `display_name` * `user_id` Example: `display_name="abc"`, `user_id="123"`. */
44390
+ /** Optional. The standard list filter. Supported fields: * `display_name` * `user_id` * `labels` Example: `display_name="abc"`, `user_id="123"`, `labels.key="value"`. */
44243
44391
  filter?: string;
44244
44392
  /** 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. */
44245
44393
  key?: string;
@@ -52014,7 +52162,7 @@ declare namespace gapi.client {
52014
52162
  callback?: string;
52015
52163
  /** Selector specifying which fields to include in a partial response. */
52016
52164
  fields?: string;
52017
- /** Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). Supported fields (equality match only): * `scope` (as a JSON string) */
52165
+ /** Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). Supported fields: * `scope` (as a JSON string with equality match only) * `topics` (i.e. `topics.custom_memory_topic_label: "example topic" OR topics.managed_memory_topic: USER_PREFERENCES`) */
52018
52166
  filter?: string;
52019
52167
  /** 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. */
52020
52168
  key?: string;
@@ -52099,6 +52247,64 @@ declare namespace gapi.client {
52099
52247
  },
52100
52248
  body: GoogleCloudAiplatformV1beta1Memory,
52101
52249
  ): Request<GoogleLongrunningOperation>;
52250
+ /** Purge memories. */
52251
+ purge(request: {
52252
+ /** V1 error format. */
52253
+ '$.xgafv'?: string;
52254
+ /** OAuth access token. */
52255
+ access_token?: string;
52256
+ /** Data format for response. */
52257
+ alt?: string;
52258
+ /** JSONP */
52259
+ callback?: string;
52260
+ /** Selector specifying which fields to include in a partial response. */
52261
+ fields?: string;
52262
+ /** 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. */
52263
+ key?: string;
52264
+ /** OAuth 2.0 token for the current user. */
52265
+ oauth_token?: string;
52266
+ /** Required. The resource name of the ReasoningEngine to purge memories from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
52267
+ parent: string;
52268
+ /** Returns response with indentations and line breaks. */
52269
+ prettyPrint?: boolean;
52270
+ /** 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. */
52271
+ quotaUser?: string;
52272
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
52273
+ upload_protocol?: string;
52274
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
52275
+ uploadType?: string;
52276
+ /** Request body */
52277
+ resource: GoogleCloudAiplatformV1beta1PurgeMemoriesRequest;
52278
+ }): Request<GoogleLongrunningOperation>;
52279
+ purge(
52280
+ request: {
52281
+ /** V1 error format. */
52282
+ '$.xgafv'?: string;
52283
+ /** OAuth access token. */
52284
+ access_token?: string;
52285
+ /** Data format for response. */
52286
+ alt?: string;
52287
+ /** JSONP */
52288
+ callback?: string;
52289
+ /** Selector specifying which fields to include in a partial response. */
52290
+ fields?: string;
52291
+ /** 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. */
52292
+ key?: string;
52293
+ /** OAuth 2.0 token for the current user. */
52294
+ oauth_token?: string;
52295
+ /** Required. The resource name of the ReasoningEngine to purge memories from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
52296
+ parent: string;
52297
+ /** Returns response with indentations and line breaks. */
52298
+ prettyPrint?: boolean;
52299
+ /** 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. */
52300
+ quotaUser?: string;
52301
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
52302
+ upload_protocol?: string;
52303
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
52304
+ uploadType?: string;
52305
+ },
52306
+ body: GoogleCloudAiplatformV1beta1PurgeMemoriesRequest,
52307
+ ): Request<GoogleLongrunningOperation>;
52102
52308
  /** Retrieve memories. */
52103
52309
  retrieve(request: {
52104
52310
  /** V1 error format. */
@@ -53085,7 +53291,7 @@ declare namespace gapi.client {
53085
53291
  callback?: string;
53086
53292
  /** Selector specifying which fields to include in a partial response. */
53087
53293
  fields?: string;
53088
- /** Optional. The standard list filter. Supported fields: * `display_name` * `user_id` Example: `display_name="abc"`, `user_id="123"`. */
53294
+ /** Optional. The standard list filter. Supported fields: * `display_name` * `user_id` * `labels` Example: `display_name="abc"`, `user_id="123"`, `labels.key="value"`. */
53089
53295
  filter?: string;
53090
53296
  /** 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. */
53091
53297
  key?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1beta1",
3
- "version": "0.4.20251101",
3
+ "version": "0.4.20251107",
4
4
  "description": "TypeScript typings for Vertex AI API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",