@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20250307 → 0.0.20250319

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 +121 -5
  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: 20250307
12
+ // Revision: 20250319
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -2141,6 +2141,10 @@ declare namespace gapi.client {
2141
2141
  labels?: {[P in string]: string};
2142
2142
  /** Identifier. Name of the FeatureGroup. Format: `projects/{project}/locations/{location}/featureGroups/{featureGroup}` */
2143
2143
  name?: string;
2144
+ /** Output only. A Service Account unique to this FeatureGroup. The role bigquery.dataViewer should be granted to this service account to allow Vertex AI Feature Store to access source data while running jobs under this FeatureGroup. */
2145
+ serviceAccountEmail?: string;
2146
+ /** Optional. Service agent type used during jobs under a FeatureGroup. By default, the Vertex AI Service Agent is used. When using an IAM Policy to isolate this FeatureGroup within a project, a separate service account should be provisioned by setting this field to `SERVICE_AGENT_TYPE_FEATURE_GROUP`. This will generate a separate service account to access the BigQuery source table. */
2147
+ serviceAgentType?: string;
2144
2148
  /** Output only. Timestamp when this FeatureGroup was last updated. */
2145
2149
  updateTime?: string;
2146
2150
  }
@@ -2859,6 +2863,8 @@ declare namespace gapi.client {
2859
2863
  uri?: string;
2860
2864
  }
2861
2865
  interface GoogleCloudAiplatformV1GroundingChunkWeb {
2866
+ /** Domain of the (original) URI. */
2867
+ domain?: string;
2862
2868
  /** Title of the chunk. */
2863
2869
  title?: string;
2864
2870
  /** URI reference of the chunk. */
@@ -5436,6 +5442,8 @@ declare namespace gapi.client {
5436
5442
  updateTime?: string;
5437
5443
  /** Optional. Immutable. The config for the Vector DBs. */
5438
5444
  vectorDbConfig?: GoogleCloudAiplatformV1RagVectorDbConfig;
5445
+ /** Optional. Immutable. The config for the Vertex AI Search. */
5446
+ vertexAiSearchConfig?: GoogleCloudAiplatformV1VertexAiSearchConfig;
5439
5447
  }
5440
5448
  interface GoogleCloudAiplatformV1RagEmbeddingModelConfig {
5441
5449
  /** The Vertex AI Prediction Endpoint that either refers to a publisher model or an endpoint that is hosting a 1P fine-tuned text embedding model. Endpoints hosting non-1P fine-tuned text embedding models are currently not supported. This is used for dense vector search. */
@@ -5508,6 +5516,8 @@ declare namespace gapi.client {
5508
5516
  interface GoogleCloudAiplatformV1RagRetrievalConfig {
5509
5517
  /** Optional. Config for filters. */
5510
5518
  filter?: GoogleCloudAiplatformV1RagRetrievalConfigFilter;
5519
+ /** Optional. Config for ranking and reranking. */
5520
+ ranking?: GoogleCloudAiplatformV1RagRetrievalConfigRanking;
5511
5521
  /** Optional. The number of contexts to retrieve. */
5512
5522
  topK?: number;
5513
5523
  }
@@ -5519,6 +5529,20 @@ declare namespace gapi.client {
5519
5529
  /** Optional. Only returns contexts with vector similarity larger than the threshold. */
5520
5530
  vectorSimilarityThreshold?: number;
5521
5531
  }
5532
+ interface GoogleCloudAiplatformV1RagRetrievalConfigRanking {
5533
+ /** Optional. Config for LlmRanker. */
5534
+ llmRanker?: GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker;
5535
+ /** Optional. Config for Rank Service. */
5536
+ rankService?: GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService;
5537
+ }
5538
+ interface GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker {
5539
+ /** Optional. The model name used for ranking. Format: `gemini-1.5-pro` */
5540
+ modelName?: string;
5541
+ }
5542
+ interface GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService {
5543
+ /** Optional. The model name of the rank service. Format: `semantic-ranker-512@latest` */
5544
+ modelName?: string;
5545
+ }
5522
5546
  interface GoogleCloudAiplatformV1RagVectorDbConfig {
5523
5547
  /** Authentication config for the chosen Vector DB. */
5524
5548
  apiAuth?: GoogleCloudAiplatformV1ApiAuth;
@@ -5649,7 +5673,7 @@ declare namespace gapi.client {
5649
5673
  etag?: string;
5650
5674
  /** Identifier. The resource name of the ReasoningEngine. */
5651
5675
  name?: string;
5652
- /** Required. Configurations of the ReasoningEngine */
5676
+ /** Optional. Configurations of the ReasoningEngine */
5653
5677
  spec?: GoogleCloudAiplatformV1ReasoningEngineSpec;
5654
5678
  /** Output only. Timestamp when this ReasoningEngine was most recently updated. */
5655
5679
  updateTime?: string;
@@ -5661,7 +5685,7 @@ declare namespace gapi.client {
5661
5685
  classMethods?: Array<{[P in string]: any}>;
5662
5686
  /** Optional. The specification of a Reasoning Engine deployment. */
5663
5687
  deploymentSpec?: GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec;
5664
- /** Required. User provided package spec of the ReasoningEngine. Ignored when users directly specify a deployment image through `deployment_spec.first_party_image_override`, but keeping the field_behavior to avoid introducing breaking changes. */
5688
+ /** Optional. User provided package spec of the ReasoningEngine. Ignored when users directly specify a deployment image through `deployment_spec.first_party_image_override`, but keeping the field_behavior to avoid introducing breaking changes. */
5665
5689
  packageSpec?: GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec;
5666
5690
  }
5667
5691
  interface GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec {
@@ -7529,7 +7553,7 @@ declare namespace gapi.client {
7529
7553
  secretRef?: GoogleCloudAiplatformV1SecretRef;
7530
7554
  }
7531
7555
  interface GoogleCloudAiplatformV1SecretRef {
7532
- /** Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. */
7556
+ /** Required. The name of the secret in Cloud Secret Manager. Format: {secret_name}. */
7533
7557
  secret?: string;
7534
7558
  /** The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. */
7535
7559
  version?: string;
@@ -8771,6 +8795,10 @@ declare namespace gapi.client {
8771
8795
  /** Optional. Fully-qualified Vertex AI Search engine resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` */
8772
8796
  engine?: string;
8773
8797
  }
8798
+ interface GoogleCloudAiplatformV1VertexAiSearchConfig {
8799
+ /** Vertex AI Search Serving Config resource full name. For example, `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}` or `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}`. */
8800
+ servingConfig?: string;
8801
+ }
8774
8802
  interface GoogleCloudAiplatformV1VertexRagStore {
8775
8803
  /** Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support. */
8776
8804
  ragResources?: GoogleCloudAiplatformV1VertexRagStoreRagResource[];
@@ -11214,7 +11242,7 @@ declare namespace gapi.client {
11214
11242
  }): Request<GoogleLongrunningOperation>;
11215
11243
  }
11216
11244
  interface AnnotationsResource {
11217
- /** Lists Annotations belongs to a dataitem This RPC is only available in InternalDatasetService. It is only used for exporting conversation data to CCAI Insights. */
11245
+ /** Lists Annotations belongs to a dataitem. */
11218
11246
  list(request?: {
11219
11247
  /** V1 error format. */
11220
11248
  '$.xgafv'?: string;
@@ -14853,6 +14881,35 @@ declare namespace gapi.client {
14853
14881
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14854
14882
  uploadType?: string;
14855
14883
  }): Request<GoogleCloudAiplatformV1FeatureGroup>;
14884
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
14885
+ getIamPolicy(request?: {
14886
+ /** V1 error format. */
14887
+ '$.xgafv'?: string;
14888
+ /** OAuth access token. */
14889
+ access_token?: string;
14890
+ /** Data format for response. */
14891
+ alt?: string;
14892
+ /** JSONP */
14893
+ callback?: string;
14894
+ /** Selector specifying which fields to include in a partial response. */
14895
+ fields?: string;
14896
+ /** 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. */
14897
+ key?: string;
14898
+ /** OAuth 2.0 token for the current user. */
14899
+ oauth_token?: string;
14900
+ /** 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). */
14901
+ 'options.requestedPolicyVersion'?: number;
14902
+ /** Returns response with indentations and line breaks. */
14903
+ prettyPrint?: boolean;
14904
+ /** 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. */
14905
+ quotaUser?: string;
14906
+ /** 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. */
14907
+ resource: string;
14908
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
14909
+ upload_protocol?: string;
14910
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14911
+ uploadType?: string;
14912
+ }): Request<GoogleIamV1Policy>;
14856
14913
  /** Lists FeatureGroups in a given project and location. */
14857
14914
  list(request?: {
14858
14915
  /** V1 error format. */
@@ -14950,6 +15007,65 @@ declare namespace gapi.client {
14950
15007
  },
14951
15008
  body: GoogleCloudAiplatformV1FeatureGroup,
14952
15009
  ): Request<GoogleLongrunningOperation>;
15010
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
15011
+ setIamPolicy(
15012
+ request: {
15013
+ /** V1 error format. */
15014
+ '$.xgafv'?: string;
15015
+ /** OAuth access token. */
15016
+ access_token?: string;
15017
+ /** Data format for response. */
15018
+ alt?: string;
15019
+ /** JSONP */
15020
+ callback?: string;
15021
+ /** Selector specifying which fields to include in a partial response. */
15022
+ fields?: string;
15023
+ /** 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. */
15024
+ key?: string;
15025
+ /** OAuth 2.0 token for the current user. */
15026
+ oauth_token?: string;
15027
+ /** Returns response with indentations and line breaks. */
15028
+ prettyPrint?: boolean;
15029
+ /** 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. */
15030
+ quotaUser?: string;
15031
+ /** 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. */
15032
+ resource: string;
15033
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15034
+ upload_protocol?: string;
15035
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15036
+ uploadType?: string;
15037
+ },
15038
+ body: GoogleIamV1SetIamPolicyRequest,
15039
+ ): Request<GoogleIamV1Policy>;
15040
+ /** 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. */
15041
+ testIamPermissions(request?: {
15042
+ /** V1 error format. */
15043
+ '$.xgafv'?: string;
15044
+ /** OAuth access token. */
15045
+ access_token?: string;
15046
+ /** Data format for response. */
15047
+ alt?: string;
15048
+ /** JSONP */
15049
+ callback?: string;
15050
+ /** Selector specifying which fields to include in a partial response. */
15051
+ fields?: string;
15052
+ /** 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. */
15053
+ key?: string;
15054
+ /** OAuth 2.0 token for the current user. */
15055
+ oauth_token?: string;
15056
+ /** 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). */
15057
+ permissions?: string | string[];
15058
+ /** Returns response with indentations and line breaks. */
15059
+ prettyPrint?: boolean;
15060
+ /** 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. */
15061
+ quotaUser?: string;
15062
+ /** 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. */
15063
+ resource: string;
15064
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
15065
+ upload_protocol?: string;
15066
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15067
+ uploadType?: string;
15068
+ }): Request<GoogleIamV1TestIamPermissionsResponse>;
14953
15069
  features: FeaturesResource;
14954
15070
  operations: OperationsResource;
14955
15071
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1",
3
- "version": "0.0.20250307",
3
+ "version": "0.0.20250319",
4
4
  "description": "TypeScript typings for Vertex AI API v1",
5
5
  "repository": {
6
6
  "type": "git",