Table of Contents

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 string

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 string

The ID of the building to delete.

Returns

ResourcesResource.BuildingsResource.DeleteRequest

Get(string, string)

Retrieves a building.

public virtual ResourcesResource.BuildingsResource.GetRequest Get(string customer, string buildingId)

Parameters

customer string

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 string

The unique ID of the building to retrieve.

Returns

ResourcesResource.BuildingsResource.GetRequest

Insert(Building, string)

Inserts a building.

public virtual ResourcesResource.BuildingsResource.InsertRequest Insert(Building body, string customer)

Parameters

body Building

The body of the request.

customer string

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.

Returns

ResourcesResource.BuildingsResource.InsertRequest

List(string)

Retrieves a list of buildings for an account.

public virtual ResourcesResource.BuildingsResource.ListRequest List(string customer)

Parameters

customer string

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.

Returns

ResourcesResource.BuildingsResource.ListRequest

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

body Building

The body of the request.

customer string

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 string

The ID of the building to update.

Returns

ResourcesResource.BuildingsResource.PatchRequest

Update(Building, string, string)

Updates a building.

public virtual ResourcesResource.BuildingsResource.UpdateRequest Update(Building body, string customer, string buildingId)

Parameters

body Building

The body of the request.

customer string

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 string

The ID of the building to update.

Returns

ResourcesResource.BuildingsResource.UpdateRequest