REST Resource: locations.admins
リソース: Admin
JSON 表現 |
{
"name": string,
"admin": string,
"account": string,
"role": enum (AdminRole ),
"pendingInvitation": boolean
} |
フィールド |
name |
string
変更不可。リソース名。アカウント管理者の場合は、accounts/{account_id}/admins/{admin_id} の形式になります。 ビジネス管理者の場合は、locations/{locationId}/admins/{admin_id} の形式になります。 この項目は、管理者の作成時に設定しても無視されます。
|
admin |
string
省略可。管理者の名前。最初の招待を行うとき、これは招待者のメールアドレスです。招待が保留中の場合、GET の呼び出しでは、ユーザーのメールアドレスが返されます。それ以外の場合は、ユーザーの姓名が返されます。 このフィールドは、管理者の作成時にのみ設定する必要があります。
|
account |
string
変更不可。この管理者が参照するアカウント リソースの名前。locations.admins.create を呼び出して LocationGroup を管理者として招待する際に使用します。 CREATE リクエストでこのフィールドと admin の両方を設定した場合、このフィールドが優先され、admin のメールアドレスは無視されます。
形式: accounts/{account} 。
|
role |
enum (AdminRole )
必須。この管理者が指定したアカウントまたはビジネス情報で使用するロールを指定します。
|
pendingInvitation |
boolean
出力専用。この管理者が、指定したリソースへの招待を保留にしているかどうかを表します。
|
メソッド |
|
指定したユーザーを、指定したビジネスの管理者として招待します。 |
|
指定したビジネスの管理者として指定した管理者を削除します。 |
|
指定したビジネスのすべての管理者の一覧を取得します。 |
|
指定したビジネスのビジネス情報を管理者に通知します。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-11 UTC。
[null,null,["最終更新日 2024-09-11 UTC。"],[[["An Admin is an administrator of an Account or a location, with an immutable resource name and a role specifying their access level."],["Admins can be invited, removed, listed, and updated for specific locations using provided methods."],["Admin creation requires the `role` field, while optional fields include the admin's name/email and associated account."],["A pending invitation status is indicated for each admin, along with whether it's for an Account or Location."],["Admins for Accounts are in the form `accounts/{account_id}/admins/{admin_id}` and for Locations are in the form `locations/{locationId}/admins/{admin_id}`."]]],["Admins, representing administrators of an Account or location, are managed via various methods. Key actions include: `create`, which invites a user to be a location administrator; `delete`, which removes an admin; `list`, to view all location admins; and `patch`, to update admin details. An admin's JSON representation includes their name, role, account affiliation, and pending invitation status. Fields such as `name`, `admin`, `account`, `role`, and `pendingInvitation` are described with their type and usage.\n"]]