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)

يسرد الدعوات في انتظار المراجعة للحساب المحدّد.