Class: Google::Apis::MigrationcenterV1::RuntimeNetworkInfo
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::RuntimeNetworkInfo
- 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
Runtime networking information.
Instance Attribute Summary collapse
-
#connections ⇒ Google::Apis::MigrationcenterV1::NetworkConnectionList
Network connection list.
-
#scan_time ⇒ String
Time of the last network scan.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RuntimeNetworkInfo
constructor
A new instance of RuntimeNetworkInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RuntimeNetworkInfo
Returns a new instance of RuntimeNetworkInfo.
4543 4544 4545 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4543 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connections ⇒ Google::Apis::MigrationcenterV1::NetworkConnectionList
Network connection list.
Corresponds to the JSON property connections
4536 4537 4538 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4536 def connections @connections end |
#scan_time ⇒ String
Time of the last network scan.
Corresponds to the JSON property scanTime
4541 4542 4543 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4541 def scan_time @scan_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4548 4549 4550 4551 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4548 def update!(**args) @connections = args[:connections] if args.key?(:connections) @scan_time = args[:scan_time] if args.key?(:scan_time) end |