Compute V1 Client - Class PacketMirroringMirroredResourceInfoSubnetInfo (1.7.1)

Reference documentation and code samples for the Compute V1 Client class PacketMirroringMirroredResourceInfoSubnetInfo.

Generated from protobuf message google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ canonical_url string

[Output Only] Unique identifier for the subnetwork; defined by the server.

↳ url string

Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.

getCanonicalUrl

[Output Only] Unique identifier for the subnetwork; defined by the server.

Returns
TypeDescription
string

hasCanonicalUrl

clearCanonicalUrl

setCanonicalUrl

[Output Only] Unique identifier for the subnetwork; defined by the server.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUrl

Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.

Returns
TypeDescription
string

hasUrl

clearUrl

setUrl

Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.

Parameter
NameDescription
var string
Returns
TypeDescription
$this