Compute V1 Client - Class ProjectsListXpnHostsRequest (1.25.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ organizationstring

Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host projects. If not specified, the organization will be inferred from the project.

getOrganization

Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host projects. If not specified, the organization will be inferred from the project.

Returns
TypeDescription
string

hasOrganization

clearOrganization

setOrganization

Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host projects. If not specified, the organization will be inferred from the project.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this