Compute V1 Client - Class RoutersPreviewResponse (1.5.0)

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

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ resource Google\Cloud\Compute\V1\Router

Preview of given router.

getResource

Preview of given router.

Generated from protobuf field optional .google.cloud.compute.v1.Router resource = 195806222;

Returns
TypeDescription
Google\Cloud\Compute\V1\Router|null

hasResource

clearResource

setResource

Preview of given router.

Generated from protobuf field optional .google.cloud.compute.v1.Router resource = 195806222;

Parameter
NameDescription
var Google\Cloud\Compute\V1\Router
Returns
TypeDescription
$this