Google Business Performance API یک روش API
جدید دارد که امکان واکشی چندین «DailyMetrics» را در یک درخواست API فراهم میکند.
زمانبندی منسوخ شدن و دستورالعملهای انتقال از روش API reportInsights v4 به API عملکرد نمایه کسبوکار Google را مرور کنید.
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 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[[["\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. |"]]