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

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
NameDescription
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.

getCause

Cause that the packet is dropped.

Returns
TypeDescription
int

setCause

Cause that the packet is dropped.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getResourceUri

URI of the resource that caused the drop.

Returns
TypeDescription
string

setResourceUri

URI of the resource that caused the drop.

Parameter
NameDescription
var string
Returns
TypeDescription
$this