@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20250304 → 0.0.20250318
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 +243 -9
- 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:
|
|
12
|
+
// Revision: 20250318
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -267,6 +267,28 @@ declare namespace gapi.client {
|
|
|
267
267
|
/** The schema version of the artifact. If the value is not set, it defaults to the latest version in the system. */
|
|
268
268
|
schemaVersion?: string;
|
|
269
269
|
}
|
|
270
|
+
interface GoogleCloudAiplatformV1beta1AssembleDataRequest {
|
|
271
|
+
/** Optional. Config for assembling templates with a Gemini API structure. */
|
|
272
|
+
geminiTemplateConfig?: GoogleCloudAiplatformV1beta1GeminiTemplateConfig;
|
|
273
|
+
}
|
|
274
|
+
interface GoogleCloudAiplatformV1beta1AssessDataRequest {
|
|
275
|
+
/** Optional. Config for assembling templates with a Gemini API structure to assess assembled data. */
|
|
276
|
+
geminiTemplateConfig?: GoogleCloudAiplatformV1beta1GeminiTemplateConfig;
|
|
277
|
+
/** Optional. Configuration for the tuning resource usage assessment. */
|
|
278
|
+
tuningResourceUsageAssessmentConfig?: GoogleCloudAiplatformV1beta1AssessDataRequestTuningResourceUsageAssessmentConfig;
|
|
279
|
+
/** Optional. Configuration for the tuning validation assessment. */
|
|
280
|
+
tuningValidationAssessmentConfig?: GoogleCloudAiplatformV1beta1AssessDataRequestTuningValidationAssessmentConfig;
|
|
281
|
+
}
|
|
282
|
+
interface GoogleCloudAiplatformV1beta1AssessDataRequestTuningResourceUsageAssessmentConfig {
|
|
283
|
+
/** Required. The name of the model used for tuning. */
|
|
284
|
+
modelName?: string;
|
|
285
|
+
}
|
|
286
|
+
interface GoogleCloudAiplatformV1beta1AssessDataRequestTuningValidationAssessmentConfig {
|
|
287
|
+
/** Required. The dataset usage (e.g. training/validation). */
|
|
288
|
+
datasetUsage?: string;
|
|
289
|
+
/** Required. The name of the model used for tuning. */
|
|
290
|
+
modelName?: string;
|
|
291
|
+
}
|
|
270
292
|
interface GoogleCloudAiplatformV1beta1AssignNotebookRuntimeOperationMetadata {
|
|
271
293
|
/** The operation generic information. */
|
|
272
294
|
genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
|
|
@@ -336,9 +358,9 @@ declare namespace gapi.client {
|
|
|
336
358
|
apiKeySecret?: string;
|
|
337
359
|
/** Optional. The API key to be used in the request directly. */
|
|
338
360
|
apiKeyString?: string;
|
|
339
|
-
/**
|
|
361
|
+
/** Optional. The location of the API key. */
|
|
340
362
|
httpElementLocation?: string;
|
|
341
|
-
/**
|
|
363
|
+
/** Optional. The parameter name of the API key. E.g. If the API request is "https://example.com/act?api_key=", "api_key" would be the parameter name. */
|
|
342
364
|
name?: string;
|
|
343
365
|
}
|
|
344
366
|
interface GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig {
|
|
@@ -1572,7 +1594,7 @@ declare namespace gapi.client {
|
|
|
1572
1594
|
endpointDisplayName?: string;
|
|
1573
1595
|
/** Optional. The Hugging Face read access token used to access the model artifacts of gated models. */
|
|
1574
1596
|
huggingFaceAccessToken?: string;
|
|
1575
|
-
/** Required. The model to deploy. Format: 1. `publishers/{publisher}/models/{publisher_model}@{version_id}`, or `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001`. 2. Hugging Face model ID like `google/gemma-2-2b-it`. 3. Custom model Google Cloud Storage URI like `gs://bucket`. 4. Custom model zip file like `https://
|
|
1597
|
+
/** Required. The model to deploy. Format: 1. `publishers/{publisher}/models/{publisher_model}@{version_id}`, or `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001`. 2. Hugging Face model ID like `google/gemma-2-2b-it`. 3. Custom model Google Cloud Storage URI like `gs://bucket`. 4. Custom model zip file like `https://example.com/a.zip`. */
|
|
1576
1598
|
model?: string;
|
|
1577
1599
|
/** Optional. The user-specified display name of the uploaded model. If not set, a default name will be used. */
|
|
1578
1600
|
modelDisplayName?: string;
|
|
@@ -1649,7 +1671,7 @@ declare namespace gapi.client {
|
|
|
1649
1671
|
interface GoogleCloudAiplatformV1beta1DiskSpec {
|
|
1650
1672
|
/** Size in GB of the boot disk (default is 100GB). */
|
|
1651
1673
|
bootDiskSizeGb?: number;
|
|
1652
|
-
/** Type of the boot disk
|
|
1674
|
+
/** Type of the boot disk. For non-A3U machines, the default value is "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced". Valid values: "pd-ssd" (Persistent Disk Solid State Drive), "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced". */
|
|
1653
1675
|
bootDiskType?: string;
|
|
1654
1676
|
}
|
|
1655
1677
|
interface GoogleCloudAiplatformV1beta1DistillationDataStats {
|
|
@@ -3067,6 +3089,32 @@ declare namespace gapi.client {
|
|
|
3067
3089
|
/** 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/gsutil/addlhelp/WildcardNames. */
|
|
3068
3090
|
uris?: string[];
|
|
3069
3091
|
}
|
|
3092
|
+
interface GoogleCloudAiplatformV1beta1GeminiExample {
|
|
3093
|
+
/** 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}` */
|
|
3094
|
+
cachedContent?: string;
|
|
3095
|
+
/** Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request. */
|
|
3096
|
+
contents?: GoogleCloudAiplatformV1beta1Content[];
|
|
3097
|
+
/** Optional. Generation config. */
|
|
3098
|
+
generationConfig?: GoogleCloudAiplatformV1beta1GenerationConfig;
|
|
3099
|
+
/** Optional. The labels with user-defined metadata for the request. It is used for billing and reporting only. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. */
|
|
3100
|
+
labels?: {[P in string]: string};
|
|
3101
|
+
/** Optional. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
3102
|
+
model?: string;
|
|
3103
|
+
/** Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. */
|
|
3104
|
+
safetySettings?: GoogleCloudAiplatformV1beta1SafetySetting[];
|
|
3105
|
+
/** 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. */
|
|
3106
|
+
systemInstruction?: GoogleCloudAiplatformV1beta1Content;
|
|
3107
|
+
/** Optional. Tool config. This config is shared for all tools provided in the request. */
|
|
3108
|
+
toolConfig?: GoogleCloudAiplatformV1beta1ToolConfig;
|
|
3109
|
+
/** 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. */
|
|
3110
|
+
tools?: GoogleCloudAiplatformV1beta1Tool[];
|
|
3111
|
+
}
|
|
3112
|
+
interface GoogleCloudAiplatformV1beta1GeminiTemplateConfig {
|
|
3113
|
+
/** Required. Map of template params to the columns in the dataset table. */
|
|
3114
|
+
fieldMapping?: {[P in string]: string};
|
|
3115
|
+
/** Required. The template that will be used for assembling the request to use for downstream applications. */
|
|
3116
|
+
geminiExample?: GoogleCloudAiplatformV1beta1GeminiExample;
|
|
3117
|
+
}
|
|
3070
3118
|
interface GoogleCloudAiplatformV1beta1GenAiAdvancedFeaturesConfig {
|
|
3071
3119
|
/** Configuration for Retrieval Augmented Generation feature. */
|
|
3072
3120
|
ragConfig?: GoogleCloudAiplatformV1beta1GenAiAdvancedFeaturesConfigRagConfig;
|
|
@@ -3142,6 +3190,8 @@ declare namespace gapi.client {
|
|
|
3142
3190
|
promptTokenCount?: number;
|
|
3143
3191
|
/** Output only. List of modalities that were processed in the request input. */
|
|
3144
3192
|
promptTokensDetails?: GoogleCloudAiplatformV1beta1ModalityTokenCount[];
|
|
3193
|
+
/** Output only. Number of tokens present in thoughts output. */
|
|
3194
|
+
thoughtsTokenCount?: number;
|
|
3145
3195
|
/** Output only. Number of tokens present in tool-use prompt(s). */
|
|
3146
3196
|
toolUsePromptTokenCount?: number;
|
|
3147
3197
|
/** Output only. List of modalities that were processed for tool-use request inputs. */
|
|
@@ -3436,6 +3486,10 @@ declare namespace gapi.client {
|
|
|
3436
3486
|
gcsSource?: GoogleCloudAiplatformV1beta1GcsSource;
|
|
3437
3487
|
/** Google Drive location. Supports importing individual files as well as Google Drive folders. */
|
|
3438
3488
|
googleDriveSource?: GoogleCloudAiplatformV1beta1GoogleDriveSource;
|
|
3489
|
+
/** The BigQuery destination to write import result to. It should be a bigquery table resource name (e.g. "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the table does not exist, it will be created with the expected schema. If the table exists, the schema will be validated and data will be added to this existing table. */
|
|
3490
|
+
importResultBigquerySink?: GoogleCloudAiplatformV1beta1BigQueryDestination;
|
|
3491
|
+
/** The Cloud Storage path to write import result to. */
|
|
3492
|
+
importResultGcsSink?: GoogleCloudAiplatformV1beta1GcsDestination;
|
|
3439
3493
|
/** Jira queries with their corresponding authentication. */
|
|
3440
3494
|
jiraSource?: GoogleCloudAiplatformV1beta1JiraSource;
|
|
3441
3495
|
/** 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. */
|
|
@@ -5749,7 +5803,7 @@ declare namespace gapi.client {
|
|
|
5749
5803
|
postStartupScript?: string;
|
|
5750
5804
|
/** Optional. Post startup script behavior that defines download and execution behavior. */
|
|
5751
5805
|
postStartupScriptBehavior?: string;
|
|
5752
|
-
/** Optional. Post startup script url to download. Example:
|
|
5806
|
+
/** Optional. Post startup script url to download. Example: `gs://bucket/script.sh` */
|
|
5753
5807
|
postStartupScriptUrl?: string;
|
|
5754
5808
|
}
|
|
5755
5809
|
interface GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig {
|
|
@@ -6609,11 +6663,13 @@ declare namespace gapi.client {
|
|
|
6609
6663
|
updateTime?: string;
|
|
6610
6664
|
}
|
|
6611
6665
|
interface GoogleCloudAiplatformV1beta1ReasoningEngineSpec {
|
|
6666
|
+
/** Optional. The OSS agent framework used to develop the agent. Currently supported values: "langchain", "langgraph", "ag2", "custom". */
|
|
6667
|
+
agentFramework?: string;
|
|
6612
6668
|
/** Optional. Declarations for object class methods in OpenAPI specification format. */
|
|
6613
6669
|
classMethods?: Array<{[P in string]: any}>;
|
|
6614
6670
|
/** Optional. The specification of a Reasoning Engine deployment. */
|
|
6615
6671
|
deploymentSpec?: GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec;
|
|
6616
|
-
/** Required. User provided package spec of the ReasoningEngine. */
|
|
6672
|
+
/** Required. User provided package spec of the ReasoningEngine. Ignored when users directly specify a deployment image through `deployment_spec.first_party_image_override`, but keeping the field_behavior to avoid introducing breaking changes. */
|
|
6617
6673
|
packageSpec?: GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec;
|
|
6618
6674
|
}
|
|
6619
6675
|
interface GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec {
|
|
@@ -9930,6 +9986,8 @@ declare namespace gapi.client {
|
|
|
9930
9986
|
interface GoogleCloudAiplatformV1beta1VertexAISearch {
|
|
9931
9987
|
/** Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` */
|
|
9932
9988
|
datastore?: string;
|
|
9989
|
+
/** Optional. Fully-qualified Vertex AI Search engine resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` */
|
|
9990
|
+
engine?: string;
|
|
9933
9991
|
}
|
|
9934
9992
|
interface GoogleCloudAiplatformV1beta1VertexAiSearchConfig {
|
|
9935
9993
|
/** Vertex AI Search Serving Config resource full name. For example, `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}` or `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}`. */
|
|
@@ -13513,6 +13571,122 @@ declare namespace gapi.client {
|
|
|
13513
13571
|
operations: OperationsResource;
|
|
13514
13572
|
}
|
|
13515
13573
|
interface DatasetsResource {
|
|
13574
|
+
/** Assembles each row of a multimodal dataset and writes the result into a BigQuery table. */
|
|
13575
|
+
assemble(request: {
|
|
13576
|
+
/** V1 error format. */
|
|
13577
|
+
'$.xgafv'?: string;
|
|
13578
|
+
/** OAuth access token. */
|
|
13579
|
+
access_token?: string;
|
|
13580
|
+
/** Data format for response. */
|
|
13581
|
+
alt?: string;
|
|
13582
|
+
/** JSONP */
|
|
13583
|
+
callback?: string;
|
|
13584
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13585
|
+
fields?: string;
|
|
13586
|
+
/** 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. */
|
|
13587
|
+
key?: string;
|
|
13588
|
+
/** Required. The name of the Dataset resource (used only for MULTIMODAL datasets). Format: `projects/{project}/locations/{location}/datasets/{dataset}` */
|
|
13589
|
+
name: string;
|
|
13590
|
+
/** OAuth 2.0 token for the current user. */
|
|
13591
|
+
oauth_token?: string;
|
|
13592
|
+
/** Returns response with indentations and line breaks. */
|
|
13593
|
+
prettyPrint?: boolean;
|
|
13594
|
+
/** 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. */
|
|
13595
|
+
quotaUser?: string;
|
|
13596
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13597
|
+
upload_protocol?: string;
|
|
13598
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13599
|
+
uploadType?: string;
|
|
13600
|
+
/** Request body */
|
|
13601
|
+
resource: GoogleCloudAiplatformV1beta1AssembleDataRequest;
|
|
13602
|
+
}): Request<GoogleLongrunningOperation>;
|
|
13603
|
+
assemble(
|
|
13604
|
+
request: {
|
|
13605
|
+
/** V1 error format. */
|
|
13606
|
+
'$.xgafv'?: string;
|
|
13607
|
+
/** OAuth access token. */
|
|
13608
|
+
access_token?: string;
|
|
13609
|
+
/** Data format for response. */
|
|
13610
|
+
alt?: string;
|
|
13611
|
+
/** JSONP */
|
|
13612
|
+
callback?: string;
|
|
13613
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13614
|
+
fields?: string;
|
|
13615
|
+
/** 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. */
|
|
13616
|
+
key?: string;
|
|
13617
|
+
/** Required. The name of the Dataset resource (used only for MULTIMODAL datasets). Format: `projects/{project}/locations/{location}/datasets/{dataset}` */
|
|
13618
|
+
name: string;
|
|
13619
|
+
/** OAuth 2.0 token for the current user. */
|
|
13620
|
+
oauth_token?: string;
|
|
13621
|
+
/** Returns response with indentations and line breaks. */
|
|
13622
|
+
prettyPrint?: boolean;
|
|
13623
|
+
/** 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. */
|
|
13624
|
+
quotaUser?: string;
|
|
13625
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13626
|
+
upload_protocol?: string;
|
|
13627
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13628
|
+
uploadType?: string;
|
|
13629
|
+
},
|
|
13630
|
+
body: GoogleCloudAiplatformV1beta1AssembleDataRequest,
|
|
13631
|
+
): Request<GoogleLongrunningOperation>;
|
|
13632
|
+
/** Assesses the state or validity of the dataset with respect to a given use case. */
|
|
13633
|
+
assess(request: {
|
|
13634
|
+
/** V1 error format. */
|
|
13635
|
+
'$.xgafv'?: string;
|
|
13636
|
+
/** OAuth access token. */
|
|
13637
|
+
access_token?: string;
|
|
13638
|
+
/** Data format for response. */
|
|
13639
|
+
alt?: string;
|
|
13640
|
+
/** JSONP */
|
|
13641
|
+
callback?: string;
|
|
13642
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13643
|
+
fields?: string;
|
|
13644
|
+
/** 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. */
|
|
13645
|
+
key?: string;
|
|
13646
|
+
/** Required. The name of the Dataset resource. Used only for MULTIMODAL datasets. Format: `projects/{project}/locations/{location}/datasets/{dataset}` */
|
|
13647
|
+
name: string;
|
|
13648
|
+
/** OAuth 2.0 token for the current user. */
|
|
13649
|
+
oauth_token?: string;
|
|
13650
|
+
/** Returns response with indentations and line breaks. */
|
|
13651
|
+
prettyPrint?: boolean;
|
|
13652
|
+
/** 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. */
|
|
13653
|
+
quotaUser?: string;
|
|
13654
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13655
|
+
upload_protocol?: string;
|
|
13656
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13657
|
+
uploadType?: string;
|
|
13658
|
+
/** Request body */
|
|
13659
|
+
resource: GoogleCloudAiplatformV1beta1AssessDataRequest;
|
|
13660
|
+
}): Request<GoogleLongrunningOperation>;
|
|
13661
|
+
assess(
|
|
13662
|
+
request: {
|
|
13663
|
+
/** V1 error format. */
|
|
13664
|
+
'$.xgafv'?: string;
|
|
13665
|
+
/** OAuth access token. */
|
|
13666
|
+
access_token?: string;
|
|
13667
|
+
/** Data format for response. */
|
|
13668
|
+
alt?: string;
|
|
13669
|
+
/** JSONP */
|
|
13670
|
+
callback?: string;
|
|
13671
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13672
|
+
fields?: string;
|
|
13673
|
+
/** 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. */
|
|
13674
|
+
key?: string;
|
|
13675
|
+
/** Required. The name of the Dataset resource. Used only for MULTIMODAL datasets. Format: `projects/{project}/locations/{location}/datasets/{dataset}` */
|
|
13676
|
+
name: string;
|
|
13677
|
+
/** OAuth 2.0 token for the current user. */
|
|
13678
|
+
oauth_token?: string;
|
|
13679
|
+
/** Returns response with indentations and line breaks. */
|
|
13680
|
+
prettyPrint?: boolean;
|
|
13681
|
+
/** 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. */
|
|
13682
|
+
quotaUser?: string;
|
|
13683
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13684
|
+
upload_protocol?: string;
|
|
13685
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13686
|
+
uploadType?: string;
|
|
13687
|
+
},
|
|
13688
|
+
body: GoogleCloudAiplatformV1beta1AssessDataRequest,
|
|
13689
|
+
): Request<GoogleLongrunningOperation>;
|
|
13516
13690
|
/** Creates a Dataset. */
|
|
13517
13691
|
create(request: {
|
|
13518
13692
|
/** V1 error format. */
|
|
@@ -36133,7 +36307,7 @@ declare namespace gapi.client {
|
|
|
36133
36307
|
},
|
|
36134
36308
|
body: GoogleCloudAiplatformV1beta1CorroborateContentRequest,
|
|
36135
36309
|
): Request<GoogleCloudAiplatformV1beta1CorroborateContentResponse>;
|
|
36136
|
-
/** Deploys
|
|
36310
|
+
/** Deploys a model to a new endpoint. */
|
|
36137
36311
|
deploy(request: {
|
|
36138
36312
|
/** V1 error format. */
|
|
36139
36313
|
'$.xgafv'?: string;
|
|
@@ -36160,9 +36334,67 @@ declare namespace gapi.client {
|
|
|
36160
36334
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
36161
36335
|
uploadType?: string;
|
|
36162
36336
|
/** Request body */
|
|
36163
|
-
resource:
|
|
36337
|
+
resource: GoogleCloudAiplatformV1beta1DeployRequest;
|
|
36164
36338
|
}): Request<GoogleLongrunningOperation>;
|
|
36165
36339
|
deploy(
|
|
36340
|
+
request: {
|
|
36341
|
+
/** V1 error format. */
|
|
36342
|
+
'$.xgafv'?: string;
|
|
36343
|
+
/** OAuth access token. */
|
|
36344
|
+
access_token?: string;
|
|
36345
|
+
/** Data format for response. */
|
|
36346
|
+
alt?: string;
|
|
36347
|
+
/** JSONP */
|
|
36348
|
+
callback?: string;
|
|
36349
|
+
/** Required. The resource name of the Location to deploy the model in. Format: `projects/{project}/locations/{location}` */
|
|
36350
|
+
destination: string;
|
|
36351
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
36352
|
+
fields?: string;
|
|
36353
|
+
/** 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. */
|
|
36354
|
+
key?: string;
|
|
36355
|
+
/** OAuth 2.0 token for the current user. */
|
|
36356
|
+
oauth_token?: string;
|
|
36357
|
+
/** Returns response with indentations and line breaks. */
|
|
36358
|
+
prettyPrint?: boolean;
|
|
36359
|
+
/** 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. */
|
|
36360
|
+
quotaUser?: string;
|
|
36361
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
36362
|
+
upload_protocol?: string;
|
|
36363
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
36364
|
+
uploadType?: string;
|
|
36365
|
+
},
|
|
36366
|
+
body: GoogleCloudAiplatformV1beta1DeployRequest,
|
|
36367
|
+
): Request<GoogleLongrunningOperation>;
|
|
36368
|
+
/** Deploys publisher models. */
|
|
36369
|
+
deployPublisherModel(request: {
|
|
36370
|
+
/** V1 error format. */
|
|
36371
|
+
'$.xgafv'?: string;
|
|
36372
|
+
/** OAuth access token. */
|
|
36373
|
+
access_token?: string;
|
|
36374
|
+
/** Data format for response. */
|
|
36375
|
+
alt?: string;
|
|
36376
|
+
/** JSONP */
|
|
36377
|
+
callback?: string;
|
|
36378
|
+
/** Required. The resource name of the Location to deploy the model in. Format: `projects/{project}/locations/{location}` */
|
|
36379
|
+
destination: string;
|
|
36380
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
36381
|
+
fields?: string;
|
|
36382
|
+
/** 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. */
|
|
36383
|
+
key?: string;
|
|
36384
|
+
/** OAuth 2.0 token for the current user. */
|
|
36385
|
+
oauth_token?: string;
|
|
36386
|
+
/** Returns response with indentations and line breaks. */
|
|
36387
|
+
prettyPrint?: boolean;
|
|
36388
|
+
/** 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. */
|
|
36389
|
+
quotaUser?: string;
|
|
36390
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
36391
|
+
upload_protocol?: string;
|
|
36392
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
36393
|
+
uploadType?: string;
|
|
36394
|
+
/** Request body */
|
|
36395
|
+
resource: GoogleCloudAiplatformV1beta1DeployPublisherModelRequest;
|
|
36396
|
+
}): Request<GoogleLongrunningOperation>;
|
|
36397
|
+
deployPublisherModel(
|
|
36166
36398
|
request: {
|
|
36167
36399
|
/** V1 error format. */
|
|
36168
36400
|
'$.xgafv'?: string;
|
|
@@ -36745,6 +36977,8 @@ declare namespace gapi.client {
|
|
|
36745
36977
|
fields?: string;
|
|
36746
36978
|
/** Optional. Token used to access Hugging Face gated models. */
|
|
36747
36979
|
huggingFaceToken?: string;
|
|
36980
|
+
/** Optional. Whether to cnclude the deployment configs from the equivalent Model Garden model if the requested model is a Hugging Face model. */
|
|
36981
|
+
includeEquivalentModelGardenModelDeploymentConfigs?: boolean;
|
|
36748
36982
|
/** Optional. Boolean indicates whether the requested model is a Hugging Face model. */
|
|
36749
36983
|
isHuggingFaceModel?: boolean;
|
|
36750
36984
|
/** 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. */
|