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

ユーザーが招待されているビジネスの住所。

Methods

accept
(deprecated)

指定した招待を承諾します。

decline
(deprecated)

指定した招待を辞退します。

list
(deprecated)

指定したアカウントで保留中の招待を一覧表示します。