Class ResourcesResource.BuildingsResource
The "buildings" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class BuildingsResource
Constructors
BuildingsResource(IClientService)
Constructs a new resource.
Declaration
public BuildingsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Delete(String, String)
Deletes a building.
Declaration
public virtual ResourcesResource.BuildingsResource.DeleteRequest Delete(string customer, string buildingId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | customer | The unique ID for the customer's G Suite account. As an account administrator, you can also
use the |
| System.String | buildingId | The id of the building to delete. |
Returns
| Type | Description |
|---|---|
| ResourcesResource.BuildingsResource.DeleteRequest |
Get(String, String)
Retrieves a building.
Declaration
public virtual ResourcesResource.BuildingsResource.GetRequest Get(string customer, string buildingId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | customer | The unique ID for the customer's G Suite account. As an account administrator, you can also
use the |
| System.String | buildingId | The unique ID of the building to retrieve. |
Returns
| Type | Description |
|---|---|
| ResourcesResource.BuildingsResource.GetRequest |
Insert(Building, String)
Inserts a building.
Declaration
public virtual ResourcesResource.BuildingsResource.InsertRequest Insert(Building body, string customer)
Parameters
| Type | Name | Description |
|---|---|---|
| Building | body | The body of the request. |
| System.String | customer | The unique ID for the customer's G Suite account. As an account administrator, you can also
use the |
Returns
| Type | Description |
|---|---|
| ResourcesResource.BuildingsResource.InsertRequest |
List(String)
Retrieves a list of buildings for an account.
Declaration
public virtual ResourcesResource.BuildingsResource.ListRequest List(string customer)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | customer | The unique ID for the customer's G Suite account. As an account administrator, you can also
use the |
Returns
| Type | Description |
|---|---|
| ResourcesResource.BuildingsResource.ListRequest |
Patch(Building, String, String)
Patches a building via Apiary Patch Orchestration.
Declaration
public virtual ResourcesResource.BuildingsResource.PatchRequest Patch(Building body, string customer, string buildingId)
Parameters
| Type | Name | Description |
|---|---|---|
| Building | body | The body of the request. |
| System.String | customer | The unique ID for the customer's G Suite account. As an account administrator, you can also
use the |
| System.String | buildingId | The id of the building to update. |
Returns
| Type | Description |
|---|---|
| ResourcesResource.BuildingsResource.PatchRequest |
Update(Building, String, String)
Updates a building.
Declaration
public virtual ResourcesResource.BuildingsResource.UpdateRequest Update(Building body, string customer, string buildingId)
Parameters
| Type | Name | Description |
|---|---|---|
| Building | body | The body of the request. |
| System.String | customer | The unique ID for the customer's G Suite account. As an account administrator, you can also
use the |
| System.String | buildingId | The id of the building to update. |
Returns
| Type | Description |
|---|---|
| ResourcesResource.BuildingsResource.UpdateRequest |