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

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}.
  • revisionCreateTime (type: DateTime.t, default: nil) - Output only. The timestamp that the revision was created.
  • revisionId (type: String.t, default: nil) - Output only. Immutable. The revision ID of the schema.
  • type (type: String.t, default: nil) - The type of the schema definition.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.PubSub.V1.Model.Schema{
  definition: String.t() | nil,
  name: String.t() | nil,
  revisionCreateTime: DateTime.t() | nil,
  revisionId: String.t() | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.