Class: Google::Cloud::VMMigration::V1::NetworkInterface

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

Overview

NetworkInterface represents a NIC of a VM.

Instance Attribute Summary collapse

Instance Attribute Details

#external_ip::String

Returns The external IP to define in the NIC.

Returns:

  • (::String)

    The external IP to define in the NIC.



1841
1842
1843
1844
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1841

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

#internal_ip::String

Returns The internal IP to define in the NIC. The formats accepted are: ephemeral \ ipv4 address \ a named address resource full path.

Returns:

  • (::String)

    The internal IP to define in the NIC. The formats accepted are: ephemeral \ ipv4 address \ a named address resource full path.



1841
1842
1843
1844
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1841

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

#network::String

Returns The network to connect the NIC to.

Returns:

  • (::String)

    The network to connect the NIC to.



1841
1842
1843
1844
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1841

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

#subnetwork::String

Returns The subnetwork to connect the NIC to.

Returns:

  • (::String)

    The subnetwork to connect the NIC to.



1841
1842
1843
1844
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1841

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