Compute V1 Client - Class NetworkProfileNetworkFeatures (1.22.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 array

Specifies what address purposes are supported. If empty, all address purposes are supported. Check the AddressPurposes 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_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_interconnect string

Specifies whether Cloud Interconnect creation is allowed. Check the AllowInterconnect 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_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_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.

↳ interface_types array

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.

↳ subnet_purposes array

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

↳ subnet_stack_types array

Specifies which subnetwork stack types are supported. Check the SubnetStackTypes 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
Google\Protobuf\Internal\RepeatedField

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

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

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

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

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

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

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

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
Google\Protobuf\Internal\RepeatedField

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

getSubnetPurposes

Specifies which subnetwork purposes are supported.

Check the SubnetPurposes enum for the list of possible values.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

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
Google\Protobuf\Internal\RepeatedField

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

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