# Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::NetworkProfileNetworkFeatures (v3.7.0)

3.7.0 (latest) 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.22.0 2.21.1 2.20.0 2.19.1 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.2 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.10.0 1.9.0 1.8.0 1.7.1 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.5.0 Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::NetworkProfileNetworkFeatures.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #address_purposes

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

**Returns**

- (::Array\<::String\>) --- Specifies what address purposes are supported. If empty, all address purposes are supported. Check the AddressPurposes enum for the list of possible values.

### #address_purposes=

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

**Parameter**

- **value** (::Array\<::String\>) --- Specifies what address purposes are supported. If empty, all address purposes are supported. Check the AddressPurposes enum for the list of possible values.
**Returns**

- (::Array\<::String\>) --- Specifies what address purposes are supported. If empty, all address purposes are supported. Check the AddressPurposes enum for the list of possible values.

### #allow_address_creation

    def allow_address_creation() -> ::String

**Returns**

- (::String) --- Specifies whether address creation is allowed. Check the AllowAddressCreation enum for the list of possible values.

### #allow_address_creation=

    def allow_address_creation=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether address creation is allowed. Check the AllowAddressCreation enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether address creation is allowed. Check the AllowAddressCreation enum for the list of possible values.

### #allow_alias_ip_ranges

    def allow_alias_ip_ranges() -> ::String

**Returns**

- (::String) --- Specifies whether alias IP ranges (and secondary address ranges) are allowed. Check the AllowAliasIpRanges enum for the list of possible values.

### #allow_alias_ip_ranges=

    def allow_alias_ip_ranges=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether alias IP ranges (and secondary address ranges) are allowed. Check the AllowAliasIpRanges enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether alias IP ranges (and secondary address ranges) are allowed. Check the AllowAliasIpRanges enum for the list of possible values.

### #allow_auto_mode_subnet

    def allow_auto_mode_subnet() -> ::String

**Returns**

- (::String) --- Specifies whether auto mode subnet creation is allowed. Check the AllowAutoModeSubnet enum for the list of possible values.

### #allow_auto_mode_subnet=

    def allow_auto_mode_subnet=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether auto mode subnet creation is allowed. Check the AllowAutoModeSubnet enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether auto mode subnet creation is allowed. Check the AllowAutoModeSubnet enum for the list of possible values.

### #allow_class_d_firewalls

    def allow_class_d_firewalls() -> ::String

**Returns**

- (::String) --- Specifies whether firewalls for Class D address ranges are supported. Check the AllowClassDFirewalls enum for the list of possible values.

### #allow_class_d_firewalls=

    def allow_class_d_firewalls=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether firewalls for Class D address ranges are supported. Check the AllowClassDFirewalls enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether firewalls for Class D address ranges are supported. Check the AllowClassDFirewalls enum for the list of possible values.

### #allow_cloud_nat

    def allow_cloud_nat() -> ::String

**Returns**

- (::String) --- Specifies whether cloud NAT creation is allowed. Check the AllowCloudNat enum for the list of possible values.

### #allow_cloud_nat=

    def allow_cloud_nat=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether cloud NAT creation is allowed. Check the AllowCloudNat enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether cloud NAT creation is allowed. Check the AllowCloudNat enum for the list of possible values.

### #allow_cloud_router

    def allow_cloud_router() -> ::String

**Returns**

- (::String) --- Specifies whether cloud router creation is allowed. Check the AllowCloudRouter enum for the list of possible values.

### #allow_cloud_router=

    def allow_cloud_router=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether cloud router creation is allowed. Check the AllowCloudRouter enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether cloud router creation is allowed. Check the AllowCloudRouter enum for the list of possible values.

### #allow_default_nic_attachment

    def allow_default_nic_attachment() -> ::String

**Returns**

- (::String) --- Specifies whether default NIC attachment is allowed. Check the AllowDefaultNicAttachment enum for the list of possible values.

### #allow_default_nic_attachment=

    def allow_default_nic_attachment=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether default NIC attachment is allowed. Check the AllowDefaultNicAttachment enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether default NIC attachment is allowed. Check the AllowDefaultNicAttachment enum for the list of possible values.

### #allow_external_ip_access

    def allow_external_ip_access() -> ::String

**Returns**

- (::String) --- Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC. Check the AllowExternalIpAccess enum for the list of possible values.

### #allow_external_ip_access=

    def allow_external_ip_access=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC. Check the AllowExternalIpAccess enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC. Check the AllowExternalIpAccess enum for the list of possible values.

### #allow_firewall_policy

    def allow_firewall_policy() -> ::String

**Returns**

- (::String) --- Specifies whether firewall policy can be attached to the network. Check the AllowFirewallPolicy enum for the list of possible values.

### #allow_firewall_policy=

    def allow_firewall_policy=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether firewall policy can be attached to the network. Check the AllowFirewallPolicy enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether firewall policy can be attached to the network. Check the AllowFirewallPolicy enum for the list of possible values.

### #allow_interconnect

    def allow_interconnect() -> ::String

**Returns**

- (::String) --- Specifies whether Cloud Interconnect creation is allowed. Check the AllowInterconnect enum for the list of possible values.

### #allow_interconnect=

    def allow_interconnect=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether Cloud Interconnect creation is allowed. Check the AllowInterconnect enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether Cloud Interconnect creation is allowed. Check the AllowInterconnect enum for the list of possible values.

### #allow_ip_forwarding

    def allow_ip_forwarding() -> ::String

**Returns**

- (::String) --- Specifies whether IP forwarding is allowed. Check the AllowIpForwarding enum for the list of possible values.

### #allow_ip_forwarding=

    def allow_ip_forwarding=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether IP forwarding is allowed. Check the AllowIpForwarding enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether IP forwarding is allowed. Check the AllowIpForwarding enum for the list of possible values.

### #allow_load_balancing

    def allow_load_balancing() -> ::String

**Returns**

- (::String) --- Specifies whether cloud load balancing is allowed. Check the AllowLoadBalancing enum for the list of possible values.

### #allow_load_balancing=

    def allow_load_balancing=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether cloud load balancing is allowed. Check the AllowLoadBalancing enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether cloud load balancing is allowed. Check the AllowLoadBalancing enum for the list of possible values.

### #allow_multi_nic_in_same_network

    def allow_multi_nic_in_same_network() -> ::String

**Returns**

- (::String) --- Specifies whether multi-nic in the same network is allowed. Check the AllowMultiNicInSameNetwork enum for the list of possible values.

### #allow_multi_nic_in_same_network=

    def allow_multi_nic_in_same_network=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether multi-nic in the same network is allowed. Check the AllowMultiNicInSameNetwork enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether multi-nic in the same network is allowed. Check the AllowMultiNicInSameNetwork enum for the list of possible values.

### #allow_multi_nic_in_same_subnetwork

    def allow_multi_nic_in_same_subnetwork() -> ::String

**Returns**

- (::String) --- Specifies whether multi-nic in the same subnetwork is allowed. Check the AllowMultiNicInSameSubnetwork enum for the list of possible values.

### #allow_multi_nic_in_same_subnetwork=

    def allow_multi_nic_in_same_subnetwork=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether multi-nic in the same subnetwork is allowed. Check the AllowMultiNicInSameSubnetwork enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether multi-nic in the same subnetwork is allowed. Check the AllowMultiNicInSameSubnetwork enum for the list of possible values.

### #allow_multicast

    def allow_multicast() -> ::String

**Returns**

- (::String) --- Specifies whether multicast is allowed. Check the AllowMulticast enum for the list of possible values.

### #allow_multicast=

    def allow_multicast=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether multicast is allowed. Check the AllowMulticast enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether multicast is allowed. Check the AllowMulticast enum for the list of possible values.

### #allow_ncc

    def allow_ncc() -> ::String

**Returns**

- (::String) --- Specifies whether NCC is allowed. Check the AllowNcc enum for the list of possible values.

### #allow_ncc=

    def allow_ncc=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether NCC is allowed. Check the AllowNcc enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether NCC is allowed. Check the AllowNcc enum for the list of possible values.

### #allow_network_migration

    def allow_network_migration() -> ::String

**Returns**

- (::String) --- Specifies whether VM network migration is allowed. Check the AllowNetworkMigration enum for the list of possible values.

### #allow_network_migration=

    def allow_network_migration=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether VM network migration is allowed. Check the AllowNetworkMigration enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether VM network migration is allowed. Check the AllowNetworkMigration enum for the list of possible values.

### #allow_packet_mirroring

    def allow_packet_mirroring() -> ::String

**Returns**

- (::String) --- Specifies whether Packet Mirroring 1.0 is supported. Check the AllowPacketMirroring enum for the list of possible values.

### #allow_packet_mirroring=

    def allow_packet_mirroring=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether Packet Mirroring 1.0 is supported. Check the AllowPacketMirroring enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether Packet Mirroring 1.0 is supported. Check the AllowPacketMirroring enum for the list of possible values.

### #allow_private_google_access

    def allow_private_google_access() -> ::String

**Returns**

- (::String) --- Specifies whether private Google access is allowed. Check the AllowPrivateGoogleAccess enum for the list of possible values.

### #allow_private_google_access=

    def allow_private_google_access=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether private Google access is allowed. Check the AllowPrivateGoogleAccess enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether private Google access is allowed. Check the AllowPrivateGoogleAccess enum for the list of possible values.

### #allow_psc

    def allow_psc() -> ::String

**Returns**

- (::String) --- Specifies whether PSC creation is allowed. Check the AllowPsc enum for the list of possible values.

### #allow_psc=

    def allow_psc=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether PSC creation is allowed. Check the AllowPsc enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether PSC creation is allowed. Check the AllowPsc enum for the list of possible values.

### #allow_same_network_unicast

    def allow_same_network_unicast() -> ::String

**Returns**

- (::String) --- Specifies whether unicast within the same network is allowed. Check the AllowSameNetworkUnicast enum for the list of possible values.

### #allow_same_network_unicast=

    def allow_same_network_unicast=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether unicast within the same network is allowed. Check the AllowSameNetworkUnicast enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether unicast within the same network is allowed. Check the AllowSameNetworkUnicast enum for the list of possible values.

### #allow_static_routes

    def allow_static_routes() -> ::String

**Returns**

- (::String) --- Specifies whether static route creation is allowed. Check the AllowStaticRoutes enum for the list of possible values.

### #allow_static_routes=

    def allow_static_routes=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether static route creation is allowed. Check the AllowStaticRoutes enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether static route creation is allowed. Check the AllowStaticRoutes enum for the list of possible values.

### #allow_sub_interfaces

    def allow_sub_interfaces() -> ::String

**Returns**

- (::String) --- Specifies whether sub interfaces are allowed. Check the AllowSubInterfaces enum for the list of possible values.

### #allow_sub_interfaces=

    def allow_sub_interfaces=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether sub interfaces are allowed. Check the AllowSubInterfaces enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether sub interfaces are allowed. Check the AllowSubInterfaces enum for the list of possible values.

### #allow_subnetwork_creation

    def allow_subnetwork_creation() -> ::String

**Returns**

- (::String) --- Specifies whether subnetwork creation is allowed. Check the AllowSubnetworkCreation enum for the list of possible values.

### #allow_subnetwork_creation=

    def allow_subnetwork_creation=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether subnetwork creation is allowed. Check the AllowSubnetworkCreation enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether subnetwork creation is allowed. Check the AllowSubnetworkCreation enum for the list of possible values.

### #allow_vpc_firewall_rules

    def allow_vpc_firewall_rules() -> ::String

**Returns**

- (::String) --- Specifies whether VPC firewall rules can be created under the network. Check the AllowVpcFirewallRules enum for the list of possible values.

### #allow_vpc_firewall_rules=

    def allow_vpc_firewall_rules=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether VPC firewall rules can be created under the network. Check the AllowVpcFirewallRules enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether VPC firewall rules can be created under the network. Check the AllowVpcFirewallRules enum for the list of possible values.

### #allow_vpc_peering

    def allow_vpc_peering() -> ::String

**Returns**

- (::String) --- Specifies whether VPC peering is allowed. Check the AllowVpcPeering enum for the list of possible values.

### #allow_vpc_peering=

    def allow_vpc_peering=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether VPC peering is allowed. Check the AllowVpcPeering enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether VPC peering is allowed. Check the AllowVpcPeering enum for the list of possible values.

### #allow_vpn

    def allow_vpn() -> ::String

**Returns**

- (::String) --- Specifies whether VPN creation is allowed. Check the AllowVpn enum for the list of possible values.

### #allow_vpn=

    def allow_vpn=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies whether VPN creation is allowed. Check the AllowVpn enum for the list of possible values.
**Returns**

- (::String) --- Specifies whether VPN creation is allowed. Check the AllowVpn enum for the list of possible values.

### #firewall_policy_types

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

**Returns**

- (::Array\<::String\>) --- Check the FirewallPolicyTypes enum for the list of possible values.

### #firewall_policy_types=

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

**Parameter**

- **value** (::Array\<::String\>) --- Check the FirewallPolicyTypes enum for the list of possible values.
**Returns**

- (::Array\<::String\>) --- Check the FirewallPolicyTypes enum for the list of possible values.

### #interface_types

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

**Returns**

- (::Array\<::String\>) --- If set, limits the interface types that the network supports. If empty, all interface types are supported. Check the InterfaceTypes enum for the list of possible values.

### #interface_types=

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

**Parameter**

- **value** (::Array\<::String\>) --- If set, limits the interface types that the network supports. If empty, all interface types are supported. Check the InterfaceTypes enum for the list of possible values.
**Returns**

- (::Array\<::String\>) --- If set, limits the interface types that the network supports. If empty, all interface types are supported. Check the InterfaceTypes enum for the list of possible values.

### #multicast

    def multicast() -> ::String

**Returns**

- (::String) --- Specifies which type of multicast is supported. Check the Multicast enum for the list of possible values.

### #multicast=

    def multicast=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies which type of multicast is supported. Check the Multicast enum for the list of possible values.
**Returns**

- (::String) --- Specifies which type of multicast is supported. Check the Multicast enum for the list of possible values.

### #predefined_network_internal_ipv6_range

    def predefined_network_internal_ipv6_range() -> ::String

**Returns**

- (::String) --- Specifies a predefined internal IPv6 range for the network.

### #predefined_network_internal_ipv6_range=

    def predefined_network_internal_ipv6_range=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies a predefined internal IPv6 range for the network.
**Returns**

- (::String) --- Specifies a predefined internal IPv6 range for the network.

### #predefined_subnetwork_ranges

    def predefined_subnetwork_ranges() -> ::Array<::Google::Cloud::Compute::V1::NetworkProfileNetworkFeaturesPredefinedSubnetworkRange>

**Returns**

- (::Array\<[::Google::Cloud::Compute::V1::NetworkProfileNetworkFeaturesPredefinedSubnetworkRange](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-NetworkProfileNetworkFeaturesPredefinedSubnetworkRange)\>) --- Predefined subnetwork ranges for the network.

### #predefined_subnetwork_ranges=

    def predefined_subnetwork_ranges=(value) -> ::Array<::Google::Cloud::Compute::V1::NetworkProfileNetworkFeaturesPredefinedSubnetworkRange>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Compute::V1::NetworkProfileNetworkFeaturesPredefinedSubnetworkRange](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-NetworkProfileNetworkFeaturesPredefinedSubnetworkRange)\>) --- Predefined subnetwork ranges for the network.
**Returns**

- (::Array\<[::Google::Cloud::Compute::V1::NetworkProfileNetworkFeaturesPredefinedSubnetworkRange](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-NetworkProfileNetworkFeaturesPredefinedSubnetworkRange)\>) --- Predefined subnetwork ranges for the network.

### #subnet_purposes

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

**Returns**

- (::Array\<::String\>) --- Specifies which subnetwork purposes are supported. Check the SubnetPurposes enum for the list of possible values.

### #subnet_purposes=

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

**Parameter**

- **value** (::Array\<::String\>) --- Specifies which subnetwork purposes are supported. Check the SubnetPurposes enum for the list of possible values.
**Returns**

- (::Array\<::String\>) --- Specifies which subnetwork purposes are supported. Check the SubnetPurposes enum for the list of possible values.

### #subnet_stack_types

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

**Returns**

- (::Array\<::String\>) --- Specifies which subnetwork stack types are supported. Check the SubnetStackTypes enum for the list of possible values.

### #subnet_stack_types=

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

**Parameter**

- **value** (::Array\<::String\>) --- Specifies which subnetwork stack types are supported. Check the SubnetStackTypes enum for the list of possible values.
**Returns**

- (::Array\<::String\>) --- Specifies which subnetwork stack types are supported. Check the SubnetStackTypes enum for the list of possible values.

### #subnetwork_purposes

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

**Returns**

- (::Array\<::String\>) --- Output only. Specifies which subnetwork purposes are supported. Check the SubnetworkPurposes enum for the list of possible values.

### #subnetwork_purposes=

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

**Parameter**

- **value** (::Array\<::String\>) --- Output only. Specifies which subnetwork purposes are supported. Check the SubnetworkPurposes enum for the list of possible values.
**Returns**

- (::Array\<::String\>) --- Output only. Specifies which subnetwork purposes are supported. Check the SubnetworkPurposes enum for the list of possible values.

### #subnetwork_stack_types

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

**Returns**

- (::Array\<::String\>) --- Output only. Specifies which subnetwork stack types are supported. Check the SubnetworkStackTypes enum for the list of possible values.

### #subnetwork_stack_types=

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

**Parameter**

- **value** (::Array\<::String\>) --- Output only. Specifies which subnetwork stack types are supported. Check the SubnetworkStackTypes enum for the list of possible values.
**Returns**

- (::Array\<::String\>) --- Output only. Specifies which subnetwork stack types are supported. Check the SubnetworkStackTypes enum for the list of possible values.

### #unicast

    def unicast() -> ::String

**Returns**

- (::String) --- Specifies which type of unicast is supported. Check the Unicast enum for the list of possible values.

### #unicast=

    def unicast=(value) -> ::String

**Parameter**

- **value** (::String) --- Specifies which type of unicast is supported. Check the Unicast enum for the list of possible values.
**Returns**

- (::String) --- Specifies which type of unicast is supported. Check the Unicast enum for the list of possible values.