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.



1112
1113
1114
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1112

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)


1084
1085
1086
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1084

def end_time
  @end_time
end

#execution_idString

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

Returns:

  • (String)


1089
1090
1091
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1089

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)


1094
1095
1096
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1094

def expire_time
  @expire_time
end

#requested_asset_countFixnum

Output only. Number of assets requested for export after resolving the requested filters. Corresponds to the JSON property requestedAssetCount

Returns:

  • (Fixnum)


1100
1101
1102
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1100

def requested_asset_count
  @requested_asset_count
end

#resultGoogle::Apis::MigrationcenterV1alpha1::AssetsExportJobExecutionResult

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



1105
1106
1107
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1105

def result
  @result
end

#start_timeString

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

Returns:

  • (String)


1110
1111
1112
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1110

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1117
1118
1119
1120
1121
1122
1123
1124
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1117

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