@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20250701 → 0.0.20250715
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.
- package/index.d.ts +133 -8
- package/package.json +1 -1
- package/readme.md +10 -0
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:
|
|
12
|
+
// Revision: 20250715
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1453,6 +1453,8 @@ declare namespace gapi.client {
|
|
|
1453
1453
|
interface GoogleCloudAiplatformV1beta1DedicatedResources {
|
|
1454
1454
|
/** Immutable. The metric specifications that overrides a resource utilization metric (CPU utilization, accelerator's duty cycle, and so on) target value (default to 60 if not set). At most one entry is allowed per metric. If machine_spec.accelerator_count is above 0, the autoscaling will be based on both CPU utilization and accelerator's duty cycle metrics and scale up when either metrics exceeds its target value while scale down if both metrics are under their target value. The default target value is 60 for both metrics. If machine_spec.accelerator_count is 0, the autoscaling will be based on CPU utilization metric only with default target value 60 if not explicitly set. For example, in the case of Online Prediction, if you want to override target CPU utilization to 80, you should set autoscaling_metric_specs.metric_name to `aiplatform.googleapis.com/prediction/online/cpu/utilization` and autoscaling_metric_specs.target to `80`. */
|
|
1455
1455
|
autoscalingMetricSpecs?: GoogleCloudAiplatformV1beta1AutoscalingMetricSpec[];
|
|
1456
|
+
/** Optional. Immutable. If set, use DWS resource to schedule the deployment workload. reference: (https://cloud.google.com/blog/products/compute/introducing-dynamic-workload-scheduler) */
|
|
1457
|
+
flexStart?: GoogleCloudAiplatformV1beta1FlexStart;
|
|
1456
1458
|
/** Required. Immutable. The specification of a single machine being used. */
|
|
1457
1459
|
machineSpec?: GoogleCloudAiplatformV1beta1MachineSpec;
|
|
1458
1460
|
/** Immutable. The maximum number of replicas that may be deployed on when the traffic against it increases. If the requested value is too large, the deployment will error, but if deployment succeeds then the ability to scale to that many replicas is guaranteed (barring service outages). If traffic increases beyond what its replicas at maximum may handle, a portion of the traffic will be dropped. If this value is not provided, will use min_replica_count as the default value. The value of this field impacts the charge against Vertex CPU and GPU quotas. Specifically, you will be charged for (max_replica_count * number of cores in the selected machine type) and (max_replica_count * number of GPUs per replica in the selected machine type). */
|
|
@@ -1529,6 +1531,8 @@ declare namespace gapi.client {
|
|
|
1529
1531
|
displayName?: string;
|
|
1530
1532
|
/** Optional. If true, private endpoint's access logs are sent to Cloud Logging. These logs are like standard server access logs, containing information like timestamp and latency for each MatchRequest. Note that logs may incur a cost, especially if the deployed index receives a high queries per second rate (QPS). Estimate your costs before enabling this option. */
|
|
1531
1533
|
enableAccessLogging?: boolean;
|
|
1534
|
+
/** Optional. If true, logs to Cloud Logging errors relating to datapoint upserts. Under normal operation conditions, these log entries should be very rare. However, if incompatible datapoint updates are being uploaded to an index, a high volume of log entries may be generated in a short period of time. Note that logs may incur a cost, especially if the deployed index receives a high volume of datapoint upserts. Estimate your costs before enabling this option. */
|
|
1535
|
+
enableDatapointUpsertLogging?: boolean;
|
|
1532
1536
|
/** Required. The user specified ID of the DeployedIndex. The ID can be up to 128 characters long and must start with a letter and only contain letters, numbers, and underscores. The ID must be unique within the project it is created in. */
|
|
1533
1537
|
id?: string;
|
|
1534
1538
|
/** Required. The name of the Index this is the deployment of. We may refer to this Index as the DeployedIndex's "original" Index. */
|
|
@@ -1581,6 +1585,8 @@ declare namespace gapi.client {
|
|
|
1581
1585
|
explanationSpec?: GoogleCloudAiplatformV1beta1ExplanationSpec;
|
|
1582
1586
|
/** Configuration for faster model deployment. */
|
|
1583
1587
|
fasterDeploymentConfig?: GoogleCloudAiplatformV1beta1FasterDeploymentConfig;
|
|
1588
|
+
/** GDC pretrained / Gemini model name. The model name is a plain model name, e.g. gemini-1.5-flash-002. */
|
|
1589
|
+
gdcConnectedModel?: string;
|
|
1584
1590
|
/** Immutable. The ID of the DeployedModel. If not provided upon deployment, Vertex AI will generate a value for this ID. This value should be 1-10 characters, and valid characters are `/[0-9]/`. */
|
|
1585
1591
|
id?: string;
|
|
1586
1592
|
/** The resource name of the Model that this is the deployment of. Note that the Model may be in a different location than the DeployedModel's Endpoint. The resource name may contain version id or version alias to specify the version. Example: `projects/{project}/locations/{location}/models/{model}@2` or `projects/{project}/locations/{location}/models/{model}@golden` if no version is specified, the default version will be deployed. */
|
|
@@ -1679,6 +1685,8 @@ declare namespace gapi.client {
|
|
|
1679
1685
|
modelDisplayName?: string;
|
|
1680
1686
|
}
|
|
1681
1687
|
interface GoogleCloudAiplatformV1beta1DeployRequest {
|
|
1688
|
+
/** The custom model to deploy from a Google Cloud Storage URI. */
|
|
1689
|
+
customModel?: GoogleCloudAiplatformV1beta1DeployRequestCustomModel;
|
|
1682
1690
|
/** Optional. The deploy config to use for the deployment. If not specified, the default deploy config will be used. */
|
|
1683
1691
|
deployConfig?: GoogleCloudAiplatformV1beta1DeployRequestDeployConfig;
|
|
1684
1692
|
/** Optional. The endpoint config to use for the deployment. If not specified, the default endpoint config will be used. */
|
|
@@ -1690,6 +1698,12 @@ declare namespace gapi.client {
|
|
|
1690
1698
|
/** The Model Garden model to deploy. Format: `publishers/{publisher}/models/{publisher_model}@{version_id}`, or `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001`. */
|
|
1691
1699
|
publisherModelName?: string;
|
|
1692
1700
|
}
|
|
1701
|
+
interface GoogleCloudAiplatformV1beta1DeployRequestCustomModel {
|
|
1702
|
+
/** Immutable. The Google Cloud Storage URI of the custom model, storing weights and config files (which can be used to infer the base model). */
|
|
1703
|
+
gcsUri?: string;
|
|
1704
|
+
/** Optional. Deprecated. Use ModelConfig.model_user_id instead. */
|
|
1705
|
+
modelId?: string;
|
|
1706
|
+
}
|
|
1693
1707
|
interface GoogleCloudAiplatformV1beta1DeployRequestDeployConfig {
|
|
1694
1708
|
/** Optional. The dedicated resources to use for the endpoint. If not set, the default resources will be used. */
|
|
1695
1709
|
dedicatedResources?: GoogleCloudAiplatformV1beta1DedicatedResources;
|
|
@@ -1715,6 +1729,8 @@ declare namespace gapi.client {
|
|
|
1715
1729
|
huggingFaceCacheEnabled?: boolean;
|
|
1716
1730
|
/** Optional. The user-specified display name of the uploaded model. If not set, a default name will be used. */
|
|
1717
1731
|
modelDisplayName?: string;
|
|
1732
|
+
/** Optional. The ID to use for the uploaded Model, which will become the final component of the model resource name. When not provided, Vertex AI will generate a value for this ID. When Model Registry model is provided, this field will be ignored. This value may be up to 63 characters, and valid characters are `[a-z0-9_-]`. The first character cannot be a number or hyphen. */
|
|
1733
|
+
modelUserId?: string;
|
|
1718
1734
|
}
|
|
1719
1735
|
interface GoogleCloudAiplatformV1beta1DeploySolverOperationMetadata {
|
|
1720
1736
|
/** The generic operation information. */
|
|
@@ -1826,6 +1842,8 @@ declare namespace gapi.client {
|
|
|
1826
1842
|
encryptionSpec?: GoogleCloudAiplatformV1beta1EncryptionSpec;
|
|
1827
1843
|
/** Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. */
|
|
1828
1844
|
etag?: string;
|
|
1845
|
+
/** Configures the Google Distributed Cloud (GDC) environment for online prediction. Only set this field when the Endpoint is to be deployed in a GDC environment. */
|
|
1846
|
+
gdcConfig?: GoogleCloudAiplatformV1beta1GdcConfig;
|
|
1829
1847
|
/** Optional. Configuration for GenAiAdvancedFeatures. If the endpoint is serving GenAI models, advanced features like native RAG integration can be configured. Currently, only Model Garden models are supported. */
|
|
1830
1848
|
genAiAdvancedFeaturesConfig?: GoogleCloudAiplatformV1beta1GenAiAdvancedFeaturesConfig;
|
|
1831
1849
|
/** The labels with user-defined metadata to organize your Endpoints. 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. */
|
|
@@ -2103,6 +2121,8 @@ declare namespace gapi.client {
|
|
|
2103
2121
|
interface GoogleCloudAiplatformV1beta1EventMetadata {
|
|
2104
2122
|
/** Optional. The branch of the event. The format is like agent_1.agent_2.agent_3, where agent_1 is the parent of agent_2, and agent_2 is the parent of agent_3. Branch is used when multiple child agents shouldn't see their siblings' conversation history. */
|
|
2105
2123
|
branch?: string;
|
|
2124
|
+
/** The custom metadata of the LlmResponse. */
|
|
2125
|
+
customMetadata?: {[P in string]: any};
|
|
2106
2126
|
/** Optional. Metadata returned to client when grounding is enabled. */
|
|
2107
2127
|
groundingMetadata?: GoogleCloudAiplatformV1beta1GroundingMetadata;
|
|
2108
2128
|
/** Optional. Flag indicating that LLM was interrupted when generating the content. Usually it's due to user interruption during a bidi streaming. */
|
|
@@ -2940,7 +2960,7 @@ declare namespace gapi.client {
|
|
|
2940
2960
|
values?: GoogleCloudAiplatformV1beta1FeatureValue[];
|
|
2941
2961
|
}
|
|
2942
2962
|
interface GoogleCloudAiplatformV1beta1FeatureValueMetadata {
|
|
2943
|
-
/** Feature generation timestamp. Typically, it is provided by user at feature ingestion time. If not, feature store will use the system timestamp when the data is ingested into feature store. For streaming ingestion, the time, aligned by days, must be no older than five years (1825 days) and no later than one year (366 days) in the future. */
|
|
2963
|
+
/** Feature generation timestamp. Typically, it is provided by user at feature ingestion time. If not, feature store will use the system timestamp when the data is ingested into feature store. Legacy Feature Store: For streaming ingestion, the time, aligned by days, must be no older than five years (1825 days) and no later than one year (366 days) in the future. */
|
|
2944
2964
|
generateTime?: string;
|
|
2945
2965
|
}
|
|
2946
2966
|
interface GoogleCloudAiplatformV1beta1FeatureView {
|
|
@@ -3235,6 +3255,10 @@ declare namespace gapi.client {
|
|
|
3235
3255
|
/** The distance between the neighbor and the query sparse_embedding. */
|
|
3236
3256
|
sparseDistance?: number;
|
|
3237
3257
|
}
|
|
3258
|
+
interface GoogleCloudAiplatformV1beta1FlexStart {
|
|
3259
|
+
/** The max duration of the deployment is max_runtime_duration. The deployment will be terminated after the duration. The max_runtime_duration can be set up to 7 days. */
|
|
3260
|
+
maxRuntimeDuration?: string;
|
|
3261
|
+
}
|
|
3238
3262
|
interface GoogleCloudAiplatformV1beta1FluencyInput {
|
|
3239
3263
|
/** Required. Fluency instance. */
|
|
3240
3264
|
instance?: GoogleCloudAiplatformV1beta1FluencyInstance;
|
|
@@ -3333,6 +3357,10 @@ declare namespace gapi.client {
|
|
|
3333
3357
|
/** Required. Google Cloud Storage URI(-s) to the input file(s). May contain wildcards. For more information on wildcards, see https://cloud.google.com/storage/docs/wildcards. */
|
|
3334
3358
|
uris?: string[];
|
|
3335
3359
|
}
|
|
3360
|
+
interface GoogleCloudAiplatformV1beta1GdcConfig {
|
|
3361
|
+
/** GDC zone. A cluster will be designated for the Vertex AI workload in this zone. */
|
|
3362
|
+
zone?: string;
|
|
3363
|
+
}
|
|
3336
3364
|
interface GoogleCloudAiplatformV1beta1GeminiExample {
|
|
3337
3365
|
/** Optional. The name of the cached content used as context to serve the prediction. Note: only used in explicit caching, where users can have control over caching (e.g. what content to cache) and enjoy guaranteed cost savings. Format: `projects/{project}/locations/{location}/cachedContents/{cachedContent}` */
|
|
3338
3366
|
cachedContent?: string;
|
|
@@ -5402,7 +5430,7 @@ declare namespace gapi.client {
|
|
|
5402
5430
|
genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
|
|
5403
5431
|
}
|
|
5404
5432
|
interface GoogleCloudAiplatformV1beta1MutateDeployedModelRequest {
|
|
5405
|
-
/** Required. The DeployedModel to be mutated within the Endpoint. Only the following fields can be mutated: * `min_replica_count` in either DedicatedResources or AutomaticResources * `max_replica_count` in either DedicatedResources or AutomaticResources * autoscaling_metric_specs * `disable_container_logging` (v1 only) * `enable_container_logging` (v1beta1 only) */
|
|
5433
|
+
/** Required. The DeployedModel to be mutated within the Endpoint. Only the following fields can be mutated: * `min_replica_count` in either DedicatedResources or AutomaticResources * `max_replica_count` in either DedicatedResources or AutomaticResources * `required_replica_count` in DedicatedResources * autoscaling_metric_specs * `disable_container_logging` (v1 only) * `enable_container_logging` (v1beta1 only) */
|
|
5406
5434
|
deployedModel?: GoogleCloudAiplatformV1beta1DeployedModel;
|
|
5407
5435
|
/** Required. The update mask applies to the resource. See google.protobuf.FieldMask. */
|
|
5408
5436
|
updateMask?: string;
|
|
@@ -6125,6 +6153,8 @@ declare namespace gapi.client {
|
|
|
6125
6153
|
taskId?: string;
|
|
6126
6154
|
/** Output only. The user specified name of the task that is defined in pipeline_spec. */
|
|
6127
6155
|
taskName?: string;
|
|
6156
|
+
/** Output only. The unique name of a task. This field is used by rerun pipeline job. Console UI and Vertex AI SDK will support triggering pipeline job reruns. The name is constructed by concatenating all the parent tasks name with the task name. For example, if a task named "child_task" has a parent task named "parent_task_1" and parent task 1 has a parent task named "parent_task_2", the task unique name will be "parent_task_2.parent_task_1.child_task". */
|
|
6157
|
+
taskUniqueName?: string;
|
|
6128
6158
|
}
|
|
6129
6159
|
interface GoogleCloudAiplatformV1beta1PipelineTaskDetailArtifactList {
|
|
6130
6160
|
/** Output only. A list of artifact metadata. */
|
|
@@ -7212,11 +7242,11 @@ declare namespace gapi.client {
|
|
|
7212
7242
|
similaritySearchConfig?: GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig;
|
|
7213
7243
|
}
|
|
7214
7244
|
interface GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig {
|
|
7215
|
-
/** Required. The model used to generate memories. Format: `projects/{project}/locations/{location}/publishers/google/models/{model}
|
|
7245
|
+
/** Required. The model used to generate memories. Format: `projects/{project}/locations/{location}/publishers/google/models/{model}`. */
|
|
7216
7246
|
model?: string;
|
|
7217
7247
|
}
|
|
7218
7248
|
interface GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig {
|
|
7219
|
-
/** Required. The model used to generate embeddings to lookup similar memories. Format: `projects/{project}/locations/{location}/publishers/google/models/{model}
|
|
7249
|
+
/** Required. The model used to generate embeddings to lookup similar memories. Format: `projects/{project}/locations/{location}/publishers/google/models/{model}`. */
|
|
7220
7250
|
embeddingModel?: string;
|
|
7221
7251
|
}
|
|
7222
7252
|
interface GoogleCloudAiplatformV1beta1ReasoningEngineSpec {
|
|
@@ -9348,10 +9378,14 @@ declare namespace gapi.client {
|
|
|
9348
9378
|
createTime?: string;
|
|
9349
9379
|
/** Optional. The display name of the session. */
|
|
9350
9380
|
displayName?: string;
|
|
9381
|
+
/** Optional. Timestamp of when this session is considered expired. This is *always* provided on output, regardless of what was sent on input. */
|
|
9382
|
+
expireTime?: string;
|
|
9351
9383
|
/** Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'. */
|
|
9352
9384
|
name?: string;
|
|
9353
9385
|
/** Optional. Session specific memory which stores key conversation points. */
|
|
9354
9386
|
sessionState?: {[P in string]: any};
|
|
9387
|
+
/** Optional. Input only. The TTL for this session. */
|
|
9388
|
+
ttl?: string;
|
|
9355
9389
|
/** Output only. Timestamp when the session was updated. */
|
|
9356
9390
|
updateTime?: string;
|
|
9357
9391
|
/** Required. Immutable. String id provided by the user */
|
|
@@ -9875,7 +9909,7 @@ declare namespace gapi.client {
|
|
|
9875
9909
|
adapterSize?: string;
|
|
9876
9910
|
/** Optional. Number of complete passes the model makes over the entire training dataset during training. */
|
|
9877
9911
|
epochCount?: string;
|
|
9878
|
-
/** Optional. Multiplier for adjusting the default learning rate. Mutually exclusive with `learning_rate`. */
|
|
9912
|
+
/** Optional. Multiplier for adjusting the default learning rate. Mutually exclusive with `learning_rate`. This feature is only available for 1P models. */
|
|
9879
9913
|
learningRateMultiplier?: number;
|
|
9880
9914
|
}
|
|
9881
9915
|
interface GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistribution {
|
|
@@ -10490,7 +10524,7 @@ declare namespace gapi.client {
|
|
|
10490
10524
|
checkpoints?: GoogleCloudAiplatformV1beta1TunedModelCheckpoint[];
|
|
10491
10525
|
/** Output only. A resource name of an Endpoint. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`. */
|
|
10492
10526
|
endpoint?: string;
|
|
10493
|
-
/** Output only. The resource name of the TunedModel. Format: `projects/{project}/locations/{location}/models/{model}
|
|
10527
|
+
/** Output only. The resource name of the TunedModel. Format: `projects/{project}/locations/{location}/models/{model}@{version_id}` When tuning from a base model, the version_id will be 1. For continuous tuning, the version id will be incremented by 1 from the last version id in the parent model. E.g., `projects/{project}/locations/{location}/models/{model}@{last_version_id + 1}` */
|
|
10494
10528
|
model?: string;
|
|
10495
10529
|
}
|
|
10496
10530
|
interface GoogleCloudAiplatformV1beta1TunedModelCheckpoint {
|
|
@@ -16526,6 +16560,8 @@ declare namespace gapi.client {
|
|
|
16526
16560
|
fields?: string;
|
|
16527
16561
|
/** 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"` */
|
|
16528
16562
|
filter?: string;
|
|
16563
|
+
/** Optional. Configures the Google Distributed Cloud (GDC) environment for online prediction. Only set this field when the Endpoint is to be deployed in a GDC environment. */
|
|
16564
|
+
gdcZone?: string;
|
|
16529
16565
|
/** 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. */
|
|
16530
16566
|
key?: string;
|
|
16531
16567
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -16547,7 +16583,7 @@ declare namespace gapi.client {
|
|
|
16547
16583
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16548
16584
|
uploadType?: string;
|
|
16549
16585
|
}): Request<GoogleCloudAiplatformV1beta1ListEndpointsResponse>;
|
|
16550
|
-
/** Updates an existing deployed model. Updatable fields include `min_replica_count`, `max_replica_count`, `autoscaling_metric_specs`, `disable_container_logging` (v1 only), and `enable_container_logging` (v1beta1 only). */
|
|
16586
|
+
/** Updates an existing deployed model. Updatable fields include `min_replica_count`, `max_replica_count`, `required_replica_count`, `autoscaling_metric_specs`, `disable_container_logging` (v1 only), and `enable_container_logging` (v1beta1 only). */
|
|
16551
16587
|
mutateDeployedModel(request: {
|
|
16552
16588
|
/** V1 error format. */
|
|
16553
16589
|
'$.xgafv'?: string;
|
|
@@ -34481,6 +34517,8 @@ declare namespace gapi.client {
|
|
|
34481
34517
|
callback?: string;
|
|
34482
34518
|
/** Selector specifying which fields to include in a partial response. */
|
|
34483
34519
|
fields?: string;
|
|
34520
|
+
/** Optional. The standard list filter. Supported fields: * `timestamp` range (i.e. `timestamp>="2025-01-31T11:30:00-04:00"` where the timestamp is in RFC 3339 format) More detail in [AIP-160](https://google.aip.dev/160). */
|
|
34521
|
+
filter?: string;
|
|
34484
34522
|
/** 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. */
|
|
34485
34523
|
key?: string;
|
|
34486
34524
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -40383,6 +40421,33 @@ declare namespace gapi.client {
|
|
|
40383
40421
|
): Request<GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance>;
|
|
40384
40422
|
}
|
|
40385
40423
|
interface ProjectsResource {
|
|
40424
|
+
/** Fetches the configs of publisher models. */
|
|
40425
|
+
fetchPublisherModelConfig(request?: {
|
|
40426
|
+
/** V1 error format. */
|
|
40427
|
+
'$.xgafv'?: string;
|
|
40428
|
+
/** OAuth access token. */
|
|
40429
|
+
access_token?: string;
|
|
40430
|
+
/** Data format for response. */
|
|
40431
|
+
alt?: string;
|
|
40432
|
+
/** JSONP */
|
|
40433
|
+
callback?: string;
|
|
40434
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
40435
|
+
fields?: string;
|
|
40436
|
+
/** 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. */
|
|
40437
|
+
key?: string;
|
|
40438
|
+
/** Required. The name of the publisher model, in the format of `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`. */
|
|
40439
|
+
name: string;
|
|
40440
|
+
/** OAuth 2.0 token for the current user. */
|
|
40441
|
+
oauth_token?: string;
|
|
40442
|
+
/** Returns response with indentations and line breaks. */
|
|
40443
|
+
prettyPrint?: boolean;
|
|
40444
|
+
/** 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. */
|
|
40445
|
+
quotaUser?: string;
|
|
40446
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
40447
|
+
upload_protocol?: string;
|
|
40448
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
40449
|
+
uploadType?: string;
|
|
40450
|
+
}): Request<GoogleCloudAiplatformV1beta1PublisherModelConfig>;
|
|
40386
40451
|
/** Gets a GenAI cache config. */
|
|
40387
40452
|
getCacheConfig(request?: {
|
|
40388
40453
|
/** V1 error format. */
|
|
@@ -40410,6 +40475,64 @@ declare namespace gapi.client {
|
|
|
40410
40475
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
40411
40476
|
uploadType?: string;
|
|
40412
40477
|
}): Request<GoogleCloudAiplatformV1beta1CacheConfig>;
|
|
40478
|
+
/** Sets (creates or updates) configs of publisher models. For example, sets the request/response logging config. */
|
|
40479
|
+
setPublisherModelConfig(request: {
|
|
40480
|
+
/** V1 error format. */
|
|
40481
|
+
'$.xgafv'?: string;
|
|
40482
|
+
/** OAuth access token. */
|
|
40483
|
+
access_token?: string;
|
|
40484
|
+
/** Data format for response. */
|
|
40485
|
+
alt?: string;
|
|
40486
|
+
/** JSONP */
|
|
40487
|
+
callback?: string;
|
|
40488
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
40489
|
+
fields?: string;
|
|
40490
|
+
/** 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. */
|
|
40491
|
+
key?: string;
|
|
40492
|
+
/** Required. The name of the publisher model, in the format of `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`. */
|
|
40493
|
+
name: string;
|
|
40494
|
+
/** OAuth 2.0 token for the current user. */
|
|
40495
|
+
oauth_token?: string;
|
|
40496
|
+
/** Returns response with indentations and line breaks. */
|
|
40497
|
+
prettyPrint?: boolean;
|
|
40498
|
+
/** 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. */
|
|
40499
|
+
quotaUser?: string;
|
|
40500
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
40501
|
+
upload_protocol?: string;
|
|
40502
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
40503
|
+
uploadType?: string;
|
|
40504
|
+
/** Request body */
|
|
40505
|
+
resource: GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest;
|
|
40506
|
+
}): Request<GoogleLongrunningOperation>;
|
|
40507
|
+
setPublisherModelConfig(
|
|
40508
|
+
request: {
|
|
40509
|
+
/** V1 error format. */
|
|
40510
|
+
'$.xgafv'?: string;
|
|
40511
|
+
/** OAuth access token. */
|
|
40512
|
+
access_token?: string;
|
|
40513
|
+
/** Data format for response. */
|
|
40514
|
+
alt?: string;
|
|
40515
|
+
/** JSONP */
|
|
40516
|
+
callback?: string;
|
|
40517
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
40518
|
+
fields?: string;
|
|
40519
|
+
/** 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. */
|
|
40520
|
+
key?: string;
|
|
40521
|
+
/** Required. The name of the publisher model, in the format of `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`. */
|
|
40522
|
+
name: string;
|
|
40523
|
+
/** OAuth 2.0 token for the current user. */
|
|
40524
|
+
oauth_token?: string;
|
|
40525
|
+
/** Returns response with indentations and line breaks. */
|
|
40526
|
+
prettyPrint?: boolean;
|
|
40527
|
+
/** 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. */
|
|
40528
|
+
quotaUser?: string;
|
|
40529
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
40530
|
+
upload_protocol?: string;
|
|
40531
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
40532
|
+
uploadType?: string;
|
|
40533
|
+
},
|
|
40534
|
+
body: GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest,
|
|
40535
|
+
): Request<GoogleLongrunningOperation>;
|
|
40413
40536
|
/** Updates a cache config. */
|
|
40414
40537
|
updateCacheConfig(request: {
|
|
40415
40538
|
/** V1 error format. */
|
|
@@ -41297,6 +41420,8 @@ declare namespace gapi.client {
|
|
|
41297
41420
|
callback?: string;
|
|
41298
41421
|
/** Selector specifying which fields to include in a partial response. */
|
|
41299
41422
|
fields?: string;
|
|
41423
|
+
/** Optional. The standard list filter. Supported fields: * `timestamp` range (i.e. `timestamp>="2025-01-31T11:30:00-04:00"` where the timestamp is in RFC 3339 format) More detail in [AIP-160](https://google.aip.dev/160). */
|
|
41424
|
+
filter?: string;
|
|
41300
41425
|
/** 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. */
|
|
41301
41426
|
key?: string;
|
|
41302
41427
|
/** OAuth 2.0 token for the current user. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -156,11 +156,21 @@ Upload a file into a RagCorpus.
|
|
|
156
156
|
*/
|
|
157
157
|
await gapi.client.aiplatform.media.upload({parent: 'parent'});
|
|
158
158
|
|
|
159
|
+
/*
|
|
160
|
+
Fetches the configs of publisher models.
|
|
161
|
+
*/
|
|
162
|
+
await gapi.client.aiplatform.projects.fetchPublisherModelConfig({name: 'name'});
|
|
163
|
+
|
|
159
164
|
/*
|
|
160
165
|
Gets a GenAI cache config.
|
|
161
166
|
*/
|
|
162
167
|
await gapi.client.aiplatform.projects.getCacheConfig({name: 'name'});
|
|
163
168
|
|
|
169
|
+
/*
|
|
170
|
+
Sets (creates or updates) configs of publisher models. For example, sets the request/response logging config.
|
|
171
|
+
*/
|
|
172
|
+
await gapi.client.aiplatform.projects.setPublisherModelConfig({name: 'name'});
|
|
173
|
+
|
|
164
174
|
/*
|
|
165
175
|
Updates a cache config.
|
|
166
176
|
*/
|