检索架构。
HTTP 请求
GET https://admin.googleapis.com/admin/directory/v1/customer/{customerId}/schemas/{schemaKey}
网址采用 gRPC 转码语法。
路径参数
| 参数 | |
|---|---|
| customerId | 
 客户 Google Workspace 账号的唯一 ID。如果是多网域账号,如需提取客户的所有群组,请使用此字段,而不是  | 
| schemaKey | 
 架构的名称或不可变 ID。 | 
请求正文
请求正文必须为空。
响应正文
如果成功,则响应正文包含一个 Schema 实例。
授权范围
需要以下 OAuth 范围之一:
- https://www.googleapis.com/auth/admin.directory.userschema
- https://www.googleapis.com/auth/admin.directory.userschema.readonly
如需了解详情,请参阅授权指南。