View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaSchema (google_api_discovery_engine v0.22.0)

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

Attributes

  • fieldConfigs (type: list(GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaFieldConfig.t), default: nil) - Output only. Configurations for fields of the schema.
  • 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.V1.Model.GoogleCloudDiscoveryengineV1alphaSchema{
    fieldConfigs:
      [
        GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaFieldConfig.t()
      ]
      | nil,
    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.