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

Request for the ValidateMessage method.

Attributes

  • encoding (type: String.t, default: nil) - The encoding expected for messages
  • message (type: String.t, default: nil) - Message to validate against the provided schema_spec.
  • name (type: String.t, default: nil) - Name of the schema against which to validate. Format is projects/{project}/schemas/{schema}.
  • schema (type: GoogleApi.PubSub.V1.Model.Schema.t, default: nil) - Ad-hoc schema against which to validate

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.PubSub.V1.Model.ValidateMessageRequest{
  encoding: String.t() | nil,
  message: String.t() | nil,
  name: String.t() | nil,
  schema: GoogleApi.PubSub.V1.Model.Schema.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.