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 Google Workspace 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 Google Workspace 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 Google Workspace 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 Google Workspace 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)

Patches a building via Apiary Patch Orchestration.

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 Google Workspace 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 Google Workspace 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