@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20240816 → 0.0.20240828

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 +194 -3
  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: 20240816
12
+ // Revision: 20240828
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1850,8 +1850,12 @@ declare namespace gapi.client {
1850
1850
  interface GoogleCloudAiplatformV1FeatureGroupBigQuery {
1851
1851
  /** Required. Immutable. The BigQuery source URI that points to either a BigQuery Table or View. */
1852
1852
  bigQuerySource?: GoogleCloudAiplatformV1BigQuerySource;
1853
+ /** Optional. If set, all feature values will be fetched from a single row per unique entityId including nulls. If not set, will collapse all rows for each unique entityId into a singe row with any non-null values if present, if no non-null values are present will sync null. ex: If source has schema (entity_id, feature_timestamp, f0, f1) and values (e1, 2020-01-01T10:00:00.123Z, 10, 15) (e1, 2020-02-01T10:00:00.123Z, 20, null) If dense is set, (e1, 20, null) is synced to online stores. If dense is not set, (e1, 20, 15) is synced to online stores. */
1854
+ dense?: boolean;
1853
1855
  /** Optional. Columns to construct entity_id / row keys. If not provided defaults to `entity_id`. */
1854
1856
  entityIdColumns?: string[];
1857
+ /** Optional. Set if the data source is not a time-series. */
1858
+ staticDataSource?: boolean;
1855
1859
  /** Optional. If the source is a time-series source, this can be set to control how downstream sources (ex: FeatureView ) will treat time-series sources. If not set, will treat the source as a time-series source with `feature_timestamp` as timestamp column and no scan boundary. */
1856
1860
  timeSeries?: GoogleCloudAiplatformV1FeatureGroupBigQueryTimeSeries;
1857
1861
  }
@@ -2071,6 +2075,8 @@ declare namespace gapi.client {
2071
2075
  syncConfig?: GoogleCloudAiplatformV1FeatureViewSyncConfig;
2072
2076
  /** Output only. Timestamp when this FeatureView was last updated. */
2073
2077
  updateTime?: string;
2078
+ /** Optional. The Vertex RAG Source that the FeatureView is linked to. */
2079
+ vertexRagSource?: GoogleCloudAiplatformV1FeatureViewVertexRagSource;
2074
2080
  }
2075
2081
  interface GoogleCloudAiplatformV1FeatureViewBigQuerySource {
2076
2082
  /** Required. Columns to construct entity_id / row keys. */
@@ -2149,6 +2155,12 @@ declare namespace gapi.client {
2149
2155
  /** Output only. BigQuery slot milliseconds consumed for the sync job. */
2150
2156
  totalSlot?: string;
2151
2157
  }
2158
+ interface GoogleCloudAiplatformV1FeatureViewVertexRagSource {
2159
+ /** Optional. The RAG corpus id corresponding to this FeatureView. */
2160
+ ragCorpusId?: string;
2161
+ /** Required. The BigQuery view/table URI that will be materialized on each manual sync trigger. The table/view is expected to have the following columns at least: Field name Type Mode corpus_id STRING REQUIRED/NULLABLE file_id STRING REQUIRED/NULLABLE chunk_id STRING REQUIRED/NULLABLE chunk_data_type STRING REQUIRED/NULLABLE chunk_data STRING REQUIRED/NULLABLE embeddings FLOAT REPEATED file_original_uri STRING REQUIRED/NULLABLE */
2162
+ uri?: string;
2163
+ }
2152
2164
  interface GoogleCloudAiplatformV1FetchFeatureValuesRequest {
2153
2165
  /** Optional. Response data format. If not set, FeatureViewDataFormat.KEY_VALUE will be used. */
2154
2166
  dataFormat?: string;
@@ -2304,11 +2316,13 @@ declare namespace gapi.client {
2304
2316
  name?: string;
2305
2317
  /** Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1 */
2306
2318
  parameters?: GoogleCloudAiplatformV1Schema;
2319
+ /** Optional. Describes the output from this function in JSON Schema format. Reflects the Open API 3.03 Response Object. The Schema defines the type used for the response value of the function. */
2320
+ response?: GoogleCloudAiplatformV1Schema;
2307
2321
  }
2308
2322
  interface GoogleCloudAiplatformV1FunctionResponse {
2309
2323
  /** Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name]. */
2310
2324
  name?: string;
2311
- /** Required. The function response in JSON object format. */
2325
+ /** Required. The function response in JSON object format. Use "output" key to specify function output and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as function output. */
2312
2326
  response?: {[P in string]: any};
2313
2327
  }
2314
2328
  interface GoogleCloudAiplatformV1GcsDestination {
@@ -2354,6 +2368,7 @@ declare namespace gapi.client {
2354
2368
  candidatesTokenCount?: number;
2355
2369
  /** Number of tokens in the request. When `cached_content` is set, this is still the total effective prompt size meaning this includes the number of tokens in the cached content. */
2356
2370
  promptTokenCount?: number;
2371
+ /** Total token count for prompt and response candidates. */
2357
2372
  totalTokenCount?: number;
2358
2373
  }
2359
2374
  interface GoogleCloudAiplatformV1GenerationConfig {
@@ -9570,7 +9585,7 @@ declare namespace gapi.client {
9570
9585
  }): Request<GoogleLongrunningOperation>;
9571
9586
  }
9572
9587
  interface AnnotationsResource {
9573
- /** Lists Annotations belongs to a dataitem */
9588
+ /** Lists Annotations belongs to a dataitem This RPC is only available in InternalDatasetService. It is only used for exporting conversation data to CCAI Insights. */
9574
9589
  list(request?: {
9575
9590
  /** V1 error format. */
9576
9591
  '$.xgafv'?: string;
@@ -13378,6 +13393,35 @@ declare namespace gapi.client {
13378
13393
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13379
13394
  uploadType?: string;
13380
13395
  }): Request<GoogleCloudAiplatformV1FeatureView>;
13396
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
13397
+ getIamPolicy(request?: {
13398
+ /** V1 error format. */
13399
+ '$.xgafv'?: string;
13400
+ /** OAuth access token. */
13401
+ access_token?: string;
13402
+ /** Data format for response. */
13403
+ alt?: string;
13404
+ /** JSONP */
13405
+ callback?: string;
13406
+ /** Selector specifying which fields to include in a partial response. */
13407
+ fields?: string;
13408
+ /** 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. */
13409
+ key?: string;
13410
+ /** OAuth 2.0 token for the current user. */
13411
+ oauth_token?: string;
13412
+ /** 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). */
13413
+ 'options.requestedPolicyVersion'?: number;
13414
+ /** Returns response with indentations and line breaks. */
13415
+ prettyPrint?: boolean;
13416
+ /** 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. */
13417
+ quotaUser?: string;
13418
+ /** 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. */
13419
+ resource: string;
13420
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13421
+ upload_protocol?: string;
13422
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13423
+ uploadType?: string;
13424
+ }): Request<GoogleIamV1Policy>;
13381
13425
  /** Lists FeatureViews in a given FeatureOnlineStore. */
13382
13426
  list(request?: {
13383
13427
  /** V1 error format. */
@@ -13533,6 +13577,36 @@ declare namespace gapi.client {
13533
13577
  },
13534
13578
  body: GoogleCloudAiplatformV1SearchNearestEntitiesRequest
13535
13579
  ): Request<GoogleCloudAiplatformV1SearchNearestEntitiesResponse>;
13580
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
13581
+ setIamPolicy(
13582
+ request: {
13583
+ /** V1 error format. */
13584
+ '$.xgafv'?: string;
13585
+ /** OAuth access token. */
13586
+ access_token?: string;
13587
+ /** Data format for response. */
13588
+ alt?: string;
13589
+ /** JSONP */
13590
+ callback?: string;
13591
+ /** Selector specifying which fields to include in a partial response. */
13592
+ fields?: string;
13593
+ /** 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. */
13594
+ key?: string;
13595
+ /** OAuth 2.0 token for the current user. */
13596
+ oauth_token?: string;
13597
+ /** Returns response with indentations and line breaks. */
13598
+ prettyPrint?: boolean;
13599
+ /** 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. */
13600
+ quotaUser?: string;
13601
+ /** 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. */
13602
+ resource: string;
13603
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13604
+ upload_protocol?: string;
13605
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13606
+ uploadType?: string;
13607
+ },
13608
+ body: GoogleIamV1SetIamPolicyRequest
13609
+ ): Request<GoogleIamV1Policy>;
13536
13610
  /** Triggers on-demand sync for the FeatureView. */
13537
13611
  sync(request: {
13538
13612
  /** V1 error format. */
@@ -13591,6 +13665,35 @@ declare namespace gapi.client {
13591
13665
  },
13592
13666
  body: GoogleCloudAiplatformV1SyncFeatureViewRequest
13593
13667
  ): Request<GoogleCloudAiplatformV1SyncFeatureViewResponse>;
13668
+ /** 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. */
13669
+ testIamPermissions(request?: {
13670
+ /** V1 error format. */
13671
+ '$.xgafv'?: string;
13672
+ /** OAuth access token. */
13673
+ access_token?: string;
13674
+ /** Data format for response. */
13675
+ alt?: string;
13676
+ /** JSONP */
13677
+ callback?: string;
13678
+ /** Selector specifying which fields to include in a partial response. */
13679
+ fields?: string;
13680
+ /** 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. */
13681
+ key?: string;
13682
+ /** OAuth 2.0 token for the current user. */
13683
+ oauth_token?: string;
13684
+ /** 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). */
13685
+ permissions?: string | string[];
13686
+ /** Returns response with indentations and line breaks. */
13687
+ prettyPrint?: boolean;
13688
+ /** 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. */
13689
+ quotaUser?: string;
13690
+ /** 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. */
13691
+ resource: string;
13692
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13693
+ upload_protocol?: string;
13694
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13695
+ uploadType?: string;
13696
+ }): Request<GoogleIamV1TestIamPermissionsResponse>;
13594
13697
  featureViewSyncs: FeatureViewSyncsResource;
13595
13698
  operations: OperationsResource;
13596
13699
  }
@@ -13831,6 +13934,35 @@ declare namespace gapi.client {
13831
13934
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13832
13935
  uploadType?: string;
13833
13936
  }): Request<GoogleCloudAiplatformV1FeatureOnlineStore>;
13937
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
13938
+ getIamPolicy(request?: {
13939
+ /** V1 error format. */
13940
+ '$.xgafv'?: string;
13941
+ /** OAuth access token. */
13942
+ access_token?: string;
13943
+ /** Data format for response. */
13944
+ alt?: string;
13945
+ /** JSONP */
13946
+ callback?: string;
13947
+ /** Selector specifying which fields to include in a partial response. */
13948
+ fields?: string;
13949
+ /** 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. */
13950
+ key?: string;
13951
+ /** OAuth 2.0 token for the current user. */
13952
+ oauth_token?: string;
13953
+ /** 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). */
13954
+ 'options.requestedPolicyVersion'?: number;
13955
+ /** Returns response with indentations and line breaks. */
13956
+ prettyPrint?: boolean;
13957
+ /** 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. */
13958
+ quotaUser?: string;
13959
+ /** 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. */
13960
+ resource: string;
13961
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13962
+ upload_protocol?: string;
13963
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13964
+ uploadType?: string;
13965
+ }): Request<GoogleIamV1Policy>;
13834
13966
  /** Lists FeatureOnlineStores in a given project and location. */
13835
13967
  list(request?: {
13836
13968
  /** V1 error format. */
@@ -13928,6 +14060,65 @@ declare namespace gapi.client {
13928
14060
  },
13929
14061
  body: GoogleCloudAiplatformV1FeatureOnlineStore
13930
14062
  ): Request<GoogleLongrunningOperation>;
14063
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
14064
+ setIamPolicy(
14065
+ request: {
14066
+ /** V1 error format. */
14067
+ '$.xgafv'?: string;
14068
+ /** OAuth access token. */
14069
+ access_token?: string;
14070
+ /** Data format for response. */
14071
+ alt?: string;
14072
+ /** JSONP */
14073
+ callback?: string;
14074
+ /** Selector specifying which fields to include in a partial response. */
14075
+ fields?: string;
14076
+ /** 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. */
14077
+ key?: string;
14078
+ /** OAuth 2.0 token for the current user. */
14079
+ oauth_token?: string;
14080
+ /** Returns response with indentations and line breaks. */
14081
+ prettyPrint?: boolean;
14082
+ /** 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. */
14083
+ quotaUser?: string;
14084
+ /** 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. */
14085
+ resource: string;
14086
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
14087
+ upload_protocol?: string;
14088
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14089
+ uploadType?: string;
14090
+ },
14091
+ body: GoogleIamV1SetIamPolicyRequest
14092
+ ): Request<GoogleIamV1Policy>;
14093
+ /** 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. */
14094
+ testIamPermissions(request?: {
14095
+ /** V1 error format. */
14096
+ '$.xgafv'?: string;
14097
+ /** OAuth access token. */
14098
+ access_token?: string;
14099
+ /** Data format for response. */
14100
+ alt?: string;
14101
+ /** JSONP */
14102
+ callback?: string;
14103
+ /** Selector specifying which fields to include in a partial response. */
14104
+ fields?: string;
14105
+ /** 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. */
14106
+ key?: string;
14107
+ /** OAuth 2.0 token for the current user. */
14108
+ oauth_token?: string;
14109
+ /** 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). */
14110
+ permissions?: string | string[];
14111
+ /** Returns response with indentations and line breaks. */
14112
+ prettyPrint?: boolean;
14113
+ /** 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. */
14114
+ quotaUser?: string;
14115
+ /** 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. */
14116
+ resource: string;
14117
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
14118
+ upload_protocol?: string;
14119
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14120
+ uploadType?: string;
14121
+ }): Request<GoogleIamV1TestIamPermissionsResponse>;
13931
14122
  featureViews: FeatureViewsResource;
13932
14123
  operations: OperationsResource;
13933
14124
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1",
3
- "version": "0.0.20240816",
3
+ "version": "0.0.20240828",
4
4
  "description": "TypeScript typings for Vertex AI API v1",
5
5
  "repository": {
6
6
  "type": "git",