Compute V1 Client - Class ProjectsEnableXpnResourceRequest (1.5.0)

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

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

Methods

__construct

Constructor.

Parameters
Name
Description
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.

Generated from protobuf field optional .google.cloud.compute.v1.XpnResourceId xpn_resource = 133384631;

Returns
Type
Description

hasXpnResource

clearXpnResource

setXpnResource

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

Generated from protobuf field optional .google.cloud.compute.v1.XpnResourceId xpn_resource = 133384631;

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: