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
Calendar में उपयोगकर्ताओं को दिखने वाला, इमारत का नाम. यह ग्राहक के लिए यूनीक होना चाहिए. उदाहरण के लिए, "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
ज़रूरी नहीं. आम तौर पर, इसका मतलब पते के शहर/कस्बे से होता है. उदाहरण: अमेरिका का शहर, इटली का कम्यून, यूनाइटेड किंगडम का पोस्ट टाउन. दुनिया के उन इलाकों में जहां इलाकों की जानकारी साफ़ तौर पर नहीं दी गई है या वे इस स्ट्रक्चर में सही से फ़िट नहीं होती हैं, वहां इलाके की जानकारी वाले फ़ील्ड को खाली छोड़ें और addressLines का इस्तेमाल करें.
|
sublocality |
string
ज़रूरी नहीं. पते की उप-इलाका.
|
addressLines[] |
string
पते की निचली लाइनों की जानकारी देने वाली, बिना स्ट्रक्चर वाली लाइनें.
|
तरीके |
|
किसी इमारत को मिटाता है. |
|
किसी इमारत की जानकारी दिखाता है. |
|
बिल्डिंग शामिल करता है. |
|
किसी खाते के लिए, इमारतों की सूची दिखाता है. |
|
किसी इमारत को पैच करता है. |
|
किसी इमारत की जानकारी अपडेट करता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-24 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-24 (UTC) को अपडेट किया गया."],[],[],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. |"]]