Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.firebaseml/v1beta2.Model
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a model in Firebase ML. The longrunning operation will eventually return a Model
Create Model Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Model(name: string, args: ModelArgs, opts?: CustomResourceOptions);@overload
def Model(resource_name: str,
          args: ModelArgs,
          opts: Optional[ResourceOptions] = None)
@overload
def Model(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          display_name: Optional[str] = None,
          name: Optional[str] = None,
          project: Optional[str] = None,
          state: Optional[ModelStateArgs] = None,
          tags: Optional[Sequence[str]] = None,
          tflite_model: Optional[TfLiteModelArgs] = None)func NewModel(ctx *Context, name string, args ModelArgs, opts ...ResourceOption) (*Model, error)public Model(string name, ModelArgs args, CustomResourceOptions? opts = null)type: google-native:firebaseml/v1beta2:Model
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ModelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ModelArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ModelArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ModelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ModelArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var modelResource = new GoogleNative.FirebaseML.V1Beta2.Model("modelResource", new()
{
    DisplayName = "string",
    Name = "string",
    Project = "string",
    State = new GoogleNative.FirebaseML.V1Beta2.Inputs.ModelStateArgs
    {
        Published = false,
    },
    Tags = new[]
    {
        "string",
    },
    TfliteModel = new GoogleNative.FirebaseML.V1Beta2.Inputs.TfLiteModelArgs
    {
        AutomlModel = "string",
        GcsTfliteUri = "string",
    },
});
example, err := firebaseml.NewModel(ctx, "modelResource", &firebaseml.ModelArgs{
	DisplayName: pulumi.String("string"),
	Name:        pulumi.String("string"),
	Project:     pulumi.String("string"),
	State: &firebaseml.ModelStateTypeArgs{
		Published: pulumi.Bool(false),
	},
	Tags: pulumi.StringArray{
		pulumi.String("string"),
	},
	TfliteModel: &firebaseml.TfLiteModelArgs{
		AutomlModel:  pulumi.String("string"),
		GcsTfliteUri: pulumi.String("string"),
	},
})
var modelResource = new Model("modelResource", ModelArgs.builder()
    .displayName("string")
    .name("string")
    .project("string")
    .state(ModelStateArgs.builder()
        .published(false)
        .build())
    .tags("string")
    .tfliteModel(TfLiteModelArgs.builder()
        .automlModel("string")
        .gcsTfliteUri("string")
        .build())
    .build());
model_resource = google_native.firebaseml.v1beta2.Model("modelResource",
    display_name="string",
    name="string",
    project="string",
    state={
        "published": False,
    },
    tags=["string"],
    tflite_model={
        "automl_model": "string",
        "gcs_tflite_uri": "string",
    })
const modelResource = new google_native.firebaseml.v1beta2.Model("modelResource", {
    displayName: "string",
    name: "string",
    project: "string",
    state: {
        published: false,
    },
    tags: ["string"],
    tfliteModel: {
        automlModel: "string",
        gcsTfliteUri: "string",
    },
});
type: google-native:firebaseml/v1beta2:Model
properties:
    displayName: string
    name: string
    project: string
    state:
        published: false
    tags:
        - string
    tfliteModel:
        automlModel: string
        gcsTfliteUri: string
Model Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Model resource accepts the following input properties:
- DisplayName string
- 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.
- Name string
- 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.
- Project string
- State
Pulumi.Google Native. Firebase ML. V1Beta2. Inputs. Model State 
- State common to all model types. Includes publishing and validation information.
- List<string>
- User defined tags which can be used to group/filter models during listing
- TfliteModel Pulumi.Google Native. Firebase ML. V1Beta2. Inputs. Tf Lite Model 
- A TFLite Model
- DisplayName string
- 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.
- Name string
- 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.
- Project string
- State
ModelState Type Args 
- State common to all model types. Includes publishing and validation information.
- []string
- User defined tags which can be used to group/filter models during listing
- TfliteModel TfLite Model Args 
- A TFLite Model
- displayName String
- 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.
- name String
- 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.
- project String
- state
ModelState 
- State common to all model types. Includes publishing and validation information.
- List<String>
- User defined tags which can be used to group/filter models during listing
- tfliteModel TfLite Model 
- A TFLite Model
- displayName string
- 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.
- name string
- 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.
- project string
- state
ModelState 
- State common to all model types. Includes publishing and validation information.
- string[]
- User defined tags which can be used to group/filter models during listing
- tfliteModel TfLite Model 
- A TFLite Model
- display_name str
- 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.
- name str
- 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.
- project str
- state
ModelState Args 
- State common to all model types. Includes publishing and validation information.
- Sequence[str]
- User defined tags which can be used to group/filter models during listing
- tflite_model TfLite Model Args 
- A TFLite Model
- displayName String
- 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.
- name String
- 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.
- project String
- state Property Map
- State common to all model types. Includes publishing and validation information.
- List<String>
- User defined tags which can be used to group/filter models during listing
- tfliteModel Property Map
- A TFLite Model
Outputs
All input properties are implicitly available as output properties. Additionally, the Model resource produces the following output properties:
- ActiveOperations List<Pulumi.Google Native. Firebase ML. V1Beta2. Outputs. Operation Response> 
- Lists operation ids associated with this model whose status is NOT done.
- CreateTime string
- Timestamp when this model was created in Firebase ML.
- Etag string
- See RFC7232 https://tools.ietf.org/html/rfc7232#section-2.3
- Id string
- The provider-assigned unique ID for this managed resource.
- ModelHash string
- The model_hash will change if a new file is available for download.
- UpdateTime string
- Timestamp when this model was updated in Firebase ML.
- ActiveOperations []OperationResponse 
- Lists operation ids associated with this model whose status is NOT done.
- CreateTime string
- Timestamp when this model was created in Firebase ML.
- Etag string
- See RFC7232 https://tools.ietf.org/html/rfc7232#section-2.3
- Id string
- The provider-assigned unique ID for this managed resource.
- ModelHash string
- The model_hash will change if a new file is available for download.
- UpdateTime string
- Timestamp when this model was updated in Firebase ML.
- activeOperations List<OperationResponse> 
- Lists operation ids associated with this model whose status is NOT done.
- createTime String
- Timestamp when this model was created in Firebase ML.
- etag String
- See RFC7232 https://tools.ietf.org/html/rfc7232#section-2.3
- id String
- The provider-assigned unique ID for this managed resource.
- modelHash String
- The model_hash will change if a new file is available for download.
- updateTime String
- Timestamp when this model was updated in Firebase ML.
- activeOperations OperationResponse[] 
- Lists operation ids associated with this model whose status is NOT done.
- createTime string
- Timestamp when this model was created in Firebase ML.
- etag string
- See RFC7232 https://tools.ietf.org/html/rfc7232#section-2.3
- id string
- The provider-assigned unique ID for this managed resource.
- modelHash string
- The model_hash will change if a new file is available for download.
- updateTime string
- Timestamp when this model was updated in Firebase ML.
- active_operations Sequence[OperationResponse] 
- Lists operation ids associated with this model whose status is NOT done.
- create_time str
- Timestamp when this model was created in Firebase ML.
- etag str
- See RFC7232 https://tools.ietf.org/html/rfc7232#section-2.3
- id str
- The provider-assigned unique ID for this managed resource.
- model_hash str
- The model_hash will change if a new file is available for download.
- update_time str
- Timestamp when this model was updated in Firebase ML.
- activeOperations List<Property Map>
- Lists operation ids associated with this model whose status is NOT done.
- createTime String
- Timestamp when this model was created in Firebase ML.
- etag String
- See RFC7232 https://tools.ietf.org/html/rfc7232#section-2.3
- id String
- The provider-assigned unique ID for this managed resource.
- modelHash String
- The model_hash will change if a new file is available for download.
- updateTime String
- Timestamp when this model was updated in Firebase ML.
Supporting Types
ModelState, ModelStateArgs    
- Published bool
- Indicates if this model has been published.
- Published bool
- Indicates if this model has been published.
- published Boolean
- Indicates if this model has been published.
- published boolean
- Indicates if this model has been published.
- published bool
- Indicates if this model has been published.
- published Boolean
- Indicates if this model has been published.
ModelStateResponse, ModelStateResponseArgs      
- Published bool
- Indicates if this model has been published.
- ValidationError Pulumi.Google Native. Firebase ML. V1Beta2. Inputs. Status Response 
- Indicates the latest validation error on the model if any. A model may have validation errors if there were problems during the model creation/update. e.g. in the case of a TfLiteModel, if a tflite model file was missing or in the wrong format. This field will be empty for valid models.
- Published bool
- Indicates if this model has been published.
- ValidationError StatusResponse 
- Indicates the latest validation error on the model if any. A model may have validation errors if there were problems during the model creation/update. e.g. in the case of a TfLiteModel, if a tflite model file was missing or in the wrong format. This field will be empty for valid models.
- published Boolean
- Indicates if this model has been published.
- validationError StatusResponse 
- Indicates the latest validation error on the model if any. A model may have validation errors if there were problems during the model creation/update. e.g. in the case of a TfLiteModel, if a tflite model file was missing or in the wrong format. This field will be empty for valid models.
- published boolean
- Indicates if this model has been published.
- validationError StatusResponse 
- Indicates the latest validation error on the model if any. A model may have validation errors if there were problems during the model creation/update. e.g. in the case of a TfLiteModel, if a tflite model file was missing or in the wrong format. This field will be empty for valid models.
- published bool
- Indicates if this model has been published.
- validation_error StatusResponse 
- Indicates the latest validation error on the model if any. A model may have validation errors if there were problems during the model creation/update. e.g. in the case of a TfLiteModel, if a tflite model file was missing or in the wrong format. This field will be empty for valid models.
- published Boolean
- Indicates if this model has been published.
- validationError Property Map
- Indicates the latest validation error on the model if any. A model may have validation errors if there were problems during the model creation/update. e.g. in the case of a TfLiteModel, if a tflite model file was missing or in the wrong format. This field will be empty for valid models.
OperationResponse, OperationResponseArgs    
- Done bool
- If the value is false, it means the operation is still in progress. Iftrue, the operation is completed, and eithererrororresponseis available.
- Error
Pulumi.Google Native. Firebase ML. V1Beta2. Inputs. Status Response 
- The error result of the operation in case of failure or cancellation.
- Metadata Dictionary<string, string>
- Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
- Name string
- The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the nameshould be a resource name ending withoperations/{unique_id}.
- Response Dictionary<string, string>
- The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response isgoogle.protobuf.Empty. If the original method is standardGet/Create/Update, the response should be the resource. For other methods, the response should have the typeXxxResponse, whereXxxis the original method name. For example, if the original method name isTakeSnapshot(), the inferred response type isTakeSnapshotResponse.
- Done bool
- If the value is false, it means the operation is still in progress. Iftrue, the operation is completed, and eithererrororresponseis available.
- Error
StatusResponse 
- The error result of the operation in case of failure or cancellation.
- Metadata map[string]string
- Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
- Name string
- The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the nameshould be a resource name ending withoperations/{unique_id}.
- Response map[string]string
- The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response isgoogle.protobuf.Empty. If the original method is standardGet/Create/Update, the response should be the resource. For other methods, the response should have the typeXxxResponse, whereXxxis the original method name. For example, if the original method name isTakeSnapshot(), the inferred response type isTakeSnapshotResponse.
- done Boolean
- If the value is false, it means the operation is still in progress. Iftrue, the operation is completed, and eithererrororresponseis available.
- error
StatusResponse 
- The error result of the operation in case of failure or cancellation.
- metadata Map<String,String>
- Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
- name String
- The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the nameshould be a resource name ending withoperations/{unique_id}.
- response Map<String,String>
- The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response isgoogle.protobuf.Empty. If the original method is standardGet/Create/Update, the response should be the resource. For other methods, the response should have the typeXxxResponse, whereXxxis the original method name. For example, if the original method name isTakeSnapshot(), the inferred response type isTakeSnapshotResponse.
- done boolean
- If the value is false, it means the operation is still in progress. Iftrue, the operation is completed, and eithererrororresponseis available.
- error
StatusResponse 
- The error result of the operation in case of failure or cancellation.
- metadata {[key: string]: string}
- Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
- name string
- The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the nameshould be a resource name ending withoperations/{unique_id}.
- response {[key: string]: string}
- The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response isgoogle.protobuf.Empty. If the original method is standardGet/Create/Update, the response should be the resource. For other methods, the response should have the typeXxxResponse, whereXxxis the original method name. For example, if the original method name isTakeSnapshot(), the inferred response type isTakeSnapshotResponse.
- done bool
- If the value is false, it means the operation is still in progress. Iftrue, the operation is completed, and eithererrororresponseis available.
- error
StatusResponse 
- The error result of the operation in case of failure or cancellation.
- metadata Mapping[str, str]
- Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
- name str
- The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the nameshould be a resource name ending withoperations/{unique_id}.
- response Mapping[str, str]
- The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response isgoogle.protobuf.Empty. If the original method is standardGet/Create/Update, the response should be the resource. For other methods, the response should have the typeXxxResponse, whereXxxis the original method name. For example, if the original method name isTakeSnapshot(), the inferred response type isTakeSnapshotResponse.
- done Boolean
- If the value is false, it means the operation is still in progress. Iftrue, the operation is completed, and eithererrororresponseis available.
- error Property Map
- The error result of the operation in case of failure or cancellation.
- metadata Map<String>
- Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
- name String
- The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the nameshould be a resource name ending withoperations/{unique_id}.
- response Map<String>
- The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response isgoogle.protobuf.Empty. If the original method is standardGet/Create/Update, the response should be the resource. For other methods, the response should have the typeXxxResponse, whereXxxis the original method name. For example, if the original method name isTakeSnapshot(), the inferred response type isTakeSnapshotResponse.
StatusResponse, StatusResponseArgs    
- Code int
- The status code, which should be an enum value of google.rpc.Code.
- Details
List<ImmutableDictionary<string, string>> 
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- Message string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- Code int
- The status code, which should be an enum value of google.rpc.Code.
- Details []map[string]string
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- Message string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Integer
- The status code, which should be an enum value of google.rpc.Code.
- details List<Map<String,String>>
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message String
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code number
- The status code, which should be an enum value of google.rpc.Code.
- details {[key: string]: string}[]
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code int
- The status code, which should be an enum value of google.rpc.Code.
- details Sequence[Mapping[str, str]]
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message str
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Number
- The status code, which should be an enum value of google.rpc.Code.
- details List<Map<String>>
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message String
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
TfLiteModel, TfLiteModelArgs      
- AutomlModel string
- The AutoML model id referencing a model you created with the AutoML API. The name should have format 'projects//locations//models/' (This is the model resource name returned from the AutoML API)
- GcsTflite stringUri 
- The TfLite file containing the model. (Stored in Google Cloud). The gcs_tflite_uri should have form: gs://some-bucket/some-model.tflite Note: If you update the file in the original location, it is necessary to call UpdateModel for ML to pick up and validate the updated file.
- AutomlModel string
- The AutoML model id referencing a model you created with the AutoML API. The name should have format 'projects//locations//models/' (This is the model resource name returned from the AutoML API)
- GcsTflite stringUri 
- The TfLite file containing the model. (Stored in Google Cloud). The gcs_tflite_uri should have form: gs://some-bucket/some-model.tflite Note: If you update the file in the original location, it is necessary to call UpdateModel for ML to pick up and validate the updated file.
- automlModel String
- The AutoML model id referencing a model you created with the AutoML API. The name should have format 'projects//locations//models/' (This is the model resource name returned from the AutoML API)
- gcsTflite StringUri 
- The TfLite file containing the model. (Stored in Google Cloud). The gcs_tflite_uri should have form: gs://some-bucket/some-model.tflite Note: If you update the file in the original location, it is necessary to call UpdateModel for ML to pick up and validate the updated file.
- automlModel string
- The AutoML model id referencing a model you created with the AutoML API. The name should have format 'projects//locations//models/' (This is the model resource name returned from the AutoML API)
- gcsTflite stringUri 
- The TfLite file containing the model. (Stored in Google Cloud). The gcs_tflite_uri should have form: gs://some-bucket/some-model.tflite Note: If you update the file in the original location, it is necessary to call UpdateModel for ML to pick up and validate the updated file.
- automl_model str
- The AutoML model id referencing a model you created with the AutoML API. The name should have format 'projects//locations//models/' (This is the model resource name returned from the AutoML API)
- gcs_tflite_ struri 
- The TfLite file containing the model. (Stored in Google Cloud). The gcs_tflite_uri should have form: gs://some-bucket/some-model.tflite Note: If you update the file in the original location, it is necessary to call UpdateModel for ML to pick up and validate the updated file.
- automlModel String
- The AutoML model id referencing a model you created with the AutoML API. The name should have format 'projects//locations//models/' (This is the model resource name returned from the AutoML API)
- gcsTflite StringUri 
- The TfLite file containing the model. (Stored in Google Cloud). The gcs_tflite_uri should have form: gs://some-bucket/some-model.tflite Note: If you update the file in the original location, it is necessary to call UpdateModel for ML to pick up and validate the updated file.
TfLiteModelResponse, TfLiteModelResponseArgs        
- AutomlModel string
- The AutoML model id referencing a model you created with the AutoML API. The name should have format 'projects//locations//models/' (This is the model resource name returned from the AutoML API)
- GcsTflite stringUri 
- The TfLite file containing the model. (Stored in Google Cloud). The gcs_tflite_uri should have form: gs://some-bucket/some-model.tflite Note: If you update the file in the original location, it is necessary to call UpdateModel for ML to pick up and validate the updated file.
- SizeBytes string
- The size of the TFLite model
- AutomlModel string
- The AutoML model id referencing a model you created with the AutoML API. The name should have format 'projects//locations//models/' (This is the model resource name returned from the AutoML API)
- GcsTflite stringUri 
- The TfLite file containing the model. (Stored in Google Cloud). The gcs_tflite_uri should have form: gs://some-bucket/some-model.tflite Note: If you update the file in the original location, it is necessary to call UpdateModel for ML to pick up and validate the updated file.
- SizeBytes string
- The size of the TFLite model
- automlModel String
- The AutoML model id referencing a model you created with the AutoML API. The name should have format 'projects//locations//models/' (This is the model resource name returned from the AutoML API)
- gcsTflite StringUri 
- The TfLite file containing the model. (Stored in Google Cloud). The gcs_tflite_uri should have form: gs://some-bucket/some-model.tflite Note: If you update the file in the original location, it is necessary to call UpdateModel for ML to pick up and validate the updated file.
- sizeBytes String
- The size of the TFLite model
- automlModel string
- The AutoML model id referencing a model you created with the AutoML API. The name should have format 'projects//locations//models/' (This is the model resource name returned from the AutoML API)
- gcsTflite stringUri 
- The TfLite file containing the model. (Stored in Google Cloud). The gcs_tflite_uri should have form: gs://some-bucket/some-model.tflite Note: If you update the file in the original location, it is necessary to call UpdateModel for ML to pick up and validate the updated file.
- sizeBytes string
- The size of the TFLite model
- automl_model str
- The AutoML model id referencing a model you created with the AutoML API. The name should have format 'projects//locations//models/' (This is the model resource name returned from the AutoML API)
- gcs_tflite_ struri 
- The TfLite file containing the model. (Stored in Google Cloud). The gcs_tflite_uri should have form: gs://some-bucket/some-model.tflite Note: If you update the file in the original location, it is necessary to call UpdateModel for ML to pick up and validate the updated file.
- size_bytes str
- The size of the TFLite model
- automlModel String
- The AutoML model id referencing a model you created with the AutoML API. The name should have format 'projects//locations//models/' (This is the model resource name returned from the AutoML API)
- gcsTflite StringUri 
- The TfLite file containing the model. (Stored in Google Cloud). The gcs_tflite_uri should have form: gs://some-bucket/some-model.tflite Note: If you update the file in the original location, it is necessary to call UpdateModel for ML to pick up and validate the updated file.
- sizeBytes String
- The size of the TFLite model
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.