Google Cloud Network Management V1 Client - Class DropInfo (2.7.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).

↳ source_geolocation_code
string

Geolocation (region code) of the source IP address (if relevant).

↳ destination_geolocation_code
string

Geolocation (region code) of the destination IP address (if relevant).

getCause

Cause that the packet is dropped.

Returns
Type
Description
int
Enum of type Cause .

setCause

Cause that the packet is dropped.

Parameter
Name
Description
var
int

Enum of type Cause .

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

getSourceGeolocationCode

Geolocation (region code) of the source IP address (if relevant).

Returns
Type
Description
string

setSourceGeolocationCode

Geolocation (region code) of the source IP address (if relevant).

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDestinationGeolocationCode

Geolocation (region code) of the destination IP address (if relevant).

Returns
Type
Description
string

setDestinationGeolocationCode

Geolocation (region code) of the destination IP address (if relevant).

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: