Update
|
|||||
|
|
Updates a building
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- View and manage the provisioning of calendar resources on your domain
Input
This building block consumes 20 input parameters
Name | Format | Description |
---|---|---|
customer Required |
STRING |
The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID |
buildingId Required |
STRING |
The id of the building to update |
coordinatesSource |
ENUMERATION |
Source from which Building.coordinates are derived |
etags |
STRING |
ETag of the resource |
coordinates |
OBJECT |
Public API: Resources.buildings |
coordinates.latitude |
NUMBER |
Latitude in decimal degrees |
coordinates.longitude |
NUMBER |
Longitude in decimal degrees |
address |
OBJECT |
Public API: Resources.buildings |
address.addressLines[] |
STRING |
|
address.languageCode |
STRING |
Optional. BCP-47 language code of the contents of this address (if known) |
address.administrativeArea |
STRING |
Optional. Highest administrative subdivision which is used for postal addresses of a country or region |
address.sublocality |
STRING |
Optional. Sublocality of the address |
address.regionCode |
STRING |
Required. CLDR region code of the country/region of the address |
address.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 |
address.postalCode |
STRING |
Optional. Postal code of the address |
description |
STRING |
A brief description of the building. For example, "Chelsea Market" |
buildingId |
STRING |
Unique identifier for the building. The maximum length is 100 characters |
floorNames[] |
STRING |
|
kind |
STRING |
Kind of resource this is |
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 |
= Parameter name
= Format
customer STRING Required The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID |
buildingId STRING Required The id of the building to update |
coordinatesSource ENUMERATION Source from which Building.coordinates are derived |
etags STRING ETag of the resource |
coordinates OBJECT Public API: Resources.buildings |
coordinates.latitude NUMBER Latitude in decimal degrees |
coordinates.longitude NUMBER Longitude in decimal degrees |
address OBJECT Public API: Resources.buildings |
address.addressLines[] STRING |
address.languageCode STRING Optional. BCP-47 language code of the contents of this address (if known) |
address.administrativeArea STRING Optional. Highest administrative subdivision which is used for postal addresses of a country or region |
address.sublocality STRING Optional. Sublocality of the address |
address.regionCode STRING Required. CLDR region code of the country/region of the address |
address.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 |
address.postalCode STRING Optional. Postal code of the address |
description STRING A brief description of the building. For example, "Chelsea Market" |
buildingId STRING Unique identifier for the building. The maximum length is 100 characters |
floorNames[] STRING |
kind STRING Kind of resource this is |
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 |
Output
This building block provides 17 output parameters
Name | Format | Description |
---|---|---|
etags |
STRING |
ETag of the resource |
coordinates |
OBJECT |
Public API: Resources.buildings |
coordinates.latitude |
NUMBER |
Latitude in decimal degrees |
coordinates.longitude |
NUMBER |
Longitude in decimal degrees |
address |
OBJECT |
Public API: Resources.buildings |
address.addressLines[] |
STRING |
|
address.languageCode |
STRING |
Optional. BCP-47 language code of the contents of this address (if known) |
address.administrativeArea |
STRING |
Optional. Highest administrative subdivision which is used for postal addresses of a country or region |
address.sublocality |
STRING |
Optional. Sublocality of the address |
address.regionCode |
STRING |
Required. CLDR region code of the country/region of the address |
address.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 |
address.postalCode |
STRING |
Optional. Postal code of the address |
description |
STRING |
A brief description of the building. For example, "Chelsea Market" |
buildingId |
STRING |
Unique identifier for the building. The maximum length is 100 characters |
floorNames[] |
STRING |
|
kind |
STRING |
Kind of resource this is |
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 |
= Parameter name
= Format
etags STRING ETag of the resource |
coordinates OBJECT Public API: Resources.buildings |
coordinates.latitude NUMBER Latitude in decimal degrees |
coordinates.longitude NUMBER Longitude in decimal degrees |
address OBJECT Public API: Resources.buildings |
address.addressLines[] STRING |
address.languageCode STRING Optional. BCP-47 language code of the contents of this address (if known) |
address.administrativeArea STRING Optional. Highest administrative subdivision which is used for postal addresses of a country or region |
address.sublocality STRING Optional. Sublocality of the address |
address.regionCode STRING Required. CLDR region code of the country/region of the address |
address.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 |
address.postalCode STRING Optional. Postal code of the address |
description STRING A brief description of the building. For example, "Chelsea Market" |
buildingId STRING Unique identifier for the building. The maximum length is 100 characters |
floorNames[] STRING |
kind STRING Kind of resource this is |
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 |