Class: Google::Apis::MigrationcenterV1alpha1::ReportExportExecution
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::ReportExportExecution
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb
Overview
Execution status of report export operation.
Instance Attribute Summary collapse
-
#end_time ⇒ String
Output only.
-
#execution_id ⇒ String
Output only.
-
#expire_time ⇒ String
Output only.
-
#progress_percentage ⇒ Fixnum
Output only.
-
#result ⇒ Google::Apis::MigrationcenterV1alpha1::ReportExportExecutionResult
Contains the result of the report export.
-
#start_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReportExportExecution
constructor
A new instance of ReportExportExecution.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReportExportExecution
Returns a new instance of ReportExportExecution.
6816 6817 6818 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6816 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
Output only. Completion time of the export.
Corresponds to the JSON property endTime
6787 6788 6789 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6787 def end_time @end_time end |
#execution_id ⇒ String
Output only. Globally unique identifier of the execution.
Corresponds to the JSON property executionId
6792 6793 6794 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6792 def execution_id @execution_id end |
#expire_time ⇒ String
Output only. Expiration time for the export and artifacts.
Corresponds to the JSON property expireTime
6797 6798 6799 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6797 def expire_time @expire_time end |
#progress_percentage ⇒ Fixnum
Output only. Represents the progress of the execution. It reaches 100 when the
execution is successfully completed. When the execution finishes with a
failure, the progress is set to 0.
Corresponds to the JSON property progressPercentage
6804 6805 6806 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6804 def progress_percentage @progress_percentage end |
#result ⇒ Google::Apis::MigrationcenterV1alpha1::ReportExportExecutionResult
Contains the result of the report export.
Corresponds to the JSON property result
6809 6810 6811 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6809 def result @result end |
#start_time ⇒ String
Output only. Execution start timestamp.
Corresponds to the JSON property startTime
6814 6815 6816 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6814 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6821 6822 6823 6824 6825 6826 6827 6828 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6821 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @execution_id = args[:execution_id] if args.key?(:execution_id) @expire_time = args[:expire_time] if args.key?(:expire_time) @progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage) @result = args[:result] if args.key?(:result) @start_time = args[:start_time] if args.key?(:start_time) end |