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, AllowAddressCreation, AllowAliasIpRanges, AllowAutoModeSubnet, AllowClassDFirewalls, AllowCloudNat, AllowCloudRouter, AllowDefaultNicAttachment, AllowExternalIpAccess, AllowFirewallPolicy, AllowInterconnect, AllowIpForwarding, AllowLoadBalancing, AllowMultiNicInSameNetwork, AllowMultiNicInSameSubnetwork, AllowMulticast, AllowNcc, AllowNetworkMigration, AllowPacketMirroring, AllowPrivateGoogleAccess, AllowPsc, AllowSameNetworkUnicast, AllowStaticRoutes, AllowSubInterfaces, AllowSubnetworkCreation, AllowVpcFirewallRules, AllowVpcPeering, AllowVpn, FirewallPolicyTypes, InterfaceTypes, Multicast, SubnetPurposes, SubnetStackTypes, SubnetworkPurposes, SubnetworkStackTypes, 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.



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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_address_creation::String

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

Returns:

  • (::String)

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



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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.



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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.



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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.



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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.



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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.



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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_default_nic_attachment::String

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

Returns:

  • (::String)

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



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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.



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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_firewall_policy::String

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

Returns:

  • (::String)

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



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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.



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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_ip_forwarding::String

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

Returns:

  • (::String)

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



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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.



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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.



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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_subnetwork::String

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

Returns:

  • (::String)

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



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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_multicast::String

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

Returns:

  • (::String)

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



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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_ncc::String

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

Returns:

  • (::String)

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



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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_network_migration::String

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

Returns:

  • (::String)

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



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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.



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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.



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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.



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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.



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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.



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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.



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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_subnetwork_creation::String

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

Returns:

  • (::String)

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



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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_firewall_rules::String

Returns Specifies whether VPC firewall rules can be created under the network. Check the AllowVpcFirewallRules enum for the list of possible values.

Returns:

  • (::String)

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



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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.



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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.



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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

#firewall_policy_types::Array<::String>

Returns Check the FirewallPolicyTypes enum for the list of possible values.

Returns:

  • (::Array<::String>)

    Check the FirewallPolicyTypes enum for the list of possible values.



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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.



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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

#multicast::String

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

Returns:

  • (::String)

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



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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

#predefined_network_internal_ipv6_range::String

Returns Specifies a predefined internal IPv6 range for the network.

Returns:

  • (::String)

    Specifies a predefined internal IPv6 range for the network.



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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

#predefined_subnetwork_ranges::Array<::Google::Cloud::Compute::V1::NetworkProfileNetworkFeaturesPredefinedSubnetworkRange>

Returns Predefined subnetwork ranges for the network.

Returns:



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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.



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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.



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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

#subnetwork_purposes::Array<::String>

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

Returns:

  • (::Array<::String>)

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



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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

#subnetwork_stack_types::Array<::String>

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

Returns:

  • (::Array<::String>)

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



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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.



55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 55682

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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  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

    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 address creation is allowed.
  module AllowAddressCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_ADDRESS_CREATION = 0

    ADDRESS_CREATION_ALLOWED = 181_903_667

    ADDRESS_CREATION_BLOCKED = 534_937_975
  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 default NIC attachment is allowed.
  module AllowDefaultNicAttachment
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT = 0

    DEFAULT_NIC_ATTACHMENT_ALLOWED = 11_570_689

    DEFAULT_NIC_ATTACHMENT_BLOCKED = 364_604_997
  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 firewall policy can be attached to the network.
  module AllowFirewallPolicy
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_FIREWALL_POLICY = 0

    FIREWALL_POLICY_ALLOWED = 388_488_346

    FIREWALL_POLICY_BLOCKED = 204_651_742
  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 IP forwarding is allowed.
  module AllowIpForwarding
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_IP_FORWARDING = 0

    IP_FORWARDING_ALLOWED = 152_595_550

    IP_FORWARDING_BLOCKED = 505_629_858
  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 multi-nic in the same subnetwork is allowed.
  module AllowMultiNicInSameSubnetwork
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK = 0

    MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED = 288_044_595

    MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED = 104_207_991
  end

  # Specifies whether multicast is allowed.
  module AllowMulticast
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_MULTICAST = 0

    MULTICAST_ALLOWED = 44_693_537

    MULTICAST_BLOCKED = 397_727_845
  end

  # Specifies whether NCC is allowed.
  module AllowNcc
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NCC = 0

    NCC_ALLOWED = 467_227_511

    NCC_BLOCKED = 283_390_907
  end

  # Specifies whether VM network migration is allowed.
  module AllowNetworkMigration
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_NETWORK_MIGRATION = 0

    NETWORK_MIGRATION_ALLOWED = 14_389_766

    NETWORK_MIGRATION_BLOCKED = 367_424_074
  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 subnetwork creation is allowed.
  module AllowSubnetworkCreation
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_SUBNETWORK_CREATION = 0

    SUBNETWORK_CREATION_ALLOWED = 158_580_825

    SUBNETWORK_CREATION_BLOCKED = 511_615_133
  end

  # Specifies whether VPC firewall rules can be created under the network.
  module AllowVpcFirewallRules
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_FIREWALL_RULES = 0

    VPC_FIREWALL_RULES_ALLOWED = 489_586_007

    VPC_FIREWALL_RULES_BLOCKED = 305_749_403
  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 FirewallPolicyTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_FIREWALL_POLICY_TYPES = 0

    RDMA_ROCE_POLICY = 148_757_145

    VPC_POLICY = 74_319_208
  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

  # Specifies which type of multicast is supported.
  module Multicast
    # A value indicating that the enum field is not set.
    UNDEFINED_MULTICAST = 0

    MULTICAST_SDN = 532_209_462

    MULTICAST_ULL = 532_211_630
  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

  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # PRIVATE_SERVICE_CONNECT
  module SubnetworkPurposes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_PURPOSES = 0

    # Subnet reserved for Global Envoy-based Load Balancing.
    GLOBAL_MANAGED_PROXY = 236_463_602

    # Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
    # purpose, please use REGIONAL_MANAGED_PROXY instead.
    INTERNAL_HTTPS_LOAD_BALANCER = 248_748_889

    # Subnetwork will be used for Migration from one peered VPC to another.
    # (a transient state of subnetwork
    # while migrating resources from one project to another).
    PEER_MIGRATION = 491_902_225

    # Regular user created or automatically created subnet.
    PRIVATE = 403_485_027

    # Subnetwork used as source range for Private NAT Gateways.
    PRIVATE_NAT = 367_764_517

    # Regular user created or automatically created subnet.
    PRIVATE_RFC_1918 = 254_902_107

    # Subnetwork used for Regional Envoy-based Load Balancing.
    REGIONAL_MANAGED_PROXY = 153_049_966
  end

  module SubnetworkStackTypes
    # A value indicating that the enum field is not set.
    UNDEFINED_SUBNETWORK_STACK_TYPES = 0

    # New VMs in this subnet can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22_197_249

    # New VMs in this subnet will only be assigned IPv4 addresses.
    IPV4_ONLY = 22_373_798

    # New VMs in this subnet will only  be assigned IPv6 addresses.
    IPV6_ONLY = 79_632_100
  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