class Google::Apis::MlV1::GoogleCloudMlV1OperationMetadata
Represents the metadata of the long-running operation.
Attributes
The time the operation was submitted. Corresponds to the JSON property `createTime` @return [String]
The time operation processing completed. Corresponds to the JSON property `endTime` @return [String]
Indicates whether a request to cancel this operation has been made. Corresponds to the JSON property `isCancellationRequested` @return [Boolean]
Indicates whether a request to cancel this operation has been made. Corresponds to the JSON property `isCancellationRequested` @return [Boolean]
The user labels, inherited from the model or the model version being operated on. Corresponds to the JSON property `labels` @return [Hash<String,String>]
Contains the name of the model associated with the operation. Corresponds to the JSON property `modelName` @return [String]
The operation type. Corresponds to the JSON property `operationType` @return [String]
Contains the project number associated with the operation. Corresponds to the JSON property `projectNumber` @return [Fixnum]
The time operation processing started. Corresponds to the JSON property `startTime` @return [String]
Represents a version of the model. Each version is a trained model deployed in the cloud, ready to handle prediction requests. A model can have multiple versions. You can get information about all of the versions of a given model by calling projects.models.versions.list. Corresponds to the JSON property `version` @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
Public Class Methods
# File lib/google/apis/ml_v1/classes.rb, line 1882 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/ml_v1/classes.rb, line 1887 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @end_time = args[:end_time] if args.key?(:end_time) @is_cancellation_requested = args[:is_cancellation_requested] if args.key?(:is_cancellation_requested) @labels = args[:labels] if args.key?(:labels) @model_name = args[:model_name] if args.key?(:model_name) @operation_type = args[:operation_type] if args.key?(:operation_type) @project_number = args[:project_number] if args.key?(:project_number) @start_time = args[:start_time] if args.key?(:start_time) @version = args[:version] if args.key?(:version) end