@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20240709 → 0.0.20240715

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 +110 -66
  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: 20240709
12
+ // Revision: 20240715
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -35,8 +35,6 @@ declare namespace gapi.client {
35
35
  raiMediaFilteredCount?: number;
36
36
  /** Returns rai failure reasons if any. */
37
37
  raiMediaFilteredReasons?: string[];
38
- /** Billable prediction metrics. */
39
- reportingMetrics?: IntelligenceCloudAutomlXpsReportingMetrics;
40
38
  }
41
39
  interface CloudAiLargeModelsVisionImage {
42
40
  /** Image encoding, encoded as "image/png" or "image/jpg". */
@@ -198,6 +196,10 @@ declare namespace gapi.client {
198
196
  /** Output only. Timestamp when AnnotationSpec was last updated. */
199
197
  updateTime?: string;
200
198
  }
199
+ interface GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig {
200
+ /** Required. The SecretManager secret version resource name storing API key. e.g. projects/{project}/secrets/{secret}/versions/{version} */
201
+ apiKeySecretVersion?: string;
202
+ }
201
203
  interface GoogleCloudAiplatformV1beta1Artifact {
202
204
  /** Output only. Timestamp when this Artifact was created. */
203
205
  createTime?: string;
@@ -634,6 +636,8 @@ declare namespace gapi.client {
634
636
  index?: number;
635
637
  /** Output only. List of ratings for the safety of a response candidate. There is at most one rating per category. */
636
638
  safetyRatings?: GoogleCloudAiplatformV1beta1SafetyRating[];
639
+ /** Output only. Confidence score of the candidate. */
640
+ score?: number;
637
641
  }
638
642
  interface GoogleCloudAiplatformV1beta1CheckTrialEarlyStoppingStateMetatdata {
639
643
  /** Operation metadata for suggesting Trials. */
@@ -707,11 +711,11 @@ declare namespace gapi.client {
707
711
  successfulForecastPointCount?: string;
708
712
  }
709
713
  interface GoogleCloudAiplatformV1beta1ComputeTokensRequest {
710
- /** Required. Input content. */
714
+ /** Optional. Input content. */
711
715
  contents?: GoogleCloudAiplatformV1beta1Content[];
712
- /** Required. The instances that are the input to token computing API call. Schema is identical to the prediction schema of the text model, even for the non-text models, like chat models, or Codey models. */
716
+ /** Optional. The instances that are the input to token computing API call. Schema is identical to the prediction schema of the text model, even for the non-text models, like chat models, or Codey models. */
713
717
  instances?: any[];
714
- /** Required. The name of the publisher model requested to serve the prediction. Format: projects/{project}/locations/{location}/publishers/*‍/models/* */
718
+ /** Optional. The name of the publisher model requested to serve the prediction. Format: projects/{project}/locations/{location}/publishers/*‍/models/* */
715
719
  model?: string;
716
720
  }
717
721
  interface GoogleCloudAiplatformV1beta1ComputeTokensResponse {
@@ -783,12 +787,16 @@ declare namespace gapi.client {
783
787
  modelVersionId?: string;
784
788
  }
785
789
  interface GoogleCloudAiplatformV1beta1CountTokensRequest {
786
- /** Required. Input content. */
790
+ /** Optional. Input content. */
787
791
  contents?: GoogleCloudAiplatformV1beta1Content[];
788
- /** Required. The instances that are the input to token counting call. Schema is identical to the prediction schema of the underlying model. */
792
+ /** Optional. The instances that are the input to token counting call. Schema is identical to the prediction schema of the underlying model. */
789
793
  instances?: any[];
790
- /** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*‍/models/*` */
794
+ /** Optional. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*‍/models/*` */
791
795
  model?: string;
796
+ /** Optional. The user provided system instructions for the model. Note: only text should be used in parts and content in each part will be in a separate paragraph. */
797
+ systemInstruction?: GoogleCloudAiplatformV1beta1Content;
798
+ /** Optional. A list of `Tools` the model may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. */
799
+ tools?: GoogleCloudAiplatformV1beta1Tool[];
792
800
  }
793
801
  interface GoogleCloudAiplatformV1beta1CountTokensResponse {
794
802
  /** The total number of billable characters counted across all instances from the request. */
@@ -1091,7 +1099,7 @@ declare namespace gapi.client {
1091
1099
  metadataSchemaUri?: string;
1092
1100
  /** Optional. Reference to the public base model last used by the dataset. Only set for prompt datasets. */
1093
1101
  modelReference?: string;
1094
- /** Output only. The resource name of the Dataset. */
1102
+ /** Output only. Identifier. The resource name of the Dataset. */
1095
1103
  name?: string;
1096
1104
  /** All SavedQueries belong to the Dataset will be returned in List/Get Dataset response. The annotation_specs field will not be populated except for UI cases which will only use annotation_spec_count. In CreateDataset request, a SavedQuery is created together if this field is set, up to one SavedQuery can be set in CreateDatasetRequest. The SavedQuery should not contain any AnnotationSpec. */
1097
1105
  savedQueries?: GoogleCloudAiplatformV1beta1SavedQuery[];
@@ -1111,7 +1119,7 @@ declare namespace gapi.client {
1111
1119
  metadata?: any;
1112
1120
  /** Output only. Reference to the public base model last used by the dataset version. Only set for prompt dataset versions. */
1113
1121
  modelReference?: string;
1114
- /** Output only. The resource name of the DatasetVersion. */
1122
+ /** Output only. Identifier. The resource name of the DatasetVersion. */
1115
1123
  name?: string;
1116
1124
  /** Output only. Timestamp when this DatasetVersion was last updated. */
1117
1125
  updateTime?: string;
@@ -1348,6 +1356,10 @@ declare namespace gapi.client {
1348
1356
  interface GoogleCloudAiplatformV1beta1Endpoint {
1349
1357
  /** Output only. Timestamp when this Endpoint was created. */
1350
1358
  createTime?: string;
1359
+ /** Output only. DNS of the dedicated endpoint. Will only be populated if dedicated_endpoint_enabled is true. Format: `https://{endpoint_id}.{region}-{project_number}.prediction.vertexai.goog`. */
1360
+ dedicatedEndpointDns?: string;
1361
+ /** If true, the endpoint will be exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated from other users' traffic and will have better performance and reliability. Note: Once you enabled dedicated endpoint, you won't be able to send request to the shared DNS {region}-aiplatform.googleapis.com. The limitation will be removed soon. */
1362
+ dedicatedEndpointEnabled?: boolean;
1351
1363
  /** Output only. The models deployed in this Endpoint. To add or remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel respectively. */
1352
1364
  deployedModels?: GoogleCloudAiplatformV1beta1DeployedModel[];
1353
1365
  /** The description of the Endpoint. */
@@ -2591,28 +2603,6 @@ declare namespace gapi.client {
2591
2603
  /** Optional. Which version to use for evaluation. */
2592
2604
  version?: number;
2593
2605
  }
2594
- interface GoogleCloudAiplatformV1beta1GroundingAttribution {
2595
- /** Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident. */
2596
- confidenceScore?: number;
2597
- /** Optional. Attribution from context retrieved by the retrieval tools. */
2598
- retrievedContext?: GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext;
2599
- /** Output only. Segment of the content this attribution belongs to. */
2600
- segment?: GoogleCloudAiplatformV1beta1Segment;
2601
- /** Optional. Attribution from the web. */
2602
- web?: GoogleCloudAiplatformV1beta1GroundingAttributionWeb;
2603
- }
2604
- interface GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext {
2605
- /** Output only. Title of the attribution. */
2606
- title?: string;
2607
- /** Output only. URI reference of the attribution. */
2608
- uri?: string;
2609
- }
2610
- interface GoogleCloudAiplatformV1beta1GroundingAttributionWeb {
2611
- /** Output only. Title of the attribution. */
2612
- title?: string;
2613
- /** Output only. URI reference of the attribution. */
2614
- uri?: string;
2615
- }
2616
2606
  interface GoogleCloudAiplatformV1beta1GroundingChunk {
2617
2607
  /** Grounding chunk from context retrieved by the retrieval tools. */
2618
2608
  retrievedContext?: GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext;
@@ -2632,8 +2622,6 @@ declare namespace gapi.client {
2632
2622
  uri?: string;
2633
2623
  }
2634
2624
  interface GoogleCloudAiplatformV1beta1GroundingMetadata {
2635
- /** Optional. List of grounding attributions. */
2636
- groundingAttributions?: GoogleCloudAiplatformV1beta1GroundingAttribution[];
2637
2625
  /** List of supporting references retrieved from specified grounding source. */
2638
2626
  groundingChunks?: GoogleCloudAiplatformV1beta1GroundingChunk[];
2639
2627
  /** Optional. List of grounding support. */
@@ -2774,10 +2762,14 @@ declare namespace gapi.client {
2774
2762
  gcsSource?: GoogleCloudAiplatformV1beta1GcsSource;
2775
2763
  /** Google Drive location. Supports importing individual files as well as Google Drive folders. */
2776
2764
  googleDriveSource?: GoogleCloudAiplatformV1beta1GoogleDriveSource;
2765
+ /** Jira queries with their corresponding authentication. */
2766
+ jiraSource?: GoogleCloudAiplatformV1beta1JiraSource;
2777
2767
  /** Optional. The max number of queries per minute that this job is allowed to make to the embedding model specified on the corpus. This value is specific to this job and not shared across other import jobs. Consult the Quotas page on the project to set an appropriate value here. If unspecified, a default value of 1,000 QPM would be used. */
2778
2768
  maxEmbeddingRequestsPerMin?: number;
2779
2769
  /** Specifies the size and overlap of chunks after importing RagFiles. */
2780
2770
  ragFileChunkingConfig?: GoogleCloudAiplatformV1beta1RagFileChunkingConfig;
2771
+ /** Slack channels with their corresponding access tokens. */
2772
+ slackSource?: GoogleCloudAiplatformV1beta1SlackSource;
2781
2773
  }
2782
2774
  interface GoogleCloudAiplatformV1beta1ImportRagFilesRequest {
2783
2775
  /** Required. The config for the RagFiles to be synced and imported into the RagCorpus. VertexRagDataService.ImportRagFiles. */
@@ -2945,6 +2937,22 @@ declare namespace gapi.client {
2945
2937
  /** Required. internal service state. */
2946
2938
  serviceState?: string;
2947
2939
  }
2940
+ interface GoogleCloudAiplatformV1beta1JiraSource {
2941
+ /** Required. The Jira queries. */
2942
+ jiraQueries?: GoogleCloudAiplatformV1beta1JiraSourceJiraQueries[];
2943
+ }
2944
+ interface GoogleCloudAiplatformV1beta1JiraSourceJiraQueries {
2945
+ /** Required. The SecretManager secret version resource name (e.g. projects/{project}/secrets/{secret}/versions/{version}) storing the Jira API key (https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/). */
2946
+ apiKeyConfig?: GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig;
2947
+ /** A list of custom Jira queries to import. For information about JQL (Jira Query Language), see https://support.atlassian.com/jira-service-management-cloud/docs/use-advanced-search-with-jira-query-language-jql/ */
2948
+ customQueries?: string[];
2949
+ /** Required. The Jira email address. */
2950
+ email?: string;
2951
+ /** A list of Jira projects to import in their entirety. */
2952
+ projects?: string[];
2953
+ /** Required. The Jira server URI. */
2954
+ serverUri?: string;
2955
+ }
2948
2956
  interface GoogleCloudAiplatformV1beta1LargeModelReference {
2949
2957
  /** Required. The unique name of the large Foundation or pre-built model. Like "chat-bison", "text-bison". Or model name with version ID, like "chat-bison@001", "text-bison@005", etc. */
2950
2958
  name?: string;
@@ -3746,6 +3754,10 @@ declare namespace gapi.client {
3746
3754
  notificationSpec?: GoogleCloudAiplatformV1beta1ModelMonitoringNotificationSpec;
3747
3755
  /** Optional default monitoring metrics/logs export spec, it can be overridden in the ModelMonitoringJob output spec. If not specified, a default Google Cloud Storage bucket will be created under your project. */
3748
3756
  outputSpec?: GoogleCloudAiplatformV1beta1ModelMonitoringOutputSpec;
3757
+ /** Output only. Reserved for future use. */
3758
+ satisfiesPzi?: boolean;
3759
+ /** Output only. Reserved for future use. */
3760
+ satisfiesPzs?: boolean;
3749
3761
  /** Optional default tabular model monitoring objective. */
3750
3762
  tabularObjective?: GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpecTabularObjective;
3751
3763
  /** Optional training dataset used to train the model. It can serve as a reference dataset to identify changes in production. */
@@ -4260,6 +4272,8 @@ declare namespace gapi.client {
4260
4272
  entityId?: string;
4261
4273
  /** Optional. The number of similar entities to be retrieved from feature view for each query. */
4262
4274
  neighborCount?: number;
4275
+ /** Optional. The list of numeric filters. */
4276
+ numericFilters?: GoogleCloudAiplatformV1beta1NearestNeighborQueryNumericFilter[];
4263
4277
  /** Optional. Parameters that can be set to tune query on the fly. */
4264
4278
  parameters?: GoogleCloudAiplatformV1beta1NearestNeighborQueryParameters;
4265
4279
  /** 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. */
@@ -4271,6 +4285,18 @@ declare namespace gapi.client {
4271
4285
  /** Optional. Individual value in the embedding. */
4272
4286
  value?: number[];
4273
4287
  }
4288
+ interface GoogleCloudAiplatformV1beta1NearestNeighborQueryNumericFilter {
4289
+ /** Required. Column name in BigQuery that used as filters. */
4290
+ name?: string;
4291
+ /** Optional. This MUST be specified for queries and must NOT be specified for database points. */
4292
+ op?: string;
4293
+ /** double value type. */
4294
+ valueDouble?: number;
4295
+ /** float value type. */
4296
+ valueFloat?: number;
4297
+ /** int value type. */
4298
+ valueInt?: string;
4299
+ }
4274
4300
  interface GoogleCloudAiplatformV1beta1NearestNeighborQueryParameters {
4275
4301
  /** Optional. The number of neighbors to find via approximate search before exact reordering is performed; if set, this value must be > neighbor_count. */
4276
4302
  approximateNeighborCandidates?: number;
@@ -4600,6 +4626,8 @@ declare namespace gapi.client {
4600
4626
  name?: string;
4601
4627
  /** Optional. The full name of the Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to peered with Vertex AI to host the persistent resources. For example, `projects/12345/global/networks/myVPC`. [Format](/compute/docs/reference/rest/v1/networks/insert) is of the form `projects/{project}/global/networks/{network}`. Where {project} is a project number, as in `12345`, and {network} is a network name. To specify this field, you must have already [configured VPC Network Peering for Vertex AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering). If this field is left unspecified, the resources aren't peered with any network. */
4602
4628
  network?: string;
4629
+ /** Optional. Configuration for PSC-I for PersistentResource. */
4630
+ pscInterfaceConfig?: GoogleCloudAiplatformV1beta1PscInterfaceConfig;
4603
4631
  /** Optional. A list of names for the reserved IP ranges under the VPC network that can be used for this persistent resource. If set, we will deploy the persistent resource within the provided IP ranges. Otherwise, the persistent resource is deployed to any IP ranges under the provided VPC network. Example: ['vertex-ai-ip-range']. */
4604
4632
  reservedIpRanges?: string[];
4605
4633
  /** Required. The spec of the pools of different resources. */
@@ -4642,6 +4670,10 @@ declare namespace gapi.client {
4642
4670
  reservedIpRanges?: string[];
4643
4671
  /** Runtime config of the pipeline. */
4644
4672
  runtimeConfig?: GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfig;
4673
+ /** Output only. Reserved for future use. */
4674
+ satisfiesPzi?: boolean;
4675
+ /** Output only. Reserved for future use. */
4676
+ satisfiesPzs?: boolean;
4645
4677
  /** Output only. The schedule resource name. Only returned if the Pipeline is created by Schedule API. */
4646
4678
  scheduleName?: string;
4647
4679
  /** The service account that the pipeline workload runs as. If not specified, the Compute Engine default service account in the project will be used. See https://cloud.google.com/compute/docs/access/service-accounts#default_service_account Users starting the pipeline must have the `iam.serviceAccounts.actAs` permission on this service account. */
@@ -4839,6 +4871,10 @@ declare namespace gapi.client {
4839
4871
  /** Corresponding project_id in pscAutomationConfigs */
4840
4872
  projectId?: string;
4841
4873
  }
4874
+ interface GoogleCloudAiplatformV1beta1PscInterfaceConfig {
4875
+ /** Optional. The full name of the Compute Engine [network attachment](https://cloud.google.com/vpc/docs/about-network-attachments) to attach to the resource. For example, `projects/12345/regions/us-central1/networkAttachments/myNA`. is of the form `projects/{project}/regions/{region}/networkAttachments/{networkAttachment}`. Where {project} is a project number, as in `12345`, and {networkAttachment} is a network attachment name. To specify this field, you must have already [created a network attachment] (https://cloud.google.com/vpc/docs/create-manage-network-attachments#create-network-attachments). This field is only used for resources using PSC-I. */
4876
+ networkAttachment?: string;
4877
+ }
4842
4878
  interface GoogleCloudAiplatformV1beta1PublisherModel {
4843
4879
  /** Optional. Additional information about the model's Frameworks. */
4844
4880
  frameworks?: string[];
@@ -5232,12 +5268,16 @@ declare namespace gapi.client {
5232
5268
  gcsSource?: GoogleCloudAiplatformV1beta1GcsSource;
5233
5269
  /** Output only. Google Drive location. Supports importing individual files as well as Google Drive folders. */
5234
5270
  googleDriveSource?: GoogleCloudAiplatformV1beta1GoogleDriveSource;
5271
+ /** The RagFile is imported from a Jira query. */
5272
+ jiraSource?: GoogleCloudAiplatformV1beta1JiraSource;
5235
5273
  /** Output only. The resource name of the RagFile. */
5236
5274
  name?: string;
5237
5275
  /** Output only. The type of the RagFile. */
5238
5276
  ragFileType?: string;
5239
5277
  /** Output only. The size of the RagFile in bytes. */
5240
5278
  sizeBytes?: string;
5279
+ /** The RagFile is imported from a Slack channel. */
5280
+ slackSource?: GoogleCloudAiplatformV1beta1SlackSource;
5241
5281
  /** Output only. Timestamp when this RagFile was last updated. */
5242
5282
  updateTime?: string;
5243
5283
  }
@@ -5257,6 +5297,10 @@ declare namespace gapi.client {
5257
5297
  /** The prediction input. Supports HTTP headers and arbitrary data payload. A DeployedModel may have an upper limit on the number of instances it supports per request. When this limit it is exceeded for an AutoML model, the RawPredict method returns an error. When this limit is exceeded for a custom-trained model, the behavior varies depending on the model. You can specify the schema for each instance in the predict_schemata.instance_schema_uri field when you create a Model. This schema applies when you deploy the `Model` as a `DeployedModel` to an Endpoint and use the `RawPredict` method. */
5258
5298
  httpBody?: GoogleApiHttpBody;
5259
5299
  }
5300
+ interface GoogleCloudAiplatformV1beta1RayLogsSpec {
5301
+ /** Optional. Flag to disable the export of Ray OSS logs to Cloud Logging. */
5302
+ disabled?: boolean;
5303
+ }
5260
5304
  interface GoogleCloudAiplatformV1beta1RayMetricSpec {
5261
5305
  /** Optional. Flag to disable the Ray metrics collection. */
5262
5306
  disabled?: boolean;
@@ -5266,6 +5310,8 @@ declare namespace gapi.client {
5266
5310
  headNodeResourcePoolId?: string;
5267
5311
  /** Optional. Default image for user to choose a preferred ML framework (for example, TensorFlow or Pytorch) by choosing from [Vertex prebuilt images](https://cloud.google.com/vertex-ai/docs/training/pre-built-containers). Either this or the resource_pool_images is required. Use this field if you need all the resource pools to have the same Ray image. Otherwise, use the {@code resource_pool_images} field. */
5268
5312
  imageUri?: string;
5313
+ /** Optional. OSS Ray logging configurations. */
5314
+ rayLogsSpec?: GoogleCloudAiplatformV1beta1RayLogsSpec;
5269
5315
  /** Optional. Ray metrics configurations. */
5270
5316
  rayMetricSpec?: GoogleCloudAiplatformV1beta1RayMetricSpec;
5271
5317
  /** Optional. Required if image_uri isn't set. A map of resource_pool_id to prebuild Ray image if user need to use different images for different head/worker pools. This map needs to cover all the resource pool ids. Example: { "ray_head_node_pool": "head image" "ray_worker_node_pool1": "worker image" "ray_worker_node_pool2": "another worker image" } */
@@ -5463,7 +5509,7 @@ declare namespace gapi.client {
5463
5509
  catchUp?: boolean;
5464
5510
  }
5465
5511
  interface GoogleCloudAiplatformV1beta1Retrieval {
5466
- /** Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation. */
5512
+ /** Optional. Deprecated. This option is no longer supported. */
5467
5513
  disableAttribution?: boolean;
5468
5514
  /** Set to use data source powered by Vertex AI Search. */
5469
5515
  vertexAiSearch?: GoogleCloudAiplatformV1beta1VertexAISearch;
@@ -5685,6 +5731,8 @@ declare namespace gapi.client {
5685
5731
  disableRetries?: boolean;
5686
5732
  /** 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. */
5687
5733
  restartJobOnWorkerRestart?: boolean;
5734
+ /** Optional. This determines which type of scheduling strategy to use. */
5735
+ strategy?: string;
5688
5736
  /** The maximum job running time. The default is 7 days. */
5689
5737
  timeout?: string;
5690
5738
  }
@@ -7138,6 +7186,24 @@ declare namespace gapi.client {
7138
7186
  /** 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. */
7139
7187
  enableSecureBoot?: boolean;
7140
7188
  }
7189
+ interface GoogleCloudAiplatformV1beta1SlackSource {
7190
+ /** Required. The Slack channels. */
7191
+ channels?: GoogleCloudAiplatformV1beta1SlackSourceSlackChannels[];
7192
+ }
7193
+ interface GoogleCloudAiplatformV1beta1SlackSourceSlackChannels {
7194
+ /** Required. The SecretManager secret version resource name (e.g. projects/{project}/secrets/{secret}/versions/{version}) storing the Slack channel access token that has access to the slack channel IDs. See: https://api.slack.com/tutorials/tracks/getting-a-token. */
7195
+ apiKeyConfig?: GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig;
7196
+ /** Required. The Slack channel IDs. */
7197
+ channels?: GoogleCloudAiplatformV1beta1SlackSourceSlackChannelsSlackChannel[];
7198
+ }
7199
+ interface GoogleCloudAiplatformV1beta1SlackSourceSlackChannelsSlackChannel {
7200
+ /** Required. The Slack channel ID. */
7201
+ channelId?: string;
7202
+ /** Optional. The ending timestamp for messages to import. */
7203
+ endTime?: string;
7204
+ /** Optional. The starting timestamp for messages to import. */
7205
+ startTime?: string;
7206
+ }
7141
7207
  interface GoogleCloudAiplatformV1beta1SmoothGradConfig {
7142
7208
  /** This is similar to noise_sigma, but provides additional flexibility. A separate noise sigma can be provided for each feature, which is useful if their distributions are different. No noise is added to features that are not set. If this field is unset, noise_sigma will be used for all features. */
7143
7209
  featureNoiseSigma?: GoogleCloudAiplatformV1beta1FeatureNoiseSigma;
@@ -8370,30 +8436,6 @@ declare namespace gapi.client {
8370
8436
  /** The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. */
8371
8437
  units?: string;
8372
8438
  }
8373
- interface IntelligenceCloudAutomlXpsMetricEntry {
8374
- /** For billing metrics that are using legacy sku's, set the legacy billing metric id here. This will be sent to Chemist as the "cloudbilling.googleapis.com/argentum_metric_id" label. Otherwise leave empty. */
8375
- argentumMetricId?: string;
8376
- /** A double value. */
8377
- doubleValue?: number;
8378
- /** A signed 64-bit integer value. */
8379
- int64Value?: string;
8380
- /** The metric name defined in the service configuration. */
8381
- metricName?: string;
8382
- /** Billing system labels for this (metric, value) pair. */
8383
- systemLabels?: IntelligenceCloudAutomlXpsMetricEntryLabel[];
8384
- }
8385
- interface IntelligenceCloudAutomlXpsMetricEntryLabel {
8386
- /** The name of the label. */
8387
- labelName?: string;
8388
- /** The value of the label. */
8389
- labelValue?: string;
8390
- }
8391
- interface IntelligenceCloudAutomlXpsReportingMetrics {
8392
- /** The effective time training used. If set, this is used for quota management and billing. Deprecated. AutoML BE doesn't use this. Don't set. */
8393
- effectiveTrainingDuration?: string;
8394
- /** One entry per metric name. The values must be aggregated per metric name. */
8395
- metricEntries?: IntelligenceCloudAutomlXpsMetricEntry[];
8396
- }
8397
8439
  interface MediaResource {
8398
8440
  /** Upload a file into a RagCorpus. */
8399
8441
  upload(request: {
@@ -10586,7 +10628,7 @@ declare namespace gapi.client {
10586
10628
  fields?: string;
10587
10629
  /** 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. */
10588
10630
  key?: string;
10589
- /** Output only. The resource name of the DatasetVersion. */
10631
+ /** Output only. Identifier. The resource name of the DatasetVersion. */
10590
10632
  name: string;
10591
10633
  /** OAuth 2.0 token for the current user. */
10592
10634
  oauth_token?: string;
@@ -10617,7 +10659,7 @@ declare namespace gapi.client {
10617
10659
  fields?: string;
10618
10660
  /** 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. */
10619
10661
  key?: string;
10620
- /** Output only. The resource name of the DatasetVersion. */
10662
+ /** Output only. Identifier. The resource name of the DatasetVersion. */
10621
10663
  name: string;
10622
10664
  /** OAuth 2.0 token for the current user. */
10623
10665
  oauth_token?: string;
@@ -11301,7 +11343,7 @@ declare namespace gapi.client {
11301
11343
  fields?: string;
11302
11344
  /** 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. */
11303
11345
  key?: string;
11304
- /** Output only. The resource name of the Dataset. */
11346
+ /** Output only. Identifier. The resource name of the Dataset. */
11305
11347
  name: string;
11306
11348
  /** OAuth 2.0 token for the current user. */
11307
11349
  oauth_token?: string;
@@ -11332,7 +11374,7 @@ declare namespace gapi.client {
11332
11374
  fields?: string;
11333
11375
  /** 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. */
11334
11376
  key?: string;
11335
- /** Output only. The resource name of the Dataset. */
11377
+ /** Output only. Identifier. The resource name of the Dataset. */
11336
11378
  name: string;
11337
11379
  /** OAuth 2.0 token for the current user. */
11338
11380
  oauth_token?: string;
@@ -32643,9 +32685,11 @@ declare namespace gapi.client {
32643
32685
  callback?: string;
32644
32686
  /** Selector specifying which fields to include in a partial response. */
32645
32687
  fields?: string;
32688
+ /** Optional. Boolean indicates whether the requested model is a Hugging Face model. */
32689
+ isHuggingFaceModel?: boolean;
32646
32690
  /** 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. */
32647
32691
  key?: string;
32648
- /** Optional. The IETF BCP-47 language code representing the language in which the publisher model's text information should be written in (see go/bcp47). */
32692
+ /** Optional. The IETF BCP-47 language code representing the language in which the publisher model's text information should be written in. */
32649
32693
  languageCode?: string;
32650
32694
  /** Required. The name of the PublisherModel resource. Format: `publishers/{publisher}/models/{publisher_model}` */
32651
32695
  name: string;
@@ -32678,7 +32722,7 @@ declare namespace gapi.client {
32678
32722
  filter?: string;
32679
32723
  /** 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. */
32680
32724
  key?: string;
32681
- /** Optional. The IETF BCP-47 language code representing the language in which the publisher models' text information should be written in (see go/bcp47). If not set, by default English (en). */
32725
+ /** Optional. The IETF BCP-47 language code representing the language in which the publisher models' text information should be written in. If not set, by default English (en). */
32682
32726
  languageCode?: string;
32683
32727
  /** OAuth 2.0 token for the current user. */
32684
32728
  oauth_token?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1beta1",
3
- "version": "0.0.20240709",
3
+ "version": "0.0.20240715",
4
4
  "description": "TypeScript typings for Vertex AI API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",