Compute V1 Client - Class RoutersPreviewResponse (1.20.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ resource Google\Cloud\Compute\V1\Router

Preview of given router.

getResource

Preview of given router.

Returns
Type Description
Google\Cloud\Compute\V1\Router|null

hasResource

clearResource

setResource

Preview of given router.

Parameter
Name Description
var Google\Cloud\Compute\V1\Router
Returns
Type Description
$this