View Source GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1DocumentSchema (google_api_content_warehouse v0.4.0)

A document schema used to define document structure.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The time when the document schema is created.
  • description (type: String.t, default: nil) - Schema description.
  • displayName (type: String.t, default: nil) - Required. Name of the schema given by the user. Must be unique per project.
  • documentIsFolder (type: boolean(), default: nil) - Document Type, true refers the document is a folder, otherwise it is a typical document.
  • name (type: String.t, default: nil) - The resource name of the document schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. The name is ignored when creating a document schema.
  • propertyDefinitions (type: list(GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1PropertyDefinition.t), default: nil) - Document details.
  • updateTime (type: DateTime.t, default: nil) - Output only. The time when the document schema is last updated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1DocumentSchema{
    createTime: DateTime.t() | nil,
    description: String.t() | nil,
    displayName: String.t() | nil,
    documentIsFolder: boolean() | nil,
    name: String.t() | nil,
    propertyDefinitions:
      [
        GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1PropertyDefinition.t()
      ]
      | nil,
    updateTime: DateTime.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.