View Source GoogleApi.Speech.V1.Model.CreateCustomClassRequest (google_api_speech v0.28.0)

Message sent by the client for the CreateCustomClass method.

Attributes

  • customClass (type: GoogleApi.Speech.V1.Model.CustomClass.t, default: nil) - Required. The custom class to create.
  • customClassId (type: String.t, default: nil) - Required. The ID to use for the custom class, which will become the final component of the custom class' resource name. This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Speech.V1.Model.CreateCustomClassRequest{
  customClass: GoogleApi.Speech.V1.Model.CustomClass.t() | nil,
  customClassId: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.