Class ResourcesResource.BuildingsResource
- Namespace
- Google.Apis.Admin.Directory.directory_v1
- Assembly
- Google.Apis.Admin.Directory.directory_v1.dll
The "buildings" collection of methods.
public class ResourcesResource.BuildingsResource
- Inheritance
-
ResourcesResource.BuildingsResource
- Inherited Members
Constructors
BuildingsResource(IClientService)
Constructs a new resource.
public BuildingsResource(IClientService service)
Parameters
service
IClientService
Methods
Delete(string, string)
Deletes a building.
public virtual ResourcesResource.BuildingsResource.DeleteRequest Delete(string customer, string buildingId)
Parameters
customer
stringThe 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
stringThe id of the building to delete.
Returns
Get(string, string)
Retrieves a building.
public virtual ResourcesResource.BuildingsResource.GetRequest Get(string customer, string buildingId)
Parameters
customer
stringThe 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
stringThe unique ID of the building to retrieve.
Returns
Insert(Building, string)
Inserts a building.
public virtual ResourcesResource.BuildingsResource.InsertRequest Insert(Building body, string customer)
Parameters
body
BuildingThe body of the request.
customer
stringThe 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
List(string)
Retrieves a list of buildings for an account.
public virtual ResourcesResource.BuildingsResource.ListRequest List(string customer)
Parameters
customer
stringThe 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
Patch(Building, string, string)
Patches a building via Apiary Patch Orchestration.
public virtual ResourcesResource.BuildingsResource.PatchRequest Patch(Building body, string customer, string buildingId)
Parameters
body
BuildingThe body of the request.
customer
stringThe 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
stringThe id of the building to update.
Returns
Update(Building, string, string)
Updates a building.
public virtual ResourcesResource.BuildingsResource.UpdateRequest Update(Building body, string customer, string buildingId)
Parameters
body
BuildingThe body of the request.
customer
stringThe 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
stringThe id of the building to update.