Class: Google::Apis::MlV1::GoogleCloudMlV1OperationMetadata
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::MlV1::GoogleCloudMlV1OperationMetadata
 
- 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. 
- 
  
    
      #project_number  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Contains the project number associated with the operation. 
- 
  
    
      #start_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The time operation processing started. 
- 
  
    
      #version  ⇒ Google::Apis::MlV1::GoogleCloudMlV1Version 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Represents a version of the model. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleCloudMlV1OperationMetadata 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GoogleCloudMlV1OperationMetadata. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudMlV1OperationMetadata
Returns a new instance of GoogleCloudMlV1OperationMetadata
| 707 708 709 | # File 'generated/google/apis/ml_v1/classes.rb', line 707 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#create_time ⇒ String
The time the operation was submitted.
Corresponds to the JSON property createTime
| 664 665 666 | # File 'generated/google/apis/ml_v1/classes.rb', line 664 def create_time @create_time end | 
#end_time ⇒ String
The time operation processing completed.
Corresponds to the JSON property endTime
| 669 670 671 | # File 'generated/google/apis/ml_v1/classes.rb', line 669 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
| 674 675 676 | # File 'generated/google/apis/ml_v1/classes.rb', line 674 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
| 680 681 682 | # File 'generated/google/apis/ml_v1/classes.rb', line 680 def model_name @model_name end | 
#operation_type ⇒ String
The operation type.
Corresponds to the JSON property operationType
| 685 686 687 | # File 'generated/google/apis/ml_v1/classes.rb', line 685 def operation_type @operation_type end | 
#project_number ⇒ Fixnum
Contains the project number associated with the operation.
Corresponds to the JSON property projectNumber
| 690 691 692 | # File 'generated/google/apis/ml_v1/classes.rb', line 690 def project_number @project_number end | 
#start_time ⇒ String
The time operation processing started.
Corresponds to the JSON property startTime
| 695 696 697 | # File 'generated/google/apis/ml_v1/classes.rb', line 695 def start_time @start_time end | 
#version ⇒ Google::Apis::MlV1::GoogleCloudMlV1Version
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
| 705 706 707 | # File 'generated/google/apis/ml_v1/classes.rb', line 705 def version @version end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 712 713 714 715 716 717 718 719 720 721 | # File 'generated/google/apis/ml_v1/classes.rb', line 712 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) @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 |