Class: Google::Apis::AndroidmanagementV1::ConnectEvent

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConnectEvent

Returns a new instance of ConnectEvent.



1301
1302
1303
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1301

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

Instance Attribute Details

#destination_ip_addressString

The destination IP address of the connect call. Corresponds to the JSON property destinationIpAddress

Returns:

  • (String)


1289
1290
1291
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1289

def destination_ip_address
  @destination_ip_address
end

#destination_portFixnum

The destination port of the connect call. Corresponds to the JSON property destinationPort

Returns:

  • (Fixnum)


1294
1295
1296
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1294

def destination_port
  @destination_port
end

#package_nameString

The package name of the UID that performed the connect call. Corresponds to the JSON property packageName

Returns:

  • (String)


1299
1300
1301
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1299

def package_name
  @package_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1306
1307
1308
1309
1310
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1306

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