Compute V1 Client - Class PacketMirroringMirroredResourceInfoSubnetInfo (1.5.0)

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.

Generated from protobuf field optional string canonical_url = 512294820;

Returns
TypeDescription
string

hasCanonicalUrl

clearCanonicalUrl

setCanonicalUrl

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

Generated from protobuf field optional string canonical_url = 512294820;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUrl

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

Generated from protobuf field optional string url = 116079;

Returns
TypeDescription
string

hasUrl

clearUrl

setUrl

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

Generated from protobuf field optional string url = 116079;

Parameter
NameDescription
var string
Returns
TypeDescription
$this