Class: Google::Apis::MigrationcenterV1alpha1::RuntimeNetworkInfo
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::RuntimeNetworkInfo
- 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
-
#connections ⇒ Google::Apis::MigrationcenterV1alpha1::NetworkConnectionList
Network connection list.
-
#netstat ⇒ String
Netstat (raw, OS-agnostic).
-
#netstat_time ⇒ Google::Apis::MigrationcenterV1alpha1::DateTime
Represents civil time (or occasionally physical time).
-
#raw_scan_result ⇒ String
Raw network scan result.
-
#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.
7967 7968 7969 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7967 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connections ⇒ Google::Apis::MigrationcenterV1alpha1::NetworkConnectionList
Network connection list.
Corresponds to the JSON property connections
7930 7931 7932 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7930 def connections @connections end |
#netstat ⇒ String
Netstat (raw, OS-agnostic).
Corresponds to the JSON property netstat
7935 7936 7937 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7935 def netstat @netstat end |
#netstat_time ⇒ Google::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
7953 7954 7955 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7953 def netstat_time @netstat_time end |
#raw_scan_result ⇒ String
Raw network scan result. This field is intended for human inspection. The
format of this field may be netstat output or any another raw output. The
exact format may change without notice and should not be relied upon.
Corresponds to the JSON property rawScanResult
7960 7961 7962 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7960 def raw_scan_result @raw_scan_result end |
#scan_time ⇒ String
Time of the last network scan.
Corresponds to the JSON property scanTime
7965 7966 7967 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7965 def scan_time @scan_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7972 7973 7974 7975 7976 7977 7978 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7972 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) @raw_scan_result = args[:raw_scan_result] if args.key?(:raw_scan_result) @scan_time = args[:scan_time] if args.key?(:scan_time) end |