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
serviceIClientService
Methods
Delete(string, string)
Deletes a building.
public virtual ResourcesResource.BuildingsResource.DeleteRequest Delete(string customer, string buildingId)
Parameters
customerstringThe 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.
buildingIdstringThe ID of the building to delete.
Returns
Get(string, string)
Retrieves a building.
public virtual ResourcesResource.BuildingsResource.GetRequest Get(string customer, string buildingId)
Parameters
customerstringThe 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.
buildingIdstringThe 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
bodyBuildingThe body of the request.
customerstringThe 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.
Returns
List(string)
Retrieves a list of buildings for an account.
public virtual ResourcesResource.BuildingsResource.ListRequest List(string customer)
Parameters
customerstringThe 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.
Returns
Patch(Building, string, string)
Updates a building. This method supports patch semantics.
public virtual ResourcesResource.BuildingsResource.PatchRequest Patch(Building body, string customer, string buildingId)
Parameters
bodyBuildingThe body of the request.
customerstringThe 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.
buildingIdstringThe 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
bodyBuildingThe body of the request.
customerstringThe 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.
buildingIdstringThe ID of the building to update.