Google Cloud Network Security V1 Client - Class MirroringLocation (1.3.0)

Reference documentation and code samples for the Google Cloud Network Security V1 Client class MirroringLocation.

Details about mirroring in a specific cloud location.

Generated from protobuf message google.cloud.networksecurity.v1.MirroringLocation

Namespace

Google \ Cloud \ NetworkSecurity \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ location string

Output only. The cloud location, e.g. "us-central1-a" or "asia-south1".

↳ state int

Output only. The current state of the association in this location.

getLocation

Output only. The cloud location, e.g. "us-central1-a" or "asia-south1".

Returns
Type Description
string

setLocation

Output only. The cloud location, e.g. "us-central1-a" or "asia-south1".

Parameter
Name Description
var string
Returns
Type Description
$this

getState

Output only. The current state of the association in this location.

Returns
Type Description
int Enum of type State.

setState

Output only. The current state of the association in this location.

Parameter
Name Description
var int

Enum of type State.

Returns
Type Description
$this