Reference documentation and code samples for the Compute V1 Client class ProjectsEnableXpnResourceRequest.
Generated from protobuf message google.cloud.compute.v1.ProjectsEnableXpnResourceRequest
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ xpn_resource |
XpnResourceId
Service resource (a.k.a service project) ID. |
getXpnResource
Service resource (a.k.a service project) ID.
Returns | |
---|---|
Type | Description |
XpnResourceId|null |
hasXpnResource
clearXpnResource
setXpnResource
Service resource (a.k.a service project) ID.
Parameter | |
---|---|
Name | Description |
var |
XpnResourceId
|
Returns | |
---|---|
Type | Description |
$this |