Class: Google::Apis::AndroidmanagementV1::ConnectEvent
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::ConnectEvent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidmanagement_v1/classes.rb,
lib/google/apis/androidmanagement_v1/representations.rb,
lib/google/apis/androidmanagement_v1/representations.rb
Overview
A TCP connect event was initiated through the standard network stack.
Instance Attribute Summary collapse
-
#destination_ip_address ⇒ String
The destination IP address of the connect call.
-
#destination_port ⇒ Fixnum
The destination port of the connect call.
-
#package_name ⇒ String
The package name of the UID that performed the connect call.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConnectEvent
constructor
A new instance of ConnectEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConnectEvent
Returns a new instance of ConnectEvent.
1247 1248 1249 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1247 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination_ip_address ⇒ String
The destination IP address of the connect call.
Corresponds to the JSON property destinationIpAddress
1235 1236 1237 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1235 def destination_ip_address @destination_ip_address end |
#destination_port ⇒ Fixnum
The destination port of the connect call.
Corresponds to the JSON property destinationPort
1240 1241 1242 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1240 def destination_port @destination_port end |
#package_name ⇒ String
The package name of the UID that performed the connect call.
Corresponds to the JSON property packageName
1245 1246 1247 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1245 def package_name @package_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1252 1253 1254 1255 1256 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1252 def update!(**args) @destination_ip_address = args[:destination_ip_address] if args.key?(:destination_ip_address) @destination_port = args[:destination_port] if args.key?(:destination_port) @package_name = args[:package_name] if args.key?(:package_name) end |