@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20240229 → 0.0.20240312

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 +200 -4
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://aiplatform.googleapis.com/$discovery/rest?version=v1beta1
12
- // Revision: 20240229
12
+ // Revision: 20240312
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -210,6 +210,8 @@ declare namespace gapi.client {
210
210
  outputFilterInfo?: LearningServingLlmMessageMetadata[];
211
211
  }
212
212
  interface CloudAiNlLlmProtoServicePart {
213
+ /** Document metadata. The metadata should only be used by the Cloud LLM when supporting document mime types. It will only be populated when this image input part is converted from a document input part. */
214
+ documentMetadata?: CloudAiNlLlmProtoServicePartDocumentMetadata;
213
215
  /** URI-based data. */
214
216
  fileData?: CloudAiNlLlmProtoServicePartFileData;
215
217
  /** Function call data. */
@@ -231,6 +233,12 @@ declare namespace gapi.client {
231
233
  /** Original file data where the blob comes from. */
232
234
  originalFileData?: CloudAiNlLlmProtoServicePartFileData;
233
235
  }
236
+ interface CloudAiNlLlmProtoServicePartDocumentMetadata {
237
+ /** The original document blob. */
238
+ originalDocumentBlob?: CloudAiNlLlmProtoServicePartBlob;
239
+ /** The (1-indexed) page number of the image in the original document. The first page carries the original document content and mime type. */
240
+ pageNumber?: number;
241
+ }
234
242
  interface CloudAiNlLlmProtoServicePartFileData {
235
243
  /** Inline data. */
236
244
  fileUri?: string;
@@ -276,11 +284,23 @@ declare namespace gapi.client {
276
284
  confidence?: string;
277
285
  /** Whether the category is flagged as being present. Currently, this is set to true if score >= 0.5. */
278
286
  flagged?: boolean;
287
+ /** The influential terms that could potentially block the response. */
288
+ influentialTerms?: CloudAiNlLlmProtoServiceRaiSignalInfluentialTerm[];
279
289
  /** The RAI category. */
280
290
  raiCategory?: string;
281
291
  /** The score for the category, in the range [0.0, 1.0]. */
282
292
  score?: number;
283
293
  }
294
+ interface CloudAiNlLlmProtoServiceRaiSignalInfluentialTerm {
295
+ /** The beginning offset of the influential term. */
296
+ beginOffset?: number;
297
+ /** The confidence score of the influential term. */
298
+ confidence?: number;
299
+ /** The source of the influential term, prompt or response. */
300
+ source?: string;
301
+ /** The influential term. */
302
+ term?: string;
303
+ }
284
304
  interface CloudAiNlLlmProtoServiceSafetyRating {
285
305
  /** Indicates whether the content was filtered out because of this rating. */
286
306
  blocked?: boolean;
@@ -2040,7 +2060,7 @@ declare namespace gapi.client {
2040
2060
  name?: string;
2041
2061
  /** Output only. A Service Account unique to this FeatureView. The role bigquery.dataViewer should be granted to this service account to allow Vertex AI Feature Store to sync data to the online store. */
2042
2062
  serviceAccountEmail?: string;
2043
- /** Optional. Service agent type used during data sync. By default, the Vertex AI Service Agent is used. When using an IAM Policy to isolate this FeatureView within a project (https://cloud.google.com/vertex-ai/docs/featurestore/latest/resource-policy) a separate service account should be provisioned by setting this field to `SERVICE_AGENT_TYPE_FEATURE_VIEW`. This will generate a separate service account to access the BigQuery source table. */
2063
+ /** Optional. Service agent type used during data sync. By default, the Vertex AI Service Agent is used. When using an IAM Policy to isolate this FeatureView within a project, a separate service account should be provisioned by setting this field to `SERVICE_AGENT_TYPE_FEATURE_VIEW`. This will generate a separate service account to access the BigQuery source table. */
2044
2064
  serviceAgentType?: string;
2045
2065
  /** Configures when data is to be synced/updated for this FeatureView. At the end of the sync the latest featureValues for each entityId of this FeatureView are made ready for online serving. */
2046
2066
  syncConfig?: GoogleCloudAiplatformV1beta1FeatureViewSyncConfig;
@@ -10809,7 +10829,7 @@ declare namespace gapi.client {
10809
10829
  callback?: string;
10810
10830
  /** Selector specifying which fields to include in a partial response. */
10811
10831
  fields?: string;
10812
- /** Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `endpoint` supports = and !=. `endpoint` represents the Endpoint ID, i.e. the last segment of the Endpoint's resource name. * `display_name` supports = and, != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels."a key"`. Some examples: * `endpoint=1` * `displayName="myDisplayName"` * `labels.myKey="myValue"` */
10832
+ /** Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `endpoint` supports = and !=. `endpoint` represents the Endpoint ID, i.e. the last segment of the Endpoint's resource name. * `display_name` supports = and, != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels."a key"`. * `base_model_name` only supports = Some examples: * `endpoint=1` * `displayName="myDisplayName"` * `labels.myKey="myValue"` * `baseModelName="text-bison"` */
10813
10833
  filter?: string;
10814
10834
  /** 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. */
10815
10835
  key?: string;
@@ -13053,6 +13073,35 @@ declare namespace gapi.client {
13053
13073
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13054
13074
  uploadType?: string;
13055
13075
  }): Request<GoogleCloudAiplatformV1beta1FeatureView>;
13076
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
13077
+ getIamPolicy(request?: {
13078
+ /** V1 error format. */
13079
+ '$.xgafv'?: string;
13080
+ /** OAuth access token. */
13081
+ access_token?: string;
13082
+ /** Data format for response. */
13083
+ alt?: string;
13084
+ /** JSONP */
13085
+ callback?: string;
13086
+ /** Selector specifying which fields to include in a partial response. */
13087
+ fields?: string;
13088
+ /** 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. */
13089
+ key?: string;
13090
+ /** OAuth 2.0 token for the current user. */
13091
+ oauth_token?: string;
13092
+ /** 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). */
13093
+ 'options.requestedPolicyVersion'?: number;
13094
+ /** Returns response with indentations and line breaks. */
13095
+ prettyPrint?: boolean;
13096
+ /** 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. */
13097
+ quotaUser?: string;
13098
+ /** 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. */
13099
+ resource: string;
13100
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13101
+ upload_protocol?: string;
13102
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13103
+ uploadType?: string;
13104
+ }): Request<GoogleIamV1Policy>;
13056
13105
  /** Lists FeatureViews in a given FeatureOnlineStore. */
13057
13106
  list(request?: {
13058
13107
  /** V1 error format. */
@@ -13208,6 +13257,36 @@ declare namespace gapi.client {
13208
13257
  },
13209
13258
  body: GoogleCloudAiplatformV1beta1SearchNearestEntitiesRequest
13210
13259
  ): Request<GoogleCloudAiplatformV1beta1SearchNearestEntitiesResponse>;
13260
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
13261
+ setIamPolicy(
13262
+ request: {
13263
+ /** V1 error format. */
13264
+ '$.xgafv'?: string;
13265
+ /** OAuth access token. */
13266
+ access_token?: string;
13267
+ /** Data format for response. */
13268
+ alt?: string;
13269
+ /** JSONP */
13270
+ callback?: string;
13271
+ /** Selector specifying which fields to include in a partial response. */
13272
+ fields?: string;
13273
+ /** 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. */
13274
+ key?: string;
13275
+ /** OAuth 2.0 token for the current user. */
13276
+ oauth_token?: string;
13277
+ /** Returns response with indentations and line breaks. */
13278
+ prettyPrint?: boolean;
13279
+ /** 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. */
13280
+ quotaUser?: string;
13281
+ /** 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. */
13282
+ resource: string;
13283
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13284
+ upload_protocol?: string;
13285
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13286
+ uploadType?: string;
13287
+ },
13288
+ body: GoogleIamV1SetIamPolicyRequest
13289
+ ): Request<GoogleIamV1Policy>;
13211
13290
  /** Triggers on-demand sync for the FeatureView. */
13212
13291
  sync(request: {
13213
13292
  /** V1 error format. */
@@ -13266,6 +13345,35 @@ declare namespace gapi.client {
13266
13345
  },
13267
13346
  body: GoogleCloudAiplatformV1beta1SyncFeatureViewRequest
13268
13347
  ): Request<GoogleCloudAiplatformV1beta1SyncFeatureViewResponse>;
13348
+ /** 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. */
13349
+ testIamPermissions(request?: {
13350
+ /** V1 error format. */
13351
+ '$.xgafv'?: string;
13352
+ /** OAuth access token. */
13353
+ access_token?: string;
13354
+ /** Data format for response. */
13355
+ alt?: string;
13356
+ /** JSONP */
13357
+ callback?: string;
13358
+ /** Selector specifying which fields to include in a partial response. */
13359
+ fields?: string;
13360
+ /** 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. */
13361
+ key?: string;
13362
+ /** OAuth 2.0 token for the current user. */
13363
+ oauth_token?: string;
13364
+ /** 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). */
13365
+ permissions?: string | string[];
13366
+ /** Returns response with indentations and line breaks. */
13367
+ prettyPrint?: boolean;
13368
+ /** 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. */
13369
+ quotaUser?: string;
13370
+ /** 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. */
13371
+ resource: string;
13372
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13373
+ upload_protocol?: string;
13374
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13375
+ uploadType?: string;
13376
+ }): Request<GoogleIamV1TestIamPermissionsResponse>;
13269
13377
  featureViewSyncs: FeatureViewSyncsResource;
13270
13378
  operations: OperationsResource;
13271
13379
  }
@@ -13506,6 +13614,35 @@ declare namespace gapi.client {
13506
13614
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13507
13615
  uploadType?: string;
13508
13616
  }): Request<GoogleCloudAiplatformV1beta1FeatureOnlineStore>;
13617
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
13618
+ getIamPolicy(request?: {
13619
+ /** V1 error format. */
13620
+ '$.xgafv'?: string;
13621
+ /** OAuth access token. */
13622
+ access_token?: string;
13623
+ /** Data format for response. */
13624
+ alt?: string;
13625
+ /** JSONP */
13626
+ callback?: string;
13627
+ /** Selector specifying which fields to include in a partial response. */
13628
+ fields?: string;
13629
+ /** 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. */
13630
+ key?: string;
13631
+ /** OAuth 2.0 token for the current user. */
13632
+ oauth_token?: string;
13633
+ /** 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). */
13634
+ 'options.requestedPolicyVersion'?: number;
13635
+ /** Returns response with indentations and line breaks. */
13636
+ prettyPrint?: boolean;
13637
+ /** 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. */
13638
+ quotaUser?: string;
13639
+ /** 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. */
13640
+ resource: string;
13641
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13642
+ upload_protocol?: string;
13643
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13644
+ uploadType?: string;
13645
+ }): Request<GoogleIamV1Policy>;
13509
13646
  /** Lists FeatureOnlineStores in a given project and location. */
13510
13647
  list(request?: {
13511
13648
  /** V1 error format. */
@@ -13603,6 +13740,65 @@ declare namespace gapi.client {
13603
13740
  },
13604
13741
  body: GoogleCloudAiplatformV1beta1FeatureOnlineStore
13605
13742
  ): Request<GoogleLongrunningOperation>;
13743
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
13744
+ setIamPolicy(
13745
+ request: {
13746
+ /** V1 error format. */
13747
+ '$.xgafv'?: string;
13748
+ /** OAuth access token. */
13749
+ access_token?: string;
13750
+ /** Data format for response. */
13751
+ alt?: string;
13752
+ /** JSONP */
13753
+ callback?: string;
13754
+ /** Selector specifying which fields to include in a partial response. */
13755
+ fields?: string;
13756
+ /** 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. */
13757
+ key?: string;
13758
+ /** OAuth 2.0 token for the current user. */
13759
+ oauth_token?: string;
13760
+ /** Returns response with indentations and line breaks. */
13761
+ prettyPrint?: boolean;
13762
+ /** 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. */
13763
+ quotaUser?: string;
13764
+ /** 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. */
13765
+ resource: string;
13766
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13767
+ upload_protocol?: string;
13768
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13769
+ uploadType?: string;
13770
+ },
13771
+ body: GoogleIamV1SetIamPolicyRequest
13772
+ ): Request<GoogleIamV1Policy>;
13773
+ /** 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. */
13774
+ testIamPermissions(request?: {
13775
+ /** V1 error format. */
13776
+ '$.xgafv'?: string;
13777
+ /** OAuth access token. */
13778
+ access_token?: string;
13779
+ /** Data format for response. */
13780
+ alt?: string;
13781
+ /** JSONP */
13782
+ callback?: string;
13783
+ /** Selector specifying which fields to include in a partial response. */
13784
+ fields?: string;
13785
+ /** 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. */
13786
+ key?: string;
13787
+ /** OAuth 2.0 token for the current user. */
13788
+ oauth_token?: string;
13789
+ /** 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). */
13790
+ permissions?: string | string[];
13791
+ /** Returns response with indentations and line breaks. */
13792
+ prettyPrint?: boolean;
13793
+ /** 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. */
13794
+ quotaUser?: string;
13795
+ /** 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. */
13796
+ resource: string;
13797
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13798
+ upload_protocol?: string;
13799
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13800
+ uploadType?: string;
13801
+ }): Request<GoogleIamV1TestIamPermissionsResponse>;
13606
13802
  featureViews: FeatureViewsResource;
13607
13803
  operations: OperationsResource;
13608
13804
  }
@@ -20588,7 +20784,7 @@ declare namespace gapi.client {
20588
20784
  callback?: string;
20589
20785
  /** Selector specifying which fields to include in a partial response. */
20590
20786
  fields?: string;
20591
- /** An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `model` supports = and !=. `model` represents the Model ID, i.e. the last segment of the Model's resource name. * `display_name` supports = and != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels."a key"`. Some examples: * `model=1234` * `displayName="myDisplayName"` * `labels.myKey="myValue"` */
20787
+ /** An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `model` supports = and !=. `model` represents the Model ID, i.e. the last segment of the Model's resource name. * `display_name` supports = and != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels."a key"`. * `base_model_name` only supports = Some examples: * `model=1234` * `displayName="myDisplayName"` * `labels.myKey="myValue"` * `baseModelName="text-bison"` */
20592
20788
  filter?: string;
20593
20789
  /** 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. */
20594
20790
  key?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1beta1",
3
- "version": "0.0.20240229",
3
+ "version": "0.0.20240312",
4
4
  "description": "TypeScript typings for Vertex AI API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",