pub struct GoogleCloudAiplatformV1CopyModelRequest {
pub source_model: Option<String>,
pub model_id: Option<String>,
pub encryption_spec: Option<GoogleCloudAiplatformV1EncryptionSpec>,
pub parent_model: Option<String>,
}Expand description
Request message for ModelService.CopyModel.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations models copy projects (request)
Fields§
§source_model: Option<String>Required. The resource name of the Model to copy. That Model must be in the same Project. Format: projects/{project}/locations/{location}/models/{model}
model_id: Option<String>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.
encryption_spec: Option<GoogleCloudAiplatformV1EncryptionSpec>Customer-managed encryption key options. If this is set, then the Model copy will be encrypted with the provided encryption key.
parent_model: Option<String>Optional. Specify this field to copy source_model into this existing Model as a new version. Format: projects/{project}/locations/{location}/models/{model}
Trait Implementations§
Source§impl Clone for GoogleCloudAiplatformV1CopyModelRequest
impl Clone for GoogleCloudAiplatformV1CopyModelRequest
Source§fn clone(&self) -> GoogleCloudAiplatformV1CopyModelRequest
fn clone(&self) -> GoogleCloudAiplatformV1CopyModelRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudAiplatformV1CopyModelRequest
impl Default for GoogleCloudAiplatformV1CopyModelRequest
Source§fn default() -> GoogleCloudAiplatformV1CopyModelRequest
fn default() -> GoogleCloudAiplatformV1CopyModelRequest
Source§impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1CopyModelRequest
impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1CopyModelRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl RequestValue for GoogleCloudAiplatformV1CopyModelRequest
Auto Trait Implementations§
impl Freeze for GoogleCloudAiplatformV1CopyModelRequest
impl RefUnwindSafe for GoogleCloudAiplatformV1CopyModelRequest
impl Send for GoogleCloudAiplatformV1CopyModelRequest
impl Sync for GoogleCloudAiplatformV1CopyModelRequest
impl Unpin for GoogleCloudAiplatformV1CopyModelRequest
impl UnwindSafe for GoogleCloudAiplatformV1CopyModelRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more