Show / Hide Table of Contents

Class LocationsResource.PatchRequest

Updates the specified location.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<Location>
MyBusinessBusinessInformationBaseServiceRequest<Location>
LocationsResource.PatchRequest
Implements
Google.Apis.Requests.IClientServiceRequest<Location>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
MyBusinessBusinessInformationBaseServiceRequest<Location>.Xgafv
MyBusinessBusinessInformationBaseServiceRequest<Location>.AccessToken
MyBusinessBusinessInformationBaseServiceRequest<Location>.Alt
MyBusinessBusinessInformationBaseServiceRequest<Location>.Callback
MyBusinessBusinessInformationBaseServiceRequest<Location>.Fields
MyBusinessBusinessInformationBaseServiceRequest<Location>.Key
MyBusinessBusinessInformationBaseServiceRequest<Location>.OauthToken
MyBusinessBusinessInformationBaseServiceRequest<Location>.PrettyPrint
MyBusinessBusinessInformationBaseServiceRequest<Location>.QuotaUser
MyBusinessBusinessInformationBaseServiceRequest<Location>.UploadType
MyBusinessBusinessInformationBaseServiceRequest<Location>.UploadProtocol
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessBusinessInformation.v1.Data.Location>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessBusinessInformation.v1.Data.Location>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessBusinessInformation.v1.Data.Location>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessBusinessInformation.v1.Data.Location>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessBusinessInformation.v1.Data.Location>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessBusinessInformation.v1.Data.Location>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessBusinessInformation.v1.Data.Location>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessBusinessInformation.v1.Data.Location>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessBusinessInformation.v1.Data.Location>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessBusinessInformation.v1.Data.Location>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessBusinessInformation.v1.Data.Location>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessBusinessInformation.v1.Data.Location>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessBusinessInformation.v1.Data.Location>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessBusinessInformation.v1.Data.Location>.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.MyBusinessBusinessInformation.v1
Assembly: Google.Apis.MyBusinessBusinessInformation.v1.dll
Syntax
public class PatchRequest : MyBusinessBusinessInformationBaseServiceRequest<Location>, IClientServiceRequest<Location>, IClientServiceRequest

Constructors

PatchRequest(IClientService, Location, String)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, Location body, string name)
Parameters
Type Name Description
Google.Apis.Services.IClientService service
Location 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.MyBusinessBusinessInformation.v1.Data.Location>.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.MyBusinessBusinessInformation.v1.Data.Location>.MethodName

Name

Google identifier for this location in the form: locations/{location_id}.

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.MyBusinessBusinessInformation.v1.Data.Location>.RestPath

UpdateMask

Required. The specific fields to update.

Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type Description
System.Object

ValidateOnly

Optional. If true, the request is validated without actually updating the location. When this field is set, we will only return validation errors if there were any. The response will be empty if no errors were found.

Declaration
[RequestParameter("validateOnly", RequestParameterType.Query)]
public virtual bool? ValidateOnly { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

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.MyBusinessBusinessInformation.v1.Data.Location>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.MyBusinessBusinessInformation.v1.MyBusinessBusinessInformationBaseServiceRequest<Google.Apis.MyBusinessBusinessInformation.v1.Data.Location>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top