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=google_native.firebaseml.v1beta2.ModelStateArgs(
published=False,
),
tags=["string"],
tflite_model=google_native.firebaseml.v1beta2.TfLiteModelArgs(
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
The Model resource accepts the following input properties:
- Display
Name 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
- Tflite
Model Pulumi.Google Native. Firebase ML. V1Beta2. Inputs. Tf Lite Model - A TFLite Model
- Display
Name 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
Model
State 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
- Tflite
Model TfLite Model Args - A TFLite Model
- display
Name 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
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
- tflite
Model TfLite Model - A TFLite Model
- display
Name 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
Model
State - 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
- tflite
Model 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
Model
State 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
- display
Name 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
- tflite
Model Property Map - A TFLite Model
Outputs
All input properties are implicitly available as output properties. Additionally, the Model resource produces the following output properties:
- Active
Operations List<Pulumi.Google Native. Firebase ML. V1Beta2. Outputs. Operation Response> - Lists operation ids associated with this model whose status is NOT done.
- Create
Time 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.
- Model
Hash string - The model_hash will change if a new file is available for download.
- Update
Time string - Timestamp when this model was updated in Firebase ML.
- Active
Operations []OperationResponse - Lists operation ids associated with this model whose status is NOT done.
- Create
Time 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.
- Model
Hash string - The model_hash will change if a new file is available for download.
- Update
Time string - Timestamp when this model was updated in Firebase ML.
- active
Operations List<OperationResponse> - Lists operation ids associated with this model whose status is NOT done.
- create
Time 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.
- model
Hash String - The model_hash will change if a new file is available for download.
- update
Time String - Timestamp when this model was updated in Firebase ML.
- active
Operations OperationResponse[] - Lists operation ids associated with this model whose status is NOT done.
- create
Time 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.
- model
Hash string - The model_hash will change if a new file is available for download.
- update
Time 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.
- active
Operations List<Property Map> - Lists operation ids associated with this model whose status is NOT done.
- create
Time 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.
- model
Hash String - The model_hash will change if a new file is available for download.
- update
Time 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.
- Validation
Error 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.
- 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.
- 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.
- 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 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.
- validation
Error 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 eithererror
orresponse
is 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
name
should 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
, whereXxx
is 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 eithererror
orresponse
is available. - Error
Status
Response - 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
name
should 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
, whereXxx
is 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 eithererror
orresponse
is available. - error
Status
Response - 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
name
should 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
, whereXxx
is 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 eithererror
orresponse
is available. - error
Status
Response - 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
name
should 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
, whereXxx
is 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 eithererror
orresponse
is available. - error
Status
Response - 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
name
should 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
, whereXxx
is 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 eithererror
orresponse
is 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
name
should 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
, whereXxx
is 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<Immutable
Dictionary<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
- Automl
Model 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)
- Gcs
Tflite 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 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)
- Gcs
Tflite 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 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)
- gcs
Tflite 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 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)
- gcs
Tflite 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.
- automl
Model 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)
- gcs
Tflite 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
- Automl
Model 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)
- Gcs
Tflite 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.
- Size
Bytes string - The size of the TFLite model
- Automl
Model 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)
- Gcs
Tflite 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.
- Size
Bytes string - The size of the TFLite model
- automl
Model 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)
- gcs
Tflite 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.
- size
Bytes String - The size of the TFLite model
- automl
Model 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)
- gcs
Tflite 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.
- size
Bytes 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
- automl
Model 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)
- gcs
Tflite 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.
- size
Bytes 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.