View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1Schema (google_api_discovery_engine v0.9.0)

Defines the structure and layout of a type of document data.

Attributes

  • jsonSchema (type: String.t, default: nil) - The JSON representation of the schema.
  • name (type: String.t, default: nil) - Immutable. The full resource name of the schema, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
  • structSchema (type: map(), default: nil) - The structured representation of the schema.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1Schema{
    jsonSchema: String.t() | nil,
    name: String.t() | nil,
    structSchema: map() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.