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)
|
מאשר את ההזמנה שצוינה. |
|
דחיית ההזמנה שצוינה. |
list (deprecated)
|
בתיבת הדו-שיח הזו מפורטים הזמנות בהמתנה לחשבון שצוין. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\u003cp\u003eThis documentation details the 'Invitation' resource, which represents a pending invitation to a Google Business Profile account or location.\u003c/p\u003e\n"],["\u003cp\u003eInvitations specify a role for the invitee and the target account or location.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003eTargetLocation\u003c/code\u003e object is used when the invitation is for a specific location within a business account, providing the location's name and address.\u003c/p\u003e\n"],["\u003cp\u003eThe available methods (accept, decline, list) for managing invitations are deprecated.\u003c/p\u003e\n"]]],[],null,["# REST Resource: accounts.invitations\n\n- [Resource: Invitation](#Invitation)\n - [JSON representation](#Invitation.SCHEMA_REPRESENTATION)\n- [TargetLocation](#TargetLocation)\n - [JSON representation](#TargetLocation.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Invitation\n--------------------\n\nOutput only. Represents a pending invitation.\n\n| JSON representation ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"name\": string, \"role\": enum (/my-business/reference/rest/v4/AdminRole), // Union field `target` can be only one of the following: \"targetAccount\": { object (/my-business/reference/rest/v4/accounts#Account) }, \"targetLocation\": { object (/my-business/reference/rest/v4/accounts.invitations#TargetLocation) } // End of list of possible types for union field `target`. } ``` |\n\n| Fields ||\n|------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|---|\n| `name` | `string` The resource name for the invitation. |\n| `role` | `enum (`[AdminRole](/my-business/reference/rest/v4/AdminRole)`)` The invited role on the account. |\n| Union field `target`. Indicates the target this invitation is for. `target` can be only one of the following: |||\n| `targetAccount` | `object (`[Account](/my-business/reference/rest/v4/accounts#Account)`)` The sparsely populated account this invitation is for. |\n| `targetLocation` | `object (`[TargetLocation](/my-business/reference/rest/v4/accounts.invitations#TargetLocation)`)` The target location this invitation is for. |\n\nTargetLocation\n--------------\n\nRepresents a target location for a pending invitation.\n\n| JSON representation ||\n|---------------------------------------------------------------|---|\n| ``` { \"locationName\": string, \"locationAddress\": string } ``` |\n\n| Fields ||\n|-------------------|--------------------------------------------------------------------|\n| `locationName` | `string` The name of the location to which the user is invited. |\n| `locationAddress` | `string` The address of the location to which the user is invited. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------------------------------|------------------------------------------------------|\n| ### [accept](/my-business/reference/rest/v4/accounts.invitations/accept)` ` **(deprecated)** | Accepts the specified invitation. |\n| ### [decline](/my-business/reference/rest/v4/accounts.invitations/decline)` ` **(deprecated)** | Declines the specified invitation. |\n| ### [list](/my-business/reference/rest/v4/accounts.invitations/list)` ` **(deprecated)** | Lists pending invitations for the specified account. |"]]