# Dataproc Metastore V1beta API - Class Google::Cloud::Metastore::V1beta::NetworkConfig (v0.21.0)

0.21.0 (latest) 0.20.0 0.19.1 0.18.0 0.17.0 0.16.1 0.15.0 0.14.0 0.13.1 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.0 0.1.5 Reference documentation and code samples for the Dataproc Metastore V1beta API class Google::Cloud::Metastore::V1beta::NetworkConfig.

Network configuration for the Dataproc Metastore service.


<br />

Next available ID: 4

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #consumers

    def consumers() -> ::Array<::Google::Cloud::Metastore::V1beta::NetworkConfig::Consumer>

**Returns**

- (::Array\<[::Google::Cloud::Metastore::V1beta::NetworkConfig::Consumer](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1beta/latest/Google-Cloud-Metastore-V1beta-NetworkConfig-Consumer)\>) --- Immutable. The consumer-side network configuration for the Dataproc Metastore instance.

### #consumers=

    def consumers=(value) -> ::Array<::Google::Cloud::Metastore::V1beta::NetworkConfig::Consumer>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Metastore::V1beta::NetworkConfig::Consumer](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1beta/latest/Google-Cloud-Metastore-V1beta-NetworkConfig-Consumer)\>) --- Immutable. The consumer-side network configuration for the Dataproc Metastore instance.
**Returns**

- (::Array\<[::Google::Cloud::Metastore::V1beta::NetworkConfig::Consumer](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1beta/latest/Google-Cloud-Metastore-V1beta-NetworkConfig-Consumer)\>) --- Immutable. The consumer-side network configuration for the Dataproc Metastore instance.

### #custom_routes_enabled

    def custom_routes_enabled() -> ::Boolean

**Returns**

- (::Boolean) --- Enables custom routes to be imported and exported for the Dataproc Metastore service's peered VPC network.

### #custom_routes_enabled=

    def custom_routes_enabled=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Enables custom routes to be imported and exported for the Dataproc Metastore service's peered VPC network.
**Returns**

- (::Boolean) --- Enables custom routes to be imported and exported for the Dataproc Metastore service's peered VPC network.