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

View Source

PostgreSQL database profile.

Attributes

  • database (type: String.t, default: nil) - Required. Database for the PostgreSQL connection.
  • hostname (type: String.t, default: nil) - Required. Hostname for the PostgreSQL connection.
  • password (type: String.t, default: nil) - Optional. Password for the PostgreSQL connection. Mutually exclusive with the secret_manager_stored_password field.
  • port (type: integer(), default: nil) - Port for the PostgreSQL connection, default value is 5432.
  • secretManagerStoredPassword (type: String.t, default: nil) - Optional. A reference to a Secret Manager resource name storing the PostgreSQL connection password. Mutually exclusive with the password field.
  • sslConfig (type: GoogleApi.Datastream.V1.Model.PostgresqlSslConfig.t, default: nil) - Optional. SSL configuration for the PostgreSQL connection. In case PostgresqlSslConfig is not set, the connection will use the default SSL mode, which is prefer (i.e. this mode will only use encryption if enabled from database side, otherwise will use unencrypted communication)
  • username (type: String.t, default: nil) - Required. Username for the PostgreSQL connection.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Datastream.V1.Model.PostgresqlProfile{
  database: String.t() | nil,
  hostname: String.t() | nil,
  password: String.t() | nil,
  port: integer() | nil,
  secretManagerStoredPassword: String.t() | nil,
  sslConfig: GoogleApi.Datastream.V1.Model.PostgresqlSslConfig.t() | nil,
  username: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.