Class: Google::Cloud::Compute::V1::NetworkInterface
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::NetworkInterface
- 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
-
#access_configs ⇒ ::Array<::Google::Cloud::Compute::V1::AccessConfig>
An array of configurations for this interface.
-
#alias_ip_ranges ⇒ ::Array<::Google::Cloud::Compute::V1::AliasIpRange>
An array of alias IP ranges for this network interface.
-
#fingerprint ⇒ ::String
Fingerprint hash of contents stored in this network interface.
-
#ipv6_access_configs ⇒ ::Array<::Google::Cloud::Compute::V1::AccessConfig>
An array of IPv6 access configurations for this interface.
-
#ipv6_access_type ⇒ ::Google::Cloud::Compute::V1::NetworkInterface::Ipv6AccessType
[Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet.
-
#ipv6_address ⇒ ::String
[Output Only] An IPv6 internal network address for this network interface.
-
#kind ⇒ ::String
[Output Only] Type of the resource.
-
#name ⇒ ::String
[Output Only] The name of the network interface, which is generated by the server.
-
#network ⇒ ::String
URL of the network resource for this instance.
-
#network_i_p ⇒ ::String
An IPv4 internal IP address to assign to the instance for this network interface.
-
#nic_type ⇒ ::Google::Cloud::Compute::V1::NetworkInterface::NicType
The type of vNIC to be used on this interface.
-
#queue_count ⇒ ::Integer
The networking queue count that's specified by users for the network interface.
-
#stack_type ⇒ ::Google::Cloud::Compute::V1::NetworkInterface::StackType
The stack type for this network interface to identify whether the IPv6 feature is enabled or not.
-
#subnetwork ⇒ ::String
The URL of the Subnetwork resource for this instance.
Instance Attribute Details
#access_configs ⇒ ::Array<::Google::Cloud::Compute::V1::AccessConfig>
Returns An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access.
15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 15878 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>
Returns An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 15878 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
Returns Fingerprint hash of contents stored in this network interface. This field will be ignored when inserting an Instance or adding a NetworkInterface. An up-to-date fingerprint must be provided in order to update the NetworkInterface. The request will fail with error 400 Bad Request if the fingerprint is not provided, or 412 Precondition Failed if the fingerprint is out of date.
15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 15878 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>
Returns An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 15878 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 ⇒ ::Google::Cloud::Compute::V1::NetworkInterface::Ipv6AccessType
Returns [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.
15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 15878 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
Returns [Output Only] An IPv6 internal network address for this network interface.
15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 15878 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
Returns [Output Only] Type of the resource. Always compute#networkInterface for network interfaces.
15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 15878 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
Returns [Output Only] The name of the network interface, which is generated by the server. For network devices, these are eth0, eth1, etc.
15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 15878 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
Returns URL of the network resource for this instance. When creating an instance, if neither the network nor the subnetwork is specified, the default network global/networks/default is used; if the network is not specified but the subnetwork is specified, the network is inferred. If you specify this property, you can specify the network as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/global/networks/ network - projects/project/global/networks/network - global/networks/default.
15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 15878 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
Returns An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.
15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 15878 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 ⇒ ::Google::Cloud::Compute::V1::NetworkInterface::NicType
Returns The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 15878 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
Returns The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It'll be empty if not specified by the users.
15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 15878 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 ⇒ ::Google::Cloud::Compute::V1::NetworkInterface::StackType
Returns 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.
15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 15878 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
Returns The URL of the Subnetwork resource for this instance. If the network resource is in legacy mode, do not specify this field. If the network is in auto subnet mode, specifying the subnetwork is optional. If the network is in custom subnet mode, specifying the subnetwork is required. If you specify this field, you can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region /subnetworks/subnetwork - regions/region/subnetworks/subnetwork.
15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 15878 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 |