Class GoogleCloudMlV1PredictionInput
Represents input parameters for a prediction job.
Implements
Inherited Members
Namespace: Google.Apis.CloudMachineLearningEngine.v1.Data
Assembly: Google.Apis.CloudMachineLearningEngine.v1.dll
Syntax
public class GoogleCloudMlV1PredictionInput : IDirectResponseSchema
Properties
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.
Declaration
[JsonProperty("batchSize")]
public virtual long? BatchSize { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
DataFormat
Required. The format of the input data files.
Declaration
[JsonProperty("dataFormat")]
public virtual string DataFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
InputPaths
Required. The Cloud Storage location of the input data files. May contain wildcards.
Declaration
[JsonProperty("inputPaths")]
public virtual IList<string> InputPaths { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
MaxWorkerCount
Optional. The maximum number of workers to be used for parallel processing. Defaults to 10 if not specified.
Declaration
[JsonProperty("maxWorkerCount")]
public virtual long? MaxWorkerCount { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
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"
Declaration
[JsonProperty("modelName")]
public virtual string ModelName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OutputDataFormat
Optional. Format of the output data files, defaults to JSON.
Declaration
[JsonProperty("outputDataFormat")]
public virtual string OutputDataFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OutputPath
Required. The output Google Cloud Storage location.
Declaration
[JsonProperty("outputPath")]
public virtual string OutputPath { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Region
Required. The Google Compute Engine region to run the prediction job in. See the available regions for AI Platform services.
Declaration
[JsonProperty("region")]
public virtual string Region { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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.
Declaration
[JsonProperty("runtimeVersion")]
public virtual string RuntimeVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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".
Declaration
[JsonProperty("signatureName")]
public virtual string SignatureName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Uri
Use this field if you want to specify a Google Cloud Storage path for the model to use.
Declaration
[JsonProperty("uri")]
public virtual string Uri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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"
Declaration
[JsonProperty("versionName")]
public virtual string VersionName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |