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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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:



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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.



56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56758

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

    ULL_POLICY = 100_494_364

    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