Class GoogleCloudAiplatformV1CopyModelRequest
Request message for ModelService.CopyModel.
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1.Data
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class GoogleCloudAiplatformV1CopyModelRequest : IDirectResponseSchema
Properties
CustomServiceAccount
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.
Declaration
[JsonProperty("customServiceAccount")]
public virtual string CustomServiceAccount { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EncryptionSpec
Customer-managed encryption key options. If this is set, then the Model copy will be encrypted with the provided encryption key.
Declaration
[JsonProperty("encryptionSpec")]
public virtual GoogleCloudAiplatformV1EncryptionSpec EncryptionSpec { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudAiplatformV1EncryptionSpec |
ModelId
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.
Declaration
[JsonProperty("modelId")]
public virtual string ModelId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ParentModel
Optional. Specify this field to copy source_model into this existing Model as a new version. Format:
projects/{project}/locations/{location}/models/{model}
Declaration
[JsonProperty("parentModel")]
public virtual string ParentModel { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SourceModel
Required. The resource name of the Model to copy. That Model must be in the same Project. Format:
projects/{project}/locations/{location}/models/{model}
Declaration
[JsonProperty("sourceModel")]
public virtual string SourceModel { get; set; }
Property Value
| Type | Description |
|---|---|
| string |