ModelArgs

data class ModelArgs(val displayName: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val state: Output<ModelStateArgs>? = null, val tags: Output<List<String>>? = null, val tfliteModel: Output<TfLiteModelArgs>? = null) : ConvertibleToJava<ModelArgs>

Creates a model in Firebase ML. The longrunning operation will eventually return a Model

Constructors

Link copied to clipboard
fun ModelArgs(displayName: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null, state: Output<ModelStateArgs>? = null, tags: Output<List<String>>? = null, tfliteModel: Output<TfLiteModelArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ModelArgs

Properties

Link copied to clipboard
val displayName: Output<String>? = null

The name of the model to create. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores(_) and ASCII digits 0-9. It must start with a letter.

Link copied to clipboard
val name: Output<String>? = null

The resource name of the Model. Model names have the form projects/{project_id}/models/{model_id} The name is ignored when creating a model.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val state: Output<ModelStateArgs>? = null

State common to all model types. Includes publishing and validation information.

Link copied to clipboard
val tags: Output<List<String>>? = null

User defined tags which can be used to group/filter models during listing

Link copied to clipboard
val tfliteModel: Output<TfLiteModelArgs>? = null

A TFLite Model