Class: Google::Apis::MigrationcenterV1alpha1::RuntimeNetworkInfo

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

Runtime networking information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RuntimeNetworkInfo

Returns a new instance of RuntimeNetworkInfo.



6724
6725
6726
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6724

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

Instance Attribute Details

#connectionsGoogle::Apis::MigrationcenterV1alpha1::NetworkConnectionList

Network connection list. Corresponds to the JSON property connections



6699
6700
6701
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6699

def connections
  @connections
end

#netstatString

Netstat (raw, OS-agnostic). Corresponds to the JSON property netstat

Returns:

  • (String)


6704
6705
6706
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6704

def netstat
  @netstat
end

#netstat_timeGoogle::Apis::MigrationcenterV1alpha1::DateTime

Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the time_offset oneof is set. Consider using Timestamp message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations. Corresponds to the JSON property netstatTime



6722
6723
6724
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6722

def netstat_time
  @netstat_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6729
6730
6731
6732
6733
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6729

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