Compute V1 Client - Class ProjectsDisableXpnResourceRequest (1.9.1)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ xpn_resource Google\Cloud\Compute\V1\XpnResourceId

Service resource (a.k.a service project) ID.

getXpnResource

Service resource (a.k.a service project) ID.

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

hasXpnResource

clearXpnResource

setXpnResource

Service resource (a.k.a service project) ID.

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