Package-level declarations

Types

Link copied to clipboard
data class GetModelResult(val activeOperations: List<OperationResponse>, val createTime: String, val displayName: String, val etag: String, val modelHash: String, val name: String, val state: ModelStateResponse, val tags: List<String>, val tfliteModel: TfLiteModelResponse, val updateTime: String)
Link copied to clipboard
data class ModelStateResponse(val published: Boolean, val validationError: StatusResponse)

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

Link copied to clipboard
data class OperationResponse(val done: Boolean, val error: StatusResponse, val metadata: Map<String, String>, val name: String, val response: Map<String, String>)

This resource represents a long-running operation that is the result of a network API call.

Link copied to clipboard
data class StatusResponse(val code: Int, val details: List<Map<String, String>>, val message: String)

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. 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.

Link copied to clipboard
data class TfLiteModelResponse(val automlModel: String, val gcsTfliteUri: String, val sizeBytes: String)

Information that is specific to TfLite models.