Compute V1 Client - Class RoutersPreviewResponse (1.9.1)

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
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.

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

hasResource

clearResource

setResource

Preview of given router.

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