Cloud AI Platform v1beta1 API - Class CopyModelRequest (1.0.0-beta10)

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

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

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

Inheritance

object > CopyModelRequest

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

CopyModelRequest()

public CopyModelRequest()

CopyModelRequest(CopyModelRequest)

public CopyModelRequest(CopyModelRequest other)
Parameter
Name Description
other CopyModelRequest

Properties

DestinationModelCase

public CopyModelRequest.DestinationModelOneofCase DestinationModelCase { get; }
Property Value
Type Description
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
Type Description
EncryptionSpec

HasModelId

public bool HasModelId { get; }

Gets whether the "model_id" field is set

Property Value
Type Description
bool

HasParentModel

public bool HasParentModel { get; }

Gets whether the "parent_model" field is set

Property Value
Type Description
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
Type Description
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
Type Description
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
Type Description
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
Type Description
string

ParentModelAsModelName

public ModelName ParentModelAsModelName { get; set; }

ModelName-typed view over the ParentModel resource name property.

Property Value
Type Description
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
Type Description
string

SourceModelAsModelName

public ModelName SourceModelAsModelName { get; set; }

ModelName-typed view over the SourceModel resource name property.

Property Value
Type Description
ModelName