Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class ProducerInstanceLocation.
ProducerInstanceLocation is used to specify which authorization mechanism to use to determine which projects the Producer instance can be within.
Protobuf type google.cloud.networkconnectivity.v1.ServiceConnectionPolicy.PscConfig.ProducerInstanceLocation
Namespace
Google \ Cloud \ NetworkConnectivity \ V1 \ ServiceConnectionPolicy \ PscConfigMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
PRODUCER_INSTANCE_LOCATION_UNSPECIFIED
Value: 0
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.
Generated from protobuf enum PRODUCER_INSTANCE_LOCATION_UNSPECIFIED = 0;
CUSTOM_RESOURCE_HIERARCHY_LEVELS
Value: 1
Producer instance must be within one of the values provided in allowed_google_producers_resource_hierarchy_level.
Generated from protobuf enum CUSTOM_RESOURCE_HIERARCHY_LEVELS = 1;