Class: Google::Cloud::Compute::V1::NetworkInterface

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

Overview

A network interface resource attached to an instance.

Defined Under Namespace

Modules: Ipv6AccessType, NicType, StackType

Instance Attribute Summary collapse

Instance Attribute Details

#access_configs::Array<::Google::Cloud::Compute::V1::AccessConfig>



16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16584

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

  # [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6.
  module Ipv6AccessType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ACCESS_TYPE = 0

    # This network interface can have external IPv6.
    EXTERNAL = 35607499

    # IPv6 access type not set. Means this network interface hasn't been turned on IPv6 yet.
    UNSPECIFIED_IPV6_ACCESS_TYPE = 313080613
  end

  # The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
  module NicType
    # A value indicating that the enum field is not set.
    UNDEFINED_NIC_TYPE = 0

    # GVNIC
    GVNIC = 68209305

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67411801

    # VIRTIO
    VIRTIO_NET = 452123481
  end

  # The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations.
  module StackType
    # A value indicating that the enum field is not set.
    UNDEFINED_STACK_TYPE = 0

    # The network interface can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22197249

    # The network interface will be assigned IPv4 address.
    IPV4_ONLY = 22373798

    UNSPECIFIED_STACK_TYPE = 298084569
  end
end

#alias_ip_ranges::Array<::Google::Cloud::Compute::V1::AliasIpRange>



16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16584

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

  # [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6.
  module Ipv6AccessType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ACCESS_TYPE = 0

    # This network interface can have external IPv6.
    EXTERNAL = 35607499

    # IPv6 access type not set. Means this network interface hasn't been turned on IPv6 yet.
    UNSPECIFIED_IPV6_ACCESS_TYPE = 313080613
  end

  # The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
  module NicType
    # A value indicating that the enum field is not set.
    UNDEFINED_NIC_TYPE = 0

    # GVNIC
    GVNIC = 68209305

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67411801

    # VIRTIO
    VIRTIO_NET = 452123481
  end

  # The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations.
  module StackType
    # A value indicating that the enum field is not set.
    UNDEFINED_STACK_TYPE = 0

    # The network interface can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22197249

    # The network interface will be assigned IPv4 address.
    IPV4_ONLY = 22373798

    UNSPECIFIED_STACK_TYPE = 298084569
  end
end

#fingerprint::String



16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16584

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

  # [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6.
  module Ipv6AccessType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ACCESS_TYPE = 0

    # This network interface can have external IPv6.
    EXTERNAL = 35607499

    # IPv6 access type not set. Means this network interface hasn't been turned on IPv6 yet.
    UNSPECIFIED_IPV6_ACCESS_TYPE = 313080613
  end

  # The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
  module NicType
    # A value indicating that the enum field is not set.
    UNDEFINED_NIC_TYPE = 0

    # GVNIC
    GVNIC = 68209305

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67411801

    # VIRTIO
    VIRTIO_NET = 452123481
  end

  # The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations.
  module StackType
    # A value indicating that the enum field is not set.
    UNDEFINED_STACK_TYPE = 0

    # The network interface can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22197249

    # The network interface will be assigned IPv4 address.
    IPV4_ONLY = 22373798

    UNSPECIFIED_STACK_TYPE = 298084569
  end
end

#ipv6_access_configs::Array<::Google::Cloud::Compute::V1::AccessConfig>



16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16584

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

  # [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6.
  module Ipv6AccessType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ACCESS_TYPE = 0

    # This network interface can have external IPv6.
    EXTERNAL = 35607499

    # IPv6 access type not set. Means this network interface hasn't been turned on IPv6 yet.
    UNSPECIFIED_IPV6_ACCESS_TYPE = 313080613
  end

  # The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
  module NicType
    # A value indicating that the enum field is not set.
    UNDEFINED_NIC_TYPE = 0

    # GVNIC
    GVNIC = 68209305

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67411801

    # VIRTIO
    VIRTIO_NET = 452123481
  end

  # The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations.
  module StackType
    # A value indicating that the enum field is not set.
    UNDEFINED_STACK_TYPE = 0

    # The network interface can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22197249

    # The network interface will be assigned IPv4 address.
    IPV4_ONLY = 22373798

    UNSPECIFIED_STACK_TYPE = 298084569
  end
end

#ipv6_access_type::String



16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16584

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

  # [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6.
  module Ipv6AccessType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ACCESS_TYPE = 0

    # This network interface can have external IPv6.
    EXTERNAL = 35607499

    # IPv6 access type not set. Means this network interface hasn't been turned on IPv6 yet.
    UNSPECIFIED_IPV6_ACCESS_TYPE = 313080613
  end

  # The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
  module NicType
    # A value indicating that the enum field is not set.
    UNDEFINED_NIC_TYPE = 0

    # GVNIC
    GVNIC = 68209305

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67411801

    # VIRTIO
    VIRTIO_NET = 452123481
  end

  # The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations.
  module StackType
    # A value indicating that the enum field is not set.
    UNDEFINED_STACK_TYPE = 0

    # The network interface can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22197249

    # The network interface will be assigned IPv4 address.
    IPV4_ONLY = 22373798

    UNSPECIFIED_STACK_TYPE = 298084569
  end
end

#ipv6_address::String



16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16584

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

  # [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6.
  module Ipv6AccessType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ACCESS_TYPE = 0

    # This network interface can have external IPv6.
    EXTERNAL = 35607499

    # IPv6 access type not set. Means this network interface hasn't been turned on IPv6 yet.
    UNSPECIFIED_IPV6_ACCESS_TYPE = 313080613
  end

  # The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
  module NicType
    # A value indicating that the enum field is not set.
    UNDEFINED_NIC_TYPE = 0

    # GVNIC
    GVNIC = 68209305

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67411801

    # VIRTIO
    VIRTIO_NET = 452123481
  end

  # The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations.
  module StackType
    # A value indicating that the enum field is not set.
    UNDEFINED_STACK_TYPE = 0

    # The network interface can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22197249

    # The network interface will be assigned IPv4 address.
    IPV4_ONLY = 22373798

    UNSPECIFIED_STACK_TYPE = 298084569
  end
end

#kind::String



16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16584

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

  # [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6.
  module Ipv6AccessType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ACCESS_TYPE = 0

    # This network interface can have external IPv6.
    EXTERNAL = 35607499

    # IPv6 access type not set. Means this network interface hasn't been turned on IPv6 yet.
    UNSPECIFIED_IPV6_ACCESS_TYPE = 313080613
  end

  # The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
  module NicType
    # A value indicating that the enum field is not set.
    UNDEFINED_NIC_TYPE = 0

    # GVNIC
    GVNIC = 68209305

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67411801

    # VIRTIO
    VIRTIO_NET = 452123481
  end

  # The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations.
  module StackType
    # A value indicating that the enum field is not set.
    UNDEFINED_STACK_TYPE = 0

    # The network interface can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22197249

    # The network interface will be assigned IPv4 address.
    IPV4_ONLY = 22373798

    UNSPECIFIED_STACK_TYPE = 298084569
  end
end

#name::String



16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16584

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

  # [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6.
  module Ipv6AccessType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ACCESS_TYPE = 0

    # This network interface can have external IPv6.
    EXTERNAL = 35607499

    # IPv6 access type not set. Means this network interface hasn't been turned on IPv6 yet.
    UNSPECIFIED_IPV6_ACCESS_TYPE = 313080613
  end

  # The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
  module NicType
    # A value indicating that the enum field is not set.
    UNDEFINED_NIC_TYPE = 0

    # GVNIC
    GVNIC = 68209305

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67411801

    # VIRTIO
    VIRTIO_NET = 452123481
  end

  # The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations.
  module StackType
    # A value indicating that the enum field is not set.
    UNDEFINED_STACK_TYPE = 0

    # The network interface can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22197249

    # The network interface will be assigned IPv4 address.
    IPV4_ONLY = 22373798

    UNSPECIFIED_STACK_TYPE = 298084569
  end
end

#network::String



16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16584

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

  # [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6.
  module Ipv6AccessType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ACCESS_TYPE = 0

    # This network interface can have external IPv6.
    EXTERNAL = 35607499

    # IPv6 access type not set. Means this network interface hasn't been turned on IPv6 yet.
    UNSPECIFIED_IPV6_ACCESS_TYPE = 313080613
  end

  # The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
  module NicType
    # A value indicating that the enum field is not set.
    UNDEFINED_NIC_TYPE = 0

    # GVNIC
    GVNIC = 68209305

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67411801

    # VIRTIO
    VIRTIO_NET = 452123481
  end

  # The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations.
  module StackType
    # A value indicating that the enum field is not set.
    UNDEFINED_STACK_TYPE = 0

    # The network interface can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22197249

    # The network interface will be assigned IPv4 address.
    IPV4_ONLY = 22373798

    UNSPECIFIED_STACK_TYPE = 298084569
  end
end

#network_i_p::String



16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16584

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

  # [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6.
  module Ipv6AccessType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ACCESS_TYPE = 0

    # This network interface can have external IPv6.
    EXTERNAL = 35607499

    # IPv6 access type not set. Means this network interface hasn't been turned on IPv6 yet.
    UNSPECIFIED_IPV6_ACCESS_TYPE = 313080613
  end

  # The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
  module NicType
    # A value indicating that the enum field is not set.
    UNDEFINED_NIC_TYPE = 0

    # GVNIC
    GVNIC = 68209305

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67411801

    # VIRTIO
    VIRTIO_NET = 452123481
  end

  # The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations.
  module StackType
    # A value indicating that the enum field is not set.
    UNDEFINED_STACK_TYPE = 0

    # The network interface can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22197249

    # The network interface will be assigned IPv4 address.
    IPV4_ONLY = 22373798

    UNSPECIFIED_STACK_TYPE = 298084569
  end
end

#nic_type::String



16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16584

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

  # [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6.
  module Ipv6AccessType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ACCESS_TYPE = 0

    # This network interface can have external IPv6.
    EXTERNAL = 35607499

    # IPv6 access type not set. Means this network interface hasn't been turned on IPv6 yet.
    UNSPECIFIED_IPV6_ACCESS_TYPE = 313080613
  end

  # The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
  module NicType
    # A value indicating that the enum field is not set.
    UNDEFINED_NIC_TYPE = 0

    # GVNIC
    GVNIC = 68209305

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67411801

    # VIRTIO
    VIRTIO_NET = 452123481
  end

  # The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations.
  module StackType
    # A value indicating that the enum field is not set.
    UNDEFINED_STACK_TYPE = 0

    # The network interface can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22197249

    # The network interface will be assigned IPv4 address.
    IPV4_ONLY = 22373798

    UNSPECIFIED_STACK_TYPE = 298084569
  end
end

#queue_count::Integer



16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16584

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

  # [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6.
  module Ipv6AccessType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ACCESS_TYPE = 0

    # This network interface can have external IPv6.
    EXTERNAL = 35607499

    # IPv6 access type not set. Means this network interface hasn't been turned on IPv6 yet.
    UNSPECIFIED_IPV6_ACCESS_TYPE = 313080613
  end

  # The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
  module NicType
    # A value indicating that the enum field is not set.
    UNDEFINED_NIC_TYPE = 0

    # GVNIC
    GVNIC = 68209305

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67411801

    # VIRTIO
    VIRTIO_NET = 452123481
  end

  # The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations.
  module StackType
    # A value indicating that the enum field is not set.
    UNDEFINED_STACK_TYPE = 0

    # The network interface can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22197249

    # The network interface will be assigned IPv4 address.
    IPV4_ONLY = 22373798

    UNSPECIFIED_STACK_TYPE = 298084569
  end
end

#stack_type::String



16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16584

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

  # [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6.
  module Ipv6AccessType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ACCESS_TYPE = 0

    # This network interface can have external IPv6.
    EXTERNAL = 35607499

    # IPv6 access type not set. Means this network interface hasn't been turned on IPv6 yet.
    UNSPECIFIED_IPV6_ACCESS_TYPE = 313080613
  end

  # The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
  module NicType
    # A value indicating that the enum field is not set.
    UNDEFINED_NIC_TYPE = 0

    # GVNIC
    GVNIC = 68209305

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67411801

    # VIRTIO
    VIRTIO_NET = 452123481
  end

  # The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations.
  module StackType
    # A value indicating that the enum field is not set.
    UNDEFINED_STACK_TYPE = 0

    # The network interface can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22197249

    # The network interface will be assigned IPv4 address.
    IPV4_ONLY = 22373798

    UNSPECIFIED_STACK_TYPE = 298084569
  end
end

#subnetwork::String



16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16584

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

  # [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6.
  module Ipv6AccessType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ACCESS_TYPE = 0

    # This network interface can have external IPv6.
    EXTERNAL = 35607499

    # IPv6 access type not set. Means this network interface hasn't been turned on IPv6 yet.
    UNSPECIFIED_IPV6_ACCESS_TYPE = 313080613
  end

  # The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
  module NicType
    # A value indicating that the enum field is not set.
    UNDEFINED_NIC_TYPE = 0

    # GVNIC
    GVNIC = 68209305

    # No type specified.
    UNSPECIFIED_NIC_TYPE = 67411801

    # VIRTIO
    VIRTIO_NET = 452123481
  end

  # The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations.
  module StackType
    # A value indicating that the enum field is not set.
    UNDEFINED_STACK_TYPE = 0

    # The network interface can have both IPv4 and IPv6 addresses.
    IPV4_IPV6 = 22197249

    # The network interface will be assigned IPv4 address.
    IPV4_ONLY = 22373798

    UNSPECIFIED_STACK_TYPE = 298084569
  end
end