Class: Google::Apis::MlV1::GoogleCloudMlV1beta1OperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::MlV1::GoogleCloudMlV1beta1OperationMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/ml_v1/classes.rb,
generated/google/apis/ml_v1/representations.rb,
generated/google/apis/ml_v1/representations.rb
Overview
Represents the metadata of the long-running operation.
Instance Attribute Summary collapse
-
#create_time ⇒ String
The time the operation was submitted.
-
#end_time ⇒ String
The time operation processing completed.
-
#is_cancellation_requested ⇒ Boolean
(also: #is_cancellation_requested?)
Indicates whether a request to cancel this operation has been made.
-
#model_name ⇒ String
Contains the name of the model associated with the operation.
-
#operation_type ⇒ String
The operation type.
-
#start_time ⇒ String
The time operation processing started.
-
#version ⇒ Google::Apis::MlV1::GoogleCloudMlV1beta1Version
Represents a version of the model.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudMlV1beta1OperationMetadata
constructor
A new instance of GoogleCloudMlV1beta1OperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudMlV1beta1OperationMetadata
Returns a new instance of GoogleCloudMlV1beta1OperationMetadata
1571 1572 1573 |
# File 'generated/google/apis/ml_v1/classes.rb', line 1571 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
The time the operation was submitted.
Corresponds to the JSON property createTime
1539 1540 1541 |
# File 'generated/google/apis/ml_v1/classes.rb', line 1539 def create_time @create_time end |
#end_time ⇒ String
The time operation processing completed.
Corresponds to the JSON property endTime
1559 1560 1561 |
# File 'generated/google/apis/ml_v1/classes.rb', line 1559 def end_time @end_time end |
#is_cancellation_requested ⇒ Boolean Also known as: is_cancellation_requested?
Indicates whether a request to cancel this operation has been made.
Corresponds to the JSON property isCancellationRequested
1533 1534 1535 |
# File 'generated/google/apis/ml_v1/classes.rb', line 1533 def is_cancellation_requested @is_cancellation_requested end |
#model_name ⇒ String
Contains the name of the model associated with the operation.
Corresponds to the JSON property modelName
1544 1545 1546 |
# File 'generated/google/apis/ml_v1/classes.rb', line 1544 def model_name @model_name end |
#operation_type ⇒ String
The operation type.
Corresponds to the JSON property operationType
1564 1565 1566 |
# File 'generated/google/apis/ml_v1/classes.rb', line 1564 def operation_type @operation_type end |
#start_time ⇒ String
The time operation processing started.
Corresponds to the JSON property startTime
1569 1570 1571 |
# File 'generated/google/apis/ml_v1/classes.rb', line 1569 def start_time @start_time end |
#version ⇒ Google::Apis::MlV1::GoogleCloudMlV1beta1Version
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
1554 1555 1556 |
# File 'generated/google/apis/ml_v1/classes.rb', line 1554 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1576 1577 1578 1579 1580 1581 1582 1583 1584 |
# File 'generated/google/apis/ml_v1/classes.rb', line 1576 def update!(**args) @is_cancellation_requested = args[:is_cancellation_requested] if args.key?(:is_cancellation_requested) @create_time = args[:create_time] if args.key?(:create_time) @model_name = args[:model_name] if args.key?(:model_name) @version = args[:version] if args.key?(:version) @end_time = args[:end_time] if args.key?(:end_time) @operation_type = args[:operation_type] if args.key?(:operation_type) @start_time = args[:start_time] if args.key?(:start_time) end |