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

A schema resource.

Attributes

  • definition (type: String.t, default: nil) - The definition of the schema. This should contain a string representing the full definition of the schema that is a valid schema definition of the type specified in type.
  • name (type: String.t, default: nil) - Required. Name of the schema. Format is projects/{project}/schemas/{schema}.
  • type (type: String.t, default: nil) - The type of the schema definition.

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.Schema{
  definition: String.t() | nil,
  name: String.t() | nil,
  type: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.