Class: Google::Cloud::Compute::V1::NetworkProfileNetworkFeatures

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Defined Under Namespace

Modules: AddressPurposes, AllowAliasIpRanges, AllowAutoModeSubnet, AllowClassDFirewalls, AllowCloudNat, AllowCloudRouter, AllowExternalIpAccess, AllowInterconnect, AllowLoadBalancing, AllowMultiNicInSameNetwork, AllowPacketMirroring, AllowPrivateGoogleAccess, AllowPsc, AllowSameNetworkUnicast, AllowStaticRoutes, AllowSubInterfaces, AllowVpcPeering, AllowVpn, InterfaceTypes, SubnetPurposes, SubnetStackTypes, Unicast

Instance Attribute Summary collapse

Instance Attribute Details

#address_purposes::Array<::String>

Returns 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.



21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21834

class NetworkProfileNetworkFeatures
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods


  module AddressPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_PURPOSES = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476_114_556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230_515_243

    # A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    IPSEC_INTERCONNECT = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294_447_572

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Specifies whether alias IP ranges (and secondary address ranges) are allowed.
  module AllowAliasIpRanges
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ALIAS_IP_RANGES = 0

    ALIAS_IP_RANGES_ALLOWED = 464_867_048

    ALIAS_IP_RANGES_BLOCKED = 281_030_444
  end

  # Specifies whether auto mode subnet creation is allowed.
  module AllowAutoModeSubnet
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_AUTO_MODE_SUBNET = 0

    AUTO_MODE_SUBNET_ALLOWED = 391_042_610

    AUTO_MODE_SUBNET_BLOCKED = 207_206_006
  end

  # Specifies whether firewalls for Class D address ranges are supported.
  module AllowClassDFirewalls
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLASS_D_FIREWALLS = 0

    CLASS_D_FIREWALLS_ALLOWED = 348_219_386

    CLASS_D_FIREWALLS_BLOCKED = 164_382_782
  end

  # Specifies whether cloud NAT creation is allowed.
  module AllowCloudNat
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_NAT = 0

    CLOUD_NAT_ALLOWED = 245_931_296

    CLOUD_NAT_BLOCKED = 62_094_692
  end

  # Specifies whether cloud router creation is allowed.
  module AllowCloudRouter
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_ROUTER = 0

    CLOUD_ROUTER_ALLOWED = 365_388_284

    CLOUD_ROUTER_BLOCKED = 181_551_680
  end

  # Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC.
  module AllowExternalIpAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS = 0

    EXTERNAL_IP_ACCESS_ALLOWED = 109_530_193

    EXTERNAL_IP_ACCESS_BLOCKED = 462_564_501
  end

  # Specifies whether Cloud Interconnect creation is allowed.
  module AllowInterconnect
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_INTERCONNECT = 0

    INTERCONNECT_ALLOWED = 162_845_399

    INTERCONNECT_BLOCKED = 515_879_707
  end

  # Specifies whether cloud load balancing is allowed.
  module AllowLoadBalancing
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_LOAD_BALANCING = 0

    LOAD_BALANCING_ALLOWED = 28_407_977

    LOAD_BALANCING_BLOCKED = 381_442_285
  end

  # Specifies whether multi-nic in the same network is allowed.
  module AllowMultiNicInSameNetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_NETWORK = 0

    MULTI_NIC_IN_SAME_NETWORK_ALLOWED = 457_555_419

    MULTI_NIC_IN_SAME_NETWORK_BLOCKED = 273_718_815
  end

  # Specifies whether Packet Mirroring 1.0 is supported.
  module AllowPacketMirroring
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PACKET_MIRRORING = 0

    PACKET_MIRRORING_ALLOWED = 92_416_245

    PACKET_MIRRORING_BLOCKED = 445_450_553
  end

  # Specifies whether private Google access is allowed.
  module AllowPrivateGoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PRIVATE_GOOGLE_ACCESS = 0

    PRIVATE_GOOGLE_ACCESS_ALLOWED = 220_787_351

    PRIVATE_GOOGLE_ACCESS_BLOCKED = 36_950_747
  end

  # Specifies whether PSC creation is allowed.
  module AllowPsc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PSC = 0

    PSC_ALLOWED = 171_559_657

    PSC_BLOCKED = 524_593_965
  end

  # Specifies whether unicast within the same network is allowed.
  module AllowSameNetworkUnicast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SAME_NETWORK_UNICAST = 0

    SAME_NETWORK_UNICAST_ALLOWED = 159_732_814

    SAME_NETWORK_UNICAST_BLOCKED = 512_767_122
  end

  # Specifies whether static route creation is allowed.
  module AllowStaticRoutes
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_STATIC_ROUTES = 0

    STATIC_ROUTES_ALLOWED = 409_048_964

    STATIC_ROUTES_BLOCKED = 225_212_360
  end

  # Specifies whether sub interfaces are allowed.
  module AllowSubInterfaces
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUB_INTERFACES = 0

    SUBINTERFACES_ALLOWED = 158_685_891

    SUBINTERFACES_BLOCKED = 511_720_199
  end

  # Specifies whether VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

  # Specifies whether VPN creation is allowed.
  module AllowVpn
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPN = 0

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

  module InterfaceTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE_TYPES = 0

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

  module SubnetPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_PURPOSES = 0

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

  module SubnetStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_STACK_TYPES = 0

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # Specifies which type of unicast is supported.
  module Unicast
    # A value indicating that the enum field is not set.
    UNDEFINED_UNICAST = 0

    UNICAST_SDN = 379_954_157

    UNICAST_ULL = 379_956_325
  end
end

#allow_alias_ip_ranges::String

Returns 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.



21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21834

class NetworkProfileNetworkFeatures
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods


  module AddressPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_PURPOSES = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476_114_556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230_515_243

    # A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    IPSEC_INTERCONNECT = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294_447_572

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Specifies whether alias IP ranges (and secondary address ranges) are allowed.
  module AllowAliasIpRanges
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ALIAS_IP_RANGES = 0

    ALIAS_IP_RANGES_ALLOWED = 464_867_048

    ALIAS_IP_RANGES_BLOCKED = 281_030_444
  end

  # Specifies whether auto mode subnet creation is allowed.
  module AllowAutoModeSubnet
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_AUTO_MODE_SUBNET = 0

    AUTO_MODE_SUBNET_ALLOWED = 391_042_610

    AUTO_MODE_SUBNET_BLOCKED = 207_206_006
  end

  # Specifies whether firewalls for Class D address ranges are supported.
  module AllowClassDFirewalls
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLASS_D_FIREWALLS = 0

    CLASS_D_FIREWALLS_ALLOWED = 348_219_386

    CLASS_D_FIREWALLS_BLOCKED = 164_382_782
  end

  # Specifies whether cloud NAT creation is allowed.
  module AllowCloudNat
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_NAT = 0

    CLOUD_NAT_ALLOWED = 245_931_296

    CLOUD_NAT_BLOCKED = 62_094_692
  end

  # Specifies whether cloud router creation is allowed.
  module AllowCloudRouter
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_ROUTER = 0

    CLOUD_ROUTER_ALLOWED = 365_388_284

    CLOUD_ROUTER_BLOCKED = 181_551_680
  end

  # Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC.
  module AllowExternalIpAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS = 0

    EXTERNAL_IP_ACCESS_ALLOWED = 109_530_193

    EXTERNAL_IP_ACCESS_BLOCKED = 462_564_501
  end

  # Specifies whether Cloud Interconnect creation is allowed.
  module AllowInterconnect
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_INTERCONNECT = 0

    INTERCONNECT_ALLOWED = 162_845_399

    INTERCONNECT_BLOCKED = 515_879_707
  end

  # Specifies whether cloud load balancing is allowed.
  module AllowLoadBalancing
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_LOAD_BALANCING = 0

    LOAD_BALANCING_ALLOWED = 28_407_977

    LOAD_BALANCING_BLOCKED = 381_442_285
  end

  # Specifies whether multi-nic in the same network is allowed.
  module AllowMultiNicInSameNetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_NETWORK = 0

    MULTI_NIC_IN_SAME_NETWORK_ALLOWED = 457_555_419

    MULTI_NIC_IN_SAME_NETWORK_BLOCKED = 273_718_815
  end

  # Specifies whether Packet Mirroring 1.0 is supported.
  module AllowPacketMirroring
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PACKET_MIRRORING = 0

    PACKET_MIRRORING_ALLOWED = 92_416_245

    PACKET_MIRRORING_BLOCKED = 445_450_553
  end

  # Specifies whether private Google access is allowed.
  module AllowPrivateGoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PRIVATE_GOOGLE_ACCESS = 0

    PRIVATE_GOOGLE_ACCESS_ALLOWED = 220_787_351

    PRIVATE_GOOGLE_ACCESS_BLOCKED = 36_950_747
  end

  # Specifies whether PSC creation is allowed.
  module AllowPsc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PSC = 0

    PSC_ALLOWED = 171_559_657

    PSC_BLOCKED = 524_593_965
  end

  # Specifies whether unicast within the same network is allowed.
  module AllowSameNetworkUnicast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SAME_NETWORK_UNICAST = 0

    SAME_NETWORK_UNICAST_ALLOWED = 159_732_814

    SAME_NETWORK_UNICAST_BLOCKED = 512_767_122
  end

  # Specifies whether static route creation is allowed.
  module AllowStaticRoutes
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_STATIC_ROUTES = 0

    STATIC_ROUTES_ALLOWED = 409_048_964

    STATIC_ROUTES_BLOCKED = 225_212_360
  end

  # Specifies whether sub interfaces are allowed.
  module AllowSubInterfaces
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUB_INTERFACES = 0

    SUBINTERFACES_ALLOWED = 158_685_891

    SUBINTERFACES_BLOCKED = 511_720_199
  end

  # Specifies whether VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

  # Specifies whether VPN creation is allowed.
  module AllowVpn
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPN = 0

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

  module InterfaceTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE_TYPES = 0

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

  module SubnetPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_PURPOSES = 0

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

  module SubnetStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_STACK_TYPES = 0

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # Specifies which type of unicast is supported.
  module Unicast
    # A value indicating that the enum field is not set.
    UNDEFINED_UNICAST = 0

    UNICAST_SDN = 379_954_157

    UNICAST_ULL = 379_956_325
  end
end

#allow_auto_mode_subnet::String

Returns 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.



21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21834

class NetworkProfileNetworkFeatures
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods


  module AddressPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_PURPOSES = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476_114_556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230_515_243

    # A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    IPSEC_INTERCONNECT = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294_447_572

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Specifies whether alias IP ranges (and secondary address ranges) are allowed.
  module AllowAliasIpRanges
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ALIAS_IP_RANGES = 0

    ALIAS_IP_RANGES_ALLOWED = 464_867_048

    ALIAS_IP_RANGES_BLOCKED = 281_030_444
  end

  # Specifies whether auto mode subnet creation is allowed.
  module AllowAutoModeSubnet
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_AUTO_MODE_SUBNET = 0

    AUTO_MODE_SUBNET_ALLOWED = 391_042_610

    AUTO_MODE_SUBNET_BLOCKED = 207_206_006
  end

  # Specifies whether firewalls for Class D address ranges are supported.
  module AllowClassDFirewalls
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLASS_D_FIREWALLS = 0

    CLASS_D_FIREWALLS_ALLOWED = 348_219_386

    CLASS_D_FIREWALLS_BLOCKED = 164_382_782
  end

  # Specifies whether cloud NAT creation is allowed.
  module AllowCloudNat
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_NAT = 0

    CLOUD_NAT_ALLOWED = 245_931_296

    CLOUD_NAT_BLOCKED = 62_094_692
  end

  # Specifies whether cloud router creation is allowed.
  module AllowCloudRouter
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_ROUTER = 0

    CLOUD_ROUTER_ALLOWED = 365_388_284

    CLOUD_ROUTER_BLOCKED = 181_551_680
  end

  # Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC.
  module AllowExternalIpAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS = 0

    EXTERNAL_IP_ACCESS_ALLOWED = 109_530_193

    EXTERNAL_IP_ACCESS_BLOCKED = 462_564_501
  end

  # Specifies whether Cloud Interconnect creation is allowed.
  module AllowInterconnect
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_INTERCONNECT = 0

    INTERCONNECT_ALLOWED = 162_845_399

    INTERCONNECT_BLOCKED = 515_879_707
  end

  # Specifies whether cloud load balancing is allowed.
  module AllowLoadBalancing
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_LOAD_BALANCING = 0

    LOAD_BALANCING_ALLOWED = 28_407_977

    LOAD_BALANCING_BLOCKED = 381_442_285
  end

  # Specifies whether multi-nic in the same network is allowed.
  module AllowMultiNicInSameNetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_NETWORK = 0

    MULTI_NIC_IN_SAME_NETWORK_ALLOWED = 457_555_419

    MULTI_NIC_IN_SAME_NETWORK_BLOCKED = 273_718_815
  end

  # Specifies whether Packet Mirroring 1.0 is supported.
  module AllowPacketMirroring
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PACKET_MIRRORING = 0

    PACKET_MIRRORING_ALLOWED = 92_416_245

    PACKET_MIRRORING_BLOCKED = 445_450_553
  end

  # Specifies whether private Google access is allowed.
  module AllowPrivateGoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PRIVATE_GOOGLE_ACCESS = 0

    PRIVATE_GOOGLE_ACCESS_ALLOWED = 220_787_351

    PRIVATE_GOOGLE_ACCESS_BLOCKED = 36_950_747
  end

  # Specifies whether PSC creation is allowed.
  module AllowPsc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PSC = 0

    PSC_ALLOWED = 171_559_657

    PSC_BLOCKED = 524_593_965
  end

  # Specifies whether unicast within the same network is allowed.
  module AllowSameNetworkUnicast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SAME_NETWORK_UNICAST = 0

    SAME_NETWORK_UNICAST_ALLOWED = 159_732_814

    SAME_NETWORK_UNICAST_BLOCKED = 512_767_122
  end

  # Specifies whether static route creation is allowed.
  module AllowStaticRoutes
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_STATIC_ROUTES = 0

    STATIC_ROUTES_ALLOWED = 409_048_964

    STATIC_ROUTES_BLOCKED = 225_212_360
  end

  # Specifies whether sub interfaces are allowed.
  module AllowSubInterfaces
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUB_INTERFACES = 0

    SUBINTERFACES_ALLOWED = 158_685_891

    SUBINTERFACES_BLOCKED = 511_720_199
  end

  # Specifies whether VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

  # Specifies whether VPN creation is allowed.
  module AllowVpn
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPN = 0

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

  module InterfaceTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE_TYPES = 0

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

  module SubnetPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_PURPOSES = 0

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

  module SubnetStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_STACK_TYPES = 0

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # Specifies which type of unicast is supported.
  module Unicast
    # A value indicating that the enum field is not set.
    UNDEFINED_UNICAST = 0

    UNICAST_SDN = 379_954_157

    UNICAST_ULL = 379_956_325
  end
end

#allow_class_d_firewalls::String

Returns 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.



21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21834

class NetworkProfileNetworkFeatures
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods


  module AddressPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_PURPOSES = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476_114_556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230_515_243

    # A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    IPSEC_INTERCONNECT = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294_447_572

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Specifies whether alias IP ranges (and secondary address ranges) are allowed.
  module AllowAliasIpRanges
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ALIAS_IP_RANGES = 0

    ALIAS_IP_RANGES_ALLOWED = 464_867_048

    ALIAS_IP_RANGES_BLOCKED = 281_030_444
  end

  # Specifies whether auto mode subnet creation is allowed.
  module AllowAutoModeSubnet
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_AUTO_MODE_SUBNET = 0

    AUTO_MODE_SUBNET_ALLOWED = 391_042_610

    AUTO_MODE_SUBNET_BLOCKED = 207_206_006
  end

  # Specifies whether firewalls for Class D address ranges are supported.
  module AllowClassDFirewalls
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLASS_D_FIREWALLS = 0

    CLASS_D_FIREWALLS_ALLOWED = 348_219_386

    CLASS_D_FIREWALLS_BLOCKED = 164_382_782
  end

  # Specifies whether cloud NAT creation is allowed.
  module AllowCloudNat
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_NAT = 0

    CLOUD_NAT_ALLOWED = 245_931_296

    CLOUD_NAT_BLOCKED = 62_094_692
  end

  # Specifies whether cloud router creation is allowed.
  module AllowCloudRouter
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_ROUTER = 0

    CLOUD_ROUTER_ALLOWED = 365_388_284

    CLOUD_ROUTER_BLOCKED = 181_551_680
  end

  # Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC.
  module AllowExternalIpAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS = 0

    EXTERNAL_IP_ACCESS_ALLOWED = 109_530_193

    EXTERNAL_IP_ACCESS_BLOCKED = 462_564_501
  end

  # Specifies whether Cloud Interconnect creation is allowed.
  module AllowInterconnect
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_INTERCONNECT = 0

    INTERCONNECT_ALLOWED = 162_845_399

    INTERCONNECT_BLOCKED = 515_879_707
  end

  # Specifies whether cloud load balancing is allowed.
  module AllowLoadBalancing
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_LOAD_BALANCING = 0

    LOAD_BALANCING_ALLOWED = 28_407_977

    LOAD_BALANCING_BLOCKED = 381_442_285
  end

  # Specifies whether multi-nic in the same network is allowed.
  module AllowMultiNicInSameNetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_NETWORK = 0

    MULTI_NIC_IN_SAME_NETWORK_ALLOWED = 457_555_419

    MULTI_NIC_IN_SAME_NETWORK_BLOCKED = 273_718_815
  end

  # Specifies whether Packet Mirroring 1.0 is supported.
  module AllowPacketMirroring
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PACKET_MIRRORING = 0

    PACKET_MIRRORING_ALLOWED = 92_416_245

    PACKET_MIRRORING_BLOCKED = 445_450_553
  end

  # Specifies whether private Google access is allowed.
  module AllowPrivateGoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PRIVATE_GOOGLE_ACCESS = 0

    PRIVATE_GOOGLE_ACCESS_ALLOWED = 220_787_351

    PRIVATE_GOOGLE_ACCESS_BLOCKED = 36_950_747
  end

  # Specifies whether PSC creation is allowed.
  module AllowPsc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PSC = 0

    PSC_ALLOWED = 171_559_657

    PSC_BLOCKED = 524_593_965
  end

  # Specifies whether unicast within the same network is allowed.
  module AllowSameNetworkUnicast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SAME_NETWORK_UNICAST = 0

    SAME_NETWORK_UNICAST_ALLOWED = 159_732_814

    SAME_NETWORK_UNICAST_BLOCKED = 512_767_122
  end

  # Specifies whether static route creation is allowed.
  module AllowStaticRoutes
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_STATIC_ROUTES = 0

    STATIC_ROUTES_ALLOWED = 409_048_964

    STATIC_ROUTES_BLOCKED = 225_212_360
  end

  # Specifies whether sub interfaces are allowed.
  module AllowSubInterfaces
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUB_INTERFACES = 0

    SUBINTERFACES_ALLOWED = 158_685_891

    SUBINTERFACES_BLOCKED = 511_720_199
  end

  # Specifies whether VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

  # Specifies whether VPN creation is allowed.
  module AllowVpn
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPN = 0

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

  module InterfaceTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE_TYPES = 0

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

  module SubnetPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_PURPOSES = 0

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

  module SubnetStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_STACK_TYPES = 0

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # Specifies which type of unicast is supported.
  module Unicast
    # A value indicating that the enum field is not set.
    UNDEFINED_UNICAST = 0

    UNICAST_SDN = 379_954_157

    UNICAST_ULL = 379_956_325
  end
end

#allow_cloud_nat::String

Returns 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.



21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21834

class NetworkProfileNetworkFeatures
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods


  module AddressPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_PURPOSES = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476_114_556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230_515_243

    # A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    IPSEC_INTERCONNECT = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294_447_572

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Specifies whether alias IP ranges (and secondary address ranges) are allowed.
  module AllowAliasIpRanges
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ALIAS_IP_RANGES = 0

    ALIAS_IP_RANGES_ALLOWED = 464_867_048

    ALIAS_IP_RANGES_BLOCKED = 281_030_444
  end

  # Specifies whether auto mode subnet creation is allowed.
  module AllowAutoModeSubnet
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_AUTO_MODE_SUBNET = 0

    AUTO_MODE_SUBNET_ALLOWED = 391_042_610

    AUTO_MODE_SUBNET_BLOCKED = 207_206_006
  end

  # Specifies whether firewalls for Class D address ranges are supported.
  module AllowClassDFirewalls
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLASS_D_FIREWALLS = 0

    CLASS_D_FIREWALLS_ALLOWED = 348_219_386

    CLASS_D_FIREWALLS_BLOCKED = 164_382_782
  end

  # Specifies whether cloud NAT creation is allowed.
  module AllowCloudNat
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_NAT = 0

    CLOUD_NAT_ALLOWED = 245_931_296

    CLOUD_NAT_BLOCKED = 62_094_692
  end

  # Specifies whether cloud router creation is allowed.
  module AllowCloudRouter
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_ROUTER = 0

    CLOUD_ROUTER_ALLOWED = 365_388_284

    CLOUD_ROUTER_BLOCKED = 181_551_680
  end

  # Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC.
  module AllowExternalIpAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS = 0

    EXTERNAL_IP_ACCESS_ALLOWED = 109_530_193

    EXTERNAL_IP_ACCESS_BLOCKED = 462_564_501
  end

  # Specifies whether Cloud Interconnect creation is allowed.
  module AllowInterconnect
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_INTERCONNECT = 0

    INTERCONNECT_ALLOWED = 162_845_399

    INTERCONNECT_BLOCKED = 515_879_707
  end

  # Specifies whether cloud load balancing is allowed.
  module AllowLoadBalancing
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_LOAD_BALANCING = 0

    LOAD_BALANCING_ALLOWED = 28_407_977

    LOAD_BALANCING_BLOCKED = 381_442_285
  end

  # Specifies whether multi-nic in the same network is allowed.
  module AllowMultiNicInSameNetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_NETWORK = 0

    MULTI_NIC_IN_SAME_NETWORK_ALLOWED = 457_555_419

    MULTI_NIC_IN_SAME_NETWORK_BLOCKED = 273_718_815
  end

  # Specifies whether Packet Mirroring 1.0 is supported.
  module AllowPacketMirroring
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PACKET_MIRRORING = 0

    PACKET_MIRRORING_ALLOWED = 92_416_245

    PACKET_MIRRORING_BLOCKED = 445_450_553
  end

  # Specifies whether private Google access is allowed.
  module AllowPrivateGoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PRIVATE_GOOGLE_ACCESS = 0

    PRIVATE_GOOGLE_ACCESS_ALLOWED = 220_787_351

    PRIVATE_GOOGLE_ACCESS_BLOCKED = 36_950_747
  end

  # Specifies whether PSC creation is allowed.
  module AllowPsc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PSC = 0

    PSC_ALLOWED = 171_559_657

    PSC_BLOCKED = 524_593_965
  end

  # Specifies whether unicast within the same network is allowed.
  module AllowSameNetworkUnicast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SAME_NETWORK_UNICAST = 0

    SAME_NETWORK_UNICAST_ALLOWED = 159_732_814

    SAME_NETWORK_UNICAST_BLOCKED = 512_767_122
  end

  # Specifies whether static route creation is allowed.
  module AllowStaticRoutes
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_STATIC_ROUTES = 0

    STATIC_ROUTES_ALLOWED = 409_048_964

    STATIC_ROUTES_BLOCKED = 225_212_360
  end

  # Specifies whether sub interfaces are allowed.
  module AllowSubInterfaces
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUB_INTERFACES = 0

    SUBINTERFACES_ALLOWED = 158_685_891

    SUBINTERFACES_BLOCKED = 511_720_199
  end

  # Specifies whether VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

  # Specifies whether VPN creation is allowed.
  module AllowVpn
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPN = 0

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

  module InterfaceTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE_TYPES = 0

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

  module SubnetPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_PURPOSES = 0

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

  module SubnetStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_STACK_TYPES = 0

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # Specifies which type of unicast is supported.
  module Unicast
    # A value indicating that the enum field is not set.
    UNDEFINED_UNICAST = 0

    UNICAST_SDN = 379_954_157

    UNICAST_ULL = 379_956_325
  end
end

#allow_cloud_router::String

Returns 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.



21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21834

class NetworkProfileNetworkFeatures
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods


  module AddressPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_PURPOSES = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476_114_556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230_515_243

    # A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    IPSEC_INTERCONNECT = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294_447_572

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Specifies whether alias IP ranges (and secondary address ranges) are allowed.
  module AllowAliasIpRanges
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ALIAS_IP_RANGES = 0

    ALIAS_IP_RANGES_ALLOWED = 464_867_048

    ALIAS_IP_RANGES_BLOCKED = 281_030_444
  end

  # Specifies whether auto mode subnet creation is allowed.
  module AllowAutoModeSubnet
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_AUTO_MODE_SUBNET = 0

    AUTO_MODE_SUBNET_ALLOWED = 391_042_610

    AUTO_MODE_SUBNET_BLOCKED = 207_206_006
  end

  # Specifies whether firewalls for Class D address ranges are supported.
  module AllowClassDFirewalls
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLASS_D_FIREWALLS = 0

    CLASS_D_FIREWALLS_ALLOWED = 348_219_386

    CLASS_D_FIREWALLS_BLOCKED = 164_382_782
  end

  # Specifies whether cloud NAT creation is allowed.
  module AllowCloudNat
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_NAT = 0

    CLOUD_NAT_ALLOWED = 245_931_296

    CLOUD_NAT_BLOCKED = 62_094_692
  end

  # Specifies whether cloud router creation is allowed.
  module AllowCloudRouter
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_ROUTER = 0

    CLOUD_ROUTER_ALLOWED = 365_388_284

    CLOUD_ROUTER_BLOCKED = 181_551_680
  end

  # Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC.
  module AllowExternalIpAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS = 0

    EXTERNAL_IP_ACCESS_ALLOWED = 109_530_193

    EXTERNAL_IP_ACCESS_BLOCKED = 462_564_501
  end

  # Specifies whether Cloud Interconnect creation is allowed.
  module AllowInterconnect
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_INTERCONNECT = 0

    INTERCONNECT_ALLOWED = 162_845_399

    INTERCONNECT_BLOCKED = 515_879_707
  end

  # Specifies whether cloud load balancing is allowed.
  module AllowLoadBalancing
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_LOAD_BALANCING = 0

    LOAD_BALANCING_ALLOWED = 28_407_977

    LOAD_BALANCING_BLOCKED = 381_442_285
  end

  # Specifies whether multi-nic in the same network is allowed.
  module AllowMultiNicInSameNetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_NETWORK = 0

    MULTI_NIC_IN_SAME_NETWORK_ALLOWED = 457_555_419

    MULTI_NIC_IN_SAME_NETWORK_BLOCKED = 273_718_815
  end

  # Specifies whether Packet Mirroring 1.0 is supported.
  module AllowPacketMirroring
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PACKET_MIRRORING = 0

    PACKET_MIRRORING_ALLOWED = 92_416_245

    PACKET_MIRRORING_BLOCKED = 445_450_553
  end

  # Specifies whether private Google access is allowed.
  module AllowPrivateGoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PRIVATE_GOOGLE_ACCESS = 0

    PRIVATE_GOOGLE_ACCESS_ALLOWED = 220_787_351

    PRIVATE_GOOGLE_ACCESS_BLOCKED = 36_950_747
  end

  # Specifies whether PSC creation is allowed.
  module AllowPsc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PSC = 0

    PSC_ALLOWED = 171_559_657

    PSC_BLOCKED = 524_593_965
  end

  # Specifies whether unicast within the same network is allowed.
  module AllowSameNetworkUnicast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SAME_NETWORK_UNICAST = 0

    SAME_NETWORK_UNICAST_ALLOWED = 159_732_814

    SAME_NETWORK_UNICAST_BLOCKED = 512_767_122
  end

  # Specifies whether static route creation is allowed.
  module AllowStaticRoutes
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_STATIC_ROUTES = 0

    STATIC_ROUTES_ALLOWED = 409_048_964

    STATIC_ROUTES_BLOCKED = 225_212_360
  end

  # Specifies whether sub interfaces are allowed.
  module AllowSubInterfaces
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUB_INTERFACES = 0

    SUBINTERFACES_ALLOWED = 158_685_891

    SUBINTERFACES_BLOCKED = 511_720_199
  end

  # Specifies whether VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

  # Specifies whether VPN creation is allowed.
  module AllowVpn
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPN = 0

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

  module InterfaceTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE_TYPES = 0

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

  module SubnetPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_PURPOSES = 0

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

  module SubnetStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_STACK_TYPES = 0

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # Specifies which type of unicast is supported.
  module Unicast
    # A value indicating that the enum field is not set.
    UNDEFINED_UNICAST = 0

    UNICAST_SDN = 379_954_157

    UNICAST_ULL = 379_956_325
  end
end

#allow_external_ip_access::String

Returns 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.



21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21834

class NetworkProfileNetworkFeatures
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods


  module AddressPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_PURPOSES = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476_114_556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230_515_243

    # A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    IPSEC_INTERCONNECT = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294_447_572

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Specifies whether alias IP ranges (and secondary address ranges) are allowed.
  module AllowAliasIpRanges
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ALIAS_IP_RANGES = 0

    ALIAS_IP_RANGES_ALLOWED = 464_867_048

    ALIAS_IP_RANGES_BLOCKED = 281_030_444
  end

  # Specifies whether auto mode subnet creation is allowed.
  module AllowAutoModeSubnet
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_AUTO_MODE_SUBNET = 0

    AUTO_MODE_SUBNET_ALLOWED = 391_042_610

    AUTO_MODE_SUBNET_BLOCKED = 207_206_006
  end

  # Specifies whether firewalls for Class D address ranges are supported.
  module AllowClassDFirewalls
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLASS_D_FIREWALLS = 0

    CLASS_D_FIREWALLS_ALLOWED = 348_219_386

    CLASS_D_FIREWALLS_BLOCKED = 164_382_782
  end

  # Specifies whether cloud NAT creation is allowed.
  module AllowCloudNat
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_NAT = 0

    CLOUD_NAT_ALLOWED = 245_931_296

    CLOUD_NAT_BLOCKED = 62_094_692
  end

  # Specifies whether cloud router creation is allowed.
  module AllowCloudRouter
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_ROUTER = 0

    CLOUD_ROUTER_ALLOWED = 365_388_284

    CLOUD_ROUTER_BLOCKED = 181_551_680
  end

  # Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC.
  module AllowExternalIpAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS = 0

    EXTERNAL_IP_ACCESS_ALLOWED = 109_530_193

    EXTERNAL_IP_ACCESS_BLOCKED = 462_564_501
  end

  # Specifies whether Cloud Interconnect creation is allowed.
  module AllowInterconnect
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_INTERCONNECT = 0

    INTERCONNECT_ALLOWED = 162_845_399

    INTERCONNECT_BLOCKED = 515_879_707
  end

  # Specifies whether cloud load balancing is allowed.
  module AllowLoadBalancing
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_LOAD_BALANCING = 0

    LOAD_BALANCING_ALLOWED = 28_407_977

    LOAD_BALANCING_BLOCKED = 381_442_285
  end

  # Specifies whether multi-nic in the same network is allowed.
  module AllowMultiNicInSameNetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_NETWORK = 0

    MULTI_NIC_IN_SAME_NETWORK_ALLOWED = 457_555_419

    MULTI_NIC_IN_SAME_NETWORK_BLOCKED = 273_718_815
  end

  # Specifies whether Packet Mirroring 1.0 is supported.
  module AllowPacketMirroring
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PACKET_MIRRORING = 0

    PACKET_MIRRORING_ALLOWED = 92_416_245

    PACKET_MIRRORING_BLOCKED = 445_450_553
  end

  # Specifies whether private Google access is allowed.
  module AllowPrivateGoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PRIVATE_GOOGLE_ACCESS = 0

    PRIVATE_GOOGLE_ACCESS_ALLOWED = 220_787_351

    PRIVATE_GOOGLE_ACCESS_BLOCKED = 36_950_747
  end

  # Specifies whether PSC creation is allowed.
  module AllowPsc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PSC = 0

    PSC_ALLOWED = 171_559_657

    PSC_BLOCKED = 524_593_965
  end

  # Specifies whether unicast within the same network is allowed.
  module AllowSameNetworkUnicast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SAME_NETWORK_UNICAST = 0

    SAME_NETWORK_UNICAST_ALLOWED = 159_732_814

    SAME_NETWORK_UNICAST_BLOCKED = 512_767_122
  end

  # Specifies whether static route creation is allowed.
  module AllowStaticRoutes
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_STATIC_ROUTES = 0

    STATIC_ROUTES_ALLOWED = 409_048_964

    STATIC_ROUTES_BLOCKED = 225_212_360
  end

  # Specifies whether sub interfaces are allowed.
  module AllowSubInterfaces
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUB_INTERFACES = 0

    SUBINTERFACES_ALLOWED = 158_685_891

    SUBINTERFACES_BLOCKED = 511_720_199
  end

  # Specifies whether VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

  # Specifies whether VPN creation is allowed.
  module AllowVpn
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPN = 0

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

  module InterfaceTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE_TYPES = 0

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

  module SubnetPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_PURPOSES = 0

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

  module SubnetStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_STACK_TYPES = 0

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # Specifies which type of unicast is supported.
  module Unicast
    # A value indicating that the enum field is not set.
    UNDEFINED_UNICAST = 0

    UNICAST_SDN = 379_954_157

    UNICAST_ULL = 379_956_325
  end
end

#allow_interconnect::String

Returns 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.



21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21834

class NetworkProfileNetworkFeatures
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods


  module AddressPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_PURPOSES = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476_114_556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230_515_243

    # A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    IPSEC_INTERCONNECT = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294_447_572

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Specifies whether alias IP ranges (and secondary address ranges) are allowed.
  module AllowAliasIpRanges
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ALIAS_IP_RANGES = 0

    ALIAS_IP_RANGES_ALLOWED = 464_867_048

    ALIAS_IP_RANGES_BLOCKED = 281_030_444
  end

  # Specifies whether auto mode subnet creation is allowed.
  module AllowAutoModeSubnet
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_AUTO_MODE_SUBNET = 0

    AUTO_MODE_SUBNET_ALLOWED = 391_042_610

    AUTO_MODE_SUBNET_BLOCKED = 207_206_006
  end

  # Specifies whether firewalls for Class D address ranges are supported.
  module AllowClassDFirewalls
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLASS_D_FIREWALLS = 0

    CLASS_D_FIREWALLS_ALLOWED = 348_219_386

    CLASS_D_FIREWALLS_BLOCKED = 164_382_782
  end

  # Specifies whether cloud NAT creation is allowed.
  module AllowCloudNat
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_NAT = 0

    CLOUD_NAT_ALLOWED = 245_931_296

    CLOUD_NAT_BLOCKED = 62_094_692
  end

  # Specifies whether cloud router creation is allowed.
  module AllowCloudRouter
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_ROUTER = 0

    CLOUD_ROUTER_ALLOWED = 365_388_284

    CLOUD_ROUTER_BLOCKED = 181_551_680
  end

  # Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC.
  module AllowExternalIpAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS = 0

    EXTERNAL_IP_ACCESS_ALLOWED = 109_530_193

    EXTERNAL_IP_ACCESS_BLOCKED = 462_564_501
  end

  # Specifies whether Cloud Interconnect creation is allowed.
  module AllowInterconnect
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_INTERCONNECT = 0

    INTERCONNECT_ALLOWED = 162_845_399

    INTERCONNECT_BLOCKED = 515_879_707
  end

  # Specifies whether cloud load balancing is allowed.
  module AllowLoadBalancing
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_LOAD_BALANCING = 0

    LOAD_BALANCING_ALLOWED = 28_407_977

    LOAD_BALANCING_BLOCKED = 381_442_285
  end

  # Specifies whether multi-nic in the same network is allowed.
  module AllowMultiNicInSameNetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_NETWORK = 0

    MULTI_NIC_IN_SAME_NETWORK_ALLOWED = 457_555_419

    MULTI_NIC_IN_SAME_NETWORK_BLOCKED = 273_718_815
  end

  # Specifies whether Packet Mirroring 1.0 is supported.
  module AllowPacketMirroring
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PACKET_MIRRORING = 0

    PACKET_MIRRORING_ALLOWED = 92_416_245

    PACKET_MIRRORING_BLOCKED = 445_450_553
  end

  # Specifies whether private Google access is allowed.
  module AllowPrivateGoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PRIVATE_GOOGLE_ACCESS = 0

    PRIVATE_GOOGLE_ACCESS_ALLOWED = 220_787_351

    PRIVATE_GOOGLE_ACCESS_BLOCKED = 36_950_747
  end

  # Specifies whether PSC creation is allowed.
  module AllowPsc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PSC = 0

    PSC_ALLOWED = 171_559_657

    PSC_BLOCKED = 524_593_965
  end

  # Specifies whether unicast within the same network is allowed.
  module AllowSameNetworkUnicast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SAME_NETWORK_UNICAST = 0

    SAME_NETWORK_UNICAST_ALLOWED = 159_732_814

    SAME_NETWORK_UNICAST_BLOCKED = 512_767_122
  end

  # Specifies whether static route creation is allowed.
  module AllowStaticRoutes
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_STATIC_ROUTES = 0

    STATIC_ROUTES_ALLOWED = 409_048_964

    STATIC_ROUTES_BLOCKED = 225_212_360
  end

  # Specifies whether sub interfaces are allowed.
  module AllowSubInterfaces
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUB_INTERFACES = 0

    SUBINTERFACES_ALLOWED = 158_685_891

    SUBINTERFACES_BLOCKED = 511_720_199
  end

  # Specifies whether VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

  # Specifies whether VPN creation is allowed.
  module AllowVpn
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPN = 0

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

  module InterfaceTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE_TYPES = 0

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

  module SubnetPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_PURPOSES = 0

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

  module SubnetStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_STACK_TYPES = 0

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # Specifies which type of unicast is supported.
  module Unicast
    # A value indicating that the enum field is not set.
    UNDEFINED_UNICAST = 0

    UNICAST_SDN = 379_954_157

    UNICAST_ULL = 379_956_325
  end
end

#allow_load_balancing::String

Returns 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.



21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21834

class NetworkProfileNetworkFeatures
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods


  module AddressPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_PURPOSES = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476_114_556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230_515_243

    # A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    IPSEC_INTERCONNECT = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294_447_572

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Specifies whether alias IP ranges (and secondary address ranges) are allowed.
  module AllowAliasIpRanges
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ALIAS_IP_RANGES = 0

    ALIAS_IP_RANGES_ALLOWED = 464_867_048

    ALIAS_IP_RANGES_BLOCKED = 281_030_444
  end

  # Specifies whether auto mode subnet creation is allowed.
  module AllowAutoModeSubnet
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_AUTO_MODE_SUBNET = 0

    AUTO_MODE_SUBNET_ALLOWED = 391_042_610

    AUTO_MODE_SUBNET_BLOCKED = 207_206_006
  end

  # Specifies whether firewalls for Class D address ranges are supported.
  module AllowClassDFirewalls
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLASS_D_FIREWALLS = 0

    CLASS_D_FIREWALLS_ALLOWED = 348_219_386

    CLASS_D_FIREWALLS_BLOCKED = 164_382_782
  end

  # Specifies whether cloud NAT creation is allowed.
  module AllowCloudNat
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_NAT = 0

    CLOUD_NAT_ALLOWED = 245_931_296

    CLOUD_NAT_BLOCKED = 62_094_692
  end

  # Specifies whether cloud router creation is allowed.
  module AllowCloudRouter
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_ROUTER = 0

    CLOUD_ROUTER_ALLOWED = 365_388_284

    CLOUD_ROUTER_BLOCKED = 181_551_680
  end

  # Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC.
  module AllowExternalIpAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS = 0

    EXTERNAL_IP_ACCESS_ALLOWED = 109_530_193

    EXTERNAL_IP_ACCESS_BLOCKED = 462_564_501
  end

  # Specifies whether Cloud Interconnect creation is allowed.
  module AllowInterconnect
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_INTERCONNECT = 0

    INTERCONNECT_ALLOWED = 162_845_399

    INTERCONNECT_BLOCKED = 515_879_707
  end

  # Specifies whether cloud load balancing is allowed.
  module AllowLoadBalancing
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_LOAD_BALANCING = 0

    LOAD_BALANCING_ALLOWED = 28_407_977

    LOAD_BALANCING_BLOCKED = 381_442_285
  end

  # Specifies whether multi-nic in the same network is allowed.
  module AllowMultiNicInSameNetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_NETWORK = 0

    MULTI_NIC_IN_SAME_NETWORK_ALLOWED = 457_555_419

    MULTI_NIC_IN_SAME_NETWORK_BLOCKED = 273_718_815
  end

  # Specifies whether Packet Mirroring 1.0 is supported.
  module AllowPacketMirroring
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PACKET_MIRRORING = 0

    PACKET_MIRRORING_ALLOWED = 92_416_245

    PACKET_MIRRORING_BLOCKED = 445_450_553
  end

  # Specifies whether private Google access is allowed.
  module AllowPrivateGoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PRIVATE_GOOGLE_ACCESS = 0

    PRIVATE_GOOGLE_ACCESS_ALLOWED = 220_787_351

    PRIVATE_GOOGLE_ACCESS_BLOCKED = 36_950_747
  end

  # Specifies whether PSC creation is allowed.
  module AllowPsc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PSC = 0

    PSC_ALLOWED = 171_559_657

    PSC_BLOCKED = 524_593_965
  end

  # Specifies whether unicast within the same network is allowed.
  module AllowSameNetworkUnicast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SAME_NETWORK_UNICAST = 0

    SAME_NETWORK_UNICAST_ALLOWED = 159_732_814

    SAME_NETWORK_UNICAST_BLOCKED = 512_767_122
  end

  # Specifies whether static route creation is allowed.
  module AllowStaticRoutes
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_STATIC_ROUTES = 0

    STATIC_ROUTES_ALLOWED = 409_048_964

    STATIC_ROUTES_BLOCKED = 225_212_360
  end

  # Specifies whether sub interfaces are allowed.
  module AllowSubInterfaces
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUB_INTERFACES = 0

    SUBINTERFACES_ALLOWED = 158_685_891

    SUBINTERFACES_BLOCKED = 511_720_199
  end

  # Specifies whether VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

  # Specifies whether VPN creation is allowed.
  module AllowVpn
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPN = 0

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

  module InterfaceTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE_TYPES = 0

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

  module SubnetPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_PURPOSES = 0

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

  module SubnetStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_STACK_TYPES = 0

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # Specifies which type of unicast is supported.
  module Unicast
    # A value indicating that the enum field is not set.
    UNDEFINED_UNICAST = 0

    UNICAST_SDN = 379_954_157

    UNICAST_ULL = 379_956_325
  end
end

#allow_multi_nic_in_same_network::String

Returns 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.



21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21834

class NetworkProfileNetworkFeatures
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods


  module AddressPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_PURPOSES = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476_114_556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230_515_243

    # A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    IPSEC_INTERCONNECT = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294_447_572

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Specifies whether alias IP ranges (and secondary address ranges) are allowed.
  module AllowAliasIpRanges
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ALIAS_IP_RANGES = 0

    ALIAS_IP_RANGES_ALLOWED = 464_867_048

    ALIAS_IP_RANGES_BLOCKED = 281_030_444
  end

  # Specifies whether auto mode subnet creation is allowed.
  module AllowAutoModeSubnet
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_AUTO_MODE_SUBNET = 0

    AUTO_MODE_SUBNET_ALLOWED = 391_042_610

    AUTO_MODE_SUBNET_BLOCKED = 207_206_006
  end

  # Specifies whether firewalls for Class D address ranges are supported.
  module AllowClassDFirewalls
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLASS_D_FIREWALLS = 0

    CLASS_D_FIREWALLS_ALLOWED = 348_219_386

    CLASS_D_FIREWALLS_BLOCKED = 164_382_782
  end

  # Specifies whether cloud NAT creation is allowed.
  module AllowCloudNat
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_NAT = 0

    CLOUD_NAT_ALLOWED = 245_931_296

    CLOUD_NAT_BLOCKED = 62_094_692
  end

  # Specifies whether cloud router creation is allowed.
  module AllowCloudRouter
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_ROUTER = 0

    CLOUD_ROUTER_ALLOWED = 365_388_284

    CLOUD_ROUTER_BLOCKED = 181_551_680
  end

  # Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC.
  module AllowExternalIpAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS = 0

    EXTERNAL_IP_ACCESS_ALLOWED = 109_530_193

    EXTERNAL_IP_ACCESS_BLOCKED = 462_564_501
  end

  # Specifies whether Cloud Interconnect creation is allowed.
  module AllowInterconnect
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_INTERCONNECT = 0

    INTERCONNECT_ALLOWED = 162_845_399

    INTERCONNECT_BLOCKED = 515_879_707
  end

  # Specifies whether cloud load balancing is allowed.
  module AllowLoadBalancing
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_LOAD_BALANCING = 0

    LOAD_BALANCING_ALLOWED = 28_407_977

    LOAD_BALANCING_BLOCKED = 381_442_285
  end

  # Specifies whether multi-nic in the same network is allowed.
  module AllowMultiNicInSameNetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_NETWORK = 0

    MULTI_NIC_IN_SAME_NETWORK_ALLOWED = 457_555_419

    MULTI_NIC_IN_SAME_NETWORK_BLOCKED = 273_718_815
  end

  # Specifies whether Packet Mirroring 1.0 is supported.
  module AllowPacketMirroring
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PACKET_MIRRORING = 0

    PACKET_MIRRORING_ALLOWED = 92_416_245

    PACKET_MIRRORING_BLOCKED = 445_450_553
  end

  # Specifies whether private Google access is allowed.
  module AllowPrivateGoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PRIVATE_GOOGLE_ACCESS = 0

    PRIVATE_GOOGLE_ACCESS_ALLOWED = 220_787_351

    PRIVATE_GOOGLE_ACCESS_BLOCKED = 36_950_747
  end

  # Specifies whether PSC creation is allowed.
  module AllowPsc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PSC = 0

    PSC_ALLOWED = 171_559_657

    PSC_BLOCKED = 524_593_965
  end

  # Specifies whether unicast within the same network is allowed.
  module AllowSameNetworkUnicast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SAME_NETWORK_UNICAST = 0

    SAME_NETWORK_UNICAST_ALLOWED = 159_732_814

    SAME_NETWORK_UNICAST_BLOCKED = 512_767_122
  end

  # Specifies whether static route creation is allowed.
  module AllowStaticRoutes
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_STATIC_ROUTES = 0

    STATIC_ROUTES_ALLOWED = 409_048_964

    STATIC_ROUTES_BLOCKED = 225_212_360
  end

  # Specifies whether sub interfaces are allowed.
  module AllowSubInterfaces
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUB_INTERFACES = 0

    SUBINTERFACES_ALLOWED = 158_685_891

    SUBINTERFACES_BLOCKED = 511_720_199
  end

  # Specifies whether VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

  # Specifies whether VPN creation is allowed.
  module AllowVpn
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPN = 0

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

  module InterfaceTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE_TYPES = 0

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

  module SubnetPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_PURPOSES = 0

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

  module SubnetStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_STACK_TYPES = 0

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # Specifies which type of unicast is supported.
  module Unicast
    # A value indicating that the enum field is not set.
    UNDEFINED_UNICAST = 0

    UNICAST_SDN = 379_954_157

    UNICAST_ULL = 379_956_325
  end
end

#allow_packet_mirroring::String

Returns 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.



21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21834

class NetworkProfileNetworkFeatures
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods


  module AddressPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_PURPOSES = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476_114_556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230_515_243

    # A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    IPSEC_INTERCONNECT = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294_447_572

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Specifies whether alias IP ranges (and secondary address ranges) are allowed.
  module AllowAliasIpRanges
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ALIAS_IP_RANGES = 0

    ALIAS_IP_RANGES_ALLOWED = 464_867_048

    ALIAS_IP_RANGES_BLOCKED = 281_030_444
  end

  # Specifies whether auto mode subnet creation is allowed.
  module AllowAutoModeSubnet
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_AUTO_MODE_SUBNET = 0

    AUTO_MODE_SUBNET_ALLOWED = 391_042_610

    AUTO_MODE_SUBNET_BLOCKED = 207_206_006
  end

  # Specifies whether firewalls for Class D address ranges are supported.
  module AllowClassDFirewalls
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLASS_D_FIREWALLS = 0

    CLASS_D_FIREWALLS_ALLOWED = 348_219_386

    CLASS_D_FIREWALLS_BLOCKED = 164_382_782
  end

  # Specifies whether cloud NAT creation is allowed.
  module AllowCloudNat
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_NAT = 0

    CLOUD_NAT_ALLOWED = 245_931_296

    CLOUD_NAT_BLOCKED = 62_094_692
  end

  # Specifies whether cloud router creation is allowed.
  module AllowCloudRouter
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_ROUTER = 0

    CLOUD_ROUTER_ALLOWED = 365_388_284

    CLOUD_ROUTER_BLOCKED = 181_551_680
  end

  # Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC.
  module AllowExternalIpAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS = 0

    EXTERNAL_IP_ACCESS_ALLOWED = 109_530_193

    EXTERNAL_IP_ACCESS_BLOCKED = 462_564_501
  end

  # Specifies whether Cloud Interconnect creation is allowed.
  module AllowInterconnect
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_INTERCONNECT = 0

    INTERCONNECT_ALLOWED = 162_845_399

    INTERCONNECT_BLOCKED = 515_879_707
  end

  # Specifies whether cloud load balancing is allowed.
  module AllowLoadBalancing
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_LOAD_BALANCING = 0

    LOAD_BALANCING_ALLOWED = 28_407_977

    LOAD_BALANCING_BLOCKED = 381_442_285
  end

  # Specifies whether multi-nic in the same network is allowed.
  module AllowMultiNicInSameNetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_NETWORK = 0

    MULTI_NIC_IN_SAME_NETWORK_ALLOWED = 457_555_419

    MULTI_NIC_IN_SAME_NETWORK_BLOCKED = 273_718_815
  end

  # Specifies whether Packet Mirroring 1.0 is supported.
  module AllowPacketMirroring
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PACKET_MIRRORING = 0

    PACKET_MIRRORING_ALLOWED = 92_416_245

    PACKET_MIRRORING_BLOCKED = 445_450_553
  end

  # Specifies whether private Google access is allowed.
  module AllowPrivateGoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PRIVATE_GOOGLE_ACCESS = 0

    PRIVATE_GOOGLE_ACCESS_ALLOWED = 220_787_351

    PRIVATE_GOOGLE_ACCESS_BLOCKED = 36_950_747
  end

  # Specifies whether PSC creation is allowed.
  module AllowPsc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PSC = 0

    PSC_ALLOWED = 171_559_657

    PSC_BLOCKED = 524_593_965
  end

  # Specifies whether unicast within the same network is allowed.
  module AllowSameNetworkUnicast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SAME_NETWORK_UNICAST = 0

    SAME_NETWORK_UNICAST_ALLOWED = 159_732_814

    SAME_NETWORK_UNICAST_BLOCKED = 512_767_122
  end

  # Specifies whether static route creation is allowed.
  module AllowStaticRoutes
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_STATIC_ROUTES = 0

    STATIC_ROUTES_ALLOWED = 409_048_964

    STATIC_ROUTES_BLOCKED = 225_212_360
  end

  # Specifies whether sub interfaces are allowed.
  module AllowSubInterfaces
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUB_INTERFACES = 0

    SUBINTERFACES_ALLOWED = 158_685_891

    SUBINTERFACES_BLOCKED = 511_720_199
  end

  # Specifies whether VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

  # Specifies whether VPN creation is allowed.
  module AllowVpn
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPN = 0

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

  module InterfaceTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE_TYPES = 0

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

  module SubnetPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_PURPOSES = 0

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

  module SubnetStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_STACK_TYPES = 0

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # Specifies which type of unicast is supported.
  module Unicast
    # A value indicating that the enum field is not set.
    UNDEFINED_UNICAST = 0

    UNICAST_SDN = 379_954_157

    UNICAST_ULL = 379_956_325
  end
end

#allow_private_google_access::String

Returns 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.



21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21834

class NetworkProfileNetworkFeatures
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods


  module AddressPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_PURPOSES = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476_114_556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230_515_243

    # A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    IPSEC_INTERCONNECT = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294_447_572

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Specifies whether alias IP ranges (and secondary address ranges) are allowed.
  module AllowAliasIpRanges
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ALIAS_IP_RANGES = 0

    ALIAS_IP_RANGES_ALLOWED = 464_867_048

    ALIAS_IP_RANGES_BLOCKED = 281_030_444
  end

  # Specifies whether auto mode subnet creation is allowed.
  module AllowAutoModeSubnet
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_AUTO_MODE_SUBNET = 0

    AUTO_MODE_SUBNET_ALLOWED = 391_042_610

    AUTO_MODE_SUBNET_BLOCKED = 207_206_006
  end

  # Specifies whether firewalls for Class D address ranges are supported.
  module AllowClassDFirewalls
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLASS_D_FIREWALLS = 0

    CLASS_D_FIREWALLS_ALLOWED = 348_219_386

    CLASS_D_FIREWALLS_BLOCKED = 164_382_782
  end

  # Specifies whether cloud NAT creation is allowed.
  module AllowCloudNat
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_NAT = 0

    CLOUD_NAT_ALLOWED = 245_931_296

    CLOUD_NAT_BLOCKED = 62_094_692
  end

  # Specifies whether cloud router creation is allowed.
  module AllowCloudRouter
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_ROUTER = 0

    CLOUD_ROUTER_ALLOWED = 365_388_284

    CLOUD_ROUTER_BLOCKED = 181_551_680
  end

  # Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC.
  module AllowExternalIpAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS = 0

    EXTERNAL_IP_ACCESS_ALLOWED = 109_530_193

    EXTERNAL_IP_ACCESS_BLOCKED = 462_564_501
  end

  # Specifies whether Cloud Interconnect creation is allowed.
  module AllowInterconnect
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_INTERCONNECT = 0

    INTERCONNECT_ALLOWED = 162_845_399

    INTERCONNECT_BLOCKED = 515_879_707
  end

  # Specifies whether cloud load balancing is allowed.
  module AllowLoadBalancing
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_LOAD_BALANCING = 0

    LOAD_BALANCING_ALLOWED = 28_407_977

    LOAD_BALANCING_BLOCKED = 381_442_285
  end

  # Specifies whether multi-nic in the same network is allowed.
  module AllowMultiNicInSameNetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_NETWORK = 0

    MULTI_NIC_IN_SAME_NETWORK_ALLOWED = 457_555_419

    MULTI_NIC_IN_SAME_NETWORK_BLOCKED = 273_718_815
  end

  # Specifies whether Packet Mirroring 1.0 is supported.
  module AllowPacketMirroring
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PACKET_MIRRORING = 0

    PACKET_MIRRORING_ALLOWED = 92_416_245

    PACKET_MIRRORING_BLOCKED = 445_450_553
  end

  # Specifies whether private Google access is allowed.
  module AllowPrivateGoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PRIVATE_GOOGLE_ACCESS = 0

    PRIVATE_GOOGLE_ACCESS_ALLOWED = 220_787_351

    PRIVATE_GOOGLE_ACCESS_BLOCKED = 36_950_747
  end

  # Specifies whether PSC creation is allowed.
  module AllowPsc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PSC = 0

    PSC_ALLOWED = 171_559_657

    PSC_BLOCKED = 524_593_965
  end

  # Specifies whether unicast within the same network is allowed.
  module AllowSameNetworkUnicast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SAME_NETWORK_UNICAST = 0

    SAME_NETWORK_UNICAST_ALLOWED = 159_732_814

    SAME_NETWORK_UNICAST_BLOCKED = 512_767_122
  end

  # Specifies whether static route creation is allowed.
  module AllowStaticRoutes
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_STATIC_ROUTES = 0

    STATIC_ROUTES_ALLOWED = 409_048_964

    STATIC_ROUTES_BLOCKED = 225_212_360
  end

  # Specifies whether sub interfaces are allowed.
  module AllowSubInterfaces
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUB_INTERFACES = 0

    SUBINTERFACES_ALLOWED = 158_685_891

    SUBINTERFACES_BLOCKED = 511_720_199
  end

  # Specifies whether VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

  # Specifies whether VPN creation is allowed.
  module AllowVpn
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPN = 0

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

  module InterfaceTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE_TYPES = 0

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

  module SubnetPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_PURPOSES = 0

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

  module SubnetStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_STACK_TYPES = 0

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # Specifies which type of unicast is supported.
  module Unicast
    # A value indicating that the enum field is not set.
    UNDEFINED_UNICAST = 0

    UNICAST_SDN = 379_954_157

    UNICAST_ULL = 379_956_325
  end
end

#allow_psc::String

Returns 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.



21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21834

class NetworkProfileNetworkFeatures
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods


  module AddressPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_PURPOSES = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476_114_556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230_515_243

    # A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    IPSEC_INTERCONNECT = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294_447_572

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Specifies whether alias IP ranges (and secondary address ranges) are allowed.
  module AllowAliasIpRanges
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ALIAS_IP_RANGES = 0

    ALIAS_IP_RANGES_ALLOWED = 464_867_048

    ALIAS_IP_RANGES_BLOCKED = 281_030_444
  end

  # Specifies whether auto mode subnet creation is allowed.
  module AllowAutoModeSubnet
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_AUTO_MODE_SUBNET = 0

    AUTO_MODE_SUBNET_ALLOWED = 391_042_610

    AUTO_MODE_SUBNET_BLOCKED = 207_206_006
  end

  # Specifies whether firewalls for Class D address ranges are supported.
  module AllowClassDFirewalls
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLASS_D_FIREWALLS = 0

    CLASS_D_FIREWALLS_ALLOWED = 348_219_386

    CLASS_D_FIREWALLS_BLOCKED = 164_382_782
  end

  # Specifies whether cloud NAT creation is allowed.
  module AllowCloudNat
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_NAT = 0

    CLOUD_NAT_ALLOWED = 245_931_296

    CLOUD_NAT_BLOCKED = 62_094_692
  end

  # Specifies whether cloud router creation is allowed.
  module AllowCloudRouter
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_ROUTER = 0

    CLOUD_ROUTER_ALLOWED = 365_388_284

    CLOUD_ROUTER_BLOCKED = 181_551_680
  end

  # Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC.
  module AllowExternalIpAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS = 0

    EXTERNAL_IP_ACCESS_ALLOWED = 109_530_193

    EXTERNAL_IP_ACCESS_BLOCKED = 462_564_501
  end

  # Specifies whether Cloud Interconnect creation is allowed.
  module AllowInterconnect
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_INTERCONNECT = 0

    INTERCONNECT_ALLOWED = 162_845_399

    INTERCONNECT_BLOCKED = 515_879_707
  end

  # Specifies whether cloud load balancing is allowed.
  module AllowLoadBalancing
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_LOAD_BALANCING = 0

    LOAD_BALANCING_ALLOWED = 28_407_977

    LOAD_BALANCING_BLOCKED = 381_442_285
  end

  # Specifies whether multi-nic in the same network is allowed.
  module AllowMultiNicInSameNetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_NETWORK = 0

    MULTI_NIC_IN_SAME_NETWORK_ALLOWED = 457_555_419

    MULTI_NIC_IN_SAME_NETWORK_BLOCKED = 273_718_815
  end

  # Specifies whether Packet Mirroring 1.0 is supported.
  module AllowPacketMirroring
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PACKET_MIRRORING = 0

    PACKET_MIRRORING_ALLOWED = 92_416_245

    PACKET_MIRRORING_BLOCKED = 445_450_553
  end

  # Specifies whether private Google access is allowed.
  module AllowPrivateGoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PRIVATE_GOOGLE_ACCESS = 0

    PRIVATE_GOOGLE_ACCESS_ALLOWED = 220_787_351

    PRIVATE_GOOGLE_ACCESS_BLOCKED = 36_950_747
  end

  # Specifies whether PSC creation is allowed.
  module AllowPsc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PSC = 0

    PSC_ALLOWED = 171_559_657

    PSC_BLOCKED = 524_593_965
  end

  # Specifies whether unicast within the same network is allowed.
  module AllowSameNetworkUnicast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SAME_NETWORK_UNICAST = 0

    SAME_NETWORK_UNICAST_ALLOWED = 159_732_814

    SAME_NETWORK_UNICAST_BLOCKED = 512_767_122
  end

  # Specifies whether static route creation is allowed.
  module AllowStaticRoutes
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_STATIC_ROUTES = 0

    STATIC_ROUTES_ALLOWED = 409_048_964

    STATIC_ROUTES_BLOCKED = 225_212_360
  end

  # Specifies whether sub interfaces are allowed.
  module AllowSubInterfaces
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUB_INTERFACES = 0

    SUBINTERFACES_ALLOWED = 158_685_891

    SUBINTERFACES_BLOCKED = 511_720_199
  end

  # Specifies whether VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

  # Specifies whether VPN creation is allowed.
  module AllowVpn
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPN = 0

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

  module InterfaceTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE_TYPES = 0

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

  module SubnetPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_PURPOSES = 0

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

  module SubnetStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_STACK_TYPES = 0

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # Specifies which type of unicast is supported.
  module Unicast
    # A value indicating that the enum field is not set.
    UNDEFINED_UNICAST = 0

    UNICAST_SDN = 379_954_157

    UNICAST_ULL = 379_956_325
  end
end

#allow_same_network_unicast::String

Returns 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.



21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21834

class NetworkProfileNetworkFeatures
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods


  module AddressPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_PURPOSES = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476_114_556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230_515_243

    # A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    IPSEC_INTERCONNECT = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294_447_572

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Specifies whether alias IP ranges (and secondary address ranges) are allowed.
  module AllowAliasIpRanges
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ALIAS_IP_RANGES = 0

    ALIAS_IP_RANGES_ALLOWED = 464_867_048

    ALIAS_IP_RANGES_BLOCKED = 281_030_444
  end

  # Specifies whether auto mode subnet creation is allowed.
  module AllowAutoModeSubnet
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_AUTO_MODE_SUBNET = 0

    AUTO_MODE_SUBNET_ALLOWED = 391_042_610

    AUTO_MODE_SUBNET_BLOCKED = 207_206_006
  end

  # Specifies whether firewalls for Class D address ranges are supported.
  module AllowClassDFirewalls
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLASS_D_FIREWALLS = 0

    CLASS_D_FIREWALLS_ALLOWED = 348_219_386

    CLASS_D_FIREWALLS_BLOCKED = 164_382_782
  end

  # Specifies whether cloud NAT creation is allowed.
  module AllowCloudNat
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_NAT = 0

    CLOUD_NAT_ALLOWED = 245_931_296

    CLOUD_NAT_BLOCKED = 62_094_692
  end

  # Specifies whether cloud router creation is allowed.
  module AllowCloudRouter
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_ROUTER = 0

    CLOUD_ROUTER_ALLOWED = 365_388_284

    CLOUD_ROUTER_BLOCKED = 181_551_680
  end

  # Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC.
  module AllowExternalIpAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS = 0

    EXTERNAL_IP_ACCESS_ALLOWED = 109_530_193

    EXTERNAL_IP_ACCESS_BLOCKED = 462_564_501
  end

  # Specifies whether Cloud Interconnect creation is allowed.
  module AllowInterconnect
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_INTERCONNECT = 0

    INTERCONNECT_ALLOWED = 162_845_399

    INTERCONNECT_BLOCKED = 515_879_707
  end

  # Specifies whether cloud load balancing is allowed.
  module AllowLoadBalancing
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_LOAD_BALANCING = 0

    LOAD_BALANCING_ALLOWED = 28_407_977

    LOAD_BALANCING_BLOCKED = 381_442_285
  end

  # Specifies whether multi-nic in the same network is allowed.
  module AllowMultiNicInSameNetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_NETWORK = 0

    MULTI_NIC_IN_SAME_NETWORK_ALLOWED = 457_555_419

    MULTI_NIC_IN_SAME_NETWORK_BLOCKED = 273_718_815
  end

  # Specifies whether Packet Mirroring 1.0 is supported.
  module AllowPacketMirroring
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PACKET_MIRRORING = 0

    PACKET_MIRRORING_ALLOWED = 92_416_245

    PACKET_MIRRORING_BLOCKED = 445_450_553
  end

  # Specifies whether private Google access is allowed.
  module AllowPrivateGoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PRIVATE_GOOGLE_ACCESS = 0

    PRIVATE_GOOGLE_ACCESS_ALLOWED = 220_787_351

    PRIVATE_GOOGLE_ACCESS_BLOCKED = 36_950_747
  end

  # Specifies whether PSC creation is allowed.
  module AllowPsc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PSC = 0

    PSC_ALLOWED = 171_559_657

    PSC_BLOCKED = 524_593_965
  end

  # Specifies whether unicast within the same network is allowed.
  module AllowSameNetworkUnicast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SAME_NETWORK_UNICAST = 0

    SAME_NETWORK_UNICAST_ALLOWED = 159_732_814

    SAME_NETWORK_UNICAST_BLOCKED = 512_767_122
  end

  # Specifies whether static route creation is allowed.
  module AllowStaticRoutes
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_STATIC_ROUTES = 0

    STATIC_ROUTES_ALLOWED = 409_048_964

    STATIC_ROUTES_BLOCKED = 225_212_360
  end

  # Specifies whether sub interfaces are allowed.
  module AllowSubInterfaces
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUB_INTERFACES = 0

    SUBINTERFACES_ALLOWED = 158_685_891

    SUBINTERFACES_BLOCKED = 511_720_199
  end

  # Specifies whether VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

  # Specifies whether VPN creation is allowed.
  module AllowVpn
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPN = 0

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

  module InterfaceTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE_TYPES = 0

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

  module SubnetPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_PURPOSES = 0

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

  module SubnetStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_STACK_TYPES = 0

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # Specifies which type of unicast is supported.
  module Unicast
    # A value indicating that the enum field is not set.
    UNDEFINED_UNICAST = 0

    UNICAST_SDN = 379_954_157

    UNICAST_ULL = 379_956_325
  end
end

#allow_static_routes::String

Returns 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.



21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21834

class NetworkProfileNetworkFeatures
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods


  module AddressPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_PURPOSES = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476_114_556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230_515_243

    # A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    IPSEC_INTERCONNECT = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294_447_572

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Specifies whether alias IP ranges (and secondary address ranges) are allowed.
  module AllowAliasIpRanges
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ALIAS_IP_RANGES = 0

    ALIAS_IP_RANGES_ALLOWED = 464_867_048

    ALIAS_IP_RANGES_BLOCKED = 281_030_444
  end

  # Specifies whether auto mode subnet creation is allowed.
  module AllowAutoModeSubnet
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_AUTO_MODE_SUBNET = 0

    AUTO_MODE_SUBNET_ALLOWED = 391_042_610

    AUTO_MODE_SUBNET_BLOCKED = 207_206_006
  end

  # Specifies whether firewalls for Class D address ranges are supported.
  module AllowClassDFirewalls
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLASS_D_FIREWALLS = 0

    CLASS_D_FIREWALLS_ALLOWED = 348_219_386

    CLASS_D_FIREWALLS_BLOCKED = 164_382_782
  end

  # Specifies whether cloud NAT creation is allowed.
  module AllowCloudNat
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_NAT = 0

    CLOUD_NAT_ALLOWED = 245_931_296

    CLOUD_NAT_BLOCKED = 62_094_692
  end

  # Specifies whether cloud router creation is allowed.
  module AllowCloudRouter
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_ROUTER = 0

    CLOUD_ROUTER_ALLOWED = 365_388_284

    CLOUD_ROUTER_BLOCKED = 181_551_680
  end

  # Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC.
  module AllowExternalIpAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS = 0

    EXTERNAL_IP_ACCESS_ALLOWED = 109_530_193

    EXTERNAL_IP_ACCESS_BLOCKED = 462_564_501
  end

  # Specifies whether Cloud Interconnect creation is allowed.
  module AllowInterconnect
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_INTERCONNECT = 0

    INTERCONNECT_ALLOWED = 162_845_399

    INTERCONNECT_BLOCKED = 515_879_707
  end

  # Specifies whether cloud load balancing is allowed.
  module AllowLoadBalancing
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_LOAD_BALANCING = 0

    LOAD_BALANCING_ALLOWED = 28_407_977

    LOAD_BALANCING_BLOCKED = 381_442_285
  end

  # Specifies whether multi-nic in the same network is allowed.
  module AllowMultiNicInSameNetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_NETWORK = 0

    MULTI_NIC_IN_SAME_NETWORK_ALLOWED = 457_555_419

    MULTI_NIC_IN_SAME_NETWORK_BLOCKED = 273_718_815
  end

  # Specifies whether Packet Mirroring 1.0 is supported.
  module AllowPacketMirroring
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PACKET_MIRRORING = 0

    PACKET_MIRRORING_ALLOWED = 92_416_245

    PACKET_MIRRORING_BLOCKED = 445_450_553
  end

  # Specifies whether private Google access is allowed.
  module AllowPrivateGoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PRIVATE_GOOGLE_ACCESS = 0

    PRIVATE_GOOGLE_ACCESS_ALLOWED = 220_787_351

    PRIVATE_GOOGLE_ACCESS_BLOCKED = 36_950_747
  end

  # Specifies whether PSC creation is allowed.
  module AllowPsc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PSC = 0

    PSC_ALLOWED = 171_559_657

    PSC_BLOCKED = 524_593_965
  end

  # Specifies whether unicast within the same network is allowed.
  module AllowSameNetworkUnicast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SAME_NETWORK_UNICAST = 0

    SAME_NETWORK_UNICAST_ALLOWED = 159_732_814

    SAME_NETWORK_UNICAST_BLOCKED = 512_767_122
  end

  # Specifies whether static route creation is allowed.
  module AllowStaticRoutes
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_STATIC_ROUTES = 0

    STATIC_ROUTES_ALLOWED = 409_048_964

    STATIC_ROUTES_BLOCKED = 225_212_360
  end

  # Specifies whether sub interfaces are allowed.
  module AllowSubInterfaces
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUB_INTERFACES = 0

    SUBINTERFACES_ALLOWED = 158_685_891

    SUBINTERFACES_BLOCKED = 511_720_199
  end

  # Specifies whether VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

  # Specifies whether VPN creation is allowed.
  module AllowVpn
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPN = 0

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

  module InterfaceTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE_TYPES = 0

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

  module SubnetPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_PURPOSES = 0

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

  module SubnetStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_STACK_TYPES = 0

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # Specifies which type of unicast is supported.
  module Unicast
    # A value indicating that the enum field is not set.
    UNDEFINED_UNICAST = 0

    UNICAST_SDN = 379_954_157

    UNICAST_ULL = 379_956_325
  end
end

#allow_sub_interfaces::String

Returns 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.



21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21834

class NetworkProfileNetworkFeatures
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods


  module AddressPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_PURPOSES = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476_114_556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230_515_243

    # A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    IPSEC_INTERCONNECT = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294_447_572

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Specifies whether alias IP ranges (and secondary address ranges) are allowed.
  module AllowAliasIpRanges
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ALIAS_IP_RANGES = 0

    ALIAS_IP_RANGES_ALLOWED = 464_867_048

    ALIAS_IP_RANGES_BLOCKED = 281_030_444
  end

  # Specifies whether auto mode subnet creation is allowed.
  module AllowAutoModeSubnet
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_AUTO_MODE_SUBNET = 0

    AUTO_MODE_SUBNET_ALLOWED = 391_042_610

    AUTO_MODE_SUBNET_BLOCKED = 207_206_006
  end

  # Specifies whether firewalls for Class D address ranges are supported.
  module AllowClassDFirewalls
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLASS_D_FIREWALLS = 0

    CLASS_D_FIREWALLS_ALLOWED = 348_219_386

    CLASS_D_FIREWALLS_BLOCKED = 164_382_782
  end

  # Specifies whether cloud NAT creation is allowed.
  module AllowCloudNat
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_NAT = 0

    CLOUD_NAT_ALLOWED = 245_931_296

    CLOUD_NAT_BLOCKED = 62_094_692
  end

  # Specifies whether cloud router creation is allowed.
  module AllowCloudRouter
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_ROUTER = 0

    CLOUD_ROUTER_ALLOWED = 365_388_284

    CLOUD_ROUTER_BLOCKED = 181_551_680
  end

  # Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC.
  module AllowExternalIpAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS = 0

    EXTERNAL_IP_ACCESS_ALLOWED = 109_530_193

    EXTERNAL_IP_ACCESS_BLOCKED = 462_564_501
  end

  # Specifies whether Cloud Interconnect creation is allowed.
  module AllowInterconnect
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_INTERCONNECT = 0

    INTERCONNECT_ALLOWED = 162_845_399

    INTERCONNECT_BLOCKED = 515_879_707
  end

  # Specifies whether cloud load balancing is allowed.
  module AllowLoadBalancing
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_LOAD_BALANCING = 0

    LOAD_BALANCING_ALLOWED = 28_407_977

    LOAD_BALANCING_BLOCKED = 381_442_285
  end

  # Specifies whether multi-nic in the same network is allowed.
  module AllowMultiNicInSameNetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_NETWORK = 0

    MULTI_NIC_IN_SAME_NETWORK_ALLOWED = 457_555_419

    MULTI_NIC_IN_SAME_NETWORK_BLOCKED = 273_718_815
  end

  # Specifies whether Packet Mirroring 1.0 is supported.
  module AllowPacketMirroring
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PACKET_MIRRORING = 0

    PACKET_MIRRORING_ALLOWED = 92_416_245

    PACKET_MIRRORING_BLOCKED = 445_450_553
  end

  # Specifies whether private Google access is allowed.
  module AllowPrivateGoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PRIVATE_GOOGLE_ACCESS = 0

    PRIVATE_GOOGLE_ACCESS_ALLOWED = 220_787_351

    PRIVATE_GOOGLE_ACCESS_BLOCKED = 36_950_747
  end

  # Specifies whether PSC creation is allowed.
  module AllowPsc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PSC = 0

    PSC_ALLOWED = 171_559_657

    PSC_BLOCKED = 524_593_965
  end

  # Specifies whether unicast within the same network is allowed.
  module AllowSameNetworkUnicast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SAME_NETWORK_UNICAST = 0

    SAME_NETWORK_UNICAST_ALLOWED = 159_732_814

    SAME_NETWORK_UNICAST_BLOCKED = 512_767_122
  end

  # Specifies whether static route creation is allowed.
  module AllowStaticRoutes
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_STATIC_ROUTES = 0

    STATIC_ROUTES_ALLOWED = 409_048_964

    STATIC_ROUTES_BLOCKED = 225_212_360
  end

  # Specifies whether sub interfaces are allowed.
  module AllowSubInterfaces
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUB_INTERFACES = 0

    SUBINTERFACES_ALLOWED = 158_685_891

    SUBINTERFACES_BLOCKED = 511_720_199
  end

  # Specifies whether VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

  # Specifies whether VPN creation is allowed.
  module AllowVpn
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPN = 0

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

  module InterfaceTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE_TYPES = 0

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

  module SubnetPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_PURPOSES = 0

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

  module SubnetStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_STACK_TYPES = 0

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # Specifies which type of unicast is supported.
  module Unicast
    # A value indicating that the enum field is not set.
    UNDEFINED_UNICAST = 0

    UNICAST_SDN = 379_954_157

    UNICAST_ULL = 379_956_325
  end
end

#allow_vpc_peering::String

Returns 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.



21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21834

class NetworkProfileNetworkFeatures
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods


  module AddressPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_PURPOSES = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476_114_556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230_515_243

    # A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    IPSEC_INTERCONNECT = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294_447_572

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Specifies whether alias IP ranges (and secondary address ranges) are allowed.
  module AllowAliasIpRanges
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ALIAS_IP_RANGES = 0

    ALIAS_IP_RANGES_ALLOWED = 464_867_048

    ALIAS_IP_RANGES_BLOCKED = 281_030_444
  end

  # Specifies whether auto mode subnet creation is allowed.
  module AllowAutoModeSubnet
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_AUTO_MODE_SUBNET = 0

    AUTO_MODE_SUBNET_ALLOWED = 391_042_610

    AUTO_MODE_SUBNET_BLOCKED = 207_206_006
  end

  # Specifies whether firewalls for Class D address ranges are supported.
  module AllowClassDFirewalls
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLASS_D_FIREWALLS = 0

    CLASS_D_FIREWALLS_ALLOWED = 348_219_386

    CLASS_D_FIREWALLS_BLOCKED = 164_382_782
  end

  # Specifies whether cloud NAT creation is allowed.
  module AllowCloudNat
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_NAT = 0

    CLOUD_NAT_ALLOWED = 245_931_296

    CLOUD_NAT_BLOCKED = 62_094_692
  end

  # Specifies whether cloud router creation is allowed.
  module AllowCloudRouter
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_ROUTER = 0

    CLOUD_ROUTER_ALLOWED = 365_388_284

    CLOUD_ROUTER_BLOCKED = 181_551_680
  end

  # Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC.
  module AllowExternalIpAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS = 0

    EXTERNAL_IP_ACCESS_ALLOWED = 109_530_193

    EXTERNAL_IP_ACCESS_BLOCKED = 462_564_501
  end

  # Specifies whether Cloud Interconnect creation is allowed.
  module AllowInterconnect
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_INTERCONNECT = 0

    INTERCONNECT_ALLOWED = 162_845_399

    INTERCONNECT_BLOCKED = 515_879_707
  end

  # Specifies whether cloud load balancing is allowed.
  module AllowLoadBalancing
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_LOAD_BALANCING = 0

    LOAD_BALANCING_ALLOWED = 28_407_977

    LOAD_BALANCING_BLOCKED = 381_442_285
  end

  # Specifies whether multi-nic in the same network is allowed.
  module AllowMultiNicInSameNetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_NETWORK = 0

    MULTI_NIC_IN_SAME_NETWORK_ALLOWED = 457_555_419

    MULTI_NIC_IN_SAME_NETWORK_BLOCKED = 273_718_815
  end

  # Specifies whether Packet Mirroring 1.0 is supported.
  module AllowPacketMirroring
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PACKET_MIRRORING = 0

    PACKET_MIRRORING_ALLOWED = 92_416_245

    PACKET_MIRRORING_BLOCKED = 445_450_553
  end

  # Specifies whether private Google access is allowed.
  module AllowPrivateGoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PRIVATE_GOOGLE_ACCESS = 0

    PRIVATE_GOOGLE_ACCESS_ALLOWED = 220_787_351

    PRIVATE_GOOGLE_ACCESS_BLOCKED = 36_950_747
  end

  # Specifies whether PSC creation is allowed.
  module AllowPsc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PSC = 0

    PSC_ALLOWED = 171_559_657

    PSC_BLOCKED = 524_593_965
  end

  # Specifies whether unicast within the same network is allowed.
  module AllowSameNetworkUnicast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SAME_NETWORK_UNICAST = 0

    SAME_NETWORK_UNICAST_ALLOWED = 159_732_814

    SAME_NETWORK_UNICAST_BLOCKED = 512_767_122
  end

  # Specifies whether static route creation is allowed.
  module AllowStaticRoutes
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_STATIC_ROUTES = 0

    STATIC_ROUTES_ALLOWED = 409_048_964

    STATIC_ROUTES_BLOCKED = 225_212_360
  end

  # Specifies whether sub interfaces are allowed.
  module AllowSubInterfaces
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUB_INTERFACES = 0

    SUBINTERFACES_ALLOWED = 158_685_891

    SUBINTERFACES_BLOCKED = 511_720_199
  end

  # Specifies whether VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

  # Specifies whether VPN creation is allowed.
  module AllowVpn
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPN = 0

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

  module InterfaceTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE_TYPES = 0

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

  module SubnetPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_PURPOSES = 0

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

  module SubnetStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_STACK_TYPES = 0

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # Specifies which type of unicast is supported.
  module Unicast
    # A value indicating that the enum field is not set.
    UNDEFINED_UNICAST = 0

    UNICAST_SDN = 379_954_157

    UNICAST_ULL = 379_956_325
  end
end

#allow_vpn::String

Returns 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.



21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21834

class NetworkProfileNetworkFeatures
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods


  module AddressPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_PURPOSES = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476_114_556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230_515_243

    # A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    IPSEC_INTERCONNECT = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294_447_572

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Specifies whether alias IP ranges (and secondary address ranges) are allowed.
  module AllowAliasIpRanges
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ALIAS_IP_RANGES = 0

    ALIAS_IP_RANGES_ALLOWED = 464_867_048

    ALIAS_IP_RANGES_BLOCKED = 281_030_444
  end

  # Specifies whether auto mode subnet creation is allowed.
  module AllowAutoModeSubnet
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_AUTO_MODE_SUBNET = 0

    AUTO_MODE_SUBNET_ALLOWED = 391_042_610

    AUTO_MODE_SUBNET_BLOCKED = 207_206_006
  end

  # Specifies whether firewalls for Class D address ranges are supported.
  module AllowClassDFirewalls
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLASS_D_FIREWALLS = 0

    CLASS_D_FIREWALLS_ALLOWED = 348_219_386

    CLASS_D_FIREWALLS_BLOCKED = 164_382_782
  end

  # Specifies whether cloud NAT creation is allowed.
  module AllowCloudNat
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_NAT = 0

    CLOUD_NAT_ALLOWED = 245_931_296

    CLOUD_NAT_BLOCKED = 62_094_692
  end

  # Specifies whether cloud router creation is allowed.
  module AllowCloudRouter
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_ROUTER = 0

    CLOUD_ROUTER_ALLOWED = 365_388_284

    CLOUD_ROUTER_BLOCKED = 181_551_680
  end

  # Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC.
  module AllowExternalIpAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS = 0

    EXTERNAL_IP_ACCESS_ALLOWED = 109_530_193

    EXTERNAL_IP_ACCESS_BLOCKED = 462_564_501
  end

  # Specifies whether Cloud Interconnect creation is allowed.
  module AllowInterconnect
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_INTERCONNECT = 0

    INTERCONNECT_ALLOWED = 162_845_399

    INTERCONNECT_BLOCKED = 515_879_707
  end

  # Specifies whether cloud load balancing is allowed.
  module AllowLoadBalancing
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_LOAD_BALANCING = 0

    LOAD_BALANCING_ALLOWED = 28_407_977

    LOAD_BALANCING_BLOCKED = 381_442_285
  end

  # Specifies whether multi-nic in the same network is allowed.
  module AllowMultiNicInSameNetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_NETWORK = 0

    MULTI_NIC_IN_SAME_NETWORK_ALLOWED = 457_555_419

    MULTI_NIC_IN_SAME_NETWORK_BLOCKED = 273_718_815
  end

  # Specifies whether Packet Mirroring 1.0 is supported.
  module AllowPacketMirroring
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PACKET_MIRRORING = 0

    PACKET_MIRRORING_ALLOWED = 92_416_245

    PACKET_MIRRORING_BLOCKED = 445_450_553
  end

  # Specifies whether private Google access is allowed.
  module AllowPrivateGoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PRIVATE_GOOGLE_ACCESS = 0

    PRIVATE_GOOGLE_ACCESS_ALLOWED = 220_787_351

    PRIVATE_GOOGLE_ACCESS_BLOCKED = 36_950_747
  end

  # Specifies whether PSC creation is allowed.
  module AllowPsc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PSC = 0

    PSC_ALLOWED = 171_559_657

    PSC_BLOCKED = 524_593_965
  end

  # Specifies whether unicast within the same network is allowed.
  module AllowSameNetworkUnicast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SAME_NETWORK_UNICAST = 0

    SAME_NETWORK_UNICAST_ALLOWED = 159_732_814

    SAME_NETWORK_UNICAST_BLOCKED = 512_767_122
  end

  # Specifies whether static route creation is allowed.
  module AllowStaticRoutes
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_STATIC_ROUTES = 0

    STATIC_ROUTES_ALLOWED = 409_048_964

    STATIC_ROUTES_BLOCKED = 225_212_360
  end

  # Specifies whether sub interfaces are allowed.
  module AllowSubInterfaces
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUB_INTERFACES = 0

    SUBINTERFACES_ALLOWED = 158_685_891

    SUBINTERFACES_BLOCKED = 511_720_199
  end

  # Specifies whether VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

  # Specifies whether VPN creation is allowed.
  module AllowVpn
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPN = 0

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

  module InterfaceTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE_TYPES = 0

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

  module SubnetPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_PURPOSES = 0

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

  module SubnetStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_STACK_TYPES = 0

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # Specifies which type of unicast is supported.
  module Unicast
    # A value indicating that the enum field is not set.
    UNDEFINED_UNICAST = 0

    UNICAST_SDN = 379_954_157

    UNICAST_ULL = 379_956_325
  end
end

#interface_types::Array<::String>

Returns 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.



21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21834

class NetworkProfileNetworkFeatures
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods


  module AddressPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_PURPOSES = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476_114_556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230_515_243

    # A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    IPSEC_INTERCONNECT = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294_447_572

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Specifies whether alias IP ranges (and secondary address ranges) are allowed.
  module AllowAliasIpRanges
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ALIAS_IP_RANGES = 0

    ALIAS_IP_RANGES_ALLOWED = 464_867_048

    ALIAS_IP_RANGES_BLOCKED = 281_030_444
  end

  # Specifies whether auto mode subnet creation is allowed.
  module AllowAutoModeSubnet
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_AUTO_MODE_SUBNET = 0

    AUTO_MODE_SUBNET_ALLOWED = 391_042_610

    AUTO_MODE_SUBNET_BLOCKED = 207_206_006
  end

  # Specifies whether firewalls for Class D address ranges are supported.
  module AllowClassDFirewalls
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLASS_D_FIREWALLS = 0

    CLASS_D_FIREWALLS_ALLOWED = 348_219_386

    CLASS_D_FIREWALLS_BLOCKED = 164_382_782
  end

  # Specifies whether cloud NAT creation is allowed.
  module AllowCloudNat
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_NAT = 0

    CLOUD_NAT_ALLOWED = 245_931_296

    CLOUD_NAT_BLOCKED = 62_094_692
  end

  # Specifies whether cloud router creation is allowed.
  module AllowCloudRouter
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_ROUTER = 0

    CLOUD_ROUTER_ALLOWED = 365_388_284

    CLOUD_ROUTER_BLOCKED = 181_551_680
  end

  # Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC.
  module AllowExternalIpAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS = 0

    EXTERNAL_IP_ACCESS_ALLOWED = 109_530_193

    EXTERNAL_IP_ACCESS_BLOCKED = 462_564_501
  end

  # Specifies whether Cloud Interconnect creation is allowed.
  module AllowInterconnect
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_INTERCONNECT = 0

    INTERCONNECT_ALLOWED = 162_845_399

    INTERCONNECT_BLOCKED = 515_879_707
  end

  # Specifies whether cloud load balancing is allowed.
  module AllowLoadBalancing
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_LOAD_BALANCING = 0

    LOAD_BALANCING_ALLOWED = 28_407_977

    LOAD_BALANCING_BLOCKED = 381_442_285
  end

  # Specifies whether multi-nic in the same network is allowed.
  module AllowMultiNicInSameNetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_NETWORK = 0

    MULTI_NIC_IN_SAME_NETWORK_ALLOWED = 457_555_419

    MULTI_NIC_IN_SAME_NETWORK_BLOCKED = 273_718_815
  end

  # Specifies whether Packet Mirroring 1.0 is supported.
  module AllowPacketMirroring
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PACKET_MIRRORING = 0

    PACKET_MIRRORING_ALLOWED = 92_416_245

    PACKET_MIRRORING_BLOCKED = 445_450_553
  end

  # Specifies whether private Google access is allowed.
  module AllowPrivateGoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PRIVATE_GOOGLE_ACCESS = 0

    PRIVATE_GOOGLE_ACCESS_ALLOWED = 220_787_351

    PRIVATE_GOOGLE_ACCESS_BLOCKED = 36_950_747
  end

  # Specifies whether PSC creation is allowed.
  module AllowPsc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PSC = 0

    PSC_ALLOWED = 171_559_657

    PSC_BLOCKED = 524_593_965
  end

  # Specifies whether unicast within the same network is allowed.
  module AllowSameNetworkUnicast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SAME_NETWORK_UNICAST = 0

    SAME_NETWORK_UNICAST_ALLOWED = 159_732_814

    SAME_NETWORK_UNICAST_BLOCKED = 512_767_122
  end

  # Specifies whether static route creation is allowed.
  module AllowStaticRoutes
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_STATIC_ROUTES = 0

    STATIC_ROUTES_ALLOWED = 409_048_964

    STATIC_ROUTES_BLOCKED = 225_212_360
  end

  # Specifies whether sub interfaces are allowed.
  module AllowSubInterfaces
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUB_INTERFACES = 0

    SUBINTERFACES_ALLOWED = 158_685_891

    SUBINTERFACES_BLOCKED = 511_720_199
  end

  # Specifies whether VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

  # Specifies whether VPN creation is allowed.
  module AllowVpn
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPN = 0

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

  module InterfaceTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE_TYPES = 0

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

  module SubnetPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_PURPOSES = 0

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

  module SubnetStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_STACK_TYPES = 0

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # Specifies which type of unicast is supported.
  module Unicast
    # A value indicating that the enum field is not set.
    UNDEFINED_UNICAST = 0

    UNICAST_SDN = 379_954_157

    UNICAST_ULL = 379_956_325
  end
end

#subnet_purposes::Array<::String>

Returns 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.



21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21834

class NetworkProfileNetworkFeatures
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods


  module AddressPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_PURPOSES = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476_114_556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230_515_243

    # A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    IPSEC_INTERCONNECT = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294_447_572

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Specifies whether alias IP ranges (and secondary address ranges) are allowed.
  module AllowAliasIpRanges
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ALIAS_IP_RANGES = 0

    ALIAS_IP_RANGES_ALLOWED = 464_867_048

    ALIAS_IP_RANGES_BLOCKED = 281_030_444
  end

  # Specifies whether auto mode subnet creation is allowed.
  module AllowAutoModeSubnet
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_AUTO_MODE_SUBNET = 0

    AUTO_MODE_SUBNET_ALLOWED = 391_042_610

    AUTO_MODE_SUBNET_BLOCKED = 207_206_006
  end

  # Specifies whether firewalls for Class D address ranges are supported.
  module AllowClassDFirewalls
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLASS_D_FIREWALLS = 0

    CLASS_D_FIREWALLS_ALLOWED = 348_219_386

    CLASS_D_FIREWALLS_BLOCKED = 164_382_782
  end

  # Specifies whether cloud NAT creation is allowed.
  module AllowCloudNat
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_NAT = 0

    CLOUD_NAT_ALLOWED = 245_931_296

    CLOUD_NAT_BLOCKED = 62_094_692
  end

  # Specifies whether cloud router creation is allowed.
  module AllowCloudRouter
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_ROUTER = 0

    CLOUD_ROUTER_ALLOWED = 365_388_284

    CLOUD_ROUTER_BLOCKED = 181_551_680
  end

  # Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC.
  module AllowExternalIpAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS = 0

    EXTERNAL_IP_ACCESS_ALLOWED = 109_530_193

    EXTERNAL_IP_ACCESS_BLOCKED = 462_564_501
  end

  # Specifies whether Cloud Interconnect creation is allowed.
  module AllowInterconnect
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_INTERCONNECT = 0

    INTERCONNECT_ALLOWED = 162_845_399

    INTERCONNECT_BLOCKED = 515_879_707
  end

  # Specifies whether cloud load balancing is allowed.
  module AllowLoadBalancing
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_LOAD_BALANCING = 0

    LOAD_BALANCING_ALLOWED = 28_407_977

    LOAD_BALANCING_BLOCKED = 381_442_285
  end

  # Specifies whether multi-nic in the same network is allowed.
  module AllowMultiNicInSameNetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_NETWORK = 0

    MULTI_NIC_IN_SAME_NETWORK_ALLOWED = 457_555_419

    MULTI_NIC_IN_SAME_NETWORK_BLOCKED = 273_718_815
  end

  # Specifies whether Packet Mirroring 1.0 is supported.
  module AllowPacketMirroring
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PACKET_MIRRORING = 0

    PACKET_MIRRORING_ALLOWED = 92_416_245

    PACKET_MIRRORING_BLOCKED = 445_450_553
  end

  # Specifies whether private Google access is allowed.
  module AllowPrivateGoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PRIVATE_GOOGLE_ACCESS = 0

    PRIVATE_GOOGLE_ACCESS_ALLOWED = 220_787_351

    PRIVATE_GOOGLE_ACCESS_BLOCKED = 36_950_747
  end

  # Specifies whether PSC creation is allowed.
  module AllowPsc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PSC = 0

    PSC_ALLOWED = 171_559_657

    PSC_BLOCKED = 524_593_965
  end

  # Specifies whether unicast within the same network is allowed.
  module AllowSameNetworkUnicast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SAME_NETWORK_UNICAST = 0

    SAME_NETWORK_UNICAST_ALLOWED = 159_732_814

    SAME_NETWORK_UNICAST_BLOCKED = 512_767_122
  end

  # Specifies whether static route creation is allowed.
  module AllowStaticRoutes
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_STATIC_ROUTES = 0

    STATIC_ROUTES_ALLOWED = 409_048_964

    STATIC_ROUTES_BLOCKED = 225_212_360
  end

  # Specifies whether sub interfaces are allowed.
  module AllowSubInterfaces
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUB_INTERFACES = 0

    SUBINTERFACES_ALLOWED = 158_685_891

    SUBINTERFACES_BLOCKED = 511_720_199
  end

  # Specifies whether VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

  # Specifies whether VPN creation is allowed.
  module AllowVpn
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPN = 0

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

  module InterfaceTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE_TYPES = 0

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

  module SubnetPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_PURPOSES = 0

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

  module SubnetStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_STACK_TYPES = 0

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # Specifies which type of unicast is supported.
  module Unicast
    # A value indicating that the enum field is not set.
    UNDEFINED_UNICAST = 0

    UNICAST_SDN = 379_954_157

    UNICAST_ULL = 379_956_325
  end
end

#subnet_stack_types::Array<::String>

Returns 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.



21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21834

class NetworkProfileNetworkFeatures
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods


  module AddressPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_PURPOSES = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476_114_556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230_515_243

    # A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    IPSEC_INTERCONNECT = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294_447_572

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Specifies whether alias IP ranges (and secondary address ranges) are allowed.
  module AllowAliasIpRanges
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ALIAS_IP_RANGES = 0

    ALIAS_IP_RANGES_ALLOWED = 464_867_048

    ALIAS_IP_RANGES_BLOCKED = 281_030_444
  end

  # Specifies whether auto mode subnet creation is allowed.
  module AllowAutoModeSubnet
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_AUTO_MODE_SUBNET = 0

    AUTO_MODE_SUBNET_ALLOWED = 391_042_610

    AUTO_MODE_SUBNET_BLOCKED = 207_206_006
  end

  # Specifies whether firewalls for Class D address ranges are supported.
  module AllowClassDFirewalls
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLASS_D_FIREWALLS = 0

    CLASS_D_FIREWALLS_ALLOWED = 348_219_386

    CLASS_D_FIREWALLS_BLOCKED = 164_382_782
  end

  # Specifies whether cloud NAT creation is allowed.
  module AllowCloudNat
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_NAT = 0

    CLOUD_NAT_ALLOWED = 245_931_296

    CLOUD_NAT_BLOCKED = 62_094_692
  end

  # Specifies whether cloud router creation is allowed.
  module AllowCloudRouter
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_ROUTER = 0

    CLOUD_ROUTER_ALLOWED = 365_388_284

    CLOUD_ROUTER_BLOCKED = 181_551_680
  end

  # Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC.
  module AllowExternalIpAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS = 0

    EXTERNAL_IP_ACCESS_ALLOWED = 109_530_193

    EXTERNAL_IP_ACCESS_BLOCKED = 462_564_501
  end

  # Specifies whether Cloud Interconnect creation is allowed.
  module AllowInterconnect
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_INTERCONNECT = 0

    INTERCONNECT_ALLOWED = 162_845_399

    INTERCONNECT_BLOCKED = 515_879_707
  end

  # Specifies whether cloud load balancing is allowed.
  module AllowLoadBalancing
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_LOAD_BALANCING = 0

    LOAD_BALANCING_ALLOWED = 28_407_977

    LOAD_BALANCING_BLOCKED = 381_442_285
  end

  # Specifies whether multi-nic in the same network is allowed.
  module AllowMultiNicInSameNetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_NETWORK = 0

    MULTI_NIC_IN_SAME_NETWORK_ALLOWED = 457_555_419

    MULTI_NIC_IN_SAME_NETWORK_BLOCKED = 273_718_815
  end

  # Specifies whether Packet Mirroring 1.0 is supported.
  module AllowPacketMirroring
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PACKET_MIRRORING = 0

    PACKET_MIRRORING_ALLOWED = 92_416_245

    PACKET_MIRRORING_BLOCKED = 445_450_553
  end

  # Specifies whether private Google access is allowed.
  module AllowPrivateGoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PRIVATE_GOOGLE_ACCESS = 0

    PRIVATE_GOOGLE_ACCESS_ALLOWED = 220_787_351

    PRIVATE_GOOGLE_ACCESS_BLOCKED = 36_950_747
  end

  # Specifies whether PSC creation is allowed.
  module AllowPsc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PSC = 0

    PSC_ALLOWED = 171_559_657

    PSC_BLOCKED = 524_593_965
  end

  # Specifies whether unicast within the same network is allowed.
  module AllowSameNetworkUnicast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SAME_NETWORK_UNICAST = 0

    SAME_NETWORK_UNICAST_ALLOWED = 159_732_814

    SAME_NETWORK_UNICAST_BLOCKED = 512_767_122
  end

  # Specifies whether static route creation is allowed.
  module AllowStaticRoutes
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_STATIC_ROUTES = 0

    STATIC_ROUTES_ALLOWED = 409_048_964

    STATIC_ROUTES_BLOCKED = 225_212_360
  end

  # Specifies whether sub interfaces are allowed.
  module AllowSubInterfaces
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUB_INTERFACES = 0

    SUBINTERFACES_ALLOWED = 158_685_891

    SUBINTERFACES_BLOCKED = 511_720_199
  end

  # Specifies whether VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

  # Specifies whether VPN creation is allowed.
  module AllowVpn
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPN = 0

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

  module InterfaceTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE_TYPES = 0

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

  module SubnetPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_PURPOSES = 0

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

  module SubnetStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_STACK_TYPES = 0

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # Specifies which type of unicast is supported.
  module Unicast
    # A value indicating that the enum field is not set.
    UNDEFINED_UNICAST = 0

    UNICAST_SDN = 379_954_157

    UNICAST_ULL = 379_956_325
  end
end

#unicast::String

Returns 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.



21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21834

class NetworkProfileNetworkFeatures
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods


  module AddressPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_PURPOSES = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476_114_556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230_515_243

    # A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
    IPSEC_INTERCONNECT = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294_447_572

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Specifies whether alias IP ranges (and secondary address ranges) are allowed.
  module AllowAliasIpRanges
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ALIAS_IP_RANGES = 0

    ALIAS_IP_RANGES_ALLOWED = 464_867_048

    ALIAS_IP_RANGES_BLOCKED = 281_030_444
  end

  # Specifies whether auto mode subnet creation is allowed.
  module AllowAutoModeSubnet
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_AUTO_MODE_SUBNET = 0

    AUTO_MODE_SUBNET_ALLOWED = 391_042_610

    AUTO_MODE_SUBNET_BLOCKED = 207_206_006
  end

  # Specifies whether firewalls for Class D address ranges are supported.
  module AllowClassDFirewalls
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLASS_D_FIREWALLS = 0

    CLASS_D_FIREWALLS_ALLOWED = 348_219_386

    CLASS_D_FIREWALLS_BLOCKED = 164_382_782
  end

  # Specifies whether cloud NAT creation is allowed.
  module AllowCloudNat
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_NAT = 0

    CLOUD_NAT_ALLOWED = 245_931_296

    CLOUD_NAT_BLOCKED = 62_094_692
  end

  # Specifies whether cloud router creation is allowed.
  module AllowCloudRouter
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_CLOUD_ROUTER = 0

    CLOUD_ROUTER_ALLOWED = 365_388_284

    CLOUD_ROUTER_BLOCKED = 181_551_680
  end

  # Specifies whether VMs are allowed to have external IP access on network interfaces connected to this VPC.
  module AllowExternalIpAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS = 0

    EXTERNAL_IP_ACCESS_ALLOWED = 109_530_193

    EXTERNAL_IP_ACCESS_BLOCKED = 462_564_501
  end

  # Specifies whether Cloud Interconnect creation is allowed.
  module AllowInterconnect
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_INTERCONNECT = 0

    INTERCONNECT_ALLOWED = 162_845_399

    INTERCONNECT_BLOCKED = 515_879_707
  end

  # Specifies whether cloud load balancing is allowed.
  module AllowLoadBalancing
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_LOAD_BALANCING = 0

    LOAD_BALANCING_ALLOWED = 28_407_977

    LOAD_BALANCING_BLOCKED = 381_442_285
  end

  # Specifies whether multi-nic in the same network is allowed.
  module AllowMultiNicInSameNetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_NETWORK = 0

    MULTI_NIC_IN_SAME_NETWORK_ALLOWED = 457_555_419

    MULTI_NIC_IN_SAME_NETWORK_BLOCKED = 273_718_815
  end

  # Specifies whether Packet Mirroring 1.0 is supported.
  module AllowPacketMirroring
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PACKET_MIRRORING = 0

    PACKET_MIRRORING_ALLOWED = 92_416_245

    PACKET_MIRRORING_BLOCKED = 445_450_553
  end

  # Specifies whether private Google access is allowed.
  module AllowPrivateGoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PRIVATE_GOOGLE_ACCESS = 0

    PRIVATE_GOOGLE_ACCESS_ALLOWED = 220_787_351

    PRIVATE_GOOGLE_ACCESS_BLOCKED = 36_950_747
  end

  # Specifies whether PSC creation is allowed.
  module AllowPsc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_PSC = 0

    PSC_ALLOWED = 171_559_657

    PSC_BLOCKED = 524_593_965
  end

  # Specifies whether unicast within the same network is allowed.
  module AllowSameNetworkUnicast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SAME_NETWORK_UNICAST = 0

    SAME_NETWORK_UNICAST_ALLOWED = 159_732_814

    SAME_NETWORK_UNICAST_BLOCKED = 512_767_122
  end

  # Specifies whether static route creation is allowed.
  module AllowStaticRoutes
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_STATIC_ROUTES = 0

    STATIC_ROUTES_ALLOWED = 409_048_964

    STATIC_ROUTES_BLOCKED = 225_212_360
  end

  # Specifies whether sub interfaces are allowed.
  module AllowSubInterfaces
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUB_INTERFACES = 0

    SUBINTERFACES_ALLOWED = 158_685_891

    SUBINTERFACES_BLOCKED = 511_720_199
  end

  # Specifies whether VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

  # Specifies whether VPN creation is allowed.
  module AllowVpn
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPN = 0

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

  module InterfaceTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_INTERFACE_TYPES = 0

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

  module SubnetPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_PURPOSES = 0

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

  module SubnetStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNET_STACK_TYPES = 0

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # Specifies which type of unicast is supported.
  module Unicast
    # A value indicating that the enum field is not set.
    UNDEFINED_UNICAST = 0

    UNICAST_SDN = 379_954_157

    UNICAST_ULL = 379_956_325
  end
end