public class Directory.Resources.Buildings
extends java.lang.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(java.lang.String customer,
java.lang.String buildingId)
Deletes a building.
|
Directory.Resources.Buildings.Get |
get(java.lang.String customer,
java.lang.String buildingId)
Retrieves a building.
|
Directory.Resources.Buildings.Insert |
insert(java.lang.String customer,
Building content)
Inserts a building.
|
Directory.Resources.Buildings.List |
list(java.lang.String customer)
Retrieves a list of buildings for an account.
|
Directory.Resources.Buildings.Patch |
patch(java.lang.String customer,
java.lang.String buildingId,
Building content)
Updates a building.
|
Directory.Resources.Buildings.Update |
update(java.lang.String customer,
java.lang.String buildingId,
Building content)
Updates a building.
|
public Directory.Resources.Buildings.Delete delete(java.lang.String customer, java.lang.String buildingId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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.java.io.IOException
public Directory.Resources.Buildings.Get get(java.lang.String customer, java.lang.String buildingId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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.java.io.IOException
public Directory.Resources.Buildings.Insert insert(java.lang.String customer, Building content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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.content
- the Building
java.io.IOException
public Directory.Resources.Buildings.List list(java.lang.String customer) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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.java.io.IOException
public Directory.Resources.Buildings.Patch patch(java.lang.String customer, java.lang.String buildingId, Building content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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.content
- the Building
java.io.IOException
public Directory.Resources.Buildings.Update update(java.lang.String customer, java.lang.String buildingId, Building content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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.content
- the Building
java.io.IOException