@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20240117 → 0.0.20240205

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 +533 -24
  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=v1
12
- // Revision: 20240117
12
+ // Revision: 20240205
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -128,6 +128,8 @@ declare namespace gapi.client {
128
128
  finishMessage?: string;
129
129
  /** The reason why the model stopped generating tokens. */
130
130
  finishReason?: string;
131
+ /** Grounding metadata. Combine with the facts list from response to generate grounding citations for this choice. */
132
+ groundingMetadata?: LearningGenaiRootGroundingMetadata;
131
133
  /** Index of the candidate. */
132
134
  index?: number;
133
135
  /** Safety ratings of the generated content. */
@@ -157,6 +159,16 @@ declare namespace gapi.client {
157
159
  /** The role of the current conversation participant. */
158
160
  role?: string;
159
161
  }
162
+ interface CloudAiNlLlmProtoServiceFact {
163
+ /** Query that is used to retrieve this fact. */
164
+ query?: string;
165
+ /** If present, the summary/snippet of the fact. */
166
+ summary?: string;
167
+ /** If present, it refers to the title of this fact. */
168
+ title?: string;
169
+ /** If present, this URL links to the webpage of the fact. */
170
+ url?: string;
171
+ }
160
172
  interface CloudAiNlLlmProtoServiceFunctionCall {
161
173
  /** The function parameters and values in JSON format. */
162
174
  args?: {[P in string]: any};
@@ -174,6 +186,8 @@ declare namespace gapi.client {
174
186
  candidates?: CloudAiNlLlmProtoServiceCandidate[];
175
187
  /** Debug information containing message metadata. Clients should not consume this field, and this is only populated for Flow Runner path. */
176
188
  debugMetadata?: CloudAiNlLlmProtoServiceMessageMetadata;
189
+ /** External facts retrieved for factuality/grounding. */
190
+ facts?: CloudAiNlLlmProtoServiceFact[];
177
191
  /** Content filter results for a prompt sent in the request. Note: Sent only in the first stream chunk. Only happens when no candidates were generated due to content violations. */
178
192
  promptFeedback?: CloudAiNlLlmProtoServicePromptFeedback;
179
193
  /** Billable prediction metrics. */
@@ -241,7 +255,7 @@ declare namespace gapi.client {
241
255
  /** Whether the text should be filtered and not shown to the end user. This is determined based on a combination of `triggered_recitation`, `triggered_blocklist`, `language_filter_result`, and `triggered_safety_filter`. */
242
256
  filtered?: boolean;
243
257
  /** Language filter result from SAFT LangId. */
244
- languageFilterResult?: LearningServingLlmLanguageFilterResult;
258
+ languageFilterResult?: LearningGenaiRootLanguageFilterResult;
245
259
  /** The RAI signals for the text. */
246
260
  raiSignals?: CloudAiNlLlmProtoServiceRaiSignal[];
247
261
  /** Whether the text triggered the blocklist. */
@@ -875,6 +889,8 @@ declare namespace gapi.client {
875
889
  pipelineJob?: GoogleCloudAiplatformV1PipelineJob;
876
890
  /** The ID to use for the PipelineJob, which will become the final component of the PipelineJob name. If not provided, an ID will be automatically generated. This value should be less than 128 characters, and valid characters are `/a-z-/`. */
877
891
  pipelineJobId?: string;
892
+ /** Optional. Whether to do component level validations before job creation. Currently we only support Google First Party Component/Pipelines. */
893
+ preflightValidations?: boolean;
878
894
  }
879
895
  interface GoogleCloudAiplatformV1CreateRegistryFeatureOperationMetadata {
880
896
  /** Operation metadata for Feature. */
@@ -1471,7 +1487,7 @@ declare namespace gapi.client {
1471
1487
  predictions?: any[];
1472
1488
  }
1473
1489
  interface GoogleCloudAiplatformV1Explanation {
1474
- /** Output only. Feature attributions grouped by predicted outputs. For Models that predict only one output, such as regression Models that predict only one score, there is only one attibution that explains the predicted output. For Models that predict multiple outputs, such as multiclass Models that predict multiple classes, each element explains one specific item. Attribution.output_index can be used to identify which output this attribution is explaining. If users set ExplanationParameters.top_k, the attributions are sorted by instance_output_value in descending order. If ExplanationParameters.output_indices is specified, the attributions are stored by Attribution.output_index in the same order as they appear in the output_indices. */
1490
+ /** Output only. Feature attributions grouped by predicted outputs. For Models that predict only one output, such as regression Models that predict only one score, there is only one attibution that explains the predicted output. For Models that predict multiple outputs, such as multiclass Models that predict multiple classes, each element explains one specific item. Attribution.output_index can be used to identify which output this attribution is explaining. By default, we provide Shapley values for the predicted class. However, you can configure the explanation request to generate Shapley values for any other classes too. For example, if a model predicts a probability of `0.4` for approving a loan application, the model's decision is to reject the application since `p(reject) = 0.6 > p(approve) = 0.4`, and the default Shapley values would be computed for rejection decision and not approval, even though the latter might be the positive class. If users set ExplanationParameters.top_k, the attributions are sorted by instance_output_value in descending order. If ExplanationParameters.output_indices is specified, the attributions are stored by Attribution.output_index in the same order as they appear in the output_indices. */
1475
1491
  attributions?: GoogleCloudAiplatformV1Attribution[];
1476
1492
  /** Output only. List of the nearest neighbors for example-based explanations. For models deployed with the examples explanations feature enabled, the attributions field is empty and instead the neighbors field is populated. */
1477
1493
  neighbors?: GoogleCloudAiplatformV1Neighbor[];
@@ -2336,6 +2352,8 @@ declare namespace gapi.client {
2336
2352
  interface GoogleCloudAiplatformV1IndexPrivateEndpoints {
2337
2353
  /** Output only. The ip address used to send match gRPC requests. */
2338
2354
  matchGrpcAddress?: string;
2355
+ /** Output only. PscAutomatedEndpoints is populated if private service connect is enabled if PscAutomatedConfig is set. */
2356
+ pscAutomatedEndpoints?: GoogleCloudAiplatformV1PscAutomatedEndpoints[];
2339
2357
  /** Output only. The name of the service attachment resource. Populated if private service connect is enabled. */
2340
2358
  serviceAttachment?: string;
2341
2359
  }
@@ -2829,9 +2847,9 @@ declare namespace gapi.client {
2829
2847
  model?: string;
2830
2848
  }
2831
2849
  interface GoogleCloudAiplatformV1Model {
2832
- /** Immutable. The path to the directory containing the Model artifact and any of its supporting files. Not present for AutoML Models or Large Models. */
2850
+ /** Immutable. The path to the directory containing the Model artifact and any of its supporting files. Not required for AutoML Models. */
2833
2851
  artifactUri?: string;
2834
- /** Input only. The specification of the container that is to be used when deploying this Model. The specification is ingested upon ModelService.UploadModel, and all binaries it contains are copied and stored internally by Vertex AI. Not present for AutoML Models or Large Models. */
2852
+ /** Input only. The specification of the container that is to be used when deploying this Model. The specification is ingested upon ModelService.UploadModel, and all binaries it contains are copied and stored internally by Vertex AI. Not required for AutoML Models. */
2835
2853
  containerSpec?: GoogleCloudAiplatformV1ModelContainerSpec;
2836
2854
  /** Output only. Timestamp when this Model was uploaded into Vertex AI. */
2837
2855
  createTime?: string;
@@ -2857,7 +2875,7 @@ declare namespace gapi.client {
2857
2875
  metadataArtifact?: string;
2858
2876
  /** Immutable. Points to a YAML file stored on Google Cloud Storage describing additional information about the Model, that is specific to it. Unset if the Model does not have any additional information. The schema is defined as an OpenAPI 3.0.2 [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). AutoML Models always have this field populated by Vertex AI, if no additional metadata is needed, this field is set to an empty string. Note: The URI given on output will be immutable and probably different, including the URI scheme, than the one given on input. The output URI will point to a location where the user only has a read access. */
2859
2877
  metadataSchemaUri?: string;
2860
- /** Output only. Source of a model. It can either be automl training pipeline, custom training pipeline, BigQuery ML, or existing Vertex AI Model. */
2878
+ /** Output only. Source of a model. It can either be automl training pipeline, custom training pipeline, BigQuery ML, or saved and tuned from Genie or Model Garden. */
2861
2879
  modelSourceInfo?: GoogleCloudAiplatformV1ModelSourceInfo;
2862
2880
  /** The resource name of the Model. */
2863
2881
  name?: string;
@@ -2937,6 +2955,8 @@ declare namespace gapi.client {
2937
2955
  logSource?: string;
2938
2956
  /** The type of log. */
2939
2957
  logType?: string;
2958
+ /** Output only. The schema version of the request/response logging BigQuery table. Default to v1 if unset. */
2959
+ requestResponseLoggingSchemaVersion?: string;
2940
2960
  }
2941
2961
  interface GoogleCloudAiplatformV1ModelDeploymentMonitoringJob {
2942
2962
  /** YAML schema file uri describing the format of a single instance that you want Tensorflow Data Validation (TFDV) to analyze. If this field is empty, all the feature data types are inferred from predict_instance_schema_uri, meaning that TFDV will use the data in the exact format(data type) as prediction request/response. If there are any data type differences between predict instance and TFDV instance, this field can be used to override the schema. For models trained with Vertex AI, this field must be set as all the fields in predict instance formatted as string. */
@@ -3318,6 +3338,42 @@ declare namespace gapi.client {
3318
3338
  /** The train NasTrial corresponding to search_trial. Only populated if search_trial is used for training. */
3319
3339
  trainTrial?: GoogleCloudAiplatformV1NasTrial;
3320
3340
  }
3341
+ interface GoogleCloudAiplatformV1NearestNeighborQuery {
3342
+ /** Optional. The embedding vector that be used for similar search. */
3343
+ embedding?: GoogleCloudAiplatformV1NearestNeighborQueryEmbedding;
3344
+ /** Optional. The entity id whose similar entities should be searched for. If embedding is set, search will use embedding instead of entity_id. */
3345
+ entityId?: string;
3346
+ /** Optional. The number of similar entities to be retrieved from feature view for each query. */
3347
+ neighborCount?: number;
3348
+ /** Optional. Parameters that can be set to tune query on the fly. */
3349
+ parameters?: GoogleCloudAiplatformV1NearestNeighborQueryParameters;
3350
+ /** Optional. Crowding is a constraint on a neighbor list produced by nearest neighbor search requiring that no more than sper_crowding_attribute_neighbor_count of the k neighbors returned have the same value of crowding_attribute. It's used for improving result diversity. */
3351
+ perCrowdingAttributeNeighborCount?: number;
3352
+ /** Optional. The list of string filters. */
3353
+ stringFilters?: GoogleCloudAiplatformV1NearestNeighborQueryStringFilter[];
3354
+ }
3355
+ interface GoogleCloudAiplatformV1NearestNeighborQueryEmbedding {
3356
+ /** Optional. Individual value in the embedding. */
3357
+ value?: number[];
3358
+ }
3359
+ interface GoogleCloudAiplatformV1NearestNeighborQueryParameters {
3360
+ /** Optional. The number of neighbors to find via approximate search before exact reordering is performed; if set, this value must be > neighbor_count. */
3361
+ approximateNeighborCandidates?: number;
3362
+ /** Optional. The fraction of the number of leaves to search, set at query time allows user to tune search performance. This value increase result in both search accuracy and latency increase. The value should be between 0.0 and 1.0. */
3363
+ leafNodesSearchFraction?: number;
3364
+ }
3365
+ interface GoogleCloudAiplatformV1NearestNeighborQueryStringFilter {
3366
+ /** Optional. The allowed tokens. */
3367
+ allowTokens?: string[];
3368
+ /** Optional. The denied tokens. */
3369
+ denyTokens?: string[];
3370
+ /** Required. Column names in BigQuery that used as filters. */
3371
+ name?: string;
3372
+ }
3373
+ interface GoogleCloudAiplatformV1NearestNeighbors {
3374
+ /** All its neighbors. */
3375
+ neighbors?: GoogleCloudAiplatformV1NearestNeighborsNeighbor[];
3376
+ }
3321
3377
  interface GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadata {
3322
3378
  /** The validation stats of the content (per file) to be inserted or updated on the Matching Engine Index resource. Populated if contentsDeltaUri is provided as part of Index.metadata. Please note that, currently for those files that are broken or has unsupported file format, we will not have the stats for those files. */
3323
3379
  contentValidationStats?: GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataContentValidationStats[];
@@ -3346,6 +3402,14 @@ declare namespace gapi.client {
3346
3402
  /** Cloud Storage URI pointing to the original file in user's bucket. */
3347
3403
  sourceGcsUri?: string;
3348
3404
  }
3405
+ interface GoogleCloudAiplatformV1NearestNeighborsNeighbor {
3406
+ /** The distance between the neighbor and the query vector. */
3407
+ distance?: number;
3408
+ /** The id of the similar entity. */
3409
+ entityId?: string;
3410
+ /** The attributes of the neighbor, e.g. filters, crowding and metadata Note that full entities are returned only when "return_full_entity" is set to true. Otherwise, only the "entity_id" and "distance" fields are populated. */
3411
+ entityKeyValues?: GoogleCloudAiplatformV1FetchFeatureValuesResponse;
3412
+ }
3349
3413
  interface GoogleCloudAiplatformV1Neighbor {
3350
3414
  /** Output only. The neighbor distance. */
3351
3415
  neighborDistance?: number;
@@ -3539,6 +3603,8 @@ declare namespace gapi.client {
3539
3603
  taskDetails?: GoogleCloudAiplatformV1PipelineTaskDetail[];
3540
3604
  }
3541
3605
  interface GoogleCloudAiplatformV1PipelineJobRuntimeConfig {
3606
+ /** Optional. The default runtime for the PipelineJob. If not provided, Vertex Custom Job is used as the runtime. For Vertex Custom Job, please refer to https://cloud.google.com/vertex-ai/docs/training/overview */
3607
+ defaultRuntime?: GoogleCloudAiplatformV1PipelineJobRuntimeConfigDefaultRuntime;
3542
3608
  /** Represents the failure policy of a pipeline. Currently, the default of a pipeline is that the pipeline will continue to run until no more tasks can be executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it will stop scheduling any new tasks when a task has failed. Any scheduled tasks will continue to completion. */
3543
3609
  failurePolicy?: string;
3544
3610
  /** Required. A path in a Cloud Storage bucket, which will be treated as the root output directory of the pipeline. It is used by the system to generate the paths of output artifacts. The artifact paths are generated with a sub-path pattern `{job_id}/{task_id}/{output_key}` under the specified output directory. The service account specified in this pipeline must have the `storage.objects.get` and `storage.objects.create` permissions for this bucket. */
@@ -3552,10 +3618,18 @@ declare namespace gapi.client {
3552
3618
  /** The runtime parameters of the PipelineJob. The parameters will be passed into PipelineJob.pipeline_spec to replace the placeholders at runtime. This field is used by pipelines built using `PipelineJob.pipeline_spec.schema_version` 2.1.0, such as pipelines built using Kubeflow Pipelines SDK 1.9 or higher and the v2 DSL. */
3553
3619
  parameterValues?: {[P in string]: any};
3554
3620
  }
3621
+ interface GoogleCloudAiplatformV1PipelineJobRuntimeConfigDefaultRuntime {
3622
+ /** Persistent resource based runtime detail. */
3623
+ persistentResourceRuntimeDetail?: GoogleCloudAiplatformV1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail;
3624
+ }
3555
3625
  interface GoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact {
3556
3626
  /** Artifact resource id from MLMD. Which is the last portion of an artifact resource name: `projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}`. The artifact must stay within the same project, location and default metadatastore as the pipeline. */
3557
3627
  artifactId?: string;
3558
3628
  }
3629
+ interface GoogleCloudAiplatformV1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail {
3630
+ /** Persistent resource name. Format: `projects/{project}/locations/{location}/persistentResources/{persistent_resource}` */
3631
+ persistentResourceName?: string;
3632
+ }
3559
3633
  interface GoogleCloudAiplatformV1PipelineTaskDetail {
3560
3634
  /** Output only. Task create time. */
3561
3635
  createTime?: string;
@@ -3704,6 +3778,14 @@ declare namespace gapi.client {
3704
3778
  /** Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. */
3705
3779
  command?: string[];
3706
3780
  }
3781
+ interface GoogleCloudAiplatformV1PscAutomatedEndpoints {
3782
+ /** Ip Address created by the automated forwarding rule. */
3783
+ matchAddress?: string;
3784
+ /** Corresponding network in pscAutomationConfigs. */
3785
+ network?: string;
3786
+ /** Corresponding project_id in pscAutomationConfigs */
3787
+ projectId?: string;
3788
+ }
3707
3789
  interface GoogleCloudAiplatformV1PublisherModel {
3708
3790
  /** Optional. Additional information about the model's Frameworks. */
3709
3791
  frameworks?: string[];
@@ -3729,6 +3811,8 @@ declare namespace gapi.client {
3729
3811
  createApplication?: GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences;
3730
3812
  /** Optional. Deploy the PublisherModel to Vertex Endpoint. */
3731
3813
  deploy?: GoogleCloudAiplatformV1PublisherModelCallToActionDeploy;
3814
+ /** Optional. Deploy PublisherModel to Google Kubernetes Engine. */
3815
+ deployGke?: GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke;
3732
3816
  /** Optional. Open evaluation pipeline of the PublisherModel. */
3733
3817
  openEvaluationPipeline?: GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences;
3734
3818
  /** Optional. Open fine-tuning pipeline of the PublisherModel. */
@@ -3770,6 +3854,10 @@ declare namespace gapi.client {
3770
3854
  /** Required. The title of the regional resource reference. */
3771
3855
  title?: string;
3772
3856
  }
3857
+ interface GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke {
3858
+ /** Optional. GKE deployment configuration in yaml format. */
3859
+ gkeYamlConfigs?: string[];
3860
+ }
3773
3861
  interface GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines {
3774
3862
  /** Required. Regional resource references to fine tuning pipelines. */
3775
3863
  fineTuningPipelines?: GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences[];
@@ -4092,8 +4180,6 @@ declare namespace gapi.client {
4092
4180
  interface GoogleCloudAiplatformV1Scheduling {
4093
4181
  /** Optional. Indicates if the job should retry for internal errors after the job starts running. If true, overrides `Scheduling.restart_job_on_worker_restart` to false. */
4094
4182
  disableRetries?: boolean;
4095
- /** Optional. This is the maximum time a user will wait in the QRM queue for resources. Default is 1 day */
4096
- maxWaitDuration?: string;
4097
4183
  /** Restarts the entire CustomJob if a worker gets restarted. This feature can be used by distributed training jobs that are not resilient to workers leaving and joining a job. */
4098
4184
  restartJobOnWorkerRestart?: boolean;
4099
4185
  /** The maximum job running time. The default is 7 days. */
@@ -5449,6 +5535,16 @@ declare namespace gapi.client {
5449
5535
  /** The page token that can be used by the next JobService.SearchModelDeploymentMonitoringStatsAnomalies call. */
5450
5536
  nextPageToken?: string;
5451
5537
  }
5538
+ interface GoogleCloudAiplatformV1SearchNearestEntitiesRequest {
5539
+ /** Required. The query. */
5540
+ query?: GoogleCloudAiplatformV1NearestNeighborQuery;
5541
+ /** Optional. If set to true, the full entities (including all vector values and metadata) of the nearest neighbors are returned; otherwise only entity id of the nearest neighbors will be returned. Note that returning full entities will significantly increase the latency and cost of the query. */
5542
+ returnFullEntity?: boolean;
5543
+ }
5544
+ interface GoogleCloudAiplatformV1SearchNearestEntitiesResponse {
5545
+ /** The nearest neighbors of the query entity. */
5546
+ nearestNeighbors?: GoogleCloudAiplatformV1NearestNeighbors;
5547
+ }
5452
5548
  interface GoogleCloudAiplatformV1ShieldedVmConfig {
5453
5549
  /** Defines whether the instance has [Secure Boot](https://cloud.google.com/compute/shielded-vm/docs/shielded-vm#secure-boot) enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. */
5454
5550
  enableSecureBoot?: boolean;
@@ -5511,6 +5607,10 @@ declare namespace gapi.client {
5511
5607
  /** Required. Selector choosing Features of the target EntityType. Feature IDs will be deduplicated. */
5512
5608
  featureSelector?: GoogleCloudAiplatformV1FeatureSelector;
5513
5609
  }
5610
+ interface GoogleCloudAiplatformV1StreamRawPredictRequest {
5611
+ /** The prediction input. Supports HTTP headers and arbitrary data payload. */
5612
+ httpBody?: GoogleApiHttpBody;
5613
+ }
5514
5614
  interface GoogleCloudAiplatformV1StringArray {
5515
5615
  /** A list of string values. */
5516
5616
  values?: string[];
@@ -6073,6 +6173,8 @@ declare namespace gapi.client {
6073
6173
  interface GoogleCloudAiplatformV1UpsertDatapointsRequest {
6074
6174
  /** A list of datapoints to be created/updated. */
6075
6175
  datapoints?: GoogleCloudAiplatformV1IndexDatapoint[];
6176
+ /** Optional. Update mask is used to specify the fields to be overwritten in the datapoints by the update. The fields specified in the update_mask are relative to each IndexDatapoint inside datapoints, not the full request. Updatable fields: * Use `all_restricts` to update both restricts and numeric_restricts. */
6177
+ updateMask?: string;
6076
6178
  }
6077
6179
  interface GoogleCloudAiplatformV1UpsertDatapointsResponse {}
6078
6180
  interface GoogleCloudAiplatformV1UserActionReference {
@@ -6165,7 +6267,7 @@ declare namespace gapi.client {
6165
6267
  condition?: GoogleTypeExpr;
6166
6268
  /** Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */
6167
6269
  members?: string[];
6168
- /** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
6270
+ /** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). */
6169
6271
  role?: string;
6170
6272
  }
6171
6273
  interface GoogleIamV1Policy {
@@ -6282,6 +6384,8 @@ declare namespace gapi.client {
6282
6384
  arxivId?: string;
6283
6385
  author?: string;
6284
6386
  bibkey?: string;
6387
+ /** ID of the paper in bioarxiv like ddoi.org/{biorxiv_id} eg: https://doi.org/10.1101/343517 */
6388
+ biorxivId?: string;
6285
6389
  bookTitle?: string;
6286
6390
  /** The Oceanographers full-view books dataset uses a 'volume id' as the unique ID of a book. There is a deterministic function from a volume id to a URL under the books.google.com domain. Marked as 'optional' since a volume ID of zero is potentially possible and we want to distinguish that from the volume ID not being set. */
6287
6391
  bookVolumeId?: string;
@@ -6314,6 +6418,8 @@ declare namespace gapi.client {
6314
6418
  volumeId?: string;
6315
6419
  /** Wikipedia article title. The Wikipedia TFDS dataset includes article titles but not URLs. While a URL is to the best of our knowledge a deterministic function of the title, we store the original title to reflect the information in the original dataset. */
6316
6420
  wikipediaArticleTitle?: string;
6421
+ /** The unique video id from Youtube. Example: AkoGsW52Ir0 */
6422
+ youtubeVideoId?: string;
6317
6423
  }
6318
6424
  interface LanguageLabsAidaTrustRecitationProtoRecitationResult {
6319
6425
  dynamicSegmentResults?: LanguageLabsAidaTrustRecitationProtoSegmentResult[];
@@ -6352,6 +6458,8 @@ declare namespace gapi.client {
6352
6458
  arxivId?: string;
6353
6459
  author?: string;
6354
6460
  bibkey?: string;
6461
+ /** ID of the paper in bioarxiv like ddoi.org/{biorxiv_id} eg: https://doi.org/10.1101/343517 */
6462
+ biorxivId?: string;
6355
6463
  bookTitle?: string;
6356
6464
  /** The Oceanographers full-view books dataset uses a 'volume id' as the unique ID of a book. There is a deterministic function from a volume id to a URL under the books.google.com domain. Marked as 'optional' since a volume ID of zero is potentially possible and we want to distinguish that from the volume ID not being set. */
6357
6465
  bookVolumeId?: string;
@@ -6384,6 +6492,7 @@ declare namespace gapi.client {
6384
6492
  volumeId?: string;
6385
6493
  /** Wikipedia article title. The Wikipedia TFDS dataset includes article titles but not URLs. While a URL is to the best of our knowledge a deterministic function of the title, we store the original title to reflect the information in the original dataset. */
6386
6494
  wikipediaArticleTitle?: string;
6495
+ youtubeVideoId?: string;
6387
6496
  }
6388
6497
  interface LearningGenaiRecitationRecitationResult {
6389
6498
  dynamicSegmentResults?: LearningGenaiRecitationSegmentResult[];
@@ -6454,7 +6563,7 @@ declare namespace gapi.client {
6454
6563
  interface LearningGenaiRootFilterMetadataFilterDebugInfo {
6455
6564
  classifierOutput?: LearningGenaiRootClassifierOutput;
6456
6565
  defaultMetadata?: string;
6457
- languageFilterResult?: LearningServingLlmLanguageFilterResult;
6566
+ languageFilterResult?: LearningGenaiRootLanguageFilterResult;
6458
6567
  /** Safety filter output information for LLM Root RAI harm check. */
6459
6568
  raiOutput?: LearningGenaiRootRAIOutput;
6460
6569
  raiResult?: CloudAiNlLlmProtoServiceRaiResult;
@@ -6463,6 +6572,22 @@ declare namespace gapi.client {
6463
6572
  takedownResult?: LearningGenaiRootTakedownResult;
6464
6573
  toxicityResult?: LearningGenaiRootToxicityResult;
6465
6574
  }
6575
+ interface LearningGenaiRootGroundingMetadata {
6576
+ citations?: LearningGenaiRootGroundingMetadataCitation[];
6577
+ /** True if grounding is cancelled, for example, no facts being retrieved. */
6578
+ groundingCancelled?: boolean;
6579
+ searchQueries?: string[];
6580
+ }
6581
+ interface LearningGenaiRootGroundingMetadataCitation {
6582
+ /** Index in the prediction output where the citation ends (exclusive). Must be > start_index and < len(output). */
6583
+ endIndex?: number;
6584
+ /** Index of the fact supporting this claim. Should be within the range of the `world_facts` in the GenerateResponse. */
6585
+ factIndex?: number;
6586
+ /** Confidence score of this entailment. Value is [0,1] with 1 is the most confidence. */
6587
+ score?: number;
6588
+ /** Index in the prediction output where the citation starts (inclusive). Must be >= 0 and < end_index. */
6589
+ startIndex?: number;
6590
+ }
6466
6591
  interface LearningGenaiRootHarm {
6467
6592
  /** Please do not use, this is still under development. */
6468
6593
  contextualDangerous?: boolean;
@@ -6477,6 +6602,7 @@ declare namespace gapi.client {
6477
6602
  imageViolence?: boolean;
6478
6603
  pqc?: boolean;
6479
6604
  safetycat?: LearningGenaiRootHarmSafetyCatCategories;
6605
+ /** Spii Filter uses buckets http://google3/google/privacy/dlp/v2/storage.proto;l=77;rcl=584719820 to classify the input. LMRoot converts the bucket into double score. For example the score for "POSSIBLE" is 3 / 5 = 0.6 . */
6480
6606
  spii?: LearningGenaiRootHarmSpiiFilter;
6481
6607
  threshold?: number;
6482
6608
  videoFrameCsam?: boolean;
@@ -6502,6 +6628,14 @@ declare namespace gapi.client {
6502
6628
  interface LearningGenaiRootInternalMetadata {
6503
6629
  scoredTokens?: LearningGenaiRootScoredToken[];
6504
6630
  }
6631
+ interface LearningGenaiRootLanguageFilterResult {
6632
+ /** False when query or response should be filtered out due to unsupported language. */
6633
+ allowed?: boolean;
6634
+ /** Language of the query or response. */
6635
+ detectedLanguage?: string;
6636
+ /** Probability of the language predicted as returned by LangID. */
6637
+ detectedLanguageProbability?: number;
6638
+ }
6505
6639
  interface LearningGenaiRootMetricOutput {
6506
6640
  debug?: string;
6507
6641
  /** Name of the metric. */
@@ -6636,14 +6770,6 @@ declare namespace gapi.client {
6636
6770
  label?: string;
6637
6771
  score?: number;
6638
6772
  }
6639
- interface LearningServingLlmLanguageFilterResult {
6640
- /** False when query or response should be filtered out due to unsupported language. */
6641
- allowed?: boolean;
6642
- /** Language of the query or response. */
6643
- detectedLanguage?: string;
6644
- /** Probability of the language predicted as returned by LangID. */
6645
- detectedLanguageProbability?: number;
6646
- }
6647
6773
  interface LearningServingLlmMessageMetadata {
6648
6774
  /** Summary of classifier output. We attach this to all messages regardless of whether classification rules triggered or not. */
6649
6775
  classifierSummary?: LearningGenaiRootClassifierOutputSummary;
@@ -6656,6 +6782,7 @@ declare namespace gapi.client {
6656
6782
  finalMessageScore?: LearningGenaiRootScore;
6657
6783
  /** NOT YET IMPLEMENTED. */
6658
6784
  finishReason?: string;
6785
+ groundingMetadata?: LearningGenaiRootGroundingMetadata;
6659
6786
  /** Applies to Response message only. Indicates whether the message is a fallback and the response would have otherwise been empty. */
6660
6787
  isFallback?: boolean;
6661
6788
  /** Result from nlp_saft DetectLanguage method. Currently the predicted language code and language probability is used. */
@@ -9851,7 +9978,7 @@ declare namespace gapi.client {
9851
9978
  },
9852
9979
  body: GoogleCloudAiplatformV1DeployModelRequest
9853
9980
  ): Request<GoogleLongrunningOperation>;
9854
- /** Perform an unary online prediction request for Vertex first-party products and frameworks. */
9981
+ /** Perform an unary online prediction request to a gRPC model server for Vertex first-party products and frameworks. */
9855
9982
  directPredict(request: {
9856
9983
  /** V1 error format. */
9857
9984
  '$.xgafv'?: string;
@@ -9909,7 +10036,7 @@ declare namespace gapi.client {
9909
10036
  },
9910
10037
  body: GoogleCloudAiplatformV1DirectPredictRequest
9911
10038
  ): Request<GoogleCloudAiplatformV1DirectPredictResponse>;
9912
- /** Perform an online prediction request through gRPC. */
10039
+ /** Perform an unary online prediction request to a gRPC model server for custom containers. */
9913
10040
  directRawPredict(request: {
9914
10041
  /** V1 error format. */
9915
10042
  '$.xgafv'?: string;
@@ -10025,6 +10152,64 @@ declare namespace gapi.client {
10025
10152
  },
10026
10153
  body: GoogleCloudAiplatformV1ExplainRequest
10027
10154
  ): Request<GoogleCloudAiplatformV1ExplainResponse>;
10155
+ /** Generate content with multimodal inputs. */
10156
+ generateContent(request: {
10157
+ /** V1 error format. */
10158
+ '$.xgafv'?: string;
10159
+ /** OAuth access token. */
10160
+ access_token?: string;
10161
+ /** Data format for response. */
10162
+ alt?: string;
10163
+ /** JSONP */
10164
+ callback?: string;
10165
+ /** Selector specifying which fields to include in a partial response. */
10166
+ fields?: string;
10167
+ /** 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. */
10168
+ key?: string;
10169
+ /** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*‍/models/*` */
10170
+ model: string;
10171
+ /** OAuth 2.0 token for the current user. */
10172
+ oauth_token?: string;
10173
+ /** Returns response with indentations and line breaks. */
10174
+ prettyPrint?: boolean;
10175
+ /** 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. */
10176
+ quotaUser?: string;
10177
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10178
+ upload_protocol?: string;
10179
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10180
+ uploadType?: string;
10181
+ /** Request body */
10182
+ resource: GoogleCloudAiplatformV1GenerateContentRequest;
10183
+ }): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
10184
+ generateContent(
10185
+ request: {
10186
+ /** V1 error format. */
10187
+ '$.xgafv'?: string;
10188
+ /** OAuth access token. */
10189
+ access_token?: string;
10190
+ /** Data format for response. */
10191
+ alt?: string;
10192
+ /** JSONP */
10193
+ callback?: string;
10194
+ /** Selector specifying which fields to include in a partial response. */
10195
+ fields?: string;
10196
+ /** 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. */
10197
+ key?: string;
10198
+ /** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*‍/models/*` */
10199
+ model: string;
10200
+ /** OAuth 2.0 token for the current user. */
10201
+ oauth_token?: string;
10202
+ /** Returns response with indentations and line breaks. */
10203
+ prettyPrint?: boolean;
10204
+ /** 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. */
10205
+ quotaUser?: string;
10206
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10207
+ upload_protocol?: string;
10208
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10209
+ uploadType?: string;
10210
+ },
10211
+ body: GoogleCloudAiplatformV1GenerateContentRequest
10212
+ ): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
10028
10213
  /** Gets an Endpoint. */
10029
10214
  get(request?: {
10030
10215
  /** V1 error format. */
@@ -10441,6 +10626,64 @@ declare namespace gapi.client {
10441
10626
  },
10442
10627
  body: GoogleCloudAiplatformV1GenerateContentRequest
10443
10628
  ): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
10629
+ /** Perform a streaming online prediction with an arbitrary HTTP payload. */
10630
+ streamRawPredict(request: {
10631
+ /** V1 error format. */
10632
+ '$.xgafv'?: string;
10633
+ /** OAuth access token. */
10634
+ access_token?: string;
10635
+ /** Data format for response. */
10636
+ alt?: string;
10637
+ /** JSONP */
10638
+ callback?: string;
10639
+ /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
10640
+ endpoint: string;
10641
+ /** Selector specifying which fields to include in a partial response. */
10642
+ fields?: string;
10643
+ /** 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. */
10644
+ key?: string;
10645
+ /** OAuth 2.0 token for the current user. */
10646
+ oauth_token?: string;
10647
+ /** Returns response with indentations and line breaks. */
10648
+ prettyPrint?: boolean;
10649
+ /** 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. */
10650
+ quotaUser?: string;
10651
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10652
+ upload_protocol?: string;
10653
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10654
+ uploadType?: string;
10655
+ /** Request body */
10656
+ resource: GoogleCloudAiplatformV1StreamRawPredictRequest;
10657
+ }): Request<GoogleApiHttpBody>;
10658
+ streamRawPredict(
10659
+ request: {
10660
+ /** V1 error format. */
10661
+ '$.xgafv'?: string;
10662
+ /** OAuth access token. */
10663
+ access_token?: string;
10664
+ /** Data format for response. */
10665
+ alt?: string;
10666
+ /** JSONP */
10667
+ callback?: string;
10668
+ /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
10669
+ endpoint: string;
10670
+ /** Selector specifying which fields to include in a partial response. */
10671
+ fields?: string;
10672
+ /** 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. */
10673
+ key?: string;
10674
+ /** OAuth 2.0 token for the current user. */
10675
+ oauth_token?: string;
10676
+ /** Returns response with indentations and line breaks. */
10677
+ prettyPrint?: boolean;
10678
+ /** 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. */
10679
+ quotaUser?: string;
10680
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10681
+ upload_protocol?: string;
10682
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10683
+ uploadType?: string;
10684
+ },
10685
+ body: GoogleCloudAiplatformV1StreamRawPredictRequest
10686
+ ): Request<GoogleApiHttpBody>;
10444
10687
  /** Undeploys a Model from an Endpoint, removing a DeployedModel from it, and freeing all resources it's using. */
10445
10688
  undeployModel(request: {
10446
10689
  /** V1 error format. */
@@ -11634,6 +11877,64 @@ declare namespace gapi.client {
11634
11877
  },
11635
11878
  body: GoogleCloudAiplatformV1FeatureView
11636
11879
  ): Request<GoogleLongrunningOperation>;
11880
+ /** Search the nearest entities under a FeatureView. Search only works for indexable feature view; if a feature view isn't indexable, returns Invalid argument response. */
11881
+ searchNearestEntities(request: {
11882
+ /** V1 error format. */
11883
+ '$.xgafv'?: string;
11884
+ /** OAuth access token. */
11885
+ access_token?: string;
11886
+ /** Data format for response. */
11887
+ alt?: string;
11888
+ /** JSONP */
11889
+ callback?: string;
11890
+ /** Required. FeatureView resource format `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}` */
11891
+ featureView: string;
11892
+ /** Selector specifying which fields to include in a partial response. */
11893
+ fields?: string;
11894
+ /** 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. */
11895
+ key?: string;
11896
+ /** OAuth 2.0 token for the current user. */
11897
+ oauth_token?: string;
11898
+ /** Returns response with indentations and line breaks. */
11899
+ prettyPrint?: boolean;
11900
+ /** 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. */
11901
+ quotaUser?: string;
11902
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11903
+ upload_protocol?: string;
11904
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11905
+ uploadType?: string;
11906
+ /** Request body */
11907
+ resource: GoogleCloudAiplatformV1SearchNearestEntitiesRequest;
11908
+ }): Request<GoogleCloudAiplatformV1SearchNearestEntitiesResponse>;
11909
+ searchNearestEntities(
11910
+ request: {
11911
+ /** V1 error format. */
11912
+ '$.xgafv'?: string;
11913
+ /** OAuth access token. */
11914
+ access_token?: string;
11915
+ /** Data format for response. */
11916
+ alt?: string;
11917
+ /** JSONP */
11918
+ callback?: string;
11919
+ /** Required. FeatureView resource format `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}` */
11920
+ featureView: string;
11921
+ /** Selector specifying which fields to include in a partial response. */
11922
+ fields?: string;
11923
+ /** 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. */
11924
+ key?: string;
11925
+ /** OAuth 2.0 token for the current user. */
11926
+ oauth_token?: string;
11927
+ /** Returns response with indentations and line breaks. */
11928
+ prettyPrint?: boolean;
11929
+ /** 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. */
11930
+ quotaUser?: string;
11931
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11932
+ upload_protocol?: string;
11933
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11934
+ uploadType?: string;
11935
+ },
11936
+ body: GoogleCloudAiplatformV1SearchNearestEntitiesRequest
11937
+ ): Request<GoogleCloudAiplatformV1SearchNearestEntitiesResponse>;
11637
11938
  /** Triggers on-demand sync for the FeatureView. */
11638
11939
  sync(request: {
11639
11940
  /** V1 error format. */
@@ -11832,7 +12133,7 @@ declare namespace gapi.client {
11832
12133
  key?: string;
11833
12134
  /** OAuth 2.0 token for the current user. */
11834
12135
  oauth_token?: string;
11835
- /** Required. The resource name of the Location to create FeatureOnlineStores. Format: `projects/{project}/locations/{location}'` */
12136
+ /** Required. The resource name of the Location to create FeatureOnlineStores. Format: `projects/{project}/locations/{location}` */
11836
12137
  parent: string;
11837
12138
  /** Returns response with indentations and line breaks. */
11838
12139
  prettyPrint?: boolean;
@@ -11863,7 +12164,7 @@ declare namespace gapi.client {
11863
12164
  key?: string;
11864
12165
  /** OAuth 2.0 token for the current user. */
11865
12166
  oauth_token?: string;
11866
- /** Required. The resource name of the Location to create FeatureOnlineStores. Format: `projects/{project}/locations/{location}'` */
12167
+ /** Required. The resource name of the Location to create FeatureOnlineStores. Format: `projects/{project}/locations/{location}` */
11867
12168
  parent: string;
11868
12169
  /** Returns response with indentations and line breaks. */
11869
12170
  prettyPrint?: boolean;
@@ -11989,7 +12290,7 @@ declare namespace gapi.client {
11989
12290
  prettyPrint?: boolean;
11990
12291
  /** 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. */
11991
12292
  quotaUser?: string;
11992
- /** Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `big_query_source` * `labels` * `sync_config` */
12293
+ /** Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `big_query_source` * `bigtable` * `labels` * `sync_config` */
11993
12294
  updateMask?: string;
11994
12295
  /** Upload protocol for media (e.g. "raw", "multipart"). */
11995
12296
  upload_protocol?: string;
@@ -12020,7 +12321,7 @@ declare namespace gapi.client {
12020
12321
  prettyPrint?: boolean;
12021
12322
  /** 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. */
12022
12323
  quotaUser?: string;
12023
- /** Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `big_query_source` * `labels` * `sync_config` */
12324
+ /** Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `big_query_source` * `bigtable` * `labels` * `sync_config` */
12024
12325
  updateMask?: string;
12025
12326
  /** Upload protocol for media (e.g. "raw", "multipart"). */
12026
12327
  upload_protocol?: string;
@@ -18823,6 +19124,35 @@ declare namespace gapi.client {
18823
19124
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18824
19125
  uploadType?: string;
18825
19126
  }): Request<GoogleCloudAiplatformV1Model>;
19127
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
19128
+ getIamPolicy(request?: {
19129
+ /** V1 error format. */
19130
+ '$.xgafv'?: string;
19131
+ /** OAuth access token. */
19132
+ access_token?: string;
19133
+ /** Data format for response. */
19134
+ alt?: string;
19135
+ /** JSONP */
19136
+ callback?: string;
19137
+ /** Selector specifying which fields to include in a partial response. */
19138
+ fields?: string;
19139
+ /** 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. */
19140
+ key?: string;
19141
+ /** OAuth 2.0 token for the current user. */
19142
+ oauth_token?: string;
19143
+ /** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
19144
+ 'options.requestedPolicyVersion'?: number;
19145
+ /** Returns response with indentations and line breaks. */
19146
+ prettyPrint?: boolean;
19147
+ /** 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. */
19148
+ quotaUser?: string;
19149
+ /** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
19150
+ resource: string;
19151
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
19152
+ upload_protocol?: string;
19153
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
19154
+ uploadType?: string;
19155
+ }): Request<GoogleIamV1Policy>;
18826
19156
  /** Lists Models in a Location. */
18827
19157
  list(request?: {
18828
19158
  /** V1 error format. */
@@ -19017,6 +19347,65 @@ declare namespace gapi.client {
19017
19347
  },
19018
19348
  body: GoogleCloudAiplatformV1Model
19019
19349
  ): Request<GoogleCloudAiplatformV1Model>;
19350
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
19351
+ setIamPolicy(
19352
+ request: {
19353
+ /** V1 error format. */
19354
+ '$.xgafv'?: string;
19355
+ /** OAuth access token. */
19356
+ access_token?: string;
19357
+ /** Data format for response. */
19358
+ alt?: string;
19359
+ /** JSONP */
19360
+ callback?: string;
19361
+ /** Selector specifying which fields to include in a partial response. */
19362
+ fields?: string;
19363
+ /** 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. */
19364
+ key?: string;
19365
+ /** OAuth 2.0 token for the current user. */
19366
+ oauth_token?: string;
19367
+ /** Returns response with indentations and line breaks. */
19368
+ prettyPrint?: boolean;
19369
+ /** 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. */
19370
+ quotaUser?: string;
19371
+ /** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
19372
+ resource: string;
19373
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
19374
+ upload_protocol?: string;
19375
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
19376
+ uploadType?: string;
19377
+ },
19378
+ body: GoogleIamV1SetIamPolicyRequest
19379
+ ): Request<GoogleIamV1Policy>;
19380
+ /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
19381
+ testIamPermissions(request?: {
19382
+ /** V1 error format. */
19383
+ '$.xgafv'?: string;
19384
+ /** OAuth access token. */
19385
+ access_token?: string;
19386
+ /** Data format for response. */
19387
+ alt?: string;
19388
+ /** JSONP */
19389
+ callback?: string;
19390
+ /** Selector specifying which fields to include in a partial response. */
19391
+ fields?: string;
19392
+ /** 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. */
19393
+ key?: string;
19394
+ /** OAuth 2.0 token for the current user. */
19395
+ oauth_token?: string;
19396
+ /** The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). */
19397
+ permissions?: string | string[];
19398
+ /** Returns response with indentations and line breaks. */
19399
+ prettyPrint?: boolean;
19400
+ /** 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. */
19401
+ quotaUser?: string;
19402
+ /** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
19403
+ resource: string;
19404
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
19405
+ upload_protocol?: string;
19406
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
19407
+ uploadType?: string;
19408
+ }): Request<GoogleIamV1TestIamPermissionsResponse>;
19020
19409
  /** Incrementally update the dataset used for an examples model. */
19021
19410
  updateExplanationDataset(request: {
19022
19411
  /** V1 error format. */
@@ -20283,6 +20672,8 @@ declare namespace gapi.client {
20283
20672
  parent: string;
20284
20673
  /** The ID to use for the PipelineJob, which will become the final component of the PipelineJob name. If not provided, an ID will be automatically generated. This value should be less than 128 characters, and valid characters are `/a-z-/`. */
20285
20674
  pipelineJobId?: string;
20675
+ /** Optional. Whether to do component level validations before job creation. Currently we only support Google First Party Component/Pipelines. */
20676
+ preflightValidations?: boolean;
20286
20677
  /** Returns response with indentations and line breaks. */
20287
20678
  prettyPrint?: boolean;
20288
20679
  /** 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. */
@@ -20314,6 +20705,8 @@ declare namespace gapi.client {
20314
20705
  parent: string;
20315
20706
  /** The ID to use for the PipelineJob, which will become the final component of the PipelineJob name. If not provided, an ID will be automatically generated. This value should be less than 128 characters, and valid characters are `/a-z-/`. */
20316
20707
  pipelineJobId?: string;
20708
+ /** Optional. Whether to do component level validations before job creation. Currently we only support Google First Party Component/Pipelines. */
20709
+ preflightValidations?: boolean;
20317
20710
  /** Returns response with indentations and line breaks. */
20318
20711
  prettyPrint?: boolean;
20319
20712
  /** 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. */
@@ -20535,6 +20928,64 @@ declare namespace gapi.client {
20535
20928
  },
20536
20929
  body: GoogleCloudAiplatformV1CountTokensRequest
20537
20930
  ): Request<GoogleCloudAiplatformV1CountTokensResponse>;
20931
+ /** Generate content with multimodal inputs. */
20932
+ generateContent(request: {
20933
+ /** V1 error format. */
20934
+ '$.xgafv'?: string;
20935
+ /** OAuth access token. */
20936
+ access_token?: string;
20937
+ /** Data format for response. */
20938
+ alt?: string;
20939
+ /** JSONP */
20940
+ callback?: string;
20941
+ /** Selector specifying which fields to include in a partial response. */
20942
+ fields?: string;
20943
+ /** 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. */
20944
+ key?: string;
20945
+ /** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*‍/models/*` */
20946
+ model: string;
20947
+ /** OAuth 2.0 token for the current user. */
20948
+ oauth_token?: string;
20949
+ /** Returns response with indentations and line breaks. */
20950
+ prettyPrint?: boolean;
20951
+ /** 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. */
20952
+ quotaUser?: string;
20953
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20954
+ upload_protocol?: string;
20955
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20956
+ uploadType?: string;
20957
+ /** Request body */
20958
+ resource: GoogleCloudAiplatformV1GenerateContentRequest;
20959
+ }): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
20960
+ generateContent(
20961
+ request: {
20962
+ /** V1 error format. */
20963
+ '$.xgafv'?: string;
20964
+ /** OAuth access token. */
20965
+ access_token?: string;
20966
+ /** Data format for response. */
20967
+ alt?: string;
20968
+ /** JSONP */
20969
+ callback?: string;
20970
+ /** Selector specifying which fields to include in a partial response. */
20971
+ fields?: string;
20972
+ /** 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. */
20973
+ key?: string;
20974
+ /** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*‍/models/*` */
20975
+ model: string;
20976
+ /** OAuth 2.0 token for the current user. */
20977
+ oauth_token?: string;
20978
+ /** Returns response with indentations and line breaks. */
20979
+ prettyPrint?: boolean;
20980
+ /** 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. */
20981
+ quotaUser?: string;
20982
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20983
+ upload_protocol?: string;
20984
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20985
+ uploadType?: string;
20986
+ },
20987
+ body: GoogleCloudAiplatformV1GenerateContentRequest
20988
+ ): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
20538
20989
  /** Perform an online prediction. */
20539
20990
  predict(request: {
20540
20991
  /** V1 error format. */
@@ -20767,6 +21218,64 @@ declare namespace gapi.client {
20767
21218
  },
20768
21219
  body: GoogleCloudAiplatformV1GenerateContentRequest
20769
21220
  ): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
21221
+ /** Perform a streaming online prediction with an arbitrary HTTP payload. */
21222
+ streamRawPredict(request: {
21223
+ /** V1 error format. */
21224
+ '$.xgafv'?: string;
21225
+ /** OAuth access token. */
21226
+ access_token?: string;
21227
+ /** Data format for response. */
21228
+ alt?: string;
21229
+ /** JSONP */
21230
+ callback?: string;
21231
+ /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
21232
+ endpoint: string;
21233
+ /** Selector specifying which fields to include in a partial response. */
21234
+ fields?: string;
21235
+ /** 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. */
21236
+ key?: string;
21237
+ /** OAuth 2.0 token for the current user. */
21238
+ oauth_token?: string;
21239
+ /** Returns response with indentations and line breaks. */
21240
+ prettyPrint?: boolean;
21241
+ /** 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. */
21242
+ quotaUser?: string;
21243
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
21244
+ upload_protocol?: string;
21245
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21246
+ uploadType?: string;
21247
+ /** Request body */
21248
+ resource: GoogleCloudAiplatformV1StreamRawPredictRequest;
21249
+ }): Request<GoogleApiHttpBody>;
21250
+ streamRawPredict(
21251
+ request: {
21252
+ /** V1 error format. */
21253
+ '$.xgafv'?: string;
21254
+ /** OAuth access token. */
21255
+ access_token?: string;
21256
+ /** Data format for response. */
21257
+ alt?: string;
21258
+ /** JSONP */
21259
+ callback?: string;
21260
+ /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
21261
+ endpoint: string;
21262
+ /** Selector specifying which fields to include in a partial response. */
21263
+ fields?: string;
21264
+ /** 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. */
21265
+ key?: string;
21266
+ /** OAuth 2.0 token for the current user. */
21267
+ oauth_token?: string;
21268
+ /** Returns response with indentations and line breaks. */
21269
+ prettyPrint?: boolean;
21270
+ /** 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. */
21271
+ quotaUser?: string;
21272
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
21273
+ upload_protocol?: string;
21274
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21275
+ uploadType?: string;
21276
+ },
21277
+ body: GoogleCloudAiplatformV1StreamRawPredictRequest
21278
+ ): Request<GoogleApiHttpBody>;
20770
21279
  }
20771
21280
  interface PublishersResource {
20772
21281
  models: ModelsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1",
3
- "version": "0.0.20240117",
3
+ "version": "0.0.20240205",
4
4
  "description": "TypeScript typings for Vertex AI API v1",
5
5
  "repository": {
6
6
  "type": "git",