Class: Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecution
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecution
- 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
-
#end_time ⇒ String
Output only.
-
#execution_id ⇒ String
Output only.
-
#expire_time ⇒ String
Output only.
-
#requested_asset_count ⇒ Fixnum
Output only.
-
#result ⇒ Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecutionResult
Contains the result of the assets export.
-
#start_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AssetsExportJobExecution
constructor
A new instance of AssetsExportJobExecution.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AssetsExportJobExecution
Returns a new instance of AssetsExportJobExecution.
728 729 730 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 728 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
700 701 702 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 700 def end_time @end_time end |
#execution_id ⇒ String
Output only. Globally unique identifier of the execution.
Corresponds to the JSON property executionId
705 706 707 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 705 def execution_id @execution_id end |
#expire_time ⇒ String
Output only. Expiration time for the export and artifacts.
Corresponds to the JSON property expireTime
710 711 712 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 710 def expire_time @expire_time end |
#requested_asset_count ⇒ Fixnum
Output only. Number of assets requested for export after resolving the
requested filters.
Corresponds to the JSON property requestedAssetCount
716 717 718 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 716 def requested_asset_count @requested_asset_count end |
#result ⇒ Google::Apis::MigrationcenterV1alpha1::AssetsExportJobExecutionResult
Contains the result of the assets export.
Corresponds to the JSON property result
721 722 723 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 721 def result @result end |
#start_time ⇒ String
Output only. Execution timestamp.
Corresponds to the JSON property startTime
726 727 728 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 726 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
733 734 735 736 737 738 739 740 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 733 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 |