pub struct GoogleCloudAiplatformV1PredictRequest {
pub instances: Option<Vec<Value>>,
pub parameters: Option<Value>,
}Expand description
Request message for PredictionService.Predict.
§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 endpoints predict projects (request)
- locations publishers models predict projects (request)
Fields§
§instances: Option<Vec<Value>>Required. The instances that are the input to the prediction call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the prediction call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint’s DeployedModels’ Model’s PredictSchemata’s instance_schema_uri.
parameters: Option<Value>The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint’s DeployedModels’ Model’s PredictSchemata’s parameters_schema_uri.
Trait Implementations§
Source§impl Clone for GoogleCloudAiplatformV1PredictRequest
impl Clone for GoogleCloudAiplatformV1PredictRequest
Source§fn clone(&self) -> GoogleCloudAiplatformV1PredictRequest
fn clone(&self) -> GoogleCloudAiplatformV1PredictRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudAiplatformV1PredictRequest
impl Default for GoogleCloudAiplatformV1PredictRequest
Source§fn default() -> GoogleCloudAiplatformV1PredictRequest
fn default() -> GoogleCloudAiplatformV1PredictRequest
Source§impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1PredictRequest
impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1PredictRequest
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 GoogleCloudAiplatformV1PredictRequest
Auto Trait Implementations§
impl Freeze for GoogleCloudAiplatformV1PredictRequest
impl RefUnwindSafe for GoogleCloudAiplatformV1PredictRequest
impl Send for GoogleCloudAiplatformV1PredictRequest
impl Sync for GoogleCloudAiplatformV1PredictRequest
impl Unpin for GoogleCloudAiplatformV1PredictRequest
impl UnwindSafe for GoogleCloudAiplatformV1PredictRequest
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