Datastream V1 API - Class Google::Cloud::Datastream::V1::HostAddress (v1.3.0)

Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::HostAddress.

A HostAddress represents a transport end point, which is the combination of an IP address or hostname and a port number.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#hostname

def hostname() -> ::String
Returns
  • (::String) — Required. Hostname for the connection.

#hostname=

def hostname=(value) -> ::String
Parameter
  • value (::String) — Required. Hostname for the connection.
Returns
  • (::String) — Required. Hostname for the connection.

#port

def port() -> ::Integer
Returns
  • (::Integer) — Optional. Port for the connection.

#port=

def port=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Port for the connection.
Returns
  • (::Integer) — Optional. Port for the connection.