[][src]Struct gcp_client::google::cloud::ml::v1::PredictionInput

pub struct PredictionInput {
    pub data_format: i32,
    pub input_paths: Vec<String>,
    pub output_path: String,
    pub max_worker_count: i64,
    pub region: String,
    pub runtime_version: String,
    pub model_version: Option<ModelVersion>,
}

Represents input parameters for a prediction job.

Fields

data_format: i32

Required. The format of the input data files.

input_paths: Vec<String>

Required. The Google Cloud Storage location of the input data files. May contain wildcards.

output_path: String

Required. The output Google Cloud Storage location.

max_worker_count: i64

Optional. The maximum number of workers to be used for parallel processing. Defaults to 10 if not specified.

region: String

Required. The Google Compute Engine region to run the prediction job in.

runtime_version: String

Optional. The Google Cloud ML runtime version to use for this batch prediction. If not set, Google Cloud ML will pick the runtime version used during the CreateVersion request for this model version, or choose the latest stable version when model version information is not available such as when the model is specified by uri.

model_version: Option<ModelVersion>

Required. The model or the version to use for prediction.

Implementations

impl PredictionInput[src]

pub fn data_format(&self) -> DataFormat[src]

Returns the enum value of data_format, or the default if the field is set to an invalid enum value.

pub fn set_data_format(&mut self, value: DataFormat)[src]

Sets data_format to the provided enum value.

Trait Implementations

impl Clone for PredictionInput[src]

impl Debug for PredictionInput[src]

impl Default for PredictionInput[src]

impl Message for PredictionInput[src]

impl PartialEq<PredictionInput> for PredictionInput[src]

impl StructuralPartialEq for PredictionInput[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]