Interface ProjectsEnableXpnResourceRequestOrBuilder (1.50.0)

public interface ProjectsEnableXpnResourceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getXpnResource()

public abstract XpnResourceId getXpnResource()

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

optional .google.cloud.compute.v1.XpnResourceId xpn_resource = 133384631;

Returns
TypeDescription
XpnResourceId

The xpnResource.

getXpnResourceOrBuilder()

public abstract XpnResourceIdOrBuilder getXpnResourceOrBuilder()

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

optional .google.cloud.compute.v1.XpnResourceId xpn_resource = 133384631;

Returns
TypeDescription
XpnResourceIdOrBuilder

hasXpnResource()

public abstract boolean hasXpnResource()

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

optional .google.cloud.compute.v1.XpnResourceId xpn_resource = 133384631;

Returns
TypeDescription
boolean

Whether the xpnResource field is set.