pub struct GoogleCloudMlV1__PredictionInput {
    pub batch_size: Option<i64>,
    pub data_format: Option<String>,
    pub input_paths: Option<Vec<String>>,
    pub max_worker_count: Option<i64>,
    pub model_name: Option<String>,
    pub output_data_format: Option<String>,
    pub output_path: Option<String>,
    pub region: Option<String>,
    pub runtime_version: Option<String>,
    pub signature_name: Option<String>,
    pub uri: Option<String>,
    pub version_name: Option<String>,
}
Expand description

Represents input parameters for a prediction job.

This type is not used in any activity, and only used as part of another schema.

Fields§

§batch_size: Option<i64>

Optional. Number of records per batch, defaults to 64. The service will buffer batch_size number of records in memory before invoking one Tensorflow prediction call internally. So take the record size and memory available into consideration when setting this parameter.

§data_format: Option<String>

Required. The format of the input data files.

§input_paths: Option<Vec<String>>

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

§max_worker_count: Option<i64>

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

§model_name: Option<String>

Use this field if you want to use the default version for the specified model. The string must use the following format: "projects/YOUR_PROJECT/models/YOUR_MODEL"

§output_data_format: Option<String>

Optional. Format of the output data files, defaults to JSON.

§output_path: Option<String>

Required. The output Google Cloud Storage location.

§region: Option<String>

Required. The Google Compute Engine region to run the prediction job in. See the available regions for AI Platform services.

§runtime_version: Option<String>

Optional. The AI Platform runtime version to use for this batch prediction. If not set, AI Platform 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.

§signature_name: Option<String>

Optional. The name of the signature defined in the SavedModel to use for this job. Please refer to SavedModel for information about how to use signatures. Defaults to DEFAULT_SERVING_SIGNATURE_DEF_KEY , which is “serving_default”.

§uri: Option<String>

Use this field if you want to specify a Google Cloud Storage path for the model to use.

§version_name: Option<String>

Use this field if you want to specify a version of the model to use. The string is formatted the same way as model_version, with the addition of the version information: "projects/YOUR_PROJECT/models/YOUR_MODEL/versions/YOUR_VERSION"

Trait Implementations§

source§

impl Clone for GoogleCloudMlV1__PredictionInput

source§

fn clone(&self) -> GoogleCloudMlV1__PredictionInput

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GoogleCloudMlV1__PredictionInput

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for GoogleCloudMlV1__PredictionInput

source§

fn default() -> GoogleCloudMlV1__PredictionInput

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for GoogleCloudMlV1__PredictionInput

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for GoogleCloudMlV1__PredictionInput

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Part for GoogleCloudMlV1__PredictionInput

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,