Class LocationsResource.UpdateLodgingRequest
Updates the Lodging of a specific location.
Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<Lodging>
LocationsResource.UpdateLodgingRequest
Implements
Google.Apis.Requests.IClientServiceRequest<Lodging>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessLodging.v1.Data.Lodging>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessLodging.v1.Data.Lodging>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessLodging.v1.Data.Lodging>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessLodging.v1.Data.Lodging>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessLodging.v1.Data.Lodging>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessLodging.v1.Data.Lodging>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessLodging.v1.Data.Lodging>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessLodging.v1.Data.Lodging>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessLodging.v1.Data.Lodging>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessLodging.v1.Data.Lodging>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessLodging.v1.Data.Lodging>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessLodging.v1.Data.Lodging>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessLodging.v1.Data.Lodging>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessLodging.v1.Data.Lodging>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.MyBusinessLodging.v1
Assembly: Google.Apis.MyBusinessLodging.v1.dll
Syntax
public class 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 |
---|---|---|
Google.Apis.Services.IClientService | service | |
Lodging | body | |
System.String | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessLodging.v1.Data.Lodging>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessLodging.v1.Data.Lodging>.MethodName
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 |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessLodging.v1.Data.Lodging>.RestPath
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 |
---|---|
System.Object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessLodging.v1.Data.Lodging>.GetBody()
InitParameters()
Initializes UpdateLodging parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.MyBusinessLodging.v1.MyBusinessLodgingBaseServiceRequest<Google.Apis.MyBusinessLodging.v1.Data.Lodging>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest