Class: Google::Cloud::BackupDR::V1::NetworkInterface
- Inherits:
-
Object
- Object
- Google::Cloud::BackupDR::V1::NetworkInterface
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb
Overview
A network interface resource attached to an instance. s
Defined Under Namespace
Modules: Ipv6AccessType, NicType, StackType
Instance Attribute Summary collapse
-
#access_configs ⇒ ::Array<::Google::Cloud::BackupDR::V1::AccessConfig>
Optional.
-
#alias_ip_ranges ⇒ ::Array<::Google::Cloud::BackupDR::V1::AliasIpRange>
Optional.
-
#internal_ipv6_prefix_length ⇒ ::Integer
Optional.
-
#ip_address ⇒ ::String
Optional.
-
#ipv6_access_configs ⇒ ::Array<::Google::Cloud::BackupDR::V1::AccessConfig>
Optional.
-
#ipv6_access_type ⇒ ::Google::Cloud::BackupDR::V1::NetworkInterface::Ipv6AccessType
Optional.
-
#ipv6_address ⇒ ::String
Optional.
-
#name ⇒ ::String
readonly
Output only.
-
#network ⇒ ::String
Optional.
-
#network_attachment ⇒ ::String
Optional.
-
#nic_type ⇒ ::Google::Cloud::BackupDR::V1::NetworkInterface::NicType
Optional.
-
#queue_count ⇒ ::Integer
Optional.
-
#stack_type ⇒ ::Google::Cloud::BackupDR::V1::NetworkInterface::StackType
The stack type for this network interface.
-
#subnetwork ⇒ ::String
Optional.
Instance Attribute Details
#access_configs ⇒ ::Array<::Google::Cloud::BackupDR::V1::AccessConfig>
Returns Optional. 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.
451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 451 class NetworkInterface include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Stack type for this network interface. module StackType # Default should be STACK_TYPE_UNSPECIFIED. STACK_TYPE_UNSPECIFIED = 0 # The network interface will be assigned IPv4 address. IPV4_ONLY = 1 # The network interface can have both IPv4 and IPv6 addresses. IPV4_IPV6 = 2 end # IPv6 access type for this network interface. module Ipv6AccessType # IPv6 access type not set. Means this network interface hasn't been # turned on IPv6 yet. UNSPECIFIED_IPV6_ACCESS_TYPE = 0 # This network interface can have internal IPv6. INTERNAL = 1 # This network interface can have external IPv6. EXTERNAL = 2 end # Nic type for this network interface. module NicType # Default should be NIC_TYPE_UNSPECIFIED. NIC_TYPE_UNSPECIFIED = 0 # VIRTIO VIRTIO_NET = 1 # GVNIC GVNIC = 2 end end |
#alias_ip_ranges ⇒ ::Array<::Google::Cloud::BackupDR::V1::AliasIpRange>
Returns Optional. An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.
451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 451 class NetworkInterface include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Stack type for this network interface. module StackType # Default should be STACK_TYPE_UNSPECIFIED. STACK_TYPE_UNSPECIFIED = 0 # The network interface will be assigned IPv4 address. IPV4_ONLY = 1 # The network interface can have both IPv4 and IPv6 addresses. IPV4_IPV6 = 2 end # IPv6 access type for this network interface. module Ipv6AccessType # IPv6 access type not set. Means this network interface hasn't been # turned on IPv6 yet. UNSPECIFIED_IPV6_ACCESS_TYPE = 0 # This network interface can have internal IPv6. INTERNAL = 1 # This network interface can have external IPv6. EXTERNAL = 2 end # Nic type for this network interface. module NicType # Default should be NIC_TYPE_UNSPECIFIED. NIC_TYPE_UNSPECIFIED = 0 # VIRTIO VIRTIO_NET = 1 # GVNIC GVNIC = 2 end end |
#internal_ipv6_prefix_length ⇒ ::Integer
Returns Optional. The prefix length of the primary internal IPv6 range.
451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 451 class NetworkInterface include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Stack type for this network interface. module StackType # Default should be STACK_TYPE_UNSPECIFIED. STACK_TYPE_UNSPECIFIED = 0 # The network interface will be assigned IPv4 address. IPV4_ONLY = 1 # The network interface can have both IPv4 and IPv6 addresses. IPV4_IPV6 = 2 end # IPv6 access type for this network interface. module Ipv6AccessType # IPv6 access type not set. Means this network interface hasn't been # turned on IPv6 yet. UNSPECIFIED_IPV6_ACCESS_TYPE = 0 # This network interface can have internal IPv6. INTERNAL = 1 # This network interface can have external IPv6. EXTERNAL = 2 end # Nic type for this network interface. module NicType # Default should be NIC_TYPE_UNSPECIFIED. NIC_TYPE_UNSPECIFIED = 0 # VIRTIO VIRTIO_NET = 1 # GVNIC GVNIC = 2 end end |
#ip_address ⇒ ::String
Returns Optional. 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.
451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 451 class NetworkInterface include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Stack type for this network interface. module StackType # Default should be STACK_TYPE_UNSPECIFIED. STACK_TYPE_UNSPECIFIED = 0 # The network interface will be assigned IPv4 address. IPV4_ONLY = 1 # The network interface can have both IPv4 and IPv6 addresses. IPV4_IPV6 = 2 end # IPv6 access type for this network interface. module Ipv6AccessType # IPv6 access type not set. Means this network interface hasn't been # turned on IPv6 yet. UNSPECIFIED_IPV6_ACCESS_TYPE = 0 # This network interface can have internal IPv6. INTERNAL = 1 # This network interface can have external IPv6. EXTERNAL = 2 end # Nic type for this network interface. module NicType # Default should be NIC_TYPE_UNSPECIFIED. NIC_TYPE_UNSPECIFIED = 0 # VIRTIO VIRTIO_NET = 1 # GVNIC GVNIC = 2 end end |
#ipv6_access_configs ⇒ ::Array<::Google::Cloud::BackupDR::V1::AccessConfig>
Returns Optional. 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.
451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 451 class NetworkInterface include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Stack type for this network interface. module StackType # Default should be STACK_TYPE_UNSPECIFIED. STACK_TYPE_UNSPECIFIED = 0 # The network interface will be assigned IPv4 address. IPV4_ONLY = 1 # The network interface can have both IPv4 and IPv6 addresses. IPV4_IPV6 = 2 end # IPv6 access type for this network interface. module Ipv6AccessType # IPv6 access type not set. Means this network interface hasn't been # turned on IPv6 yet. UNSPECIFIED_IPV6_ACCESS_TYPE = 0 # This network interface can have internal IPv6. INTERNAL = 1 # This network interface can have external IPv6. EXTERNAL = 2 end # Nic type for this network interface. module NicType # Default should be NIC_TYPE_UNSPECIFIED. NIC_TYPE_UNSPECIFIED = 0 # VIRTIO VIRTIO_NET = 1 # GVNIC GVNIC = 2 end end |
#ipv6_access_type ⇒ ::Google::Cloud::BackupDR::V1::NetworkInterface::Ipv6AccessType
Returns Optional. [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.
451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 451 class NetworkInterface include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Stack type for this network interface. module StackType # Default should be STACK_TYPE_UNSPECIFIED. STACK_TYPE_UNSPECIFIED = 0 # The network interface will be assigned IPv4 address. IPV4_ONLY = 1 # The network interface can have both IPv4 and IPv6 addresses. IPV4_IPV6 = 2 end # IPv6 access type for this network interface. module Ipv6AccessType # IPv6 access type not set. Means this network interface hasn't been # turned on IPv6 yet. UNSPECIFIED_IPV6_ACCESS_TYPE = 0 # This network interface can have internal IPv6. INTERNAL = 1 # This network interface can have external IPv6. EXTERNAL = 2 end # Nic type for this network interface. module NicType # Default should be NIC_TYPE_UNSPECIFIED. NIC_TYPE_UNSPECIFIED = 0 # VIRTIO VIRTIO_NET = 1 # GVNIC GVNIC = 2 end end |
#ipv6_address ⇒ ::String
Returns Optional. An IPv6 internal network address for this network interface. To use a static internal IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.
451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 451 class NetworkInterface include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Stack type for this network interface. module StackType # Default should be STACK_TYPE_UNSPECIFIED. STACK_TYPE_UNSPECIFIED = 0 # The network interface will be assigned IPv4 address. IPV4_ONLY = 1 # The network interface can have both IPv4 and IPv6 addresses. IPV4_IPV6 = 2 end # IPv6 access type for this network interface. module Ipv6AccessType # IPv6 access type not set. Means this network interface hasn't been # turned on IPv6 yet. UNSPECIFIED_IPV6_ACCESS_TYPE = 0 # This network interface can have internal IPv6. INTERNAL = 1 # This network interface can have external IPv6. EXTERNAL = 2 end # Nic type for this network interface. module NicType # Default should be NIC_TYPE_UNSPECIFIED. NIC_TYPE_UNSPECIFIED = 0 # VIRTIO VIRTIO_NET = 1 # GVNIC GVNIC = 2 end end |
#name ⇒ ::String (readonly)
Returns Output only. [Output Only] The name of the network interface, which is generated by the server.
451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 451 class NetworkInterface include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Stack type for this network interface. module StackType # Default should be STACK_TYPE_UNSPECIFIED. STACK_TYPE_UNSPECIFIED = 0 # The network interface will be assigned IPv4 address. IPV4_ONLY = 1 # The network interface can have both IPv4 and IPv6 addresses. IPV4_IPV6 = 2 end # IPv6 access type for this network interface. module Ipv6AccessType # IPv6 access type not set. Means this network interface hasn't been # turned on IPv6 yet. UNSPECIFIED_IPV6_ACCESS_TYPE = 0 # This network interface can have internal IPv6. INTERNAL = 1 # This network interface can have external IPv6. EXTERNAL = 2 end # Nic type for this network interface. module NicType # Default should be NIC_TYPE_UNSPECIFIED. NIC_TYPE_UNSPECIFIED = 0 # VIRTIO VIRTIO_NET = 1 # GVNIC GVNIC = 2 end end |
#network ⇒ ::String
Returns Optional. URL of the VPC network resource for this instance.
451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 451 class NetworkInterface include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Stack type for this network interface. module StackType # Default should be STACK_TYPE_UNSPECIFIED. STACK_TYPE_UNSPECIFIED = 0 # The network interface will be assigned IPv4 address. IPV4_ONLY = 1 # The network interface can have both IPv4 and IPv6 addresses. IPV4_IPV6 = 2 end # IPv6 access type for this network interface. module Ipv6AccessType # IPv6 access type not set. Means this network interface hasn't been # turned on IPv6 yet. UNSPECIFIED_IPV6_ACCESS_TYPE = 0 # This network interface can have internal IPv6. INTERNAL = 1 # This network interface can have external IPv6. EXTERNAL = 2 end # Nic type for this network interface. module NicType # Default should be NIC_TYPE_UNSPECIFIED. NIC_TYPE_UNSPECIFIED = 0 # VIRTIO VIRTIO_NET = 1 # GVNIC GVNIC = 2 end end |
#network_attachment ⇒ ::String
Returns Optional. The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.
451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 451 class NetworkInterface include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Stack type for this network interface. module StackType # Default should be STACK_TYPE_UNSPECIFIED. STACK_TYPE_UNSPECIFIED = 0 # The network interface will be assigned IPv4 address. IPV4_ONLY = 1 # The network interface can have both IPv4 and IPv6 addresses. IPV4_IPV6 = 2 end # IPv6 access type for this network interface. module Ipv6AccessType # IPv6 access type not set. Means this network interface hasn't been # turned on IPv6 yet. UNSPECIFIED_IPV6_ACCESS_TYPE = 0 # This network interface can have internal IPv6. INTERNAL = 1 # This network interface can have external IPv6. EXTERNAL = 2 end # Nic type for this network interface. module NicType # Default should be NIC_TYPE_UNSPECIFIED. NIC_TYPE_UNSPECIFIED = 0 # VIRTIO VIRTIO_NET = 1 # GVNIC GVNIC = 2 end end |
#nic_type ⇒ ::Google::Cloud::BackupDR::V1::NetworkInterface::NicType
Returns Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 451 class NetworkInterface include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Stack type for this network interface. module StackType # Default should be STACK_TYPE_UNSPECIFIED. STACK_TYPE_UNSPECIFIED = 0 # The network interface will be assigned IPv4 address. IPV4_ONLY = 1 # The network interface can have both IPv4 and IPv6 addresses. IPV4_IPV6 = 2 end # IPv6 access type for this network interface. module Ipv6AccessType # IPv6 access type not set. Means this network interface hasn't been # turned on IPv6 yet. UNSPECIFIED_IPV6_ACCESS_TYPE = 0 # This network interface can have internal IPv6. INTERNAL = 1 # This network interface can have external IPv6. EXTERNAL = 2 end # Nic type for this network interface. module NicType # Default should be NIC_TYPE_UNSPECIFIED. NIC_TYPE_UNSPECIFIED = 0 # VIRTIO VIRTIO_NET = 1 # GVNIC GVNIC = 2 end end |
#queue_count ⇒ ::Integer
Returns Optional. 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.
451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 451 class NetworkInterface include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Stack type for this network interface. module StackType # Default should be STACK_TYPE_UNSPECIFIED. STACK_TYPE_UNSPECIFIED = 0 # The network interface will be assigned IPv4 address. IPV4_ONLY = 1 # The network interface can have both IPv4 and IPv6 addresses. IPV4_IPV6 = 2 end # IPv6 access type for this network interface. module Ipv6AccessType # IPv6 access type not set. Means this network interface hasn't been # turned on IPv6 yet. UNSPECIFIED_IPV6_ACCESS_TYPE = 0 # This network interface can have internal IPv6. INTERNAL = 1 # This network interface can have external IPv6. EXTERNAL = 2 end # Nic type for this network interface. module NicType # Default should be NIC_TYPE_UNSPECIFIED. NIC_TYPE_UNSPECIFIED = 0 # VIRTIO VIRTIO_NET = 1 # GVNIC GVNIC = 2 end end |
#stack_type ⇒ ::Google::Cloud::BackupDR::V1::NetworkInterface::StackType
Returns The stack type for this network interface.
451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 451 class NetworkInterface include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Stack type for this network interface. module StackType # Default should be STACK_TYPE_UNSPECIFIED. STACK_TYPE_UNSPECIFIED = 0 # The network interface will be assigned IPv4 address. IPV4_ONLY = 1 # The network interface can have both IPv4 and IPv6 addresses. IPV4_IPV6 = 2 end # IPv6 access type for this network interface. module Ipv6AccessType # IPv6 access type not set. Means this network interface hasn't been # turned on IPv6 yet. UNSPECIFIED_IPV6_ACCESS_TYPE = 0 # This network interface can have internal IPv6. INTERNAL = 1 # This network interface can have external IPv6. EXTERNAL = 2 end # Nic type for this network interface. module NicType # Default should be NIC_TYPE_UNSPECIFIED. NIC_TYPE_UNSPECIFIED = 0 # VIRTIO VIRTIO_NET = 1 # GVNIC GVNIC = 2 end end |
#subnetwork ⇒ ::String
Returns Optional. The URL of the Subnetwork resource for this instance.
451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 451 class NetworkInterface include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Stack type for this network interface. module StackType # Default should be STACK_TYPE_UNSPECIFIED. STACK_TYPE_UNSPECIFIED = 0 # The network interface will be assigned IPv4 address. IPV4_ONLY = 1 # The network interface can have both IPv4 and IPv6 addresses. IPV4_IPV6 = 2 end # IPv6 access type for this network interface. module Ipv6AccessType # IPv6 access type not set. Means this network interface hasn't been # turned on IPv6 yet. UNSPECIFIED_IPV6_ACCESS_TYPE = 0 # This network interface can have internal IPv6. INTERNAL = 1 # This network interface can have external IPv6. EXTERNAL = 2 end # Nic type for this network interface. module NicType # Default should be NIC_TYPE_UNSPECIFIED. NIC_TYPE_UNSPECIFIED = 0 # VIRTIO VIRTIO_NET = 1 # GVNIC GVNIC = 2 end end |