Google Cloud Network Management V1 Client - Class DropInfo (2.0.0)

Reference documentation and code samples for the Google Cloud Network Management V1 Client class DropInfo.

Details of the final state "drop" and associated resource.

Generated from protobuf message google.cloud.networkmanagement.v1.DropInfo

Namespace

Google \ Cloud \ NetworkManagement \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cause int

Cause that the packet is dropped.

↳ resource_uri string

URI of the resource that caused the drop.

↳ source_ip string

Source IP address of the dropped packet (if relevant).

↳ destination_ip string

Destination IP address of the dropped packet (if relevant).

↳ region string

Region of the dropped packet (if relevant).

getCause

Cause that the packet is dropped.

Returns
Type Description
int

setCause

Cause that the packet is dropped.

Parameter
Name Description
var int
Returns
Type Description
$this

getResourceUri

URI of the resource that caused the drop.

Returns
Type Description
string

setResourceUri

URI of the resource that caused the drop.

Parameter
Name Description
var string
Returns
Type Description
$this

getSourceIp

Source IP address of the dropped packet (if relevant).

Returns
Type Description
string

setSourceIp

Source IP address of the dropped packet (if relevant).

Parameter
Name Description
var string
Returns
Type Description
$this

getDestinationIp

Destination IP address of the dropped packet (if relevant).

Returns
Type Description
string

setDestinationIp

Destination IP address of the dropped packet (if relevant).

Parameter
Name Description
var string
Returns
Type Description
$this

getRegion

Region of the dropped packet (if relevant).

Returns
Type Description
string

setRegion

Region of the dropped packet (if relevant).

Parameter
Name Description
var string
Returns
Type Description
$this