Migration Center V1 API - Class Google::Cloud::MigrationCenter::V1::HostsEntry (v0.3.0)

Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::HostsEntry.

Single /etc/hosts entry.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#host_names

def host_names() -> ::Array<::String>
Returns
  • (::Array<::String>) — List of host names / aliases.

#host_names=

def host_names=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — List of host names / aliases.
Returns
  • (::Array<::String>) — List of host names / aliases.

#ip

def ip() -> ::String
Returns
  • (::String) — IP (raw, IPv4/6 agnostic).

#ip=

def ip=(value) -> ::String
Parameter
  • value (::String) — IP (raw, IPv4/6 agnostic).
Returns
  • (::String) — IP (raw, IPv4/6 agnostic).