import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a model in Firebase ML. The longrunning operation will eventually return a Model */ export declare class Model extends pulumi.CustomResource { /** * Get an existing Model resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Model; /** * Returns true if the given object is an instance of Model. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Model; /** * Lists operation ids associated with this model whose status is NOT done. */ readonly activeOperations: pulumi.Output; /** * Timestamp when this model was created in Firebase ML. */ readonly createTime: pulumi.Output; /** * 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. */ readonly displayName: pulumi.Output; /** * See RFC7232 https://tools.ietf.org/html/rfc7232#section-2.3 */ readonly etag: pulumi.Output; /** * The model_hash will change if a new file is available for download. */ readonly modelHash: pulumi.Output; /** * 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. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * State common to all model types. Includes publishing and validation information. */ readonly state: pulumi.Output; /** * User defined tags which can be used to group/filter models during listing */ readonly tags: pulumi.Output; /** * A TFLite Model */ readonly tfliteModel: pulumi.Output; /** * Timestamp when this model was updated in Firebase ML. */ readonly updateTime: pulumi.Output; /** * Create a Model resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ModelArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Model resource. */ export interface ModelArgs { /** * 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. */ displayName: pulumi.Input; /** * 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. */ name?: pulumi.Input; project?: pulumi.Input; /** * State common to all model types. Includes publishing and validation information. */ state?: pulumi.Input; /** * User defined tags which can be used to group/filter models during listing */ tags?: pulumi.Input[]>; /** * A TFLite Model */ tfliteModel?: pulumi.Input; }