pub struct GoogleCloudAiplatformV1AutomaticResources {
pub max_replica_count: Option<i32>,
pub min_replica_count: Option<i32>,
}Expand description
A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration. Each Model supporting these resources documents its specific guidelines.
This type is not used in any activity, and only used as part of another schema.
Fields§
§max_replica_count: Option<i32>Immutable. The maximum number of replicas this DeployedModel may be deployed on when the traffic against it increases. If the requested value is too large, the deployment will error, but if deployment succeeds then the ability to scale the model to that many replicas is guaranteed (barring service outages). If traffic against the DeployedModel increases beyond what its replicas at maximum may handle, a portion of the traffic will be dropped. If this value is not provided, a no upper bound for scaling under heavy traffic will be assume, though Vertex AI may be unable to scale beyond certain replica number.
min_replica_count: Option<i32>Immutable. The minimum number of replicas this DeployedModel will be always deployed on. If traffic against it increases, it may dynamically be deployed onto more replicas up to max_replica_count, and as traffic decreases, some of these extra replicas may be freed. If the requested value is too large, the deployment will error.
Trait Implementations§
Source§impl Clone for GoogleCloudAiplatformV1AutomaticResources
impl Clone for GoogleCloudAiplatformV1AutomaticResources
Source§fn clone(&self) -> GoogleCloudAiplatformV1AutomaticResources
fn clone(&self) -> GoogleCloudAiplatformV1AutomaticResources
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudAiplatformV1AutomaticResources
impl Default for GoogleCloudAiplatformV1AutomaticResources
Source§fn default() -> GoogleCloudAiplatformV1AutomaticResources
fn default() -> GoogleCloudAiplatformV1AutomaticResources
Source§impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1AutomaticResources
impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1AutomaticResources
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 Part for GoogleCloudAiplatformV1AutomaticResources
Auto Trait Implementations§
impl Freeze for GoogleCloudAiplatformV1AutomaticResources
impl RefUnwindSafe for GoogleCloudAiplatformV1AutomaticResources
impl Send for GoogleCloudAiplatformV1AutomaticResources
impl Sync for GoogleCloudAiplatformV1AutomaticResources
impl Unpin for GoogleCloudAiplatformV1AutomaticResources
impl UnwindSafe for GoogleCloudAiplatformV1AutomaticResources
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