class Google::Apis::FirebasemlV1beta2::ModelState
State common to all model types. Includes publishing and validation information.
Attributes
Indicates if this model has been published. Corresponds to the JSON property `published` @return [Boolean]
Indicates if this model has been published. Corresponds to the JSON property `published` @return [Boolean]
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](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). Corresponds to the JSON property `validationError` @return [Google::Apis::FirebasemlV1beta2::Status]
Public Class Methods
# File lib/google/apis/firebaseml_v1beta2/classes.rb, line 232 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/firebaseml_v1beta2/classes.rb, line 237 def update!(**args) @published = args[:published] if args.key?(:published) @validation_error = args[:validation_error] if args.key?(:validation_error) end