# GDC Hardware Management V1ALPHA API - Class Google::Cloud::GDCHardwareManagement::V1alpha::ZoneNetworkConfig (v0.14.1)

0.14.1 (latest) 0.14.0 0.13.0 0.12.1 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.1 Reference documentation and code samples for the GDC Hardware Management V1ALPHA API class Google::Cloud::GDCHardwareManagement::V1alpha::ZoneNetworkConfig.

Networking configuration for a zone.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #dns_ipv4_addresses

    def dns_ipv4_addresses() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Optional. DNS nameservers. The GDC Infrastructure will resolve DNS queries via these IPs. If unspecified, Google DNS is used.

### #dns_ipv4_addresses=

    def dns_ipv4_addresses=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Optional. DNS nameservers. The GDC Infrastructure will resolve DNS queries via these IPs. If unspecified, Google DNS is used.
**Returns**

- (::Array\<::String\>) --- Optional. DNS nameservers. The GDC Infrastructure will resolve DNS queries via these IPs. If unspecified, Google DNS is used.

### #kubernetes_control_plane_ipv4_range

    def kubernetes_control_plane_ipv4_range() -> ::String

**Returns**

- (::String) --- Required. An IPv4 address block for kubernetes control plane. Should be a private RFC1918 or public CIDR block large enough to allocate at least one address per cluster in the Zone. Should be in `kubernetes_ipv4_subnet`, and disjoint with other address ranges.

### #kubernetes_control_plane_ipv4_range=

    def kubernetes_control_plane_ipv4_range=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. An IPv4 address block for kubernetes control plane. Should be a private RFC1918 or public CIDR block large enough to allocate at least one address per cluster in the Zone. Should be in `kubernetes_ipv4_subnet`, and disjoint with other address ranges.
**Returns**

- (::String) --- Required. An IPv4 address block for kubernetes control plane. Should be a private RFC1918 or public CIDR block large enough to allocate at least one address per cluster in the Zone. Should be in `kubernetes_ipv4_subnet`, and disjoint with other address ranges.

### #kubernetes_ipv4_subnet

    def kubernetes_ipv4_subnet() -> ::Google::Cloud::GDCHardwareManagement::V1alpha::Subnet

**Returns**

- ([::Google::Cloud::GDCHardwareManagement::V1alpha::Subnet](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Cloud-GDCHardwareManagement-V1alpha-Subnet)) --- Optional. An IPv4 subnet for the kubernetes network. If unspecified, the kubernetes subnet will be the same as the management subnet.

### #kubernetes_ipv4_subnet=

    def kubernetes_ipv4_subnet=(value) -> ::Google::Cloud::GDCHardwareManagement::V1alpha::Subnet

**Parameter**

- **value** ([::Google::Cloud::GDCHardwareManagement::V1alpha::Subnet](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Cloud-GDCHardwareManagement-V1alpha-Subnet)) --- Optional. An IPv4 subnet for the kubernetes network. If unspecified, the kubernetes subnet will be the same as the management subnet.
**Returns**

- ([::Google::Cloud::GDCHardwareManagement::V1alpha::Subnet](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Cloud-GDCHardwareManagement-V1alpha-Subnet)) --- Optional. An IPv4 subnet for the kubernetes network. If unspecified, the kubernetes subnet will be the same as the management subnet.

### #kubernetes_node_ipv4_range

    def kubernetes_node_ipv4_range() -> ::String

**Returns**

- (::String) --- Required. An IPv4 address block for kubernetes nodes. Should be a private RFC1918 or public CIDR block large enough to allocate at least one address per machine in the Zone. Should be in `kubernetes_ipv4_subnet`, and disjoint with other address ranges.

### #kubernetes_node_ipv4_range=

    def kubernetes_node_ipv4_range=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. An IPv4 address block for kubernetes nodes. Should be a private RFC1918 or public CIDR block large enough to allocate at least one address per machine in the Zone. Should be in `kubernetes_ipv4_subnet`, and disjoint with other address ranges.
**Returns**

- (::String) --- Required. An IPv4 address block for kubernetes nodes. Should be a private RFC1918 or public CIDR block large enough to allocate at least one address per machine in the Zone. Should be in `kubernetes_ipv4_subnet`, and disjoint with other address ranges.

### #kubernetes_primary_vlan_id

    def kubernetes_primary_vlan_id() -> ::Integer

**Returns**

- (::Integer) --- Optional. Kubernetes VLAN ID. By default, the kubernetes node, including the primary kubernetes network, are in the same VLAN as the machine management network. For network segmentation purposes, these can optionally be separated.

### #kubernetes_primary_vlan_id=

    def kubernetes_primary_vlan_id=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. Kubernetes VLAN ID. By default, the kubernetes node, including the primary kubernetes network, are in the same VLAN as the machine management network. For network segmentation purposes, these can optionally be separated.
**Returns**

- (::Integer) --- Optional. Kubernetes VLAN ID. By default, the kubernetes node, including the primary kubernetes network, are in the same VLAN as the machine management network. For network segmentation purposes, these can optionally be separated.

### #machine_mgmt_ipv4_range

    def machine_mgmt_ipv4_range() -> ::String

**Returns**

- (::String) --- Required. An IPv4 address block for machine management. Should be a private RFC1918 or public CIDR block large enough to allocate at least one address per machine in the Zone. Should be in `management_ipv4_subnet`, and disjoint with other address ranges.

### #machine_mgmt_ipv4_range=

    def machine_mgmt_ipv4_range=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. An IPv4 address block for machine management. Should be a private RFC1918 or public CIDR block large enough to allocate at least one address per machine in the Zone. Should be in `management_ipv4_subnet`, and disjoint with other address ranges.
**Returns**

- (::String) --- Required. An IPv4 address block for machine management. Should be a private RFC1918 or public CIDR block large enough to allocate at least one address per machine in the Zone. Should be in `management_ipv4_subnet`, and disjoint with other address ranges.

### #management_ipv4_subnet

    def management_ipv4_subnet() -> ::Google::Cloud::GDCHardwareManagement::V1alpha::Subnet

**Returns**

- ([::Google::Cloud::GDCHardwareManagement::V1alpha::Subnet](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Cloud-GDCHardwareManagement-V1alpha-Subnet)) --- Required. An IPv4 subnet for the management network.

### #management_ipv4_subnet=

    def management_ipv4_subnet=(value) -> ::Google::Cloud::GDCHardwareManagement::V1alpha::Subnet

**Parameter**

- **value** ([::Google::Cloud::GDCHardwareManagement::V1alpha::Subnet](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Cloud-GDCHardwareManagement-V1alpha-Subnet)) --- Required. An IPv4 subnet for the management network.
**Returns**

- ([::Google::Cloud::GDCHardwareManagement::V1alpha::Subnet](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Cloud-GDCHardwareManagement-V1alpha-Subnet)) --- Required. An IPv4 subnet for the management network.