Class ResourcesResource.BuildingsResource
The "buildings" collection of methods.
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class ResourcesResource.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 |
---|---|---|
string | customer | The unique ID for the customer's Google Workspace account. As an account administrator, you can also use
the |
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 |
---|---|---|
string | customer | The unique ID for the customer's Google Workspace account. As an account administrator, you can also use
the |
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. |
string | customer | The unique ID for the customer's Google Workspace 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 |
---|---|---|
string | customer | The unique ID for the customer's Google Workspace account. As an account administrator, you can also use
the |
Returns
Type | Description |
---|---|
ResourcesResource.BuildingsResource.ListRequest |
Patch(Building, string, string)
Patches a building.
Declaration
public virtual ResourcesResource.BuildingsResource.PatchRequest Patch(Building body, string customer, string buildingId)
Parameters
Type | Name | Description |
---|---|---|
Building | body | The body of the request. |
string | customer | The unique ID for the customer's Google Workspace account. As an account administrator, you can also use
the |
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. |
string | customer | The unique ID for the customer's Google Workspace account. As an account administrator, you can also use
the |
string | buildingId | The id of the building to update. |
Returns
Type | Description |
---|---|
ResourcesResource.BuildingsResource.UpdateRequest |