target.apidocs.com.google.api.services.directory.Directory.Resources.Buildings.html Maven / Gradle / Ivy
Directory.Resources.Buildings (Admin SDK API directory_v1-rev20220606-1.32.1)
com.google.api.services.directory
Class Directory.Resources.Buildings
- java.lang.Object
-
- com.google.api.services.directory.Directory.Resources.Buildings
-
- Enclosing class:
- Directory.Resources
public class Directory.Resources.Buildings
extends Object
The "buildings" collection of methods.
-
-
Nested Class Summary
Nested Classes
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 Summary
Constructors
Constructor and Description
Buildings()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
Directory.Resources.Buildings.Update
update(String customer,
String buildingId,
Building content)
Updates a building.
-
-
Method Detail
-
delete
public Directory.Resources.Buildings.Delete delete(String customer,
String buildingId)
throws IOException
Deletes a building.
Create a request for the method "buildings.delete".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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.
- Returns:
- the request
- Throws:
IOException
-
get
public Directory.Resources.Buildings.Get get(String customer,
String buildingId)
throws IOException
Retrieves a building.
Create a request for the method "buildings.get".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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.
- Returns:
- the request
- Throws:
IOException
-
insert
public Directory.Resources.Buildings.Insert insert(String customer,
Building content)
throws IOException
Inserts a building.
Create a request for the method "buildings.insert".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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
- Returns:
- the request
- Throws:
IOException
-
list
public Directory.Resources.Buildings.List list(String customer)
throws IOException
Retrieves a list of buildings for an account.
Create a request for the method "buildings.list".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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.
- Returns:
- the request
- Throws:
IOException
-
patch
public Directory.Resources.Buildings.Patch patch(String customer,
String buildingId,
Building content)
throws IOException
Patches a building.
Create a request for the method "buildings.patch".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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
- Returns:
- the request
- Throws:
IOException
-
update
public Directory.Resources.Buildings.Update update(String customer,
String buildingId,
Building content)
throws IOException
Updates a building.
Create a request for the method "buildings.update".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2022 Google. All rights reserved.