@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20250322 → 0.0.20250415

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 (3) hide show
  1. package/index.d.ts +590 -14
  2. package/package.json +1 -1
  3. package/readme.md +15 -0
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: 20250322
12
+ // Revision: 20250415
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -413,7 +413,7 @@ declare namespace gapi.client {
413
413
  interface GoogleCloudAiplatformV1beta1AutoraterConfig {
414
414
  /** Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*‍/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
415
415
  autoraterModel?: string;
416
- /** Optional. Whether to flip the candidate and baseline responses. This is only applicable to the pairwise metric. If enabled, also provide PairwiseMetricSpec.candidate_response_field_name and PairwiseMetricSpec.baseline_response_field_name. When rendering PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields will be flipped for half of the samples to reduce bias. */
416
+ /** Optional. Default is true. Whether to flip the candidate and baseline responses. This is only applicable to the pairwise metric. If enabled, also provide PairwiseMetricSpec.candidate_response_field_name and PairwiseMetricSpec.baseline_response_field_name. When rendering PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields will be flipped for half of the samples to reduce bias. */
417
417
  flipEnabled?: boolean;
418
418
  /** Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32. */
419
419
  samplingCount?: number;
@@ -1738,7 +1738,7 @@ declare namespace gapi.client {
1738
1738
  learningRateMultiplier?: number;
1739
1739
  }
1740
1740
  interface GoogleCloudAiplatformV1beta1DistillationSpec {
1741
- /** The base teacher model that is being distilled, e.g., "gemini-1.0-pro-002". */
1741
+ /** The base teacher model that is being distilled. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#supported_models). */
1742
1742
  baseTeacherModel?: string;
1743
1743
  /** Optional. Hyperparameters for Distillation. */
1744
1744
  hyperParameters?: GoogleCloudAiplatformV1beta1DistillationHyperParameters;
@@ -2058,6 +2058,8 @@ declare namespace gapi.client {
2058
2058
  /** Optional. Indicates that the event is updating the state with the given delta. */
2059
2059
  stateDelta?: {[P in string]: any};
2060
2060
  /** Optional. If set, the event transfers to the specified agent. */
2061
+ transferAgent?: string;
2062
+ /** Deprecated. If set, the event transfers to the specified agent. */
2061
2063
  transferToAgent?: boolean;
2062
2064
  }
2063
2065
  interface GoogleCloudAiplatformV1beta1EventMetadata {
@@ -2164,7 +2166,7 @@ declare namespace gapi.client {
2164
2166
  updateTime?: string;
2165
2167
  }
2166
2168
  interface GoogleCloudAiplatformV1beta1ExampleStoreConfig {
2167
- /** Required. The embedding model to be used for vector embedding. Immutable. Supported models: * "textembedding-gecko@003" * "text-embedding-004" * "text-embedding-005" * "text-multilingual-embedding-002" */
2169
+ /** Required. The embedding model to be used for vector embedding. Immutable. Supported models: * "text-embedding-005" * "text-multilingual-embedding-002" */
2168
2170
  vertexEmbeddingModel?: string;
2169
2171
  }
2170
2172
  interface GoogleCloudAiplatformV1beta1ExecutableCode {
@@ -2524,6 +2526,8 @@ declare namespace gapi.client {
2524
2526
  serviceDirectory?: string;
2525
2527
  }
2526
2528
  interface GoogleCloudAiplatformV1beta1Fact {
2529
+ /** If present, chunk properties. */
2530
+ chunk?: GoogleCloudAiplatformV1beta1RagChunk;
2527
2531
  /** Query that is used to retrieve this fact. */
2528
2532
  query?: string;
2529
2533
  /** If present, according to the underlying Vector DB and the selected metric type, the score can be either the distance or the similarity between the query and the fact and its range depends on the metric type. For example, if the metric type is COSINE_DISTANCE, it represents the distance between the query and the fact. The larger the distance, the less relevant the fact is to the query. The range is [0, 2], while 0 means the most relevant and 2 means the least relevant. */
@@ -3069,7 +3073,7 @@ declare namespace gapi.client {
3069
3073
  interface GoogleCloudAiplatformV1beta1FetchExamplesResponse {
3070
3074
  /** The examples in the Example Store that satisfy the metadata filters. */
3071
3075
  examples?: GoogleCloudAiplatformV1beta1Example[];
3072
- /** A token, which can be sent as ListExamplesRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages. */
3076
+ /** A token, which can be sent as FetchExamplesRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages. */
3073
3077
  nextPageToken?: string;
3074
3078
  }
3075
3079
  interface GoogleCloudAiplatformV1beta1FetchFeatureValuesRequest {
@@ -3225,7 +3229,7 @@ declare namespace gapi.client {
3225
3229
  version?: number;
3226
3230
  }
3227
3231
  interface GoogleCloudAiplatformV1beta1FunctionCall {
3228
- /** Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details. */
3232
+ /** Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details. */
3229
3233
  args?: {[P in string]: any};
3230
3234
  /** Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`. */
3231
3235
  id?: string;
@@ -3261,7 +3265,7 @@ declare namespace gapi.client {
3261
3265
  outputUriPrefix?: string;
3262
3266
  }
3263
3267
  interface GoogleCloudAiplatformV1beta1GcsSource {
3264
- /** Required. Google Cloud Storage URI(-s) to the input file(s). May contain wildcards. For more information on wildcards, see https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames. */
3268
+ /** Required. Google Cloud Storage URI(-s) to the input file(s). May contain wildcards. For more information on wildcards, see https://cloud.google.com/storage/docs/wildcards. */
3265
3269
  uris?: string[];
3266
3270
  }
3267
3271
  interface GoogleCloudAiplatformV1beta1GeminiExample {
@@ -3407,6 +3411,8 @@ declare namespace gapi.client {
3407
3411
  maxOutputTokens?: number;
3408
3412
  /** Optional. If specified, the media resolution specified will be used. */
3409
3413
  mediaResolution?: string;
3414
+ /** Optional. Config for model selection. */
3415
+ modelConfig?: GoogleCloudAiplatformV1beta1GenerationConfigModelConfig;
3410
3416
  /** Optional. Positive penalties. */
3411
3417
  presencePenalty?: number;
3412
3418
  /** Optional. If true, export the logprobs results in response. */
@@ -3427,11 +3433,17 @@ declare namespace gapi.client {
3427
3433
  stopSequences?: string[];
3428
3434
  /** Optional. Controls the randomness of predictions. */
3429
3435
  temperature?: number;
3436
+ /** Optional. Config for thinking features. An error will be returned if this field is set for models that don't support thinking. */
3437
+ thinkingConfig?: GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig;
3430
3438
  /** Optional. If specified, top-k sampling will be used. */
3431
3439
  topK?: number;
3432
3440
  /** Optional. If specified, nucleus sampling will be used. */
3433
3441
  topP?: number;
3434
3442
  }
3443
+ interface GoogleCloudAiplatformV1beta1GenerationConfigModelConfig {
3444
+ /** Required. Feature selection preference. */
3445
+ featureSelectionPreference?: string;
3446
+ }
3435
3447
  interface GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig {
3436
3448
  /** Automated routing. */
3437
3449
  autoMode?: GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode;
@@ -3443,9 +3455,13 @@ declare namespace gapi.client {
3443
3455
  modelRoutingPreference?: string;
3444
3456
  }
3445
3457
  interface GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode {
3446
- /** The model name to use. Only the public LLM models are accepted. e.g. 'gemini-1.5-pro-001'. */
3458
+ /** The model name to use. Only the public LLM models are accepted. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models). */
3447
3459
  modelName?: string;
3448
3460
  }
3461
+ interface GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig {
3462
+ /** Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true. */
3463
+ thinkingBudget?: number;
3464
+ }
3449
3465
  interface GoogleCloudAiplatformV1beta1GenericOperationMetadata {
3450
3466
  /** Output only. Time when the operation was created. */
3451
3467
  createTime?: string;
@@ -3503,6 +3519,8 @@ declare namespace gapi.client {
3503
3519
  web?: GoogleCloudAiplatformV1beta1GroundingChunkWeb;
3504
3520
  }
3505
3521
  interface GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext {
3522
+ /** Additional context for the RAG retrieval result. This is only populated when using the RAG retrieval tool. */
3523
+ ragChunk?: GoogleCloudAiplatformV1beta1RagChunk;
3506
3524
  /** Text of the attribution. */
3507
3525
  text?: string;
3508
3526
  /** Title of the attribution. */
@@ -4899,7 +4917,7 @@ declare namespace gapi.client {
4899
4917
  interface GoogleCloudAiplatformV1beta1ModelMonitoringInputModelMonitoringDatasetModelMonitoringGcsSource {
4900
4918
  /** Data format of the dataset. */
4901
4919
  format?: string;
4902
- /** Google Cloud Storage URI to the input file(s). May contain wildcards. For more information on wildcards, see https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames. */
4920
+ /** Google Cloud Storage URI to the input file(s). May contain wildcards. For more information on wildcards, see https://cloud.google.com/storage/docs/wildcards. */
4903
4921
  gcsUri?: string;
4904
4922
  }
4905
4923
  interface GoogleCloudAiplatformV1beta1ModelMonitoringInputTimeOffset {
@@ -5513,6 +5531,14 @@ declare namespace gapi.client {
5513
5531
  /** 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. */
5514
5532
  idleTimeout?: string;
5515
5533
  }
5534
+ interface GoogleCloudAiplatformV1beta1NotebookReservationAffinity {
5535
+ /** 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. */
5536
+ consumeReservationType?: string;
5537
+ /** 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. */
5538
+ key?: string;
5539
+ /** Optional. Corresponds to the label values of a reservation resource. This must be the full path name of Reservation. */
5540
+ values?: string[];
5541
+ }
5516
5542
  interface GoogleCloudAiplatformV1beta1NotebookRuntime {
5517
5543
  /** Output only. Timestamp when this NotebookRuntime was created. */
5518
5544
  createTime?: string;
@@ -5550,6 +5576,8 @@ declare namespace gapi.client {
5550
5576
  notebookRuntimeType?: string;
5551
5577
  /** Output only. The proxy endpoint used to access the NotebookRuntime. */
5552
5578
  proxyUri?: string;
5579
+ /** Output only. Reservation Affinity of the notebook runtime. */
5580
+ reservationAffinity?: GoogleCloudAiplatformV1beta1NotebookReservationAffinity;
5553
5581
  /** Output only. The runtime (instance) state of the NotebookRuntime. */
5554
5582
  runtimeState?: string;
5555
5583
  /** Required. The user email of the NotebookRuntime. */
@@ -5600,6 +5628,8 @@ declare namespace gapi.client {
5600
5628
  networkTags?: string[];
5601
5629
  /** Optional. Immutable. The type of the notebook runtime template. */
5602
5630
  notebookRuntimeType?: string;
5631
+ /** Optional. Reservation Affinity of the notebook runtime template. */
5632
+ reservationAffinity?: GoogleCloudAiplatformV1beta1NotebookReservationAffinity;
5603
5633
  /** Deprecated: This field is ignored and the "Vertex AI Notebook Service Account" (service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is used for the runtime workload identity. See https://cloud.google.com/iam/docs/service-agents#vertex-ai-notebook-service-account for more details. For NotebookExecutionJob, use NotebookExecutionJob.service_account instead. 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. */
5604
5634
  serviceAccount?: string;
5605
5635
  /** Optional. Immutable. Runtime Shielded VM spec. */
@@ -6047,6 +6077,10 @@ declare namespace gapi.client {
6047
6077
  bigqueryDestination?: GoogleCloudAiplatformV1beta1BigQueryDestination;
6048
6078
  /** If logging is enabled or not. */
6049
6079
  enabled?: boolean;
6080
+ /** This field is used for large models. If true, in addition to the original large model logs, logs will be converted in OTel schema format, and saved in otel_log column. Default value is false. */
6081
+ enableOtelLogging?: boolean;
6082
+ /** Output only. The schema version used in creating the BigQuery table for the request response logging. The versions are "v1" and "v2". The current default version is "v1". */
6083
+ requestResponseLoggingSchemaVersion?: string;
6050
6084
  /** Percentage of requests to be logged, expressed as a fraction in range(0,1]. */
6051
6085
  samplingRate?: number;
6052
6086
  }
@@ -6125,7 +6159,7 @@ declare namespace gapi.client {
6125
6159
  interface GoogleCloudAiplatformV1beta1ProbeGrpcAction {
6126
6160
  /** Port number of the gRPC service. Number must be in the range 1 to 65535. */
6127
6161
  port?: number;
6128
- /** Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC. */
6162
+ /** Service is the name of the service to place in the gRPC HealthCheckRequest. See https://github.com/grpc/grpc/blob/master/doc/health-checking.md. If this is not specified, the default behavior is defined by gRPC. */
6129
6163
  service?: string;
6130
6164
  }
6131
6165
  interface GoogleCloudAiplatformV1beta1ProbeHttpGetAction {
@@ -6288,6 +6322,10 @@ declare namespace gapi.client {
6288
6322
  /** Required. The title of the view rest API. */
6289
6323
  title?: string;
6290
6324
  }
6325
+ interface GoogleCloudAiplatformV1beta1PublisherModelConfig {
6326
+ /** The prediction request/response logging config. */
6327
+ loggingConfig?: GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig;
6328
+ }
6291
6329
  interface GoogleCloudAiplatformV1beta1PublisherModelDocumentation {
6292
6330
  /** Required. Content of this piece of document (in Markdown format). */
6293
6331
  content?: string;
@@ -6530,11 +6568,25 @@ declare namespace gapi.client {
6530
6568
  /** Optional. Which version to use for evaluation. */
6531
6569
  version?: number;
6532
6570
  }
6571
+ interface GoogleCloudAiplatformV1beta1RagChunk {
6572
+ /** If populated, represents where the chunk starts and ends in the document. */
6573
+ pageSpan?: GoogleCloudAiplatformV1beta1RagChunkPageSpan;
6574
+ /** The content of the chunk. */
6575
+ text?: string;
6576
+ }
6577
+ interface GoogleCloudAiplatformV1beta1RagChunkPageSpan {
6578
+ /** Page where chunk starts in the document. Inclusive. 1-indexed. */
6579
+ firstPage?: number;
6580
+ /** Page where chunk ends in the document. Inclusive. 1-indexed. */
6581
+ lastPage?: number;
6582
+ }
6533
6583
  interface GoogleCloudAiplatformV1beta1RagContexts {
6534
6584
  /** All its contexts. */
6535
6585
  contexts?: GoogleCloudAiplatformV1beta1RagContextsContext[];
6536
6586
  }
6537
6587
  interface GoogleCloudAiplatformV1beta1RagContextsContext {
6588
+ /** Context of the retrieved chunk. */
6589
+ chunk?: GoogleCloudAiplatformV1beta1RagChunk;
6538
6590
  /** The distance between the query dense embedding vector and the context text vector. */
6539
6591
  distance?: number;
6540
6592
  /** According to the underlying Vector DB and the selected metric type, the score can be either the distance or the similarity between the query and the context and its range depends on the metric type. For example, if the metric type is COSINE_DISTANCE, it represents the distance between the query and the context. The larger the distance, the less relevant the context is to the query. The range is [0, 2], while 0 means the most relevant and 2 means the least relevant. */
@@ -6604,6 +6656,12 @@ declare namespace gapi.client {
6604
6656
  /** Output only. Version ID of the model that is deployed on the endpoint. Present only when the endpoint is not a publisher model. */
6605
6657
  modelVersionId?: string;
6606
6658
  }
6659
+ interface GoogleCloudAiplatformV1beta1RagEngineConfig {
6660
+ /** Identifier. The name of the RagEngineConfig. Format: `projects/{project}/locations/{location}/ragEngineConfig` */
6661
+ name?: string;
6662
+ /** The config of the RagManagedDb used by RagEngine. */
6663
+ ragManagedDbConfig?: GoogleCloudAiplatformV1beta1RagManagedDbConfig;
6664
+ }
6607
6665
  interface GoogleCloudAiplatformV1beta1RagFile {
6608
6666
  /** Output only. Timestamp when this RagFile was created. */
6609
6667
  createTime?: string;
@@ -6684,6 +6742,14 @@ declare namespace gapi.client {
6684
6742
  /** Specifies the chunking config for RagFiles. */
6685
6743
  ragFileChunkingConfig?: GoogleCloudAiplatformV1beta1RagFileChunkingConfig;
6686
6744
  }
6745
+ interface GoogleCloudAiplatformV1beta1RagManagedDbConfig {
6746
+ /** Sets the RagManagedDb to the Basic tier. */
6747
+ basic?: any;
6748
+ /** Sets the RagManagedDb to the Enterprise tier. This is the default tier if not explicitly chosen. */
6749
+ enterprise?: any;
6750
+ }
6751
+ interface GoogleCloudAiplatformV1beta1RagManagedDbConfigBasic {}
6752
+ interface GoogleCloudAiplatformV1beta1RagManagedDbConfigEnterprise {}
6687
6753
  interface GoogleCloudAiplatformV1beta1RagQuery {
6688
6754
  /** Optional. The retrieval config for the query. */
6689
6755
  ragRetrievalConfig?: GoogleCloudAiplatformV1beta1RagRetrievalConfig;
@@ -6727,7 +6793,7 @@ declare namespace gapi.client {
6727
6793
  rankService?: GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService;
6728
6794
  }
6729
6795
  interface GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker {
6730
- /** Optional. The model name used for ranking. Format: `gemini-1.5-pro` */
6796
+ /** Optional. The model name used for ranking. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models). */
6731
6797
  modelName?: string;
6732
6798
  }
6733
6799
  interface GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService {
@@ -6890,7 +6956,7 @@ declare namespace gapi.client {
6890
6956
  updateTime?: string;
6891
6957
  }
6892
6958
  interface GoogleCloudAiplatformV1beta1ReasoningEngineSpec {
6893
- /** Optional. The OSS agent framework used to develop the agent. Currently supported values: "langchain", "langgraph", "ag2", "custom". */
6959
+ /** Optional. The OSS agent framework used to develop the agent. Currently supported values: "google-adk", "langchain", "langgraph", "ag2", "llama-index", "custom". */
6894
6960
  agentFramework?: string;
6895
6961
  /** Optional. Declarations for object class methods in OpenAPI specification format. */
6896
6962
  classMethods?: Array<{[P in string]: any}>;
@@ -9005,6 +9071,10 @@ declare namespace gapi.client {
9005
9071
  /** Required. Timestamp when the event was created on client side. */
9006
9072
  timestamp?: string;
9007
9073
  }
9074
+ interface GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest {
9075
+ /** Required. The publisher model config. */
9076
+ publisherModelConfig?: GoogleCloudAiplatformV1beta1PublisherModelConfig;
9077
+ }
9008
9078
  interface GoogleCloudAiplatformV1beta1SharePointSources {
9009
9079
  /** The SharePoint sources. */
9010
9080
  sharePointSources?: GoogleCloudAiplatformV1beta1SharePointSourcesSharePointSource[];
@@ -9090,6 +9160,8 @@ declare namespace gapi.client {
9090
9160
  ngramSize?: number;
9091
9161
  }
9092
9162
  interface GoogleCloudAiplatformV1beta1SpeechConfig {
9163
+ /** Optional. Language code (ISO 639. e.g. en-US) for the speech synthesization. */
9164
+ languageCode?: string;
9093
9165
  /** The configuration for the speaker to use. */
9094
9166
  voiceConfig?: GoogleCloudAiplatformV1beta1VoiceConfig;
9095
9167
  }
@@ -10118,7 +10190,7 @@ declare namespace gapi.client {
10118
10190
  supervisedTuningDataStats?: GoogleCloudAiplatformV1beta1SupervisedTuningDataStats;
10119
10191
  }
10120
10192
  interface GoogleCloudAiplatformV1beta1TuningJob {
10121
- /** The base model that is being tuned, e.g., "gemini-1.0-pro-002". . */
10193
+ /** The base model that is being tuned. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#supported_models). */
10122
10194
  baseModel?: string;
10123
10195
  /** Output only. Time when the TuningJob was created. */
10124
10196
  createTime?: string;
@@ -10554,6 +10626,128 @@ declare namespace gapi.client {
10554
10626
  /** The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. */
10555
10627
  units?: string;
10556
10628
  }
10629
+ interface BatchPredictionJobsResource {
10630
+ /** Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start. */
10631
+ create(request: {
10632
+ /** V1 error format. */
10633
+ '$.xgafv'?: string;
10634
+ /** OAuth access token. */
10635
+ access_token?: string;
10636
+ /** Data format for response. */
10637
+ alt?: string;
10638
+ /** JSONP */
10639
+ callback?: string;
10640
+ /** Selector specifying which fields to include in a partial response. */
10641
+ fields?: string;
10642
+ /** 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. */
10643
+ key?: string;
10644
+ /** OAuth 2.0 token for the current user. */
10645
+ oauth_token?: string;
10646
+ /** Required. The resource name of the Location to create the BatchPredictionJob in. Format: `projects/{project}/locations/{location}` */
10647
+ parent?: string;
10648
+ /** Returns response with indentations and line breaks. */
10649
+ prettyPrint?: boolean;
10650
+ /** 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. */
10651
+ quotaUser?: string;
10652
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10653
+ upload_protocol?: string;
10654
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10655
+ uploadType?: string;
10656
+ /** Request body */
10657
+ resource: GoogleCloudAiplatformV1beta1BatchPredictionJob;
10658
+ }): Request<GoogleCloudAiplatformV1beta1BatchPredictionJob>;
10659
+ create(
10660
+ request: {
10661
+ /** V1 error format. */
10662
+ '$.xgafv'?: string;
10663
+ /** OAuth access token. */
10664
+ access_token?: string;
10665
+ /** Data format for response. */
10666
+ alt?: string;
10667
+ /** JSONP */
10668
+ callback?: string;
10669
+ /** Selector specifying which fields to include in a partial response. */
10670
+ fields?: string;
10671
+ /** 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. */
10672
+ key?: string;
10673
+ /** OAuth 2.0 token for the current user. */
10674
+ oauth_token?: string;
10675
+ /** Required. The resource name of the Location to create the BatchPredictionJob in. Format: `projects/{project}/locations/{location}` */
10676
+ parent?: string;
10677
+ /** Returns response with indentations and line breaks. */
10678
+ prettyPrint?: boolean;
10679
+ /** 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. */
10680
+ quotaUser?: string;
10681
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10682
+ upload_protocol?: string;
10683
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10684
+ uploadType?: string;
10685
+ },
10686
+ body: GoogleCloudAiplatformV1beta1BatchPredictionJob,
10687
+ ): Request<GoogleCloudAiplatformV1beta1BatchPredictionJob>;
10688
+ /** Gets a BatchPredictionJob */
10689
+ get(request?: {
10690
+ /** V1 error format. */
10691
+ '$.xgafv'?: string;
10692
+ /** OAuth access token. */
10693
+ access_token?: string;
10694
+ /** Data format for response. */
10695
+ alt?: string;
10696
+ /** JSONP */
10697
+ callback?: string;
10698
+ /** Selector specifying which fields to include in a partial response. */
10699
+ fields?: string;
10700
+ /** 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. */
10701
+ key?: string;
10702
+ /** Required. The name of the BatchPredictionJob resource. Format: `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` */
10703
+ name: string;
10704
+ /** OAuth 2.0 token for the current user. */
10705
+ oauth_token?: string;
10706
+ /** Returns response with indentations and line breaks. */
10707
+ prettyPrint?: boolean;
10708
+ /** 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. */
10709
+ quotaUser?: string;
10710
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10711
+ upload_protocol?: string;
10712
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10713
+ uploadType?: string;
10714
+ }): Request<GoogleCloudAiplatformV1beta1BatchPredictionJob>;
10715
+ /** Lists BatchPredictionJobs in a Location. */
10716
+ list(request?: {
10717
+ /** V1 error format. */
10718
+ '$.xgafv'?: string;
10719
+ /** OAuth access token. */
10720
+ access_token?: string;
10721
+ /** Data format for response. */
10722
+ alt?: string;
10723
+ /** JSONP */
10724
+ callback?: string;
10725
+ /** Selector specifying which fields to include in a partial response. */
10726
+ fields?: string;
10727
+ /** The standard list filter. Supported fields: * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. * `model_display_name` supports `=`, `!=` comparisons. * `state` supports `=`, `!=` comparisons. * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format. * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* - key existence Some examples of using the filter are: * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * `NOT display_name="my_job"` * `create_time>"2021-05-18T00:00:00Z"` * `labels.keyA=valueA` * `labels.keyB:*` */
10728
+ filter?: string;
10729
+ /** 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. */
10730
+ key?: string;
10731
+ /** OAuth 2.0 token for the current user. */
10732
+ oauth_token?: string;
10733
+ /** The standard list page size. */
10734
+ pageSize?: number;
10735
+ /** The standard list page token. Typically obtained via ListBatchPredictionJobsResponse.next_page_token of the previous JobService.ListBatchPredictionJobs call. */
10736
+ pageToken?: string;
10737
+ /** Required. The resource name of the Location to list the BatchPredictionJobs from. Format: `projects/{project}/locations/{location}` */
10738
+ parent?: string;
10739
+ /** Returns response with indentations and line breaks. */
10740
+ prettyPrint?: boolean;
10741
+ /** 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. */
10742
+ quotaUser?: string;
10743
+ /** Mask specifying which fields to read. */
10744
+ readMask?: string;
10745
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10746
+ upload_protocol?: string;
10747
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10748
+ uploadType?: string;
10749
+ }): Request<GoogleCloudAiplatformV1beta1ListBatchPredictionJobsResponse>;
10750
+ }
10557
10751
  interface DatasetVersionsResource {
10558
10752
  /** Create a version from a Dataset. */
10559
10753
  create(request: {
@@ -11012,6 +11206,66 @@ declare namespace gapi.client {
11012
11206
  ): Request<GoogleCloudAiplatformV1beta1Dataset>;
11013
11207
  datasetVersions: DatasetVersionsResource;
11014
11208
  }
11209
+ interface ChatResource {
11210
+ /** Exposes an OpenAI-compatible endpoint for chat completions. */
11211
+ completions(request: {
11212
+ /** V1 error format. */
11213
+ '$.xgafv'?: string;
11214
+ /** OAuth access token. */
11215
+ access_token?: string;
11216
+ /** Data format for response. */
11217
+ alt?: string;
11218
+ /** JSONP */
11219
+ callback?: string;
11220
+ /** Required. The name of the endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
11221
+ endpoint: string;
11222
+ /** Selector specifying which fields to include in a partial response. */
11223
+ fields?: string;
11224
+ /** 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. */
11225
+ key?: string;
11226
+ /** OAuth 2.0 token for the current user. */
11227
+ oauth_token?: string;
11228
+ /** Returns response with indentations and line breaks. */
11229
+ prettyPrint?: boolean;
11230
+ /** 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. */
11231
+ quotaUser?: string;
11232
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11233
+ upload_protocol?: string;
11234
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11235
+ uploadType?: string;
11236
+ /** Request body */
11237
+ resource: GoogleApiHttpBody;
11238
+ }): Request<GoogleApiHttpBody>;
11239
+ completions(
11240
+ request: {
11241
+ /** V1 error format. */
11242
+ '$.xgafv'?: string;
11243
+ /** OAuth access token. */
11244
+ access_token?: string;
11245
+ /** Data format for response. */
11246
+ alt?: string;
11247
+ /** JSONP */
11248
+ callback?: string;
11249
+ /** Required. The name of the endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
11250
+ endpoint: string;
11251
+ /** Selector specifying which fields to include in a partial response. */
11252
+ fields?: string;
11253
+ /** 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. */
11254
+ key?: string;
11255
+ /** OAuth 2.0 token for the current user. */
11256
+ oauth_token?: string;
11257
+ /** Returns response with indentations and line breaks. */
11258
+ prettyPrint?: boolean;
11259
+ /** 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. */
11260
+ quotaUser?: string;
11261
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11262
+ upload_protocol?: string;
11263
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11264
+ uploadType?: string;
11265
+ },
11266
+ body: GoogleApiHttpBody,
11267
+ ): Request<GoogleApiHttpBody>;
11268
+ }
11015
11269
  interface EndpointsResource {
11016
11270
  /** Return a list of tokens based on the input text. */
11017
11271
  computeTokens(request: {
@@ -11303,6 +11557,7 @@ declare namespace gapi.client {
11303
11557
  },
11304
11558
  body: GoogleCloudAiplatformV1beta1GenerateContentRequest,
11305
11559
  ): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
11560
+ chat: ChatResource;
11306
11561
  }
11307
11562
  interface MediaResource {
11308
11563
  /** Upload a file into a RagCorpus. */
@@ -16744,7 +16999,7 @@ declare namespace gapi.client {
16744
16999
  'exampleStore.description'?: string;
16745
17000
  /** Required. Display name of the ExampleStore. */
16746
17001
  'exampleStore.displayName'?: string;
16747
- /** Required. The embedding model to be used for vector embedding. Immutable. Supported models: * "textembedding-gecko@003" * "text-embedding-004" * "text-embedding-005" * "text-multilingual-embedding-002" */
17002
+ /** Required. The embedding model to be used for vector embedding. Immutable. Supported models: * "text-embedding-005" * "text-multilingual-embedding-002" */
16748
17003
  'exampleStore.exampleStoreConfig.vertexEmbeddingModel'?: string;
16749
17004
  /** Identifier. The resource name of the ExampleStore. This is a unique identifier. Format: projects/{project}/locations/{location}/exampleStores/{example_store} */
16750
17005
  'exampleStore.name'?: string;
@@ -31123,6 +31378,33 @@ declare namespace gapi.client {
31123
31378
  },
31124
31379
  body: GoogleCloudAiplatformV1beta1FetchPredictOperationRequest,
31125
31380
  ): Request<GoogleLongrunningOperation>;
31381
+ /** Fetches the configs of publisher models. */
31382
+ fetchPublisherModelConfig(request?: {
31383
+ /** V1 error format. */
31384
+ '$.xgafv'?: string;
31385
+ /** OAuth access token. */
31386
+ access_token?: string;
31387
+ /** Data format for response. */
31388
+ alt?: string;
31389
+ /** JSONP */
31390
+ callback?: string;
31391
+ /** Selector specifying which fields to include in a partial response. */
31392
+ fields?: string;
31393
+ /** 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. */
31394
+ key?: string;
31395
+ /** Required. The name of the publisher model, in the format of `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`. */
31396
+ name: string;
31397
+ /** OAuth 2.0 token for the current user. */
31398
+ oauth_token?: string;
31399
+ /** Returns response with indentations and line breaks. */
31400
+ prettyPrint?: boolean;
31401
+ /** 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. */
31402
+ quotaUser?: string;
31403
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
31404
+ upload_protocol?: string;
31405
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
31406
+ uploadType?: string;
31407
+ }): Request<GoogleCloudAiplatformV1beta1PublisherModelConfig>;
31126
31408
  /** Generate content with multimodal inputs. */
31127
31409
  generateContent(request: {
31128
31410
  /** V1 error format. */
@@ -31441,6 +31723,64 @@ declare namespace gapi.client {
31441
31723
  },
31442
31724
  body: GoogleCloudAiplatformV1beta1StreamingPredictRequest,
31443
31725
  ): Request<GoogleCloudAiplatformV1beta1StreamingPredictResponse>;
31726
+ /** Sets (creates or updates) configs of publisher models. For example, sets the request/response logging config. */
31727
+ setPublisherModelConfig(request: {
31728
+ /** V1 error format. */
31729
+ '$.xgafv'?: string;
31730
+ /** OAuth access token. */
31731
+ access_token?: string;
31732
+ /** Data format for response. */
31733
+ alt?: string;
31734
+ /** JSONP */
31735
+ callback?: string;
31736
+ /** Selector specifying which fields to include in a partial response. */
31737
+ fields?: string;
31738
+ /** 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. */
31739
+ key?: string;
31740
+ /** Required. The name of the publisher model, in the format of `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`. */
31741
+ name: string;
31742
+ /** OAuth 2.0 token for the current user. */
31743
+ oauth_token?: string;
31744
+ /** Returns response with indentations and line breaks. */
31745
+ prettyPrint?: boolean;
31746
+ /** 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. */
31747
+ quotaUser?: string;
31748
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
31749
+ upload_protocol?: string;
31750
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
31751
+ uploadType?: string;
31752
+ /** Request body */
31753
+ resource: GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest;
31754
+ }): Request<GoogleLongrunningOperation>;
31755
+ setPublisherModelConfig(
31756
+ request: {
31757
+ /** V1 error format. */
31758
+ '$.xgafv'?: string;
31759
+ /** OAuth access token. */
31760
+ access_token?: string;
31761
+ /** Data format for response. */
31762
+ alt?: string;
31763
+ /** JSONP */
31764
+ callback?: string;
31765
+ /** Selector specifying which fields to include in a partial response. */
31766
+ fields?: string;
31767
+ /** 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. */
31768
+ key?: string;
31769
+ /** Required. The name of the publisher model, in the format of `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`. */
31770
+ name: string;
31771
+ /** OAuth 2.0 token for the current user. */
31772
+ oauth_token?: string;
31773
+ /** Returns response with indentations and line breaks. */
31774
+ prettyPrint?: boolean;
31775
+ /** 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. */
31776
+ quotaUser?: string;
31777
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
31778
+ upload_protocol?: string;
31779
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
31780
+ uploadType?: string;
31781
+ },
31782
+ body: GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest,
31783
+ ): Request<GoogleLongrunningOperation>;
31444
31784
  /** Generate content with multimodal inputs with streaming support. */
31445
31785
  streamGenerateContent(request: {
31446
31786
  /** V1 error format. */
@@ -32349,6 +32689,154 @@ declare namespace gapi.client {
32349
32689
  uploadType?: string;
32350
32690
  }): Request<GoogleLongrunningOperation>;
32351
32691
  }
32692
+ interface RagEngineConfigResource {
32693
+ operations: OperationsResource;
32694
+ }
32695
+ interface OperationsResource {
32696
+ /** 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`. */
32697
+ cancel(request?: {
32698
+ /** V1 error format. */
32699
+ '$.xgafv'?: string;
32700
+ /** OAuth access token. */
32701
+ access_token?: string;
32702
+ /** Data format for response. */
32703
+ alt?: string;
32704
+ /** JSONP */
32705
+ callback?: string;
32706
+ /** Selector specifying which fields to include in a partial response. */
32707
+ fields?: string;
32708
+ /** 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. */
32709
+ key?: string;
32710
+ /** The name of the operation resource to be cancelled. */
32711
+ name: string;
32712
+ /** OAuth 2.0 token for the current user. */
32713
+ oauth_token?: string;
32714
+ /** Returns response with indentations and line breaks. */
32715
+ prettyPrint?: boolean;
32716
+ /** 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. */
32717
+ quotaUser?: string;
32718
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32719
+ upload_protocol?: string;
32720
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32721
+ uploadType?: string;
32722
+ }): Request<{}>;
32723
+ /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
32724
+ delete(request?: {
32725
+ /** V1 error format. */
32726
+ '$.xgafv'?: string;
32727
+ /** OAuth access token. */
32728
+ access_token?: string;
32729
+ /** Data format for response. */
32730
+ alt?: string;
32731
+ /** JSONP */
32732
+ callback?: string;
32733
+ /** Selector specifying which fields to include in a partial response. */
32734
+ fields?: string;
32735
+ /** 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. */
32736
+ key?: string;
32737
+ /** The name of the operation resource to be deleted. */
32738
+ name: string;
32739
+ /** OAuth 2.0 token for the current user. */
32740
+ oauth_token?: string;
32741
+ /** Returns response with indentations and line breaks. */
32742
+ prettyPrint?: boolean;
32743
+ /** 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. */
32744
+ quotaUser?: string;
32745
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32746
+ upload_protocol?: string;
32747
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32748
+ uploadType?: string;
32749
+ }): Request<{}>;
32750
+ /** 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. */
32751
+ get(request?: {
32752
+ /** V1 error format. */
32753
+ '$.xgafv'?: string;
32754
+ /** OAuth access token. */
32755
+ access_token?: string;
32756
+ /** Data format for response. */
32757
+ alt?: string;
32758
+ /** JSONP */
32759
+ callback?: string;
32760
+ /** Selector specifying which fields to include in a partial response. */
32761
+ fields?: string;
32762
+ /** 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. */
32763
+ key?: string;
32764
+ /** The name of the operation resource. */
32765
+ name: string;
32766
+ /** OAuth 2.0 token for the current user. */
32767
+ oauth_token?: string;
32768
+ /** Returns response with indentations and line breaks. */
32769
+ prettyPrint?: boolean;
32770
+ /** 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. */
32771
+ quotaUser?: string;
32772
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32773
+ upload_protocol?: string;
32774
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32775
+ uploadType?: string;
32776
+ }): Request<GoogleLongrunningOperation>;
32777
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
32778
+ list(request?: {
32779
+ /** V1 error format. */
32780
+ '$.xgafv'?: string;
32781
+ /** OAuth access token. */
32782
+ access_token?: string;
32783
+ /** Data format for response. */
32784
+ alt?: string;
32785
+ /** JSONP */
32786
+ callback?: string;
32787
+ /** Selector specifying which fields to include in a partial response. */
32788
+ fields?: string;
32789
+ /** The standard list filter. */
32790
+ filter?: string;
32791
+ /** 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. */
32792
+ key?: string;
32793
+ /** The name of the operation's parent resource. */
32794
+ name: string;
32795
+ /** OAuth 2.0 token for the current user. */
32796
+ oauth_token?: string;
32797
+ /** The standard list page size. */
32798
+ pageSize?: number;
32799
+ /** The standard list page token. */
32800
+ pageToken?: string;
32801
+ /** Returns response with indentations and line breaks. */
32802
+ prettyPrint?: boolean;
32803
+ /** 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. */
32804
+ quotaUser?: string;
32805
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32806
+ upload_protocol?: string;
32807
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32808
+ uploadType?: string;
32809
+ }): Request<GoogleLongrunningListOperationsResponse>;
32810
+ /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */
32811
+ wait(request?: {
32812
+ /** V1 error format. */
32813
+ '$.xgafv'?: string;
32814
+ /** OAuth access token. */
32815
+ access_token?: string;
32816
+ /** Data format for response. */
32817
+ alt?: string;
32818
+ /** JSONP */
32819
+ callback?: string;
32820
+ /** Selector specifying which fields to include in a partial response. */
32821
+ fields?: string;
32822
+ /** 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. */
32823
+ key?: string;
32824
+ /** The name of the operation resource to wait on. */
32825
+ name: string;
32826
+ /** OAuth 2.0 token for the current user. */
32827
+ oauth_token?: string;
32828
+ /** Returns response with indentations and line breaks. */
32829
+ prettyPrint?: boolean;
32830
+ /** 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. */
32831
+ quotaUser?: string;
32832
+ /** The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. */
32833
+ timeout?: string;
32834
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32835
+ upload_protocol?: string;
32836
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32837
+ uploadType?: string;
32838
+ }): Request<GoogleLongrunningOperation>;
32839
+ }
32352
32840
  interface EventsResource {
32353
32841
  /** Lists Events in a given session. */
32354
32842
  list(request?: {
@@ -37982,6 +38470,33 @@ declare namespace gapi.client {
37982
38470
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
37983
38471
  uploadType?: string;
37984
38472
  }): Request<GoogleCloudLocationLocation>;
38473
+ /** Gets a RagEngineConfig. */
38474
+ getRagEngineConfig(request?: {
38475
+ /** V1 error format. */
38476
+ '$.xgafv'?: string;
38477
+ /** OAuth access token. */
38478
+ access_token?: string;
38479
+ /** Data format for response. */
38480
+ alt?: string;
38481
+ /** JSONP */
38482
+ callback?: string;
38483
+ /** Selector specifying which fields to include in a partial response. */
38484
+ fields?: string;
38485
+ /** 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. */
38486
+ key?: string;
38487
+ /** Required. The name of the RagEngineConfig resource. Format: `projects/{project}/locations/{location}/ragEngineConfig` */
38488
+ name: string;
38489
+ /** OAuth 2.0 token for the current user. */
38490
+ oauth_token?: string;
38491
+ /** Returns response with indentations and line breaks. */
38492
+ prettyPrint?: boolean;
38493
+ /** 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. */
38494
+ quotaUser?: string;
38495
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
38496
+ upload_protocol?: string;
38497
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
38498
+ uploadType?: string;
38499
+ }): Request<GoogleCloudAiplatformV1beta1RagEngineConfig>;
37985
38500
  /** Lists information about the supported locations for this service. */
37986
38501
  list(request?: {
37987
38502
  /** V1 error format. */
@@ -38075,6 +38590,64 @@ declare namespace gapi.client {
38075
38590
  },
38076
38591
  body: GoogleCloudAiplatformV1beta1RetrieveContextsRequest,
38077
38592
  ): Request<GoogleCloudAiplatformV1beta1RetrieveContextsResponse>;
38593
+ /** Updates a RagEngineConfig. */
38594
+ updateRagEngineConfig(request: {
38595
+ /** V1 error format. */
38596
+ '$.xgafv'?: string;
38597
+ /** OAuth access token. */
38598
+ access_token?: string;
38599
+ /** Data format for response. */
38600
+ alt?: string;
38601
+ /** JSONP */
38602
+ callback?: string;
38603
+ /** Selector specifying which fields to include in a partial response. */
38604
+ fields?: string;
38605
+ /** 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. */
38606
+ key?: string;
38607
+ /** Identifier. The name of the RagEngineConfig. Format: `projects/{project}/locations/{location}/ragEngineConfig` */
38608
+ name: string;
38609
+ /** OAuth 2.0 token for the current user. */
38610
+ oauth_token?: string;
38611
+ /** Returns response with indentations and line breaks. */
38612
+ prettyPrint?: boolean;
38613
+ /** 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. */
38614
+ quotaUser?: string;
38615
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
38616
+ upload_protocol?: string;
38617
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
38618
+ uploadType?: string;
38619
+ /** Request body */
38620
+ resource: GoogleCloudAiplatformV1beta1RagEngineConfig;
38621
+ }): Request<GoogleLongrunningOperation>;
38622
+ updateRagEngineConfig(
38623
+ request: {
38624
+ /** V1 error format. */
38625
+ '$.xgafv'?: string;
38626
+ /** OAuth access token. */
38627
+ access_token?: string;
38628
+ /** Data format for response. */
38629
+ alt?: string;
38630
+ /** JSONP */
38631
+ callback?: string;
38632
+ /** Selector specifying which fields to include in a partial response. */
38633
+ fields?: string;
38634
+ /** 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. */
38635
+ key?: string;
38636
+ /** Identifier. The name of the RagEngineConfig. Format: `projects/{project}/locations/{location}/ragEngineConfig` */
38637
+ name: string;
38638
+ /** OAuth 2.0 token for the current user. */
38639
+ oauth_token?: string;
38640
+ /** Returns response with indentations and line breaks. */
38641
+ prettyPrint?: boolean;
38642
+ /** 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. */
38643
+ quotaUser?: string;
38644
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
38645
+ upload_protocol?: string;
38646
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
38647
+ uploadType?: string;
38648
+ },
38649
+ body: GoogleCloudAiplatformV1beta1RagEngineConfig,
38650
+ ): Request<GoogleLongrunningOperation>;
38078
38651
  agents: AgentsResource;
38079
38652
  apps: AppsResource;
38080
38653
  batchPredictionJobs: BatchPredictionJobsResource;
@@ -38109,6 +38682,7 @@ declare namespace gapi.client {
38109
38682
  pipelineJobs: PipelineJobsResource;
38110
38683
  publishers: PublishersResource;
38111
38684
  ragCorpora: RagCorporaResource;
38685
+ ragEngineConfig: RagEngineConfigResource;
38112
38686
  reasoningEngines: ReasoningEnginesResource;
38113
38687
  schedules: SchedulesResource;
38114
38688
  sessions: SessionsResource;
@@ -38700,6 +39274,8 @@ declare namespace gapi.client {
38700
39274
  models: ModelsResource;
38701
39275
  }
38702
39276
 
39277
+ const batchPredictionJobs: BatchPredictionJobsResource;
39278
+
38703
39279
  const datasets: DatasetsResource;
38704
39280
 
38705
39281
  const endpoints: EndpointsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1beta1",
3
- "version": "0.0.20250322",
3
+ "version": "0.0.20250415",
4
4
  "description": "TypeScript typings for Vertex AI API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -72,6 +72,21 @@ gapi.auth.authorize(
72
72
  After that you can use Vertex AI API resources: <!-- TODO: make this work for multiple namespaces -->
73
73
 
74
74
  ```typescript
75
+ /*
76
+ Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start.
77
+ */
78
+ await gapi.client.aiplatform.batchPredictionJobs.create({});
79
+
80
+ /*
81
+ Gets a BatchPredictionJob
82
+ */
83
+ await gapi.client.aiplatform.batchPredictionJobs.get({name: 'name'});
84
+
85
+ /*
86
+ Lists BatchPredictionJobs in a Location.
87
+ */
88
+ await gapi.client.aiplatform.batchPredictionJobs.list({});
89
+
75
90
  /*
76
91
  Creates a Dataset.
77
92
  */