@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20240709 → 0.0.20240725

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 +272 -57
  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: 20240709
12
+ // Revision: 20240725
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -31,8 +31,6 @@ declare namespace gapi.client {
31
31
  raiMediaFilteredCount?: number;
32
32
  /** Returns rai failure reasons if any. */
33
33
  raiMediaFilteredReasons?: string[];
34
- /** Billable prediction metrics. */
35
- reportingMetrics?: IntelligenceCloudAutomlXpsReportingMetrics;
36
34
  }
37
35
  interface CloudAiLargeModelsVisionImage {
38
36
  /** Image encoding, encoded as "image/png" or "image/jpg". */
@@ -544,6 +542,8 @@ declare namespace gapi.client {
544
542
  index?: number;
545
543
  /** Output only. List of ratings for the safety of a response candidate. There is at most one rating per category. */
546
544
  safetyRatings?: GoogleCloudAiplatformV1SafetyRating[];
545
+ /** Output only. Confidence score of the candidate. */
546
+ score?: number;
547
547
  }
548
548
  interface GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateMetatdata {
549
549
  /** Operation metadata for suggesting Trials. */
@@ -617,11 +617,11 @@ declare namespace gapi.client {
617
617
  successfulForecastPointCount?: string;
618
618
  }
619
619
  interface GoogleCloudAiplatformV1ComputeTokensRequest {
620
- /** Required. Input content. */
620
+ /** Optional. Input content. */
621
621
  contents?: GoogleCloudAiplatformV1Content[];
622
- /** 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. */
622
+ /** 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. */
623
623
  instances?: any[];
624
- /** Required. The name of the publisher model requested to serve the prediction. Format: projects/{project}/locations/{location}/publishers/*‍/models/* */
624
+ /** Optional. The name of the publisher model requested to serve the prediction. Format: projects/{project}/locations/{location}/publishers/*‍/models/* */
625
625
  model?: string;
626
626
  }
627
627
  interface GoogleCloudAiplatformV1ComputeTokensResponse {
@@ -693,12 +693,16 @@ declare namespace gapi.client {
693
693
  modelVersionId?: string;
694
694
  }
695
695
  interface GoogleCloudAiplatformV1CountTokensRequest {
696
- /** Required. Input content. */
696
+ /** Optional. Input content. */
697
697
  contents?: GoogleCloudAiplatformV1Content[];
698
- /** Required. The instances that are the input to token counting call. Schema is identical to the prediction schema of the underlying model. */
698
+ /** Optional. The instances that are the input to token counting call. Schema is identical to the prediction schema of the underlying model. */
699
699
  instances?: any[];
700
- /** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*‍/models/*` */
700
+ /** Optional. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*‍/models/*` */
701
701
  model?: string;
702
+ /** 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. */
703
+ systemInstruction?: GoogleCloudAiplatformV1Content;
704
+ /** 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. */
705
+ tools?: GoogleCloudAiplatformV1Tool[];
702
706
  }
703
707
  interface GoogleCloudAiplatformV1CountTokensResponse {
704
708
  /** The total number of billable characters counted across all instances from the request. */
@@ -774,6 +778,12 @@ declare namespace gapi.client {
774
778
  /** Operation metadata for creating a MetadataStore. */
775
779
  genericMetadata?: GoogleCloudAiplatformV1GenericOperationMetadata;
776
780
  }
781
+ interface GoogleCloudAiplatformV1CreateNotebookExecutionJobOperationMetadata {
782
+ /** The operation generic information. */
783
+ genericMetadata?: GoogleCloudAiplatformV1GenericOperationMetadata;
784
+ /** A human-readable message that shows the intermediate progress details of NotebookRuntime. */
785
+ progressMessage?: string;
786
+ }
777
787
  interface GoogleCloudAiplatformV1CreateNotebookRuntimeTemplateOperationMetadata {
778
788
  /** The operation generic information. */
779
789
  genericMetadata?: GoogleCloudAiplatformV1GenericOperationMetadata;
@@ -967,7 +977,7 @@ declare namespace gapi.client {
967
977
  metadataSchemaUri?: string;
968
978
  /** Optional. Reference to the public base model last used by the dataset. Only set for prompt datasets. */
969
979
  modelReference?: string;
970
- /** Output only. The resource name of the Dataset. */
980
+ /** Output only. Identifier. The resource name of the Dataset. */
971
981
  name?: string;
972
982
  /** 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. */
973
983
  savedQueries?: GoogleCloudAiplatformV1SavedQuery[];
@@ -987,7 +997,7 @@ declare namespace gapi.client {
987
997
  metadata?: any;
988
998
  /** Output only. Reference to the public base model last used by the dataset version. Only set for prompt dataset versions. */
989
999
  modelReference?: string;
990
- /** Output only. The resource name of the DatasetVersion. */
1000
+ /** Output only. Identifier. The resource name of the DatasetVersion. */
991
1001
  name?: string;
992
1002
  /** Output only. Timestamp when this DatasetVersion was last updated. */
993
1003
  updateTime?: string;
@@ -1219,6 +1229,10 @@ declare namespace gapi.client {
1219
1229
  interface GoogleCloudAiplatformV1Endpoint {
1220
1230
  /** Output only. Timestamp when this Endpoint was created. */
1221
1231
  createTime?: string;
1232
+ /** 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`. */
1233
+ dedicatedEndpointDns?: string;
1234
+ /** 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. */
1235
+ dedicatedEndpointEnabled?: boolean;
1222
1236
  /** Output only. The models deployed in this Endpoint. To add or remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel respectively. */
1223
1237
  deployedModels?: GoogleCloudAiplatformV1DeployedModel[];
1224
1238
  /** The description of the Endpoint. */
@@ -2333,20 +2347,6 @@ declare namespace gapi.client {
2333
2347
  /** Optional. Which version to use for evaluation. */
2334
2348
  version?: number;
2335
2349
  }
2336
- interface GoogleCloudAiplatformV1GroundingAttribution {
2337
- /** Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident. */
2338
- confidenceScore?: number;
2339
- /** Output only. Segment of the content this attribution belongs to. */
2340
- segment?: GoogleCloudAiplatformV1Segment;
2341
- /** Optional. Attribution from the web. */
2342
- web?: GoogleCloudAiplatformV1GroundingAttributionWeb;
2343
- }
2344
- interface GoogleCloudAiplatformV1GroundingAttributionWeb {
2345
- /** Output only. Title of the attribution. */
2346
- title?: string;
2347
- /** Output only. URI reference of the attribution. */
2348
- uri?: string;
2349
- }
2350
2350
  interface GoogleCloudAiplatformV1GroundingChunk {
2351
2351
  /** Grounding chunk from context retrieved by the retrieval tools. */
2352
2352
  retrievedContext?: GoogleCloudAiplatformV1GroundingChunkRetrievedContext;
@@ -2366,8 +2366,6 @@ declare namespace gapi.client {
2366
2366
  uri?: string;
2367
2367
  }
2368
2368
  interface GoogleCloudAiplatformV1GroundingMetadata {
2369
- /** Optional. List of grounding attributions. */
2370
- groundingAttributions?: GoogleCloudAiplatformV1GroundingAttribution[];
2371
2369
  /** List of supporting references retrieved from specified grounding source. */
2372
2370
  groundingChunks?: GoogleCloudAiplatformV1GroundingChunk[];
2373
2371
  /** Optional. List of grounding support. */
@@ -2851,6 +2849,12 @@ declare namespace gapi.client {
2851
2849
  /** A token to retrieve the next page of results. Pass to ListNasTrialDetailsRequest.page_token to obtain that page. */
2852
2850
  nextPageToken?: string;
2853
2851
  }
2852
+ interface GoogleCloudAiplatformV1ListNotebookExecutionJobsResponse {
2853
+ /** A token to retrieve next page of results. Pass to ListNotebookExecutionJobs.page_token to obtain that page. */
2854
+ nextPageToken?: string;
2855
+ /** List of NotebookExecutionJobs in the requested page. */
2856
+ notebookExecutionJobs?: GoogleCloudAiplatformV1NotebookExecutionJob[];
2857
+ }
2854
2858
  interface GoogleCloudAiplatformV1ListNotebookRuntimesResponse {
2855
2859
  /** A token to retrieve next page of results. Pass to ListNotebookRuntimesRequest.page_token to obtain that page. */
2856
2860
  nextPageToken?: string;
@@ -3630,6 +3634,8 @@ declare namespace gapi.client {
3630
3634
  entityId?: string;
3631
3635
  /** Optional. The number of similar entities to be retrieved from feature view for each query. */
3632
3636
  neighborCount?: number;
3637
+ /** Optional. The list of numeric filters. */
3638
+ numericFilters?: GoogleCloudAiplatformV1NearestNeighborQueryNumericFilter[];
3633
3639
  /** Optional. Parameters that can be set to tune query on the fly. */
3634
3640
  parameters?: GoogleCloudAiplatformV1NearestNeighborQueryParameters;
3635
3641
  /** 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. */
@@ -3641,6 +3647,18 @@ declare namespace gapi.client {
3641
3647
  /** Optional. Individual value in the embedding. */
3642
3648
  value?: number[];
3643
3649
  }
3650
+ interface GoogleCloudAiplatformV1NearestNeighborQueryNumericFilter {
3651
+ /** Required. Column name in BigQuery that used as filters. */
3652
+ name?: string;
3653
+ /** Optional. This MUST be specified for queries and must NOT be specified for database points. */
3654
+ op?: string;
3655
+ /** double value type. */
3656
+ valueDouble?: number;
3657
+ /** float value type. */
3658
+ valueFloat?: number;
3659
+ /** int value type. */
3660
+ valueInt?: string;
3661
+ }
3644
3662
  interface GoogleCloudAiplatformV1NearestNeighborQueryParameters {
3645
3663
  /** Optional. The number of neighbors to find via approximate search before exact reordering is performed; if set, this value must be > neighbor_count. */
3646
3664
  approximateNeighborCandidates?: number;
@@ -3727,6 +3745,56 @@ declare namespace gapi.client {
3727
3745
  /** Input only. Whether EUC is disabled in this NotebookRuntimeTemplate. In proto3, the default value of a boolean is false. In this way, by default EUC will be enabled for NotebookRuntimeTemplate. */
3728
3746
  eucDisabled?: boolean;
3729
3747
  }
3748
+ interface GoogleCloudAiplatformV1NotebookExecutionJob {
3749
+ /** Output only. Timestamp when this NotebookExecutionJob was created. */
3750
+ createTime?: string;
3751
+ /** The Dataform Repository pointing to a single file notebook repository. */
3752
+ dataformRepositorySource?: GoogleCloudAiplatformV1NotebookExecutionJobDataformRepositorySource;
3753
+ /** The contents of an input notebook file. */
3754
+ directNotebookSource?: GoogleCloudAiplatformV1NotebookExecutionJobDirectNotebookSource;
3755
+ /** The display name of the NotebookExecutionJob. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
3756
+ displayName?: string;
3757
+ /** Max running time of the execution job in seconds (default 86400s / 24 hrs). */
3758
+ executionTimeout?: string;
3759
+ /** The user email to run the execution as. Only supported by Colab runtimes. */
3760
+ executionUser?: string;
3761
+ /** The Cloud Storage url pointing to the ipynb file. Format: `gs://bucket/notebook_file.ipynb` */
3762
+ gcsNotebookSource?: GoogleCloudAiplatformV1NotebookExecutionJobGcsNotebookSource;
3763
+ /** The Cloud Storage location to upload the result to. Format: `gs://bucket-name` */
3764
+ gcsOutputUri?: string;
3765
+ /** Output only. The state of the NotebookExecutionJob. */
3766
+ jobState?: string;
3767
+ /** The labels with user-defined metadata to organize NotebookExecutionJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. */
3768
+ labels?: {[P in string]: string};
3769
+ /** Output only. The resource name of this NotebookExecutionJob. Format: `projects/{project_id}/locations/{location}/notebookExecutionJobs/{job_id}` */
3770
+ name?: string;
3771
+ /** The NotebookRuntimeTemplate to source compute configuration from. */
3772
+ notebookRuntimeTemplateResourceName?: string;
3773
+ /** Output only. The Schedule resource name if this job is triggered by one. Format: `projects/{project_id}/locations/{location}/schedules/{schedule_id}` */
3774
+ scheduleResourceName?: string;
3775
+ /** The service account to run the execution as. */
3776
+ serviceAccount?: string;
3777
+ /** Output only. Populated when the NotebookExecutionJob is completed. When there is an error during notebook execution, the error details are populated. */
3778
+ status?: GoogleRpcStatus;
3779
+ /** Output only. Timestamp when this NotebookExecutionJob was most recently updated. */
3780
+ updateTime?: string;
3781
+ }
3782
+ interface GoogleCloudAiplatformV1NotebookExecutionJobDataformRepositorySource {
3783
+ /** The commit SHA to read repository with. If unset, the file will be read at HEAD. */
3784
+ commitSha?: string;
3785
+ /** The resource name of the Dataform Repository. Format: `projects/{project_id}/locations/{location}/repositories/{repository_id}` */
3786
+ dataformRepositoryResourceName?: string;
3787
+ }
3788
+ interface GoogleCloudAiplatformV1NotebookExecutionJobDirectNotebookSource {
3789
+ /** The base64-encoded contents of the input notebook file. */
3790
+ content?: string;
3791
+ }
3792
+ interface GoogleCloudAiplatformV1NotebookExecutionJobGcsNotebookSource {
3793
+ /** The version of the Cloud Storage object to read. If unset, the current version of the object is read. See https://cloud.google.com/storage/docs/metadata#generation-number. */
3794
+ generation?: string;
3795
+ /** The Cloud Storage uri pointing to the ipynb file. Format: `gs://bucket/notebook_file.ipynb` */
3796
+ uri?: string;
3797
+ }
3730
3798
  interface GoogleCloudAiplatformV1NotebookIdleShutdownConfig {
3731
3799
  /** Whether Idle Shutdown is disabled in this NotebookRuntimeTemplate. */
3732
3800
  idleShutdownDisabled?: boolean;
@@ -3920,6 +3988,8 @@ declare namespace gapi.client {
3920
3988
  name?: string;
3921
3989
  /** 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. */
3922
3990
  network?: string;
3991
+ /** Optional. Configuration for PSC-I for PersistentResource. */
3992
+ pscInterfaceConfig?: GoogleCloudAiplatformV1PscInterfaceConfig;
3923
3993
  /** 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']. */
3924
3994
  reservedIpRanges?: string[];
3925
3995
  /** Required. The spec of the pools of different resources. */
@@ -4159,6 +4229,10 @@ declare namespace gapi.client {
4159
4229
  /** Corresponding project_id in pscAutomationConfigs */
4160
4230
  projectId?: string;
4161
4231
  }
4232
+ interface GoogleCloudAiplatformV1PscInterfaceConfig {
4233
+ /** 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. */
4234
+ networkAttachment?: string;
4235
+ }
4162
4236
  interface GoogleCloudAiplatformV1PublisherModel {
4163
4237
  /** Optional. Additional information about the model's Frameworks. */
4164
4238
  frameworks?: string[];
@@ -4479,6 +4553,10 @@ declare namespace gapi.client {
4479
4553
  /** 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. */
4480
4554
  httpBody?: GoogleApiHttpBody;
4481
4555
  }
4556
+ interface GoogleCloudAiplatformV1RayLogsSpec {
4557
+ /** Optional. Flag to disable the export of Ray OSS logs to Cloud Logging. */
4558
+ disabled?: boolean;
4559
+ }
4482
4560
  interface GoogleCloudAiplatformV1RayMetricSpec {
4483
4561
  /** Optional. Flag to disable the Ray metrics collection. */
4484
4562
  disabled?: boolean;
@@ -4488,6 +4566,8 @@ declare namespace gapi.client {
4488
4566
  headNodeResourcePoolId?: string;
4489
4567
  /** 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. */
4490
4568
  imageUri?: string;
4569
+ /** Optional. OSS Ray logging configurations. */
4570
+ rayLogsSpec?: GoogleCloudAiplatformV1RayLogsSpec;
4491
4571
  /** Optional. Ray metrics configurations. */
4492
4572
  rayMetricSpec?: GoogleCloudAiplatformV1RayMetricSpec;
4493
4573
  /** 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" } */
@@ -4626,7 +4706,7 @@ declare namespace gapi.client {
4626
4706
  catchUp?: boolean;
4627
4707
  }
4628
4708
  interface GoogleCloudAiplatformV1Retrieval {
4629
- /** 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. */
4709
+ /** Optional. Deprecated. This option is no longer supported. */
4630
4710
  disableAttribution?: boolean;
4631
4711
  /** Set to use data source powered by Vertex AI Search. */
4632
4712
  vertexAiSearch?: GoogleCloudAiplatformV1VertexAISearch;
@@ -4798,6 +4878,8 @@ declare namespace gapi.client {
4798
4878
  disableRetries?: boolean;
4799
4879
  /** 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. */
4800
4880
  restartJobOnWorkerRestart?: boolean;
4881
+ /** Optional. This determines which type of scheduling strategy to use. */
4882
+ strategy?: string;
4801
4883
  /** The maximum job running time. The default is 7 days. */
4802
4884
  timeout?: string;
4803
4885
  }
@@ -7368,30 +7450,6 @@ declare namespace gapi.client {
7368
7450
  /** The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. */
7369
7451
  units?: string;
7370
7452
  }
7371
- interface IntelligenceCloudAutomlXpsMetricEntry {
7372
- /** 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. */
7373
- argentumMetricId?: string;
7374
- /** A double value. */
7375
- doubleValue?: number;
7376
- /** A signed 64-bit integer value. */
7377
- int64Value?: string;
7378
- /** The metric name defined in the service configuration. */
7379
- metricName?: string;
7380
- /** Billing system labels for this (metric, value) pair. */
7381
- systemLabels?: IntelligenceCloudAutomlXpsMetricEntryLabel[];
7382
- }
7383
- interface IntelligenceCloudAutomlXpsMetricEntryLabel {
7384
- /** The name of the label. */
7385
- labelName?: string;
7386
- /** The value of the label. */
7387
- labelValue?: string;
7388
- }
7389
- interface IntelligenceCloudAutomlXpsReportingMetrics {
7390
- /** 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. */
7391
- effectiveTrainingDuration?: string;
7392
- /** One entry per metric name. The values must be aggregated per metric name. */
7393
- metricEntries?: IntelligenceCloudAutomlXpsMetricEntry[];
7394
- }
7395
7453
  interface BatchPredictionJobsResource {
7396
7454
  /** Cancels a BatchPredictionJob. Starts asynchronous cancellation on the BatchPredictionJob. The server makes the best effort to cancel the job, but success is not guaranteed. Clients can use JobService.GetBatchPredictionJob or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On a successful cancellation, the BatchPredictionJob is not deleted;instead its BatchPredictionJob.state is set to `CANCELLED`. Any files already outputted by the job are not deleted. */
7397
7455
  cancel(request: {
@@ -9021,7 +9079,7 @@ declare namespace gapi.client {
9021
9079
  fields?: string;
9022
9080
  /** 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. */
9023
9081
  key?: string;
9024
- /** Output only. The resource name of the DatasetVersion. */
9082
+ /** Output only. Identifier. The resource name of the DatasetVersion. */
9025
9083
  name: string;
9026
9084
  /** OAuth 2.0 token for the current user. */
9027
9085
  oauth_token?: string;
@@ -9052,7 +9110,7 @@ declare namespace gapi.client {
9052
9110
  fields?: string;
9053
9111
  /** 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. */
9054
9112
  key?: string;
9055
- /** Output only. The resource name of the DatasetVersion. */
9113
+ /** Output only. Identifier. The resource name of the DatasetVersion. */
9056
9114
  name: string;
9057
9115
  /** OAuth 2.0 token for the current user. */
9058
9116
  oauth_token?: string;
@@ -9736,7 +9794,7 @@ declare namespace gapi.client {
9736
9794
  fields?: string;
9737
9795
  /** 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. */
9738
9796
  key?: string;
9739
- /** Output only. The resource name of the Dataset. */
9797
+ /** Output only. Identifier. The resource name of the Dataset. */
9740
9798
  name: string;
9741
9799
  /** OAuth 2.0 token for the current user. */
9742
9800
  oauth_token?: string;
@@ -9767,7 +9825,7 @@ declare namespace gapi.client {
9767
9825
  fields?: string;
9768
9826
  /** 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. */
9769
9827
  key?: string;
9770
- /** Output only. The resource name of the Dataset. */
9828
+ /** Output only. Identifier. The resource name of the Dataset. */
9771
9829
  name: string;
9772
9830
  /** OAuth 2.0 token for the current user. */
9773
9831
  oauth_token?: string;
@@ -20597,6 +20655,161 @@ declare namespace gapi.client {
20597
20655
  }): Request<GoogleLongrunningOperation>;
20598
20656
  }
20599
20657
  interface NotebookExecutionJobsResource {
20658
+ /** Creates a NotebookExecutionJob. */
20659
+ create(request: {
20660
+ /** V1 error format. */
20661
+ '$.xgafv'?: string;
20662
+ /** OAuth access token. */
20663
+ access_token?: string;
20664
+ /** Data format for response. */
20665
+ alt?: string;
20666
+ /** JSONP */
20667
+ callback?: string;
20668
+ /** Selector specifying which fields to include in a partial response. */
20669
+ fields?: string;
20670
+ /** 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. */
20671
+ key?: string;
20672
+ /** Optional. User specified ID for the NotebookExecutionJob. */
20673
+ notebookExecutionJobId?: string;
20674
+ /** OAuth 2.0 token for the current user. */
20675
+ oauth_token?: string;
20676
+ /** Required. The resource name of the Location to create the NotebookExecutionJob. Format: `projects/{project}/locations/{location}` */
20677
+ parent: string;
20678
+ /** Returns response with indentations and line breaks. */
20679
+ prettyPrint?: boolean;
20680
+ /** 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. */
20681
+ quotaUser?: string;
20682
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20683
+ upload_protocol?: string;
20684
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20685
+ uploadType?: string;
20686
+ /** Request body */
20687
+ resource: GoogleCloudAiplatformV1NotebookExecutionJob;
20688
+ }): Request<GoogleLongrunningOperation>;
20689
+ create(
20690
+ request: {
20691
+ /** V1 error format. */
20692
+ '$.xgafv'?: string;
20693
+ /** OAuth access token. */
20694
+ access_token?: string;
20695
+ /** Data format for response. */
20696
+ alt?: string;
20697
+ /** JSONP */
20698
+ callback?: string;
20699
+ /** Selector specifying which fields to include in a partial response. */
20700
+ fields?: string;
20701
+ /** 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. */
20702
+ key?: string;
20703
+ /** Optional. User specified ID for the NotebookExecutionJob. */
20704
+ notebookExecutionJobId?: string;
20705
+ /** OAuth 2.0 token for the current user. */
20706
+ oauth_token?: string;
20707
+ /** Required. The resource name of the Location to create the NotebookExecutionJob. Format: `projects/{project}/locations/{location}` */
20708
+ parent: string;
20709
+ /** Returns response with indentations and line breaks. */
20710
+ prettyPrint?: boolean;
20711
+ /** 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. */
20712
+ quotaUser?: string;
20713
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20714
+ upload_protocol?: string;
20715
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20716
+ uploadType?: string;
20717
+ },
20718
+ body: GoogleCloudAiplatformV1NotebookExecutionJob
20719
+ ): Request<GoogleLongrunningOperation>;
20720
+ /** Deletes a NotebookExecutionJob. */
20721
+ delete(request?: {
20722
+ /** V1 error format. */
20723
+ '$.xgafv'?: string;
20724
+ /** OAuth access token. */
20725
+ access_token?: string;
20726
+ /** Data format for response. */
20727
+ alt?: string;
20728
+ /** JSONP */
20729
+ callback?: string;
20730
+ /** Selector specifying which fields to include in a partial response. */
20731
+ fields?: string;
20732
+ /** 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. */
20733
+ key?: string;
20734
+ /** Required. The name of the NotebookExecutionJob resource to be deleted. */
20735
+ name: string;
20736
+ /** OAuth 2.0 token for the current user. */
20737
+ oauth_token?: string;
20738
+ /** Returns response with indentations and line breaks. */
20739
+ prettyPrint?: boolean;
20740
+ /** 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. */
20741
+ quotaUser?: string;
20742
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20743
+ upload_protocol?: string;
20744
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20745
+ uploadType?: string;
20746
+ }): Request<GoogleLongrunningOperation>;
20747
+ /** Gets a NotebookExecutionJob. */
20748
+ get(request?: {
20749
+ /** V1 error format. */
20750
+ '$.xgafv'?: string;
20751
+ /** OAuth access token. */
20752
+ access_token?: string;
20753
+ /** Data format for response. */
20754
+ alt?: string;
20755
+ /** JSONP */
20756
+ callback?: string;
20757
+ /** Selector specifying which fields to include in a partial response. */
20758
+ fields?: string;
20759
+ /** 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. */
20760
+ key?: string;
20761
+ /** Required. The name of the NotebookExecutionJob resource. */
20762
+ name: string;
20763
+ /** OAuth 2.0 token for the current user. */
20764
+ oauth_token?: string;
20765
+ /** Returns response with indentations and line breaks. */
20766
+ prettyPrint?: boolean;
20767
+ /** 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. */
20768
+ quotaUser?: string;
20769
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20770
+ upload_protocol?: string;
20771
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20772
+ uploadType?: string;
20773
+ /** Optional. The NotebookExecutionJob view. Defaults to BASIC. */
20774
+ view?: string;
20775
+ }): Request<GoogleCloudAiplatformV1NotebookExecutionJob>;
20776
+ /** Lists NotebookExecutionJobs in a Location. */
20777
+ list(request?: {
20778
+ /** V1 error format. */
20779
+ '$.xgafv'?: string;
20780
+ /** OAuth access token. */
20781
+ access_token?: string;
20782
+ /** Data format for response. */
20783
+ alt?: string;
20784
+ /** JSONP */
20785
+ callback?: string;
20786
+ /** Selector specifying which fields to include in a partial response. */
20787
+ fields?: string;
20788
+ /** Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `notebookExecutionJob` supports = and !=. `notebookExecutionJob` represents the NotebookExecutionJob ID. * `displayName` supports = and != and regex. * `schedule` supports = and != and regex. Some examples: * `notebookExecutionJob="123"` * `notebookExecutionJob="my-execution-job"` * `displayName="myDisplayName"` and `displayName=~"myDisplayNameRegex"` */
20789
+ filter?: string;
20790
+ /** 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. */
20791
+ key?: string;
20792
+ /** OAuth 2.0 token for the current user. */
20793
+ oauth_token?: string;
20794
+ /** Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `display_name` * `create_time` * `update_time` Example: `display_name, create_time desc`. */
20795
+ orderBy?: string;
20796
+ /** Optional. The standard list page size. */
20797
+ pageSize?: number;
20798
+ /** Optional. The standard list page token. Typically obtained via ListNotebookExecutionJobs.next_page_token of the previous NotebookService.ListNotebookExecutionJobs call. */
20799
+ pageToken?: string;
20800
+ /** Required. The resource name of the Location from which to list the NotebookExecutionJobs. Format: `projects/{project}/locations/{location}` */
20801
+ parent: string;
20802
+ /** Returns response with indentations and line breaks. */
20803
+ prettyPrint?: boolean;
20804
+ /** 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. */
20805
+ quotaUser?: string;
20806
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20807
+ upload_protocol?: string;
20808
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20809
+ uploadType?: string;
20810
+ /** Optional. The NotebookExecutionJob view. Defaults to BASIC. */
20811
+ view?: string;
20812
+ }): Request<GoogleCloudAiplatformV1ListNotebookExecutionJobsResponse>;
20600
20813
  operations: OperationsResource;
20601
20814
  }
20602
20815
  interface OperationsResource {
@@ -27457,9 +27670,11 @@ declare namespace gapi.client {
27457
27670
  callback?: string;
27458
27671
  /** Selector specifying which fields to include in a partial response. */
27459
27672
  fields?: string;
27673
+ /** Optional. Boolean indicates whether the requested model is a Hugging Face model. */
27674
+ isHuggingFaceModel?: boolean;
27460
27675
  /** 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. */
27461
27676
  key?: string;
27462
- /** 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). */
27677
+ /** Optional. The IETF BCP-47 language code representing the language in which the publisher model's text information should be written in. */
27463
27678
  languageCode?: string;
27464
27679
  /** Required. The name of the PublisherModel resource. Format: `publishers/{publisher}/models/{publisher_model}` */
27465
27680
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1",
3
- "version": "0.0.20240709",
3
+ "version": "0.0.20240725",
4
4
  "description": "TypeScript typings for Vertex AI API v1",
5
5
  "repository": {
6
6
  "type": "git",