REST Resource: domains
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資源:網域
JSON 表示法 |
{
"kind": string,
"domainAliases": [
{
object (DomainAlias )
}
],
"verified": boolean,
"etag": string,
"creationTime": string,
"isPrimary": boolean,
"domainName": string
} |
欄位 |
kind |
string
資源的類型。
|
domainAliases[] |
object (DomainAlias )
網域別名物件清單。(唯讀)
|
verified |
boolean
表示網域的驗證狀態。(唯讀)。
|
etag |
string
資源的 ETag。
|
creationTime |
string (int64 format)
網域的建立時間。以 Unix 時間格式表示。(唯讀)。
|
isPrimary |
boolean
指出網域是否為主網域 (唯讀)。
|
domainName |
string
客戶的網域名稱。
|
方法 |
|
刪除客戶的網域。 |
|
擷取客戶的網域。 |
|
插入客戶的網域。 |
|
列出客戶的網域。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-24 (世界標準時間)。
[null,null,["上次更新時間:2025-07-24 (世界標準時間)。"],[],[],null,["# REST Resource: domains\n\nResource: Domain\n----------------\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"domainAliases\": [ { object (/workspace/admin/directory/reference/rest/v1/domainAliases#DomainAlias) } ], \"verified\": boolean, \"etag\": string, \"creationTime\": string, \"isPrimary\": boolean, \"domainName\": string } ``` |\n\n| Fields ||\n|-------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` Kind of resource this is. |\n| `domainAliases[]` | `object (`[DomainAlias](/workspace/admin/directory/reference/rest/v1/domainAliases#DomainAlias)`)` A list of domain alias objects. (Read-only) |\n| `verified` | `boolean` Indicates the verification state of a domain. (Read-only). |\n| `etag` | `string` ETag of the resource. |\n| `creationTime` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Creation time of the domain. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) format. (Read-only). |\n| `isPrimary` | `boolean` Indicates if the domain is a primary domain (Read-only). |\n| `domainName` | `string` The domain name of the customer. |\n\n| Methods ------- ||\n|---------------------------------------------------------------------------|-------------------------------------|\n| ### [delete](/workspace/admin/directory/reference/rest/v1/domains/delete) | Deletes a domain of the customer. |\n| ### [get](/workspace/admin/directory/reference/rest/v1/domains/get) | Retrieves a domain of the customer. |\n| ### [insert](/workspace/admin/directory/reference/rest/v1/domains/insert) | Inserts a domain of the customer. |\n| ### [list](/workspace/admin/directory/reference/rest/v1/domains/list) | Lists the domains of the customer. |"]]