Compute V1 Client - Class XpnProjectStatus (2.0.0)
Reference documentation and code samples for the Compute V1 Client class XpnProjectStatus.
[Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated.
Protobuf type google.cloud.compute.v1.Project.XpnProjectStatus
Namespace
Google \ Cloud \ Compute \ V1 \ Project
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
UNDEFINED_XPN_PROJECT_STATUS
Value: 0
A value indicating that the enum field is not set.
Generated from protobuf enum UNDEFINED_XPN_PROJECT_STATUS = 0;
HOST
Value: 2223528
Generated from protobuf enum HOST = 2223528;
UNSPECIFIED_XPN_PROJECT_STATUS
Value: 340393257
Generated from protobuf enum UNSPECIFIED_XPN_PROJECT_STATUS = 340393257;
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-19 UTC."],[],[]]