# Google Cloud Network Connectivity V1 Client - Class ProducerInstanceLocation (2.5.3)

2.5.3 (latest) 2.5.2 2.4.0 2.3.0 2.2.2 2.1.2 2.0.2 1.5.5 1.4.2 1.3.0 1.2.0 1.1.1 1.0.5 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 \\ PscConfig

## Methods

### 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;`