Resources.buildings: patch

Requires authorization

Updates a building. This method supports patch semantics. Try it now.

Request

HTTP request

PATCH https://www.googleapis.com/admin/directory/v1/customer/customer/resources/buildings/buildingId

Parameters

Parameter name Value Description
Path parameters
buildingId string The ID of the building to update.
customer 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.
Optional query parameters
coordinatesSource string Source from which Building.coordinates are derived.

Acceptable values are:
  • "CLIENT_SPECIFIED": Building.coordinates are set to the coordinates included in the request.
  • "RESOLVED_FROM_ADDRESS": Building.coordinates are automatically populated based on the postal address.
  • "SOURCE_UNSPECIFIED": Defaults to RESOLVED_FROM_ADDRESS if postal address is provided. Otherwise, defaults to CLIENT_SPECIFIED if coordinates are provided. (default)

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/admin.directory.resource.calendar

Request body

In the request body, supply the relevant portions of a Resources.buildings resource, according to the rules of patch semantics.

Response

If successful, this method returns a Resources.buildings resource in the response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.