Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudAiplatformV1CopyModelRequest

import type { GoogleCloudAiplatformV1CopyModelRequest } from "https://googleapis.deno.dev/v1/aiplatform:v1.ts";

Request message for ModelService.CopyModel.

interface GoogleCloudAiplatformV1CopyModelRequest {
customServiceAccount?: string;
modelId?: string;
parentModel?: string;
sourceModel?: string;
}

§Properties

§
customServiceAccount?: string
[src]

Optional. The user-provided custom service account to use to do the copy model. If empty, Vertex AI Service Agent will be used to access resources needed to upload the model. This account must belong to the destination project where the model is copied to, i.e., the project specified in the parent field of this request and have the Vertex AI Service Agent role in the source project. Requires the user copying the Model to have the iam.serviceAccounts.actAs permission on this service account.

§

Customer-managed encryption key options. If this is set, then the Model copy will be encrypted with the provided encryption key.

§
modelId?: string
[src]

Optional. Copy source_model into a new Model with this ID. The ID will become the final component of the model resource name. This value may be up to 63 characters, and valid characters are [a-z0-9_-]. The first character cannot be a number or hyphen.

§
parentModel?: string
[src]

Optional. Specify this field to copy source_model into this existing Model as a new version. Format: projects/{project}/locations/{location}/models/{model}

§
sourceModel?: string
[src]

Required. The resource name of the Model to copy. That Model must be in the same Project. Format: projects/{project}/locations/{location}/models/{model}