REST Resource: projects.locations.dataStores.schemas

Risorsa: schema

Definisce la struttura e il layout di un tipo di dati del documento.

Rappresentazione JSON
{
  "name": string,

  // Union field schema can be only one of the following:
  "structSchema": {
    object
  },
  "jsonSchema": string
  // End of list of possible types for union field schema.
}
Campi
name

string

Immutabile. Il nome completo della risorsa dello schema, nel formato projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}/schemas/{schema}.

Questo campo deve essere una stringa codificata in UTF-8 con un limite di lunghezza di 1024 caratteri.

Campo unione schema. Rappresentazione dello schema. È necessario fornire struct_schema o json_schema, altrimenti viene generato un errore INVALID_ARGUMENT. schema può essere solo uno dei seguenti:
structSchema

object (Struct format)

La rappresentazione strutturata dello schema.

jsonSchema

string

La rappresentazione JSON dello schema.

Metodi

create

Crea un Schema.

delete

Elimina un Schema.

get

Riceve un Schema.

list

Recupera un elenco di Schema.

patch

Aggiorna un Schema.