Enum ServiceConnectionPolicy.PscConfig.ProducerInstanceLocation (1.61.0)

public enum ServiceConnectionPolicy.PscConfig.ProducerInstanceLocation extends Enum<ServiceConnectionPolicy.PscConfig.ProducerInstanceLocation> implements ProtocolMessageEnum

ProducerInstanceLocation is used to specify which authorization mechanism to use to determine which projects the Producer instance can be within.

Protobuf enum google.cloud.networkconnectivity.v1.ServiceConnectionPolicy.PscConfig.ProducerInstanceLocation

Implements

ProtocolMessageEnum

Static Fields

Name Description
CUSTOM_RESOURCE_HIERARCHY_LEVELS

Producer instance must be within one of the values provided in allowed_google_producers_resource_hierarchy_level.

CUSTOM_RESOURCE_HIERARCHY_LEVELS = 1;

CUSTOM_RESOURCE_HIERARCHY_LEVELS_VALUE

Producer instance must be within one of the values provided in allowed_google_producers_resource_hierarchy_level.

CUSTOM_RESOURCE_HIERARCHY_LEVELS = 1;

PRODUCER_INSTANCE_LOCATION_UNSPECIFIED

Producer instance location is not specified. When this option is chosen, then the PSC connections created by this ServiceConnectionPolicy must be within the same project as the Producer instance. This is the default ProducerInstanceLocation value. To allow for PSC connections from this network to other networks, use the CUSTOM_RESOURCE_HIERARCHY_LEVELS option.

PRODUCER_INSTANCE_LOCATION_UNSPECIFIED = 0;

PRODUCER_INSTANCE_LOCATION_UNSPECIFIED_VALUE

Producer instance location is not specified. When this option is chosen, then the PSC connections created by this ServiceConnectionPolicy must be within the same project as the Producer instance. This is the default ProducerInstanceLocation value. To allow for PSC connections from this network to other networks, use the CUSTOM_RESOURCE_HIERARCHY_LEVELS option.

PRODUCER_INSTANCE_LOCATION_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()