public class Directory.Resources.Buildings extends Object
Modifier and Type | Class and Description |
---|---|
class |
Directory.Resources.Buildings.Delete |
class |
Directory.Resources.Buildings.Get |
class |
Directory.Resources.Buildings.Insert |
class |
Directory.Resources.Buildings.List |
class |
Directory.Resources.Buildings.Patch |
class |
Directory.Resources.Buildings.Update |
Constructor and Description |
---|
Buildings() |
Modifier and Type | Method and Description |
---|---|
Directory.Resources.Buildings.Delete |
delete(String customer,
String buildingId)
Deletes a building.
|
Directory.Resources.Buildings.Get |
get(String customer,
String buildingId)
Retrieves a building.
|
Directory.Resources.Buildings.Insert |
insert(String customer,
Building content)
Inserts a building.
|
Directory.Resources.Buildings.List |
list(String customer)
Retrieves a list of buildings for an account.
|
Directory.Resources.Buildings.Patch |
patch(String customer,
String buildingId,
Building content)
Patches a building via Apiary Patch Orchestration.
|
Directory.Resources.Buildings.Update |
update(String customer,
String buildingId,
Building content)
Updates a building.
|
public Directory.Resources.Buildings.Delete delete(String customer, String buildingId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customer
- The unique ID for the customer's Google Workspace 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.IOException
public Directory.Resources.Buildings.Get get(String customer, String buildingId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customer
- The unique ID for the customer's Google Workspace 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.IOException
public Directory.Resources.Buildings.Insert insert(String customer, Building content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customer
- The unique ID for the customer's Google Workspace account. As an account administrator, you can also
use the `my_customer` alias to represent your account's customer ID.content
- the Building
IOException
public Directory.Resources.Buildings.List list(String customer) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customer
- The unique ID for the customer's Google Workspace account. As an account administrator, you can also
use the `my_customer` alias to represent your account's customer ID.IOException
public Directory.Resources.Buildings.Patch patch(String customer, String buildingId, Building content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customer
- The unique ID for the customer's Google Workspace 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.content
- the Building
IOException
public Directory.Resources.Buildings.Update update(String customer, String buildingId, Building content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customer
- The unique ID for the customer's Google Workspace 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.content
- the Building
IOException
Copyright © 2011–2021 Google. All rights reserved.