Struct google_ml1_beta1::GoogleCloudMlV1beta1__PredictionInput
[−]
[src]
pub struct GoogleCloudMlV1beta1__PredictionInput { pub model_name: Option<String>, pub runtime_version: Option<String>, pub region: Option<String>, pub max_worker_count: Option<i64>, pub uri: Option<String>, pub output_path: Option<String>, pub data_format: Option<String>, pub version_name: Option<String>, pub input_paths: Option<Vec<String>>, }
Represents input parameters for a prediction job.
This type is not used in any activity, and only used as part of another schema.
Fields
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/<var>[YOUR_PROJECT]</var>/models/<var>[YOUR_MODEL]</var>"
runtime_version: Option<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.
region: Option<String>
Required. The Google Compute Engine region to run the prediction job in.
max_worker_count: Option<i64>
Optional. The maximum number of workers to be used for parallel processing. Defaults to 10 if not specified.
uri: Option<String>
Use this field if you want to specify a Google Cloud Storage path for the model to use.
output_path: Option<String>
Required. The output Google Cloud Storage location.
data_format: Option<String>
Required. The format of the input data files.
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/<var>[YOUR_PROJECT]</var>/models/<var>YOUR_MODEL/versions/<var>[YOUR_VERSION]</var>"
input_paths: Option<Vec<String>>
Required. The Google Cloud Storage location of the input data files. May contain wildcards.
Trait Implementations
impl Default for GoogleCloudMlV1beta1__PredictionInput
[src]
fn default() -> GoogleCloudMlV1beta1__PredictionInput
[src]
Returns the "default value" for a type. Read more
impl Clone for GoogleCloudMlV1beta1__PredictionInput
[src]
fn clone(&self) -> GoogleCloudMlV1beta1__PredictionInput
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more