Enum googapis::google::cloud::aiplatform::v1beta1::deployed_model::PredictionResources [−][src]
pub enum PredictionResources {
DedicatedResources(DedicatedResources),
AutomaticResources(AutomaticResources),
}
Expand description
The prediction (for example, the machine) resources that the DeployedModel uses. The user is billed for the resources (at least their minimal amount) even if the DeployedModel receives no traffic. Not all Models support all resources types. See [Model.supported_deployment_resources_types][google.cloud.aiplatform.v1beta1.Model.supported_deployment_resources_types].
Variants
DedicatedResources(DedicatedResources)
A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.
Tuple Fields of DedicatedResources
AutomaticResources(AutomaticResources)
A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.
Tuple Fields of AutomaticResources
Implementations
pub fn merge<B>(
field: &mut Option<PredictionResources>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PredictionResources
impl Send for PredictionResources
impl Sync for PredictionResources
impl Unpin for PredictionResources
impl UnwindSafe for PredictionResources
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more