GoogleCloudMlV1PredictionInputResponse class

Represents input parameters for a prediction job.

Constructors

GoogleCloudMlV1PredictionInputResponse({required Input<String> batchSize, required Input<String> dataFormat, required Input<List<String>> inputPaths, required Input<String> maxWorkerCount, required Input<String> modelName, required Input<String> outputDataFormat, required Input<String> outputPath, required Input<String> region, required Input<String> runtimeVersion, required Input<String> signatureName, required Input<String> uri, required Input<String> versionName})
Creates a new GoogleCloudMlV1PredictionInputResponse. batchSize 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. dataFormat The format of the input data files. inputPaths The Cloud Storage location of the input data files. May contain wildcards. maxWorkerCount Optional. The maximum number of workers to be used for parallel processing. Defaults to 10 if not specified. modelName 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" outputDataFormat Optional. Format of the output data files, defaults to JSON. outputPath The output Google Cloud Storage location. region The Google Compute Engine region to run the prediction job in. See the available regions for AI Platform services. runtimeVersion 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. signatureName 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 Use this field if you want to specify a Google Cloud Storage path for the model to use. versionName 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"
const
GoogleCloudMlV1PredictionInputResponse.fromMap(Map<String, dynamic> map)
factory

Properties

batchSize → Input<String>
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.
final
dataFormat → Input<String>
The format of the input data files.
final
hashCode → int
The hash code for this object.
no setterinherited
inputPaths → Input<List<String>>
The Cloud Storage location of the input data files. May contain wildcards.
final
maxWorkerCount → Input<String>
Optional. The maximum number of workers to be used for parallel processing. Defaults to 10 if not specified.
final
modelName → Input<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"
final
outputDataFormat → Input<String>
Optional. Format of the output data files, defaults to JSON.
final
outputPath → Input<String>
The output Google Cloud Storage location.
final
region → Input<String>
The Google Compute Engine region to run the prediction job in. See the available regions for AI Platform services.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
runtimeVersion → Input<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.
final
signatureName → Input<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".
final
uri → Input<String>
Use this field if you want to specify a Google Cloud Storage path for the model to use.
final
versionName → Input<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"
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited