Class CopyModelRequest (1.24.1)

CopyModelRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for ModelService.CopyModel.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
model_id str
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. This field is a member of oneof_ destination_model.
parent_model str
Optional. Specify this field to copy source_model into this existing Model as a new version. Format: projects/{project}/locations/{location}/models/{model} This field is a member of oneof_ destination_model.
parent str
Required. The resource name of the Location into which to copy the Model. Format: projects/{project}/locations/{location}
source_model str
Required. The resource name of the Model to copy. That Model must be in the same Project. Format: projects/{project}/locations/{location}/models/{model}
encryption_spec google.cloud.aiplatform_v1beta1.types.EncryptionSpec
Customer-managed encryption key options. If this is set, then the Model copy will be encrypted with the provided encryption key.

Inheritance

builtins.object > proto.message.Message > CopyModelRequest