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.
-
#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.
-
#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.
2512 2513 2514 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2512 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
2468 2469 2470 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2468 def create_time @create_time end |
#description ⇒ String
Free-text description.
Corresponds to the JSON property description
2473 2474 2475 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2473 def description @description end |
#display_name ⇒ String
User-friendly display name.
Corresponds to the JSON property displayName
2478 2479 2480 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2478 def display_name @display_name 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
2483 2484 2485 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2483 def is_managed @is_managed end |
#name ⇒ String
Output only. The full name of the source.
Corresponds to the JSON property name
2489 2490 2491 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2489 def name @name end |
#pending_frame_count ⇒ Fixnum
Output only. Number of frames that are still being processed.
Corresponds to the JSON property pendingFrameCount
2494 2495 2496 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2494 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
2500 2501 2502 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2500 def priority @priority end |
#type ⇒ String
Data source type.
Corresponds to the JSON property type
2505 2506 2507 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2505 def type @type end |
#update_time ⇒ String
Output only. The timestamp when the source was last updated.
Corresponds to the JSON property updateTime
2510 2511 2512 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2510 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2517 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) @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) @type = args[:type] if args.key?(:type) @update_time = args[:update_time] if args.key?(:update_time) end |