Class: Google::Apis::MigrationcenterV1::RuntimeNetworkInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RuntimeNetworkInfo

Returns a new instance of RuntimeNetworkInfo.



4599
4600
4601
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4599

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#connectionsGoogle::Apis::MigrationcenterV1::NetworkConnectionList

Network connection list. Corresponds to the JSON property connections



4592
4593
4594
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4592

def connections
  @connections
end

#scan_timeString

Time of the last network scan. Corresponds to the JSON property scanTime

Returns:

  • (String)


4597
4598
4599
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4597

def scan_time
  @scan_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4604
4605
4606
4607
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4604

def update!(**args)
  @connections = args[:connections] if args.key?(:connections)
  @scan_time = args[:scan_time] if args.key?(:scan_time)
end