Class Google_Service_Directory_ResourcesBuildings_Resource
The "buildings" collection of methods. Typical usage is:
$adminService = new Google_Service_Directory(...);
$buildings = $adminService->buildings;
-
Google_Service_Resource
-
Google_Service_Directory_ResourcesBuildings_Resource
Located at Directory.php
Methods summary
public
|
#
delete( string $customer, string $buildingId, array $optParams = array() )
Deletes a building. (buildings.delete)
Deletes a building. (buildings.delete)
Parameters
- $customer
- 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
- The ID of the building to delete.
- $optParams
- Optional parameters.
|
public
Google_Service_Directory_Building
|
#
get( string $customer, string $buildingId, array $optParams = array() )
Retrieves a building. (buildings.get)
Retrieves a building. (buildings.get)
Parameters
- $customer
- 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
- The unique ID of the building to retrieve.
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Directory_Building
|
#
insert( string $customer, Google_Service_Directory_Building $postBody, array $optParams = array() )
Inserts a building. (buildings.insert)
Inserts a building. (buildings.insert)
Parameters
- $customer
- 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.
- $postBody
- $optParams
- Optional parameters.
Returns
Opt_param
string coordinatesSource Source from which Building.coordinates are derived.
|
public
Google_Service_Directory_Buildings
|
#
listResourcesBuildings( string $customer, array $optParams = array() )
Retrieves a list of buildings for an account.
(buildings.listResourcesBuildings)
Retrieves a list of buildings for an account.
(buildings.listResourcesBuildings)
Parameters
- $customer
- 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.
- $optParams
- Optional parameters.
Returns
Opt_param
int maxResults Maximum number of results to return.
string pageToken Token to specify the next page in the list.
|
public
Google_Service_Directory_Building
|
#
patch( string $customer, string $buildingId, Google_Service_Directory_Building $postBody, array $optParams = array() )
Updates a building. This method supports patch semantics.
(buildings.patch)
Updates a building. This method supports patch semantics.
(buildings.patch)
Parameters
- $customer
- 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
- The ID of the building to update.
- $postBody
- $optParams
- Optional parameters.
Returns
Opt_param
string coordinatesSource Source from which Building.coordinates are derived.
|
public
Google_Service_Directory_Building
|
#
update( string $customer, string $buildingId, Google_Service_Directory_Building $postBody, array $optParams = array() )
Updates a building. (buildings.update)
Updates a building. (buildings.update)
Parameters
- $customer
- 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
- The ID of the building to update.
- $postBody
- $optParams
- Optional parameters.
Returns
Opt_param
string coordinatesSource Source from which Building.coordinates are derived.
|