Class: Google::Cloud::Datastream::V1::HostAddress

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

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#hostname::String

Returns Required. Hostname for the connection.

Returns:

  • (::String)

    Required. Hostname for the connection.



309
310
311
312
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 309

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

#port::Integer

Returns Optional. Port for the connection.

Returns:

  • (::Integer)

    Optional. Port for the connection.



309
310
311
312
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 309

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