GoogleApi.Datastream.V1.Model.HostAddress (google_api_datastream v0.10.0)

View Source

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

Attributes

  • hostname (type: String.t, default: nil) - Required. Hostname for the connection.
  • port (type: integer(), default: nil) - Optional. Port for the connection.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Datastream.V1.Model.HostAddress{
  hostname: String.t() | nil,
  port: integer() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.