Interface ServiceConnectionMap.ConsumerPscConfigOrBuilder (0.14.1)

public static interface ServiceConnectionMap.ConsumerPscConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisableGlobalAccess()

public abstract boolean getDisableGlobalAccess()

This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.

bool disable_global_access = 3;

Returns
TypeDescription
boolean

The disableGlobalAccess.

getNetwork()

public abstract String getNetwork()

The resource path of the consumer network where PSC connections are allowed to be created in. Note, this network does not need be in the ConsumerPscConfig.project in the case of SharedVPC. Example: projects/{projectNumOrId}/global/networks/{networkId}.

string network = 2;

Returns
TypeDescription
String

The network.

getNetworkBytes()

public abstract ByteString getNetworkBytes()

The resource path of the consumer network where PSC connections are allowed to be created in. Note, this network does not need be in the ConsumerPscConfig.project in the case of SharedVPC. Example: projects/{projectNumOrId}/global/networks/{networkId}.

string network = 2;

Returns
TypeDescription
ByteString

The bytes for network.

getProject()

public abstract String getProject()

The consumer project where PSC connections are allowed to be created in.

string project = 1;

Returns
TypeDescription
String

The project.

getProjectBytes()

public abstract ByteString getProjectBytes()

The consumer project where PSC connections are allowed to be created in.

string project = 1;

Returns
TypeDescription
ByteString

The bytes for project.

getState()

public abstract ServiceConnectionMap.ConsumerPscConfig.State getState()

Output only. Overall state of PSC Connections management for this consumer psc config.

.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig.State state = 4;

Returns
TypeDescription
ServiceConnectionMap.ConsumerPscConfig.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. Overall state of PSC Connections management for this consumer psc config.

.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig.State state = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for state.