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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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:



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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.



57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 57306

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