REST Resource: projects.locations.dataStores.schemas

리소스: 스키마

문서 데이터 유형의 구조와 레이아웃을 정의합니다.

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.
}
필드
name

string

변경할 수 없습니다. projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}/schemas/{schema} 형식의 스키마 전체 리소스 이름입니다.

이 필드는 UTF-8로 인코딩된 문자열이어야 하며 길이 제한은 1,024자(영문 기준)입니다.

통합 필드 schema. 스키마 표현입니다. struct_schema 또는 json_schema 중 하나를 제공해야 합니다. 그렇지 않으면 INVALID_ARGUMENT 오류가 발생합니다. schema은 다음 중 하나여야 합니다.
structSchema

object (Struct format)

스키마의 구조화된 표현입니다.

jsonSchema

string

스키마의 JSON 표현입니다.

메서드

create

Schema를 만듭니다.

delete

Schema를 삭제합니다.

get

Schema을 가져옵니다.

list

Schema 목록을 가져옵니다.

patch

Schema을 업데이트합니다.