REST Resource: resources.buildings
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
المرجع: مبنى
واجهة برمجة التطبيقات العامة: Resources.buildings
تمثيل JSON |
{
"buildingId": string,
"buildingName": string,
"description": string,
"coordinates": {
object (BuildingCoordinates )
},
"kind": string,
"etags": string,
"floorNames": [
string
],
"address": {
object (BuildingAddress )
}
} |
الحقول |
buildingId |
string
المعرّف الفريد للمبنى الحد الأقصى للطول هو 100 حرف.
|
buildingName |
string
اسم المبنى كما يظهر للمستخدمين في "تقويم Google" يجب أن يكون فريدًا للعميل. على سبيل المثال، "NYC-CHEL". الحد الأقصى للطول هو 100 حرف.
|
description |
string
وصف موجز للمبنى على سبيل المثال، "سوق تشيلسى".
|
coordinates |
object (BuildingCoordinates )
الإحداثيات الجغرافية لمركز المبنى، والتي يتم التعبير عنها كخط عرض وخط طول بالدرجات العشرية
|
kind |
string
نوع المرجع
|
etags |
string
علامة ETag للمورد
|
floorNames[] |
string
الأسماء المعروضة لجميع الطوابق في هذا المبنى من المتوقّع ترتيب الطوابق بترتيب تصاعدي، من الطابق الأدنى إلى الطابق الأعلى. على سبيل المثال، يجب أن يحتوي ["B2", "B1", "L", "1", "2", "2M", "3", "PH"] على إدخال واحد على الأقل.
|
address |
object (BuildingAddress )
العنوان البريدي للمبنى ولمزيد من التفاصيل، يمكنك الاطّلاع على PostalAddress . يُرجى العِلم أنّه يجب إدخال سطر عنوان واحد ورمز منطقة واحد فقط.
|
BuildingCoordinates
واجهة برمجة التطبيقات العامة: Resources.buildings
تمثيل JSON |
{
"latitude": number,
"longitude": number
} |
الحقول |
latitude |
number
خط العرض بالدرجات العشرية
|
longitude |
number
خط الطول بالدرجات العشرية
|
BuildingAddress
واجهة برمجة التطبيقات العامة: Resources.buildings
تمثيل JSON |
{
"regionCode": string,
"languageCode": string,
"postalCode": string,
"administrativeArea": string,
"locality": string,
"sublocality": string,
"addressLines": [
string
]
} |
الحقول |
regionCode |
string
مطلوب. رمز منطقة CLDR للبلد أو المنطقة التي يقع فيها العنوان
|
languageCode |
string
اختياريّ. رمز اللغة BCP-47 لمحتوى هذا العنوان (إذا كان معروفًا)
|
postalCode |
string
اختياريّ. الرمز البريدي للعنوان
|
administrativeArea |
string
اختياريّ. أعلى تقسيم فرعي إداري يُستخدَم للعناوين البريدية لبلد أو منطقة.
|
locality |
string
اختياريّ. يشير هذا الحقل بشكل عام إلى جزء المدينة/البلدة من العنوان. أمثلة: مدينة أمريكية، بلدية إيطالية، مدينة بريدية في المملكة المتحدة في مناطق العالم التي لا تكون فيها المواقع الجغرافية المحلية محدّدة جيدًا أو لا تتناسب مع هذه البنية بشكل جيد، اترك الحقل locality فارغًا واستخدِم addressLines.
|
sublocality |
string
اختياريّ. البلدة الفرعية للعنوان
|
addressLines[] |
string
سطور عناوين غير منظَّمة تصف المستويات الدنيا للعنوان
|
الطُرق |
|
لحذف مبنى |
|
لاسترداد مبنى |
|
لإدراج مبنى |
|
يستردّ قائمة بالمباني لحساب معيّن. |
|
تصحيحات في مبنى |
|
تعديلات على مبنى |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-24 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-24 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["# REST Resource: resources.buildings\n\nResource: Building\n------------------\n\nPublic API: Resources.buildings\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"buildingId\": string, \"buildingName\": string, \"description\": string, \"coordinates\": { object (/workspace/admin/directory/reference/rest/v1/resources.buildings#BuildingCoordinates) }, \"kind\": string, \"etags\": string, \"floorNames\": [ string ], \"address\": { object (/workspace/admin/directory/reference/rest/v1/resources.buildings#BuildingAddress) } } ``` |\n\n| Fields ||\n|----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `buildingId` | `string` Unique identifier for the building. The maximum length is 100 characters. |\n| `buildingName` | `string` The building name as seen by users in Calendar. Must be unique for the customer. For example, \"NYC-CHEL\". The maximum length is 100 characters. |\n| `description` | `string` A brief description of the building. For example, \"Chelsea Market\". |\n| `coordinates` | `object (`[BuildingCoordinates](/workspace/admin/directory/reference/rest/v1/resources.buildings#BuildingCoordinates)`)` The geographic coordinates of the center of the building, expressed as latitude and longitude in decimal degrees. |\n| `kind` | `string` Kind of resource this is. |\n| `etags` | `string` ETag of the resource. |\n| `floorNames[]` | `string` The display names for all floors in this building. The floors are expected to be sorted in ascending order, from lowest floor to highest floor. For example, \\[\"B2\", \"B1\", \"L\", \"1\", \"2\", \"2M\", \"3\", \"PH\"\\] Must contain at least one entry. |\n| `address` | `object (`[BuildingAddress](/workspace/admin/directory/reference/rest/v1/resources.buildings#BuildingAddress)`)` The postal address of the building. See [`PostalAddress`](/my-business/reference/rest/v4/PostalAddress) for details. Note that only a single address line and region code are required. |\n\nBuildingCoordinates\n-------------------\n\nPublic API: Resources.buildings\n\n| JSON representation |\n|-----------------------------------------------------|\n| ``` { \"latitude\": number, \"longitude\": number } ``` |\n\n| Fields ||\n|-------------|----------------------------------------|\n| `latitude` | `number` Latitude in decimal degrees. |\n| `longitude` | `number` Longitude in decimal degrees. |\n\nBuildingAddress\n---------------\n\nPublic API: Resources.buildings\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"regionCode\": string, \"languageCode\": string, \"postalCode\": string, \"administrativeArea\": string, \"locality\": string, \"sublocality\": string, \"addressLines\": [ string ] } ``` |\n\n| Fields ||\n|----------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `regionCode` | `string` Required. CLDR region code of the country/region of the address. |\n| `languageCode` | `string` Optional. BCP-47 language code of the contents of this address (if known). |\n| `postalCode` | `string` Optional. Postal code of the address. |\n| `administrativeArea` | `string` Optional. Highest administrative subdivision which is used for postal addresses of a country or region. |\n| `locality` | `string` Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use addressLines. |\n| `sublocality` | `string` Optional. Sublocality of the address. |\n| `addressLines[]` | `string` Unstructured address lines describing the lower levels of an address. |\n\n| Methods ------- ||\n|---------------------------------------------------------------------------------------|-----------------------------------------------|\n| ### [delete](/workspace/admin/directory/reference/rest/v1/resources.buildings/delete) | Deletes a building. |\n| ### [get](/workspace/admin/directory/reference/rest/v1/resources.buildings/get) | Retrieves a building. |\n| ### [insert](/workspace/admin/directory/reference/rest/v1/resources.buildings/insert) | Inserts a building. |\n| ### [list](/workspace/admin/directory/reference/rest/v1/resources.buildings/list) | Retrieves a list of buildings for an account. |\n| ### [patch](/workspace/admin/directory/reference/rest/v1/resources.buildings/patch) | Patches a building. |\n| ### [update](/workspace/admin/directory/reference/rest/v1/resources.buildings/update) | Updates a building. |"]]