Class: Google::Apis::MigrationcenterV1alpha1::ReportExportExecution

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportExportExecution

Returns a new instance of ReportExportExecution.



7036
7037
7038
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7036

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#end_timeString

Output only. Completion time of the export. Corresponds to the JSON property endTime

Returns:

  • (String)


7007
7008
7009
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7007

def end_time
  @end_time
end

#execution_idString

Output only. Globally unique identifier of the execution. Corresponds to the JSON property executionId

Returns:

  • (String)


7012
7013
7014
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7012

def execution_id
  @execution_id
end

#expire_timeString

Output only. Expiration time for the export and artifacts. Corresponds to the JSON property expireTime

Returns:

  • (String)


7017
7018
7019
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7017

def expire_time
  @expire_time
end

#progress_percentageFixnum

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

Returns:

  • (Fixnum)


7024
7025
7026
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7024

def progress_percentage
  @progress_percentage
end

#resultGoogle::Apis::MigrationcenterV1alpha1::ReportExportExecutionResult

Contains the result of the report export. Corresponds to the JSON property result



7029
7030
7031
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7029

def result
  @result
end

#start_timeString

Output only. Execution start timestamp. Corresponds to the JSON property startTime

Returns:

  • (String)


7034
7035
7036
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7034

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7041
7042
7043
7044
7045
7046
7047
7048
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7041

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