state property

String? state
getter/setter pair

State of the model.

A model can only serve prediction requests after it gets deployed.

Output only. Possible string values are:

  • "STATE_UNSPECIFIED" : Should not be used, an un-set enum has this value by default.
  • "CREATING" : Model being created.
  • "UNDEPLOYED" : Model is not deployed but ready to deploy.
  • "DEPLOYING" : Model is deploying.
  • "DEPLOYED" : Model is deployed and ready to use.
  • "UNDEPLOYING" : Model is undeploying.
  • "DELETING" : Model is deleting.
  • "FAILED" : Model is in error state. Not ready to deploy and use.
  • "PENDING" : Model is being created but the training has not started, The model may remain in this state until there is enough capacity to start training.

Implementation

core.String? state;