Class: Google::Apis::MigrationcenterV1::Source
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::Source
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/representations.rb
Overview
Source represents an object from which asset information is streamed to Migration Center.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Free-text description.
-
#display_name ⇒ String
User-friendly display name.
-
#error_frame_count ⇒ Fixnum
Output only.
-
#managed ⇒ Boolean
(also: #managed?)
If
true
, the source is managed by other service(s). -
#name ⇒ String
Output only.
-
#pending_frame_count ⇒ Fixnum
Output only.
-
#priority ⇒ Fixnum
The information confidence of the source.
-
#state ⇒ String
Output only.
-
#type ⇒ String
Data source type.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Source
constructor
A new instance of Source.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Source
Returns a new instance of Source.
4816 4817 4818 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4816 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The timestamp when the source was created.
Corresponds to the JSON property createTime
4761 4762 4763 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4761 def create_time @create_time end |
#description ⇒ String
Free-text description.
Corresponds to the JSON property description
4766 4767 4768 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4766 def description @description end |
#display_name ⇒ String
User-friendly display name.
Corresponds to the JSON property displayName
4771 4772 4773 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4771 def display_name @display_name end |
#error_frame_count ⇒ Fixnum
Output only. The number of frames that were reported by the source and
contained errors.
Corresponds to the JSON property errorFrameCount
4777 4778 4779 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4777 def error_frame_count @error_frame_count end |
#managed ⇒ Boolean Also known as: managed?
If true
, the source is managed by other service(s).
Corresponds to the JSON property managed
4782 4783 4784 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4782 def managed @managed end |
#name ⇒ String
Output only. The full name of the source.
Corresponds to the JSON property name
4788 4789 4790 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4788 def name @name end |
#pending_frame_count ⇒ Fixnum
Output only. Number of frames that are still being processed.
Corresponds to the JSON property pendingFrameCount
4793 4794 4795 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4793 def pending_frame_count @pending_frame_count end |
#priority ⇒ Fixnum
The information confidence of the source. The higher the value, the higher the
confidence.
Corresponds to the JSON property priority
4799 4800 4801 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4799 def priority @priority end |
#state ⇒ String
Output only. The state of the source.
Corresponds to the JSON property state
4804 4805 4806 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4804 def state @state end |
#type ⇒ String
Data source type.
Corresponds to the JSON property type
4809 4810 4811 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4809 def type @type end |
#update_time ⇒ String
Output only. The timestamp when the source was last updated.
Corresponds to the JSON property updateTime
4814 4815 4816 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4814 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4821 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @error_frame_count = args[:error_frame_count] if args.key?(:error_frame_count) @managed = args[:managed] if args.key?(:managed) @name = args[:name] if args.key?(:name) @pending_frame_count = args[:pending_frame_count] if args.key?(:pending_frame_count) @priority = args[:priority] if args.key?(:priority) @state = args[:state] if args.key?(:state) @type = args[:type] if args.key?(:type) @update_time = args[:update_time] if args.key?(:update_time) end |