Class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecution

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 assets export job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AssetsExportJobExecution

Returns a new instance of AssetsExportJobExecution.



702
703
704
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 702

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)


680
681
682
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 680

def end_time
  @end_time
end

#execution_idString

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

Returns:

  • (String)


685
686
687
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 685

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)


690
691
692
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 690

def expire_time
  @expire_time
end

#resultGoogle::Apis::MigrationcenterV1alpha1::AssetsExportJobExecutionResult

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



695
696
697
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 695

def result
  @result
end

#start_timeString

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

Returns:

  • (String)


700
701
702
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 700

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



707
708
709
710
711
712
713
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 707

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)
  @result = args[:result] if args.key?(:result)
  @start_time = args[:start_time] if args.key?(:start_time)
end