# Dataproc Metastore V1 API - Class Google::Cloud::Metastore::V1::NetworkConfig::Consumer (v2.5.0)

2.5.0 (latest) 2.4.0 2.3.1 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.13.0 0.12.2 0.11.0 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.2 Reference documentation and code samples for the Dataproc Metastore V1 API class Google::Cloud::Metastore::V1::NetworkConfig::Consumer.

Contains information of the customer's network configurations.


<br />

Next available ID: 5

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #endpoint_location

    def endpoint_location() -> ::String

**Returns**

- (::String) --- Output only. The location of the endpoint URI. Format: `projects/{project}/locations/{location}`.

### #endpoint_uri

    def endpoint_uri() -> ::String

**Returns**

- (::String) --- Output only. The URI of the endpoint used to access the metastore service.

### #subnetwork

    def subnetwork() -> ::String

**Returns**

- (::String) --- Immutable. The subnetwork of the customer project from which an IP address is reserved and used as the Dataproc Metastore service's endpoint. It is accessible to hosts in the subnet and to all hosts in a subnet in the same region and same network. There must be at least one IP address available in the subnet's primary range. The subnet is specified in the following form:

  `projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}`

### #subnetwork=

    def subnetwork=(value) -> ::String

**Parameter**

- **value** (::String) --- Immutable. The subnetwork of the customer project from which an IP address is reserved and used as the Dataproc Metastore service's endpoint. It is accessible to hosts in the subnet and to all hosts in a subnet in the same region and same network. There must be at least one IP address available in the subnet's primary range. The subnet is specified in the following form:


  `projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}`
**Returns**

- (::String) --- Immutable. The subnetwork of the customer project from which an IP address is reserved and used as the Dataproc Metastore service's endpoint. It is accessible to hosts in the subnet and to all hosts in a subnet in the same region and same network. There must be at least one IP address available in the subnet's primary range. The subnet is specified in the following form:

  `projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}`