Compute V1 Client - Class NetworkProfileNetworkFeatures (2.8.0)

Reference documentation and code samples for the Compute V1 Client class NetworkProfileNetworkFeatures.

Generated from protobuf message google.cloud.compute.v1.NetworkProfileNetworkFeatures

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ address_purposes
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
string

Specifies whether address creation is allowed. Check the AllowAddressCreation enum for the list of possible values.

↳ allow_alias_ip_ranges
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
string

Specifies whether auto mode subnet creation is allowed. Check the AllowAutoModeSubnet enum for the list of possible values.

↳ allow_class_d_firewalls
string

Specifies whether firewalls for Class D address ranges are supported. Check the AllowClassDFirewalls enum for the list of possible values.

↳ allow_cloud_nat
string

Specifies whether cloud NAT creation is allowed. Check the AllowCloudNat enum for the list of possible values.

↳ allow_cloud_router
string

Specifies whether cloud router creation is allowed. Check the AllowCloudRouter enum for the list of possible values.

↳ allow_default_nic_attachment
string

Specifies whether default NIC attachment is allowed. Check the AllowDefaultNicAttachment enum for the list of possible values.

↳ allow_external_ip_access
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
string

Specifies whether firewall policy can be attached to the network. Check the AllowFirewallPolicy enum for the list of possible values.

↳ allow_interconnect
string

Specifies whether Cloud Interconnect creation is allowed. Check the AllowInterconnect enum for the list of possible values.

↳ allow_ip_forwarding
string

Specifies whether IP forwarding is allowed. Check the AllowIpForwarding enum for the list of possible values.

↳ allow_load_balancing
string

Specifies whether cloud load balancing is allowed. Check the AllowLoadBalancing enum for the list of possible values.

↳ allow_multi_nic_in_same_network
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
string

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

↳ allow_multicast
string

Specifies whether multicast is allowed. Check the AllowMulticast enum for the list of possible values.

↳ allow_ncc
string

Specifies whether NCC is allowed. Check the AllowNcc enum for the list of possible values.

↳ allow_network_migration
string

Specifies whether VM network migration is allowed. Check the AllowNetworkMigration enum for the list of possible values.

↳ allow_packet_mirroring
string

Specifies whether Packet Mirroring 1.0 is supported. Check the AllowPacketMirroring enum for the list of possible values.

↳ allow_private_google_access
string

Specifies whether private Google access is allowed. Check the AllowPrivateGoogleAccess enum for the list of possible values.

↳ allow_psc
string

Specifies whether PSC creation is allowed. Check the AllowPsc enum for the list of possible values.

↳ allow_same_network_unicast
string

Specifies whether unicast within the same network is allowed. Check the AllowSameNetworkUnicast enum for the list of possible values.

↳ allow_static_routes
string

Specifies whether static route creation is allowed. Check the AllowStaticRoutes enum for the list of possible values.

↳ allow_sub_interfaces
string

Specifies whether sub interfaces are allowed. Check the AllowSubInterfaces enum for the list of possible values.

↳ allow_subnetwork_creation
string

Specifies whether subnetwork creation is allowed. Check the AllowSubnetworkCreation enum for the list of possible values.

↳ allow_vpc_firewall_rules
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
string

Specifies whether VPC peering is allowed. Check the AllowVpcPeering enum for the list of possible values.

↳ allow_vpn
string

Specifies whether VPN creation is allowed. Check the AllowVpn enum for the list of possible values.

↳ firewall_policy_types
string[]

Check the FirewallPolicyTypes enum for the list of possible values.

↳ interface_types
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
string

Specifies which type of multicast is supported. Check the Multicast enum for the list of possible values.

↳ predefined_network_internal_ipv6_range
string

Specifies a predefined internal IPv6 range for the network.

↳ predefined_subnetwork_ranges
array< NetworkProfileNetworkFeaturesPredefinedSubnetworkRange >

Predefined subnetwork ranges for the network.

↳ subnet_purposes
string[]

Specifies which subnetwork purposes are supported. Check the SubnetPurposes enum for the list of possible values.

↳ subnet_stack_types
string[]

Specifies which subnetwork stack types are supported. Check the SubnetStackTypes enum for the list of possible values.

↳ subnetwork_purposes
string[]

Output only. Specifies which subnetwork purposes are supported. Check the SubnetworkPurposes enum for the list of possible values.

↳ subnetwork_stack_types
string[]

Output only. Specifies which subnetwork stack types are supported. Check the SubnetworkStackTypes enum for the list of possible values.

↳ unicast
string

Specifies which type of unicast is supported. Check the Unicast enum for the list of possible values.

getAddressPurposes

Specifies what address purposes are supported. If empty, all address purposes are supported.

Check the AddressPurposes enum for the list of possible values.

Returns
Type
Description

setAddressPurposes

Specifies what address purposes are supported. If empty, all address purposes are supported.

Check the AddressPurposes enum for the list of possible values.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this

getAllowAddressCreation

Specifies whether address creation is allowed.

Check the AllowAddressCreation enum for the list of possible values.

Returns
Type
Description
string

hasAllowAddressCreation

clearAllowAddressCreation

setAllowAddressCreation

Specifies whether address creation is allowed.

Check the AllowAddressCreation enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowAliasIpRanges

Specifies whether alias IP ranges (and secondary address ranges) are allowed.

Check the AllowAliasIpRanges enum for the list of possible values.

Returns
Type
Description
string

hasAllowAliasIpRanges

clearAllowAliasIpRanges

setAllowAliasIpRanges

Specifies whether alias IP ranges (and secondary address ranges) are allowed.

Check the AllowAliasIpRanges enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowAutoModeSubnet

Specifies whether auto mode subnet creation is allowed.

Check the AllowAutoModeSubnet enum for the list of possible values.

Returns
Type
Description
string

hasAllowAutoModeSubnet

clearAllowAutoModeSubnet

setAllowAutoModeSubnet

Specifies whether auto mode subnet creation is allowed.

Check the AllowAutoModeSubnet enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowClassDFirewalls

Specifies whether firewalls for Class D address ranges are supported.

Check the AllowClassDFirewalls enum for the list of possible values.

Returns
Type
Description
string

hasAllowClassDFirewalls

clearAllowClassDFirewalls

setAllowClassDFirewalls

Specifies whether firewalls for Class D address ranges are supported.

Check the AllowClassDFirewalls enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowCloudNat

Specifies whether cloud NAT creation is allowed.

Check the AllowCloudNat enum for the list of possible values.

Returns
Type
Description
string

hasAllowCloudNat

clearAllowCloudNat

setAllowCloudNat

Specifies whether cloud NAT creation is allowed.

Check the AllowCloudNat enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowCloudRouter

Specifies whether cloud router creation is allowed.

Check the AllowCloudRouter enum for the list of possible values.

Returns
Type
Description
string

hasAllowCloudRouter

clearAllowCloudRouter

setAllowCloudRouter

Specifies whether cloud router creation is allowed.

Check the AllowCloudRouter enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowDefaultNicAttachment

Specifies whether default NIC attachment is allowed.

Check the AllowDefaultNicAttachment enum for the list of possible values.

Returns
Type
Description
string

hasAllowDefaultNicAttachment

clearAllowDefaultNicAttachment

setAllowDefaultNicAttachment

Specifies whether default NIC attachment is allowed.

Check the AllowDefaultNicAttachment enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowExternalIpAccess

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
Type
Description
string

hasAllowExternalIpAccess

clearAllowExternalIpAccess

setAllowExternalIpAccess

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.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowFirewallPolicy

Specifies whether firewall policy can be attached to the network.

Check the AllowFirewallPolicy enum for the list of possible values.

Returns
Type
Description
string

hasAllowFirewallPolicy

clearAllowFirewallPolicy

setAllowFirewallPolicy

Specifies whether firewall policy can be attached to the network.

Check the AllowFirewallPolicy enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowInterconnect

Specifies whether Cloud Interconnect creation is allowed.

Check the AllowInterconnect enum for the list of possible values.

Returns
Type
Description
string

hasAllowInterconnect

clearAllowInterconnect

setAllowInterconnect

Specifies whether Cloud Interconnect creation is allowed.

Check the AllowInterconnect enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowIpForwarding

Specifies whether IP forwarding is allowed.

Check the AllowIpForwarding enum for the list of possible values.

Returns
Type
Description
string

hasAllowIpForwarding

clearAllowIpForwarding

setAllowIpForwarding

Specifies whether IP forwarding is allowed.

Check the AllowIpForwarding enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowLoadBalancing

Specifies whether cloud load balancing is allowed.

Check the AllowLoadBalancing enum for the list of possible values.

Returns
Type
Description
string

hasAllowLoadBalancing

clearAllowLoadBalancing

setAllowLoadBalancing

Specifies whether cloud load balancing is allowed.

Check the AllowLoadBalancing enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowMultiNicInSameNetwork

Specifies whether multi-nic in the same network is allowed.

Check the AllowMultiNicInSameNetwork enum for the list of possible values.

Returns
Type
Description
string

hasAllowMultiNicInSameNetwork

clearAllowMultiNicInSameNetwork

setAllowMultiNicInSameNetwork

Specifies whether multi-nic in the same network is allowed.

Check the AllowMultiNicInSameNetwork enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowMultiNicInSameSubnetwork

Specifies whether multi-nic in the same subnetwork is allowed.

Check the AllowMultiNicInSameSubnetwork enum for the list of possible values.

Returns
Type
Description
string

hasAllowMultiNicInSameSubnetwork

clearAllowMultiNicInSameSubnetwork

setAllowMultiNicInSameSubnetwork

Specifies whether multi-nic in the same subnetwork is allowed.

Check the AllowMultiNicInSameSubnetwork enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowMulticast

Specifies whether multicast is allowed.

Check the AllowMulticast enum for the list of possible values.

Returns
Type
Description
string

hasAllowMulticast

clearAllowMulticast

setAllowMulticast

Specifies whether multicast is allowed.

Check the AllowMulticast enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowNcc

Specifies whether NCC is allowed.

Check the AllowNcc enum for the list of possible values.

Returns
Type
Description
string

hasAllowNcc

clearAllowNcc

setAllowNcc

Specifies whether NCC is allowed.

Check the AllowNcc enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowNetworkMigration

Specifies whether VM network migration is allowed.

Check the AllowNetworkMigration enum for the list of possible values.

Returns
Type
Description
string

hasAllowNetworkMigration

clearAllowNetworkMigration

setAllowNetworkMigration

Specifies whether VM network migration is allowed.

Check the AllowNetworkMigration enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowPacketMirroring

Specifies whether Packet Mirroring 1.0 is supported.

Check the AllowPacketMirroring enum for the list of possible values.

Returns
Type
Description
string

hasAllowPacketMirroring

clearAllowPacketMirroring

setAllowPacketMirroring

Specifies whether Packet Mirroring 1.0 is supported.

Check the AllowPacketMirroring enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowPrivateGoogleAccess

Specifies whether private Google access is allowed.

Check the AllowPrivateGoogleAccess enum for the list of possible values.

Returns
Type
Description
string

hasAllowPrivateGoogleAccess

clearAllowPrivateGoogleAccess

setAllowPrivateGoogleAccess

Specifies whether private Google access is allowed.

Check the AllowPrivateGoogleAccess enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowPsc

Specifies whether PSC creation is allowed.

Check the AllowPsc enum for the list of possible values.

Returns
Type
Description
string

hasAllowPsc

clearAllowPsc

setAllowPsc

Specifies whether PSC creation is allowed.

Check the AllowPsc enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowSameNetworkUnicast

Specifies whether unicast within the same network is allowed.

Check the AllowSameNetworkUnicast enum for the list of possible values.

Returns
Type
Description
string

hasAllowSameNetworkUnicast

clearAllowSameNetworkUnicast

setAllowSameNetworkUnicast

Specifies whether unicast within the same network is allowed.

Check the AllowSameNetworkUnicast enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowStaticRoutes

Specifies whether static route creation is allowed.

Check the AllowStaticRoutes enum for the list of possible values.

Returns
Type
Description
string

hasAllowStaticRoutes

clearAllowStaticRoutes

setAllowStaticRoutes

Specifies whether static route creation is allowed.

Check the AllowStaticRoutes enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowSubInterfaces

Specifies whether sub interfaces are allowed.

Check the AllowSubInterfaces enum for the list of possible values.

Returns
Type
Description
string

hasAllowSubInterfaces

clearAllowSubInterfaces

setAllowSubInterfaces

Specifies whether sub interfaces are allowed.

Check the AllowSubInterfaces enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowSubnetworkCreation

Specifies whether subnetwork creation is allowed.

Check the AllowSubnetworkCreation enum for the list of possible values.

Returns
Type
Description
string

hasAllowSubnetworkCreation

clearAllowSubnetworkCreation

setAllowSubnetworkCreation

Specifies whether subnetwork creation is allowed.

Check the AllowSubnetworkCreation enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowVpcFirewallRules

Specifies whether VPC firewall rules can be created under the network.

Check the AllowVpcFirewallRules enum for the list of possible values.

Returns
Type
Description
string

hasAllowVpcFirewallRules

clearAllowVpcFirewallRules

setAllowVpcFirewallRules

Specifies whether VPC firewall rules can be created under the network.

Check the AllowVpcFirewallRules enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowVpcPeering

Specifies whether VPC peering is allowed.

Check the AllowVpcPeering enum for the list of possible values.

Returns
Type
Description
string

hasAllowVpcPeering

clearAllowVpcPeering

setAllowVpcPeering

Specifies whether VPC peering is allowed.

Check the AllowVpcPeering enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAllowVpn

Specifies whether VPN creation is allowed.

Check the AllowVpn enum for the list of possible values.

Returns
Type
Description
string

hasAllowVpn

clearAllowVpn

setAllowVpn

Specifies whether VPN creation is allowed.

Check the AllowVpn enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getFirewallPolicyTypes

Check the FirewallPolicyTypes enum for the list of possible values.

Returns
Type
Description

setFirewallPolicyTypes

Check the FirewallPolicyTypes enum for the list of possible values.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this

getInterfaceTypes

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
Type
Description

setInterfaceTypes

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.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this

getMulticast

Specifies which type of multicast is supported.

Check the Multicast enum for the list of possible values.

Returns
Type
Description
string

hasMulticast

clearMulticast

setMulticast

Specifies which type of multicast is supported.

Check the Multicast enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getPredefinedNetworkInternalIpv6Range

Specifies a predefined internal IPv6 range for the network.

Returns
Type
Description
string

hasPredefinedNetworkInternalIpv6Range

clearPredefinedNetworkInternalIpv6Range

setPredefinedNetworkInternalIpv6Range

Specifies a predefined internal IPv6 range for the network.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getPredefinedSubnetworkRanges

Predefined subnetwork ranges for the network.

setPredefinedSubnetworkRanges

Predefined subnetwork ranges for the network.

Parameter
Name
Description
Returns
Type
Description
$this

getSubnetPurposes

Specifies which subnetwork purposes are supported.

Check the SubnetPurposes enum for the list of possible values.

Returns
Type
Description

setSubnetPurposes

Specifies which subnetwork purposes are supported.

Check the SubnetPurposes enum for the list of possible values.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this

getSubnetStackTypes

Specifies which subnetwork stack types are supported.

Check the SubnetStackTypes enum for the list of possible values.

Returns
Type
Description

setSubnetStackTypes

Specifies which subnetwork stack types are supported.

Check the SubnetStackTypes enum for the list of possible values.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this

getSubnetworkPurposes

Output only. Specifies which subnetwork purposes are supported.

Check the SubnetworkPurposes enum for the list of possible values.

Returns
Type
Description

setSubnetworkPurposes

Output only. Specifies which subnetwork purposes are supported.

Check the SubnetworkPurposes enum for the list of possible values.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this

getSubnetworkStackTypes

Output only. Specifies which subnetwork stack types are supported.

Check the SubnetworkStackTypes enum for the list of possible values.

Returns
Type
Description

setSubnetworkStackTypes

Output only. Specifies which subnetwork stack types are supported.

Check the SubnetworkStackTypes enum for the list of possible values.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this

getUnicast

Specifies which type of unicast is supported.

Check the Unicast enum for the list of possible values.

Returns
Type
Description
string

hasUnicast

clearUnicast

setUnicast

Specifies which type of unicast is supported.

Check the Unicast enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: