# Managed Service for Apache Kafka V1 API - Class Google::Cloud::ManagedKafka::V1::AccessConfig (v1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.0 1.1.2 1.0.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Managed Service for Apache Kafka V1 API class Google::Cloud::ManagedKafka::V1::AccessConfig.

The configuration of access to the Kafka cluster.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #network_configs

    def network_configs() -> ::Array<::Google::Cloud::ManagedKafka::V1::NetworkConfig>

**Returns**

- (::Array\<[::Google::Cloud::ManagedKafka::V1::NetworkConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-v1/latest/Google-Cloud-ManagedKafka-V1-NetworkConfig)\>) --- Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.

### #network_configs=

    def network_configs=(value) -> ::Array<::Google::Cloud::ManagedKafka::V1::NetworkConfig>

**Parameter**

- **value** (::Array\<[::Google::Cloud::ManagedKafka::V1::NetworkConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-v1/latest/Google-Cloud-ManagedKafka-V1-NetworkConfig)\>) --- Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.
**Returns**

- (::Array\<[::Google::Cloud::ManagedKafka::V1::NetworkConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-v1/latest/Google-Cloud-ManagedKafka-V1-NetworkConfig)\>) --- Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.