Class LocationsResource.UpdateLodgingRequest
Updates the Lodging of a specific location.
Inheritance
LocationsResource.UpdateLodgingRequest
Inherited Members
Namespace: Google.Apis.MyBusinessLodging.v1
Assembly: Google.Apis.MyBusinessLodging.v1.dll
Syntax
public class LocationsResource.UpdateLodgingRequest : MyBusinessLodgingBaseServiceRequest<Lodging>, IClientServiceRequest<Lodging>, IClientServiceRequest
Constructors
UpdateLodgingRequest(IClientService, Lodging, string)
Constructs a new UpdateLodging request.
Declaration
public UpdateLodgingRequest(IClientService service, Lodging body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Lodging | body | |
string | name |
Properties
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
Name
Required. Google identifier for this location in the form: locations/{location_id}/lodging
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UpdateMask
Required. The specific fields to update. Use "*" to update all fields, which may include unsetting empty fields in the request. Repeated field items cannot be individually updated.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes UpdateLodging parameter list.
Declaration
protected override void InitParameters()