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

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

Defined Under Namespace

Modules: AddressPurposes, AllowAliasIpRanges, AllowAutoModeSubnet, AllowClassDFirewalls, AllowCloudNat, AllowCloudRouter, AllowDefaultNicAttachment, AllowExternalIpAccess, AllowInterconnect, AllowIpForwarding, AllowLoadBalancing, AllowMultiNicInSameNetwork, AllowNcc, AllowNetworkMigration, AllowPacketMirroring, AllowPrivateGoogleAccess, AllowPsc, AllowSameNetworkUnicast, AllowStaticRoutes, AllowSubInterfaces, AllowVpcPeering, AllowVpn, InterfaceTypes, 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.



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # 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 Specifies which subnetwork purposes are supported. Check the SubnetworkPurposes enum for the list of possible values.

Returns:

  • (::Array<::String>)

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # 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 Specifies which subnetwork stack types are supported. Check the SubnetworkStackTypes enum for the list of possible values.

Returns:

  • (::Array<::String>)

    Specifies which subnetwork stack types are supported. Check the SubnetworkStackTypes enum for the list of possible values.



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

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



22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22502

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 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 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 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 VPC peering is allowed.
  module AllowVpcPeering
    # A value indicating that the enum field is not set.
    UNDEFINED_ALLOW_VPC_PEERING = 0

    VPC_PEERING_ALLOWED = 261_465_075

    VPC_PEERING_BLOCKED = 77_628_471
  end

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

    VPN_ALLOWED = 162_163_997

    VPN_BLOCKED = 515_198_305
  end

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

    # GVNIC
    GVNIC = 68_209_305

    # IDPF
    IDPF = 2_242_641

    # IRDMA
    IRDMA = 69_927_695

    # MRDMA
    MRDMA = 73_621_779

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67_411_801

    # VIRTIO
    VIRTIO_NET = 452_123_481
  end

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

    SUBNET_PURPOSE_CUSTOM_HARDWARE = 283_160_275

    SUBNET_PURPOSE_PRIVATE = 404_371_008
  end

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

    SUBNET_STACK_TYPE_IPV4_IPV6 = 41_454_485

    SUBNET_STACK_TYPE_IPV4_ONLY = 41_631_034

    SUBNET_STACK_TYPE_IPV6_ONLY = 98_889_336
  end

  # 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