pub struct GoogleCloudAiplatformV1UploadModelRequest {
pub parent_model: Option<String>,
pub service_account: Option<String>,
pub model: Option<GoogleCloudAiplatformV1Model>,
pub model_id: Option<String>,
}Expand description
Request message for ModelService.UploadModel.
§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 upload projects (request)
Fields§
§parent_model: Option<String>Optional. The resource name of the model into which to upload the version. Only specify this field when uploading a new version.
service_account: Option<String>Optional. The user-provided custom service account to use to do the model upload. If empty, Vertex AI Service Agent will be used to access resources needed to upload the model. This account must belong to the target project where the model is uploaded to, i.e., the project specified in the parent field of this request and have necessary read permissions (to Google Cloud Storage, Artifact Registry, etc.).
model: Option<GoogleCloudAiplatformV1Model>Required. The Model to create.
model_id: Option<String>Optional. The ID to use for the uploaded Model, which 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.
Trait Implementations§
Source§impl Clone for GoogleCloudAiplatformV1UploadModelRequest
impl Clone for GoogleCloudAiplatformV1UploadModelRequest
Source§fn clone(&self) -> GoogleCloudAiplatformV1UploadModelRequest
fn clone(&self) -> GoogleCloudAiplatformV1UploadModelRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudAiplatformV1UploadModelRequest
impl Default for GoogleCloudAiplatformV1UploadModelRequest
Source§fn default() -> GoogleCloudAiplatformV1UploadModelRequest
fn default() -> GoogleCloudAiplatformV1UploadModelRequest
Source§impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1UploadModelRequest
impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1UploadModelRequest
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 GoogleCloudAiplatformV1UploadModelRequest
Auto Trait Implementations§
impl Freeze for GoogleCloudAiplatformV1UploadModelRequest
impl RefUnwindSafe for GoogleCloudAiplatformV1UploadModelRequest
impl Send for GoogleCloudAiplatformV1UploadModelRequest
impl Sync for GoogleCloudAiplatformV1UploadModelRequest
impl Unpin for GoogleCloudAiplatformV1UploadModelRequest
impl UnwindSafe for GoogleCloudAiplatformV1UploadModelRequest
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