Class ResourcesResource.BuildingsResource.UpdateRequest
Updates a building.
Inheritance
ResourcesResource.BuildingsResource.UpdateRequest
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class ResourcesResource.BuildingsResource.UpdateRequest : DirectoryBaseServiceRequest<Building>, IClientServiceRequest<Building>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, Building, string, string)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, Building body, string customer, string buildingId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Building | body | |
string | customer | |
string | buildingId |
Properties
BuildingId
The id of the building to update.
Declaration
[RequestParameter("buildingId", RequestParameterType.Path)]
public virtual string BuildingId { get; }
Property Value
Type | Description |
---|---|
string |
CoordinatesSource
Source from which Building.coordinates are derived.
Declaration
[RequestParameter("coordinatesSource", RequestParameterType.Query)]
public virtual ResourcesResource.BuildingsResource.UpdateRequest.CoordinatesSourceEnum? CoordinatesSource { get; set; }
Property Value
Type | Description |
---|---|
ResourcesResource.BuildingsResource.UpdateRequest.CoordinatesSourceEnum? |
Customer
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.
Declaration
[RequestParameter("customer", RequestParameterType.Path)]
public virtual string Customer { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Update parameter list.
Declaration
protected override void InitParameters()