Cloud AI Platform v1 API - Class CopyModelRequest (2.17.0)

public sealed class CopyModelRequest : IMessage<CopyModelRequest>, IEquatable<CopyModelRequest>, IDeepCloneable<CopyModelRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class CopyModelRequest.

Request message for [ModelService.CopyModel][google.cloud.aiplatform.v1.ModelService.CopyModel].

Inheritance

object > CopyModelRequest

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

CopyModelRequest()

public CopyModelRequest()

CopyModelRequest(CopyModelRequest)

public CopyModelRequest(CopyModelRequest other)
Parameter
NameDescription
otherCopyModelRequest

Properties

DestinationModelCase

public CopyModelRequest.DestinationModelOneofCase DestinationModelCase { get; }
Property Value
TypeDescription
CopyModelRequestDestinationModelOneofCase

EncryptionSpec

public EncryptionSpec EncryptionSpec { get; set; }

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

Property Value
TypeDescription
EncryptionSpec

HasModelId

public bool HasModelId { get; }

Gets whether the "model_id" field is set

Property Value
TypeDescription
bool

HasParentModel

public bool HasParentModel { get; }

Gets whether the "parent_model" field is set

Property Value
TypeDescription
bool

ModelId

public string ModelId { get; set; }

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.

Property Value
TypeDescription
string

Parent

public string Parent { get; set; }

Required. The resource name of the Location into which to copy the Model. Format: projects/{project}/locations/{location}

Property Value
TypeDescription
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName

ParentModel

public string ParentModel { get; set; }

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

Property Value
TypeDescription
string

ParentModelAsModelName

public ModelName ParentModelAsModelName { get; set; }

ModelName-typed view over the ParentModel resource name property.

Property Value
TypeDescription
ModelName

SourceModel

public string SourceModel { get; set; }

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

Property Value
TypeDescription
string

SourceModelAsModelName

public ModelName SourceModelAsModelName { get; set; }

ModelName-typed view over the SourceModel resource name property.

Property Value
TypeDescription
ModelName