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)

列出指定帐号的待处理邀请。