REST Resource: accounts.invitations

資源:邀請

僅供輸出。代表待回覆的邀請。

JSON 表示法
{
  "name": string,
  "role": enum (AdminRole),

  // Union field target can be only one of the following:
  "targetAccount": {
    object (Account)
  },
  "targetLocation": {
    object (TargetLocation)
  }
  // End of list of possible types for union field target.
}
欄位
name

string

邀請的資源名稱。

role

enum (AdminRole)

帳戶中受邀的角色。

聯集欄位 target。表示這項邀請的目標對象。target 只能是下列其中一項:
targetAccount

object (Account)

這封邀請的填入帳戶都含有使用者。

targetLocation

object (TargetLocation)

這項邀請的目標地區。

TargetLocation

代表待回覆邀請的指定地區。

JSON 表示法
{
  "locationName": string,
  "locationAddress": string
}
欄位
locationName

string

受邀使用者的位置名稱。

locationAddress

string

使用者受邀地點的地址。

方法

accept
(deprecated)

接受指定的邀請。

decline
(deprecated)

拒絕指定的邀請。

list
(deprecated)

列出指定帳戶的待回覆邀請。