GoogleApi.PubSub.V1.Model.SchemaSettings (google_api_pub_sub v0.33.0) View Source

Settings for validating messages published against a schema.

Attributes

  • encoding (type: String.t, default: nil) - The encoding of messages validated against schema.
  • schema (type: String.t, default: nil) - Required. The name of the schema that messages published should be validated against. Format is projects/{project}/schemas/{schema}. The value of this field will be _deleted-schema_ if the schema has been deleted.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.PubSub.V1.Model.SchemaSettings{
  encoding: String.t() | nil,
  schema: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.