Class: Google::Apis::MigrationcenterV1alpha1::Source
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::Source
- 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
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.
-
#is_managed ⇒ Boolean
(also: #is_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.
6703 6704 6705 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6703 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
6648 6649 6650 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6648 def create_time @create_time end |
#description ⇒ String
Free-text description.
Corresponds to the JSON property description
6653 6654 6655 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6653 def description @description end |
#display_name ⇒ String
User-friendly display name.
Corresponds to the JSON property displayName
6658 6659 6660 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6658 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
6664 6665 6666 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6664 def error_frame_count @error_frame_count end |
#is_managed ⇒ Boolean Also known as: is_managed?
If true, the source is managed by other service(s).
Corresponds to the JSON property isManaged
6669 6670 6671 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6669 def is_managed @is_managed end |
#name ⇒ String
Output only. The full name of the source.
Corresponds to the JSON property name
6675 6676 6677 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6675 def name @name end |
#pending_frame_count ⇒ Fixnum
Output only. Number of frames that are still being processed.
Corresponds to the JSON property pendingFrameCount
6680 6681 6682 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6680 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
6686 6687 6688 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6686 def priority @priority end |
#state ⇒ String
Output only. The state of the source.
Corresponds to the JSON property state
6691 6692 6693 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6691 def state @state end |
#type ⇒ String
Data source type.
Corresponds to the JSON property type
6696 6697 6698 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6696 def type @type end |
#update_time ⇒ String
Output only. The timestamp when the source was last updated.
Corresponds to the JSON property updateTime
6701 6702 6703 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6701 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6708 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) @is_managed = args[:is_managed] if args.key?(:is_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 |