Documentation
¶
Index ¶
- type LookupModelArgs
- type LookupModelOutputArgs
- type LookupModelResult
- type LookupModelResultOutput
- func (o LookupModelResultOutput) ActiveOperations() OperationResponseArrayOutput
- func (o LookupModelResultOutput) CreateTime() pulumi.StringOutput
- func (o LookupModelResultOutput) DisplayName() pulumi.StringOutput
- func (LookupModelResultOutput) ElementType() reflect.Type
- func (o LookupModelResultOutput) Etag() pulumi.StringOutput
- func (o LookupModelResultOutput) ModelHash() pulumi.StringOutput
- func (o LookupModelResultOutput) Name() pulumi.StringOutput
- func (o LookupModelResultOutput) State() ModelStateResponseOutput
- func (o LookupModelResultOutput) Tags() pulumi.StringArrayOutput
- func (o LookupModelResultOutput) TfliteModel() TfLiteModelResponseOutput
- func (o LookupModelResultOutput) ToLookupModelResultOutput() LookupModelResultOutput
- func (o LookupModelResultOutput) ToLookupModelResultOutputWithContext(ctx context.Context) LookupModelResultOutput
- func (o LookupModelResultOutput) UpdateTime() pulumi.StringOutput
- type Model
- type ModelArgs
- type ModelInput
- type ModelOutput
- func (o ModelOutput) ActiveOperations() OperationResponseArrayOutput
- func (o ModelOutput) CreateTime() pulumi.StringOutput
- func (o ModelOutput) DisplayName() pulumi.StringOutput
- func (ModelOutput) ElementType() reflect.Type
- func (o ModelOutput) Etag() pulumi.StringOutput
- func (o ModelOutput) ModelHash() pulumi.StringOutput
- func (o ModelOutput) Name() pulumi.StringOutput
- func (o ModelOutput) Project() pulumi.StringOutput
- func (o ModelOutput) State() ModelStateResponseOutput
- func (o ModelOutput) Tags() pulumi.StringArrayOutput
- func (o ModelOutput) TfliteModel() TfLiteModelResponseOutput
- func (o ModelOutput) ToModelOutput() ModelOutput
- func (o ModelOutput) ToModelOutputWithContext(ctx context.Context) ModelOutput
- func (o ModelOutput) UpdateTime() pulumi.StringOutput
- type ModelState
- type ModelStateResponse
- type ModelStateResponseOutput
- func (ModelStateResponseOutput) ElementType() reflect.Type
- func (o ModelStateResponseOutput) Published() pulumi.BoolOutput
- func (o ModelStateResponseOutput) ToModelStateResponseOutput() ModelStateResponseOutput
- func (o ModelStateResponseOutput) ToModelStateResponseOutputWithContext(ctx context.Context) ModelStateResponseOutput
- func (o ModelStateResponseOutput) ValidationError() StatusResponseOutput
- type ModelStateType
- type ModelStateTypeArgs
- func (ModelStateTypeArgs) ElementType() reflect.Type
- func (i ModelStateTypeArgs) ToModelStateTypeOutput() ModelStateTypeOutput
- func (i ModelStateTypeArgs) ToModelStateTypeOutputWithContext(ctx context.Context) ModelStateTypeOutput
- func (i ModelStateTypeArgs) ToModelStateTypePtrOutput() ModelStateTypePtrOutput
- func (i ModelStateTypeArgs) ToModelStateTypePtrOutputWithContext(ctx context.Context) ModelStateTypePtrOutput
- type ModelStateTypeInput
- type ModelStateTypeOutput
- func (ModelStateTypeOutput) ElementType() reflect.Type
- func (o ModelStateTypeOutput) Published() pulumi.BoolPtrOutput
- func (o ModelStateTypeOutput) ToModelStateTypeOutput() ModelStateTypeOutput
- func (o ModelStateTypeOutput) ToModelStateTypeOutputWithContext(ctx context.Context) ModelStateTypeOutput
- func (o ModelStateTypeOutput) ToModelStateTypePtrOutput() ModelStateTypePtrOutput
- func (o ModelStateTypeOutput) ToModelStateTypePtrOutputWithContext(ctx context.Context) ModelStateTypePtrOutput
- type ModelStateTypePtrInput
- type ModelStateTypePtrOutput
- func (o ModelStateTypePtrOutput) Elem() ModelStateTypeOutput
- func (ModelStateTypePtrOutput) ElementType() reflect.Type
- func (o ModelStateTypePtrOutput) Published() pulumi.BoolPtrOutput
- func (o ModelStateTypePtrOutput) ToModelStateTypePtrOutput() ModelStateTypePtrOutput
- func (o ModelStateTypePtrOutput) ToModelStateTypePtrOutputWithContext(ctx context.Context) ModelStateTypePtrOutput
- type OperationResponse
- type OperationResponseArrayOutput
- func (OperationResponseArrayOutput) ElementType() reflect.Type
- func (o OperationResponseArrayOutput) Index(i pulumi.IntInput) OperationResponseOutput
- func (o OperationResponseArrayOutput) ToOperationResponseArrayOutput() OperationResponseArrayOutput
- func (o OperationResponseArrayOutput) ToOperationResponseArrayOutputWithContext(ctx context.Context) OperationResponseArrayOutput
- type OperationResponseOutput
- func (o OperationResponseOutput) Done() pulumi.BoolOutput
- func (OperationResponseOutput) ElementType() reflect.Type
- func (o OperationResponseOutput) Error() StatusResponseOutput
- func (o OperationResponseOutput) Metadata() pulumi.StringMapOutput
- func (o OperationResponseOutput) Name() pulumi.StringOutput
- func (o OperationResponseOutput) Response() pulumi.StringMapOutput
- func (o OperationResponseOutput) ToOperationResponseOutput() OperationResponseOutput
- func (o OperationResponseOutput) ToOperationResponseOutputWithContext(ctx context.Context) OperationResponseOutput
- type StatusResponse
- type StatusResponseOutput
- func (o StatusResponseOutput) Code() pulumi.IntOutput
- func (o StatusResponseOutput) Details() pulumi.StringMapArrayOutput
- func (StatusResponseOutput) ElementType() reflect.Type
- func (o StatusResponseOutput) Message() pulumi.StringOutput
- func (o StatusResponseOutput) ToStatusResponseOutput() StatusResponseOutput
- func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Context) StatusResponseOutput
- type TfLiteModel
- type TfLiteModelArgs
- func (TfLiteModelArgs) ElementType() reflect.Type
- func (i TfLiteModelArgs) ToTfLiteModelOutput() TfLiteModelOutput
- func (i TfLiteModelArgs) ToTfLiteModelOutputWithContext(ctx context.Context) TfLiteModelOutput
- func (i TfLiteModelArgs) ToTfLiteModelPtrOutput() TfLiteModelPtrOutput
- func (i TfLiteModelArgs) ToTfLiteModelPtrOutputWithContext(ctx context.Context) TfLiteModelPtrOutput
- type TfLiteModelInput
- type TfLiteModelOutput
- func (o TfLiteModelOutput) AutomlModel() pulumi.StringPtrOutput
- func (TfLiteModelOutput) ElementType() reflect.Type
- func (o TfLiteModelOutput) GcsTfliteUri() pulumi.StringPtrOutput
- func (o TfLiteModelOutput) ToTfLiteModelOutput() TfLiteModelOutput
- func (o TfLiteModelOutput) ToTfLiteModelOutputWithContext(ctx context.Context) TfLiteModelOutput
- func (o TfLiteModelOutput) ToTfLiteModelPtrOutput() TfLiteModelPtrOutput
- func (o TfLiteModelOutput) ToTfLiteModelPtrOutputWithContext(ctx context.Context) TfLiteModelPtrOutput
- type TfLiteModelPtrInput
- type TfLiteModelPtrOutput
- func (o TfLiteModelPtrOutput) AutomlModel() pulumi.StringPtrOutput
- func (o TfLiteModelPtrOutput) Elem() TfLiteModelOutput
- func (TfLiteModelPtrOutput) ElementType() reflect.Type
- func (o TfLiteModelPtrOutput) GcsTfliteUri() pulumi.StringPtrOutput
- func (o TfLiteModelPtrOutput) ToTfLiteModelPtrOutput() TfLiteModelPtrOutput
- func (o TfLiteModelPtrOutput) ToTfLiteModelPtrOutputWithContext(ctx context.Context) TfLiteModelPtrOutput
- type TfLiteModelResponse
- type TfLiteModelResponseOutput
- func (o TfLiteModelResponseOutput) AutomlModel() pulumi.StringOutput
- func (TfLiteModelResponseOutput) ElementType() reflect.Type
- func (o TfLiteModelResponseOutput) GcsTfliteUri() pulumi.StringOutput
- func (o TfLiteModelResponseOutput) SizeBytes() pulumi.StringOutput
- func (o TfLiteModelResponseOutput) ToTfLiteModelResponseOutput() TfLiteModelResponseOutput
- func (o TfLiteModelResponseOutput) ToTfLiteModelResponseOutputWithContext(ctx context.Context) TfLiteModelResponseOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookupModelArgs ¶ added in v0.4.0
type LookupModelOutputArgs ¶ added in v0.8.0
type LookupModelOutputArgs struct { ModelId pulumi.StringInput `pulumi:"modelId"` Project pulumi.StringPtrInput `pulumi:"project"` }
func (LookupModelOutputArgs) ElementType ¶ added in v0.8.0
func (LookupModelOutputArgs) ElementType() reflect.Type
type LookupModelResult ¶ added in v0.4.0
type LookupModelResult struct { // Lists operation ids associated with this model whose status is NOT done. ActiveOperations []OperationResponse `pulumi:"activeOperations"` // Timestamp when this model was created in Firebase ML. CreateTime string `pulumi:"createTime"` // 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 string `pulumi:"displayName"` // See RFC7232 https://tools.ietf.org/html/rfc7232#section-2.3 Etag string `pulumi:"etag"` // The model_hash will change if a new file is available for download. ModelHash string `pulumi:"modelHash"` // 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 string `pulumi:"name"` // State common to all model types. Includes publishing and validation information. State ModelStateResponse `pulumi:"state"` // User defined tags which can be used to group/filter models during listing Tags []string `pulumi:"tags"` // A TFLite Model TfliteModel TfLiteModelResponse `pulumi:"tfliteModel"` // Timestamp when this model was updated in Firebase ML. UpdateTime string `pulumi:"updateTime"` }
func LookupModel ¶ added in v0.4.0
func LookupModel(ctx *pulumi.Context, args *LookupModelArgs, opts ...pulumi.InvokeOption) (*LookupModelResult, error)
Gets a model resource.
type LookupModelResultOutput ¶ added in v0.8.0
type LookupModelResultOutput struct{ *pulumi.OutputState }
func LookupModelOutput ¶ added in v0.8.0
func LookupModelOutput(ctx *pulumi.Context, args LookupModelOutputArgs, opts ...pulumi.InvokeOption) LookupModelResultOutput
func (LookupModelResultOutput) ActiveOperations ¶ added in v0.8.0
func (o LookupModelResultOutput) ActiveOperations() OperationResponseArrayOutput
Lists operation ids associated with this model whose status is NOT done.
func (LookupModelResultOutput) CreateTime ¶ added in v0.8.0
func (o LookupModelResultOutput) CreateTime() pulumi.StringOutput
Timestamp when this model was created in Firebase ML.
func (LookupModelResultOutput) DisplayName ¶ added in v0.8.0
func (o LookupModelResultOutput) DisplayName() pulumi.StringOutput
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.
func (LookupModelResultOutput) ElementType ¶ added in v0.8.0
func (LookupModelResultOutput) ElementType() reflect.Type
func (LookupModelResultOutput) Etag ¶ added in v0.8.0
func (o LookupModelResultOutput) Etag() pulumi.StringOutput
See RFC7232 https://tools.ietf.org/html/rfc7232#section-2.3
func (LookupModelResultOutput) ModelHash ¶ added in v0.8.0
func (o LookupModelResultOutput) ModelHash() pulumi.StringOutput
The model_hash will change if a new file is available for download.
func (LookupModelResultOutput) Name ¶ added in v0.8.0
func (o LookupModelResultOutput) Name() pulumi.StringOutput
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.
func (LookupModelResultOutput) State ¶ added in v0.8.0
func (o LookupModelResultOutput) State() ModelStateResponseOutput
State common to all model types. Includes publishing and validation information.
func (LookupModelResultOutput) Tags ¶ added in v0.8.0
func (o LookupModelResultOutput) Tags() pulumi.StringArrayOutput
User defined tags which can be used to group/filter models during listing
func (LookupModelResultOutput) TfliteModel ¶ added in v0.8.0
func (o LookupModelResultOutput) TfliteModel() TfLiteModelResponseOutput
A TFLite Model
func (LookupModelResultOutput) ToLookupModelResultOutput ¶ added in v0.8.0
func (o LookupModelResultOutput) ToLookupModelResultOutput() LookupModelResultOutput
func (LookupModelResultOutput) ToLookupModelResultOutputWithContext ¶ added in v0.8.0
func (o LookupModelResultOutput) ToLookupModelResultOutputWithContext(ctx context.Context) LookupModelResultOutput
func (LookupModelResultOutput) UpdateTime ¶ added in v0.8.0
func (o LookupModelResultOutput) UpdateTime() pulumi.StringOutput
Timestamp when this model was updated in Firebase ML.
type Model ¶
type Model struct { pulumi.CustomResourceState // Lists operation ids associated with this model whose status is NOT done. ActiveOperations OperationResponseArrayOutput `pulumi:"activeOperations"` // Timestamp when this model was created in Firebase ML. CreateTime pulumi.StringOutput `pulumi:"createTime"` // 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.StringOutput `pulumi:"displayName"` // See RFC7232 https://tools.ietf.org/html/rfc7232#section-2.3 Etag pulumi.StringOutput `pulumi:"etag"` // The model_hash will change if a new file is available for download. ModelHash pulumi.StringOutput `pulumi:"modelHash"` // 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.StringOutput `pulumi:"name"` Project pulumi.StringOutput `pulumi:"project"` // State common to all model types. Includes publishing and validation information. State ModelStateResponseOutput `pulumi:"state"` // User defined tags which can be used to group/filter models during listing Tags pulumi.StringArrayOutput `pulumi:"tags"` // A TFLite Model TfliteModel TfLiteModelResponseOutput `pulumi:"tfliteModel"` // Timestamp when this model was updated in Firebase ML. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
Creates a model in Firebase ML. The longrunning operation will eventually return a Model
func GetModel ¶
func GetModel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ModelState, opts ...pulumi.ResourceOption) (*Model, error)
GetModel gets an existing Model resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewModel ¶
func NewModel(ctx *pulumi.Context, name string, args *ModelArgs, opts ...pulumi.ResourceOption) (*Model, error)
NewModel registers a new resource with the given unique name, arguments, and options.
func (*Model) ElementType ¶
func (*Model) ToModelOutput ¶
func (i *Model) ToModelOutput() ModelOutput
func (*Model) ToModelOutputWithContext ¶
func (i *Model) ToModelOutputWithContext(ctx context.Context) ModelOutput
type ModelArgs ¶
type ModelArgs struct { // 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.StringInput // 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.StringPtrInput Project pulumi.StringPtrInput // State common to all model types. Includes publishing and validation information. State ModelStateTypePtrInput // User defined tags which can be used to group/filter models during listing Tags pulumi.StringArrayInput // A TFLite Model TfliteModel TfLiteModelPtrInput }
The set of arguments for constructing a Model resource.
func (ModelArgs) ElementType ¶
type ModelInput ¶
type ModelInput interface { pulumi.Input ToModelOutput() ModelOutput ToModelOutputWithContext(ctx context.Context) ModelOutput }
type ModelOutput ¶
type ModelOutput struct{ *pulumi.OutputState }
func (ModelOutput) ActiveOperations ¶ added in v0.19.0
func (o ModelOutput) ActiveOperations() OperationResponseArrayOutput
Lists operation ids associated with this model whose status is NOT done.
func (ModelOutput) CreateTime ¶ added in v0.19.0
func (o ModelOutput) CreateTime() pulumi.StringOutput
Timestamp when this model was created in Firebase ML.
func (ModelOutput) DisplayName ¶ added in v0.19.0
func (o ModelOutput) DisplayName() pulumi.StringOutput
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.
func (ModelOutput) ElementType ¶
func (ModelOutput) ElementType() reflect.Type
func (ModelOutput) Etag ¶ added in v0.19.0
func (o ModelOutput) Etag() pulumi.StringOutput
See RFC7232 https://tools.ietf.org/html/rfc7232#section-2.3
func (ModelOutput) ModelHash ¶ added in v0.19.0
func (o ModelOutput) ModelHash() pulumi.StringOutput
The model_hash will change if a new file is available for download.
func (ModelOutput) Name ¶ added in v0.19.0
func (o ModelOutput) Name() pulumi.StringOutput
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.
func (ModelOutput) Project ¶ added in v0.21.0
func (o ModelOutput) Project() pulumi.StringOutput
func (ModelOutput) State ¶ added in v0.19.0
func (o ModelOutput) State() ModelStateResponseOutput
State common to all model types. Includes publishing and validation information.
func (ModelOutput) Tags ¶ added in v0.19.0
func (o ModelOutput) Tags() pulumi.StringArrayOutput
User defined tags which can be used to group/filter models during listing
func (ModelOutput) TfliteModel ¶ added in v0.19.0
func (o ModelOutput) TfliteModel() TfLiteModelResponseOutput
A TFLite Model
func (ModelOutput) ToModelOutput ¶
func (o ModelOutput) ToModelOutput() ModelOutput
func (ModelOutput) ToModelOutputWithContext ¶
func (o ModelOutput) ToModelOutputWithContext(ctx context.Context) ModelOutput
func (ModelOutput) UpdateTime ¶ added in v0.19.0
func (o ModelOutput) UpdateTime() pulumi.StringOutput
Timestamp when this model was updated in Firebase ML.
type ModelState ¶
type ModelState struct { }
func (ModelState) ElementType ¶
func (ModelState) ElementType() reflect.Type
type ModelStateResponse ¶
type ModelStateResponse struct { // Indicates if this model has been published. Published bool `pulumi:"published"` // 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. ValidationError StatusResponse `pulumi:"validationError"` }
State common to all model types. Includes publishing and validation information.
type ModelStateResponseOutput ¶
type ModelStateResponseOutput struct{ *pulumi.OutputState }
State common to all model types. Includes publishing and validation information.
func (ModelStateResponseOutput) ElementType ¶
func (ModelStateResponseOutput) ElementType() reflect.Type
func (ModelStateResponseOutput) Published ¶
func (o ModelStateResponseOutput) Published() pulumi.BoolOutput
Indicates if this model has been published.
func (ModelStateResponseOutput) ToModelStateResponseOutput ¶
func (o ModelStateResponseOutput) ToModelStateResponseOutput() ModelStateResponseOutput
func (ModelStateResponseOutput) ToModelStateResponseOutputWithContext ¶
func (o ModelStateResponseOutput) ToModelStateResponseOutputWithContext(ctx context.Context) ModelStateResponseOutput
func (ModelStateResponseOutput) ValidationError ¶
func (o ModelStateResponseOutput) ValidationError() StatusResponseOutput
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.
type ModelStateType ¶
type ModelStateType struct { // Indicates if this model has been published. Published *bool `pulumi:"published"` }
State common to all model types. Includes publishing and validation information.
type ModelStateTypeArgs ¶
type ModelStateTypeArgs struct { // Indicates if this model has been published. Published pulumi.BoolPtrInput `pulumi:"published"` }
State common to all model types. Includes publishing and validation information.
func (ModelStateTypeArgs) ElementType ¶
func (ModelStateTypeArgs) ElementType() reflect.Type
func (ModelStateTypeArgs) ToModelStateTypeOutput ¶
func (i ModelStateTypeArgs) ToModelStateTypeOutput() ModelStateTypeOutput
func (ModelStateTypeArgs) ToModelStateTypeOutputWithContext ¶
func (i ModelStateTypeArgs) ToModelStateTypeOutputWithContext(ctx context.Context) ModelStateTypeOutput
func (ModelStateTypeArgs) ToModelStateTypePtrOutput ¶
func (i ModelStateTypeArgs) ToModelStateTypePtrOutput() ModelStateTypePtrOutput
func (ModelStateTypeArgs) ToModelStateTypePtrOutputWithContext ¶
func (i ModelStateTypeArgs) ToModelStateTypePtrOutputWithContext(ctx context.Context) ModelStateTypePtrOutput
type ModelStateTypeInput ¶
type ModelStateTypeInput interface { pulumi.Input ToModelStateTypeOutput() ModelStateTypeOutput ToModelStateTypeOutputWithContext(context.Context) ModelStateTypeOutput }
ModelStateTypeInput is an input type that accepts ModelStateTypeArgs and ModelStateTypeOutput values. You can construct a concrete instance of `ModelStateTypeInput` via:
ModelStateTypeArgs{...}
type ModelStateTypeOutput ¶
type ModelStateTypeOutput struct{ *pulumi.OutputState }
State common to all model types. Includes publishing and validation information.
func (ModelStateTypeOutput) ElementType ¶
func (ModelStateTypeOutput) ElementType() reflect.Type
func (ModelStateTypeOutput) Published ¶
func (o ModelStateTypeOutput) Published() pulumi.BoolPtrOutput
Indicates if this model has been published.
func (ModelStateTypeOutput) ToModelStateTypeOutput ¶
func (o ModelStateTypeOutput) ToModelStateTypeOutput() ModelStateTypeOutput
func (ModelStateTypeOutput) ToModelStateTypeOutputWithContext ¶
func (o ModelStateTypeOutput) ToModelStateTypeOutputWithContext(ctx context.Context) ModelStateTypeOutput
func (ModelStateTypeOutput) ToModelStateTypePtrOutput ¶
func (o ModelStateTypeOutput) ToModelStateTypePtrOutput() ModelStateTypePtrOutput
func (ModelStateTypeOutput) ToModelStateTypePtrOutputWithContext ¶
func (o ModelStateTypeOutput) ToModelStateTypePtrOutputWithContext(ctx context.Context) ModelStateTypePtrOutput
type ModelStateTypePtrInput ¶
type ModelStateTypePtrInput interface { pulumi.Input ToModelStateTypePtrOutput() ModelStateTypePtrOutput ToModelStateTypePtrOutputWithContext(context.Context) ModelStateTypePtrOutput }
ModelStateTypePtrInput is an input type that accepts ModelStateTypeArgs, ModelStateTypePtr and ModelStateTypePtrOutput values. You can construct a concrete instance of `ModelStateTypePtrInput` via:
ModelStateTypeArgs{...} or: nil
func ModelStateTypePtr ¶
func ModelStateTypePtr(v *ModelStateTypeArgs) ModelStateTypePtrInput
type ModelStateTypePtrOutput ¶
type ModelStateTypePtrOutput struct{ *pulumi.OutputState }
func (ModelStateTypePtrOutput) Elem ¶
func (o ModelStateTypePtrOutput) Elem() ModelStateTypeOutput
func (ModelStateTypePtrOutput) ElementType ¶
func (ModelStateTypePtrOutput) ElementType() reflect.Type
func (ModelStateTypePtrOutput) Published ¶
func (o ModelStateTypePtrOutput) Published() pulumi.BoolPtrOutput
Indicates if this model has been published.
func (ModelStateTypePtrOutput) ToModelStateTypePtrOutput ¶
func (o ModelStateTypePtrOutput) ToModelStateTypePtrOutput() ModelStateTypePtrOutput
func (ModelStateTypePtrOutput) ToModelStateTypePtrOutputWithContext ¶
func (o ModelStateTypePtrOutput) ToModelStateTypePtrOutputWithContext(ctx context.Context) ModelStateTypePtrOutput
type OperationResponse ¶
type OperationResponse struct { // If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. Done bool `pulumi:"done"` // The error result of the operation in case of failure or cancellation. Error StatusResponse `pulumi:"error"` // 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. Metadata map[string]string `pulumi:"metadata"` // 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 with `operations/{unique_id}`. Name string `pulumi:"name"` // The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. Response map[string]string `pulumi:"response"` }
This resource represents a long-running operation that is the result of a network API call.
type OperationResponseArrayOutput ¶
type OperationResponseArrayOutput struct{ *pulumi.OutputState }
func (OperationResponseArrayOutput) ElementType ¶
func (OperationResponseArrayOutput) ElementType() reflect.Type
func (OperationResponseArrayOutput) Index ¶
func (o OperationResponseArrayOutput) Index(i pulumi.IntInput) OperationResponseOutput
func (OperationResponseArrayOutput) ToOperationResponseArrayOutput ¶
func (o OperationResponseArrayOutput) ToOperationResponseArrayOutput() OperationResponseArrayOutput
func (OperationResponseArrayOutput) ToOperationResponseArrayOutputWithContext ¶
func (o OperationResponseArrayOutput) ToOperationResponseArrayOutputWithContext(ctx context.Context) OperationResponseArrayOutput
type OperationResponseOutput ¶
type OperationResponseOutput struct{ *pulumi.OutputState }
This resource represents a long-running operation that is the result of a network API call.
func (OperationResponseOutput) Done ¶
func (o OperationResponseOutput) Done() pulumi.BoolOutput
If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
func (OperationResponseOutput) ElementType ¶
func (OperationResponseOutput) ElementType() reflect.Type
func (OperationResponseOutput) Error ¶
func (o OperationResponseOutput) Error() StatusResponseOutput
The error result of the operation in case of failure or cancellation.
func (OperationResponseOutput) Metadata ¶
func (o OperationResponseOutput) Metadata() pulumi.StringMapOutput
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.
func (OperationResponseOutput) Name ¶
func (o OperationResponseOutput) Name() pulumi.StringOutput
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 with `operations/{unique_id}`.
func (OperationResponseOutput) Response ¶
func (o OperationResponseOutput) Response() pulumi.StringMapOutput
The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
func (OperationResponseOutput) ToOperationResponseOutput ¶
func (o OperationResponseOutput) ToOperationResponseOutput() OperationResponseOutput
func (OperationResponseOutput) ToOperationResponseOutputWithContext ¶
func (o OperationResponseOutput) ToOperationResponseOutputWithContext(ctx context.Context) OperationResponseOutput
type StatusResponse ¶
type StatusResponse struct { // The status code, which should be an enum value of google.rpc.Code. Code int `pulumi:"code"` // A list of messages that carry the error details. There is a common set of message types for APIs to use. Details []map[string]string `pulumi:"details"` // 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. Message string `pulumi:"message"` }
The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
type StatusResponseOutput ¶
type StatusResponseOutput struct{ *pulumi.OutputState }
The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
func (StatusResponseOutput) Code ¶
func (o StatusResponseOutput) Code() pulumi.IntOutput
The status code, which should be an enum value of google.rpc.Code.
func (StatusResponseOutput) Details ¶
func (o StatusResponseOutput) Details() pulumi.StringMapArrayOutput
A list of messages that carry the error details. There is a common set of message types for APIs to use.
func (StatusResponseOutput) ElementType ¶
func (StatusResponseOutput) ElementType() reflect.Type
func (StatusResponseOutput) Message ¶
func (o StatusResponseOutput) Message() pulumi.StringOutput
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.
func (StatusResponseOutput) ToStatusResponseOutput ¶
func (o StatusResponseOutput) ToStatusResponseOutput() StatusResponseOutput
func (StatusResponseOutput) ToStatusResponseOutputWithContext ¶
func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Context) StatusResponseOutput
type TfLiteModel ¶
type TfLiteModel struct { // 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) AutomlModel *string `pulumi:"automlModel"` // 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. GcsTfliteUri *string `pulumi:"gcsTfliteUri"` }
Information that is specific to TfLite models.
type TfLiteModelArgs ¶
type TfLiteModelArgs struct { // 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) AutomlModel pulumi.StringPtrInput `pulumi:"automlModel"` // 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. GcsTfliteUri pulumi.StringPtrInput `pulumi:"gcsTfliteUri"` }
Information that is specific to TfLite models.
func (TfLiteModelArgs) ElementType ¶
func (TfLiteModelArgs) ElementType() reflect.Type
func (TfLiteModelArgs) ToTfLiteModelOutput ¶
func (i TfLiteModelArgs) ToTfLiteModelOutput() TfLiteModelOutput
func (TfLiteModelArgs) ToTfLiteModelOutputWithContext ¶
func (i TfLiteModelArgs) ToTfLiteModelOutputWithContext(ctx context.Context) TfLiteModelOutput
func (TfLiteModelArgs) ToTfLiteModelPtrOutput ¶
func (i TfLiteModelArgs) ToTfLiteModelPtrOutput() TfLiteModelPtrOutput
func (TfLiteModelArgs) ToTfLiteModelPtrOutputWithContext ¶
func (i TfLiteModelArgs) ToTfLiteModelPtrOutputWithContext(ctx context.Context) TfLiteModelPtrOutput
type TfLiteModelInput ¶
type TfLiteModelInput interface { pulumi.Input ToTfLiteModelOutput() TfLiteModelOutput ToTfLiteModelOutputWithContext(context.Context) TfLiteModelOutput }
TfLiteModelInput is an input type that accepts TfLiteModelArgs and TfLiteModelOutput values. You can construct a concrete instance of `TfLiteModelInput` via:
TfLiteModelArgs{...}
type TfLiteModelOutput ¶
type TfLiteModelOutput struct{ *pulumi.OutputState }
Information that is specific to TfLite models.
func (TfLiteModelOutput) AutomlModel ¶
func (o TfLiteModelOutput) AutomlModel() pulumi.StringPtrOutput
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)
func (TfLiteModelOutput) ElementType ¶
func (TfLiteModelOutput) ElementType() reflect.Type
func (TfLiteModelOutput) GcsTfliteUri ¶
func (o TfLiteModelOutput) GcsTfliteUri() pulumi.StringPtrOutput
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.
func (TfLiteModelOutput) ToTfLiteModelOutput ¶
func (o TfLiteModelOutput) ToTfLiteModelOutput() TfLiteModelOutput
func (TfLiteModelOutput) ToTfLiteModelOutputWithContext ¶
func (o TfLiteModelOutput) ToTfLiteModelOutputWithContext(ctx context.Context) TfLiteModelOutput
func (TfLiteModelOutput) ToTfLiteModelPtrOutput ¶
func (o TfLiteModelOutput) ToTfLiteModelPtrOutput() TfLiteModelPtrOutput
func (TfLiteModelOutput) ToTfLiteModelPtrOutputWithContext ¶
func (o TfLiteModelOutput) ToTfLiteModelPtrOutputWithContext(ctx context.Context) TfLiteModelPtrOutput
type TfLiteModelPtrInput ¶
type TfLiteModelPtrInput interface { pulumi.Input ToTfLiteModelPtrOutput() TfLiteModelPtrOutput ToTfLiteModelPtrOutputWithContext(context.Context) TfLiteModelPtrOutput }
TfLiteModelPtrInput is an input type that accepts TfLiteModelArgs, TfLiteModelPtr and TfLiteModelPtrOutput values. You can construct a concrete instance of `TfLiteModelPtrInput` via:
TfLiteModelArgs{...} or: nil
func TfLiteModelPtr ¶
func TfLiteModelPtr(v *TfLiteModelArgs) TfLiteModelPtrInput
type TfLiteModelPtrOutput ¶
type TfLiteModelPtrOutput struct{ *pulumi.OutputState }
func (TfLiteModelPtrOutput) AutomlModel ¶
func (o TfLiteModelPtrOutput) AutomlModel() pulumi.StringPtrOutput
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)
func (TfLiteModelPtrOutput) Elem ¶
func (o TfLiteModelPtrOutput) Elem() TfLiteModelOutput
func (TfLiteModelPtrOutput) ElementType ¶
func (TfLiteModelPtrOutput) ElementType() reflect.Type
func (TfLiteModelPtrOutput) GcsTfliteUri ¶
func (o TfLiteModelPtrOutput) GcsTfliteUri() pulumi.StringPtrOutput
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.
func (TfLiteModelPtrOutput) ToTfLiteModelPtrOutput ¶
func (o TfLiteModelPtrOutput) ToTfLiteModelPtrOutput() TfLiteModelPtrOutput
func (TfLiteModelPtrOutput) ToTfLiteModelPtrOutputWithContext ¶
func (o TfLiteModelPtrOutput) ToTfLiteModelPtrOutputWithContext(ctx context.Context) TfLiteModelPtrOutput
type TfLiteModelResponse ¶
type TfLiteModelResponse struct { // 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) AutomlModel string `pulumi:"automlModel"` // 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. GcsTfliteUri string `pulumi:"gcsTfliteUri"` // The size of the TFLite model SizeBytes string `pulumi:"sizeBytes"` }
Information that is specific to TfLite models.
type TfLiteModelResponseOutput ¶
type TfLiteModelResponseOutput struct{ *pulumi.OutputState }
Information that is specific to TfLite models.
func (TfLiteModelResponseOutput) AutomlModel ¶
func (o TfLiteModelResponseOutput) AutomlModel() pulumi.StringOutput
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)
func (TfLiteModelResponseOutput) ElementType ¶
func (TfLiteModelResponseOutput) ElementType() reflect.Type
func (TfLiteModelResponseOutput) GcsTfliteUri ¶
func (o TfLiteModelResponseOutput) GcsTfliteUri() pulumi.StringOutput
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.
func (TfLiteModelResponseOutput) SizeBytes ¶
func (o TfLiteModelResponseOutput) SizeBytes() pulumi.StringOutput
The size of the TFLite model
func (TfLiteModelResponseOutput) ToTfLiteModelResponseOutput ¶
func (o TfLiteModelResponseOutput) ToTfLiteModelResponseOutput() TfLiteModelResponseOutput
func (TfLiteModelResponseOutput) ToTfLiteModelResponseOutputWithContext ¶
func (o TfLiteModelResponseOutput) ToTfLiteModelResponseOutputWithContext(ctx context.Context) TfLiteModelResponseOutput