class Google::Apis::MlV1::GoogleCloudMlV1OperationMetadata

Represents the metadata of the long-running operation.

Attributes

create_time[RW]

The time the operation was submitted. Corresponds to the JSON property `createTime` @return [String]

end_time[RW]

The time operation processing completed. Corresponds to the JSON property `endTime` @return [String]

is_cancellation_requested[RW]

Indicates whether a request to cancel this operation has been made. Corresponds to the JSON property `isCancellationRequested` @return [Boolean]

is_cancellation_requested?[RW]

Indicates whether a request to cancel this operation has been made. Corresponds to the JSON property `isCancellationRequested` @return [Boolean]

labels[RW]

The user labels, inherited from the model or the model version being operated on. Corresponds to the JSON property `labels` @return [Hash<String,String>]

model_name[RW]

Contains the name of the model associated with the operation. Corresponds to the JSON property `modelName` @return [String]

operation_type[RW]

The operation type. Corresponds to the JSON property `operationType` @return [String]

project_number[RW]

Contains the project number associated with the operation. Corresponds to the JSON property `projectNumber` @return [Fixnum]

start_time[RW]

The time operation processing started. Corresponds to the JSON property `startTime` @return [String]

version[RW]

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

new(**args) click to toggle source
# File lib/google/apis/ml_v1/classes.rb, line 1882
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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