Domains
Create, delete, and query the domains for a user.
Table Specific Information
Select
To get a list of all the domains, the CustomerId column is required. It can be set in the connection string or in the WHERE clause condition. If not specified, the CustomerId of the current account will be used, as in the following query.
For example, the following query is processed server side by the Google Directory APIs:
SELECT * FROM Domains
Insert
To insert a domain, the following columns are required: CustomerId and DomainName.
INSERT INTO Domains (CustomerId, DomainName) VALUES ('12345', 'exampledomain.com')
Update
UPDATEs are not supported for this table.
Delete
To delete a domain, the DomainName column is required.
DELETE FROM Domains WHERE DomainName = 'exampledomain.com'
Columns
Name | Type | ReadOnly | Description |
DomainName [KEY] | String | False |
The domain name. |
IsPrimary | Boolean | True |
Indicates if the domain is a primary domain. |
IsVerified | Boolean | True |
Indicates the verification state of a domain. |
CreationDate | Datetime | True |
The creation date of the domain. |
Aliases | String | True |
The aliases of the domain. |
ETag | String | True |
ETag of the resource. |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
CustomerId | String |
Id of the customer |