Show / Hide Table of Contents

Class LocationsResource.PlaceActionLinksResource.PatchRequest

Updates the specified place action link and returns it.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<PlaceActionLink>
MyBusinessPlaceActionsBaseServiceRequest<PlaceActionLink>
LocationsResource.PlaceActionLinksResource.PatchRequest
Implements
IClientServiceRequest<PlaceActionLink>
IClientServiceRequest
Inherited Members
MyBusinessPlaceActionsBaseServiceRequest<PlaceActionLink>.Xgafv
MyBusinessPlaceActionsBaseServiceRequest<PlaceActionLink>.AccessToken
MyBusinessPlaceActionsBaseServiceRequest<PlaceActionLink>.Alt
MyBusinessPlaceActionsBaseServiceRequest<PlaceActionLink>.Callback
MyBusinessPlaceActionsBaseServiceRequest<PlaceActionLink>.Fields
MyBusinessPlaceActionsBaseServiceRequest<PlaceActionLink>.Key
MyBusinessPlaceActionsBaseServiceRequest<PlaceActionLink>.OauthToken
MyBusinessPlaceActionsBaseServiceRequest<PlaceActionLink>.PrettyPrint
MyBusinessPlaceActionsBaseServiceRequest<PlaceActionLink>.QuotaUser
MyBusinessPlaceActionsBaseServiceRequest<PlaceActionLink>.UploadType
MyBusinessPlaceActionsBaseServiceRequest<PlaceActionLink>.UploadProtocol
ClientServiceRequest<PlaceActionLink>.Execute()
ClientServiceRequest<PlaceActionLink>.ExecuteAsStream()
ClientServiceRequest<PlaceActionLink>.ExecuteAsync()
ClientServiceRequest<PlaceActionLink>.ExecuteAsync(CancellationToken)
ClientServiceRequest<PlaceActionLink>.ExecuteAsStreamAsync()
ClientServiceRequest<PlaceActionLink>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<PlaceActionLink>.CreateRequest(bool?)
ClientServiceRequest<PlaceActionLink>.GenerateRequestUri()
ClientServiceRequest<PlaceActionLink>.GetDefaultETagAction(string)
ClientServiceRequest<PlaceActionLink>.ETagAction
ClientServiceRequest<PlaceActionLink>.ModifyRequest
ClientServiceRequest<PlaceActionLink>.ValidateParameters
ClientServiceRequest<PlaceActionLink>.ApiVersion
ClientServiceRequest<PlaceActionLink>.RequestParameters
ClientServiceRequest<PlaceActionLink>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.MyBusinessPlaceActions.v1
Assembly: Google.Apis.MyBusinessPlaceActions.v1.dll
Syntax
public class LocationsResource.PlaceActionLinksResource.PatchRequest : MyBusinessPlaceActionsBaseServiceRequest<PlaceActionLink>, IClientServiceRequest<PlaceActionLink>, IClientServiceRequest

Constructors

PatchRequest(IClientService, PlaceActionLink, string)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, PlaceActionLink body, string name)
Parameters
Type Name Description
IClientService service
PlaceActionLink body
string name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessPlaceActions.v1.Data.PlaceActionLink>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessPlaceActions.v1.Data.PlaceActionLink>.MethodName

Name

Optional. The resource name, in the format locations/{location_id}/placeActionLinks/{place_action_link_id}. The name field will only be considered in UpdatePlaceActionLink and DeletePlaceActionLink requests for updating and deleting links respectively. However, it will be ignored in CreatePlaceActionLink request, where place_action_link_id will be assigned by the server on successful creation of a new link and returned as part of the response.

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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessPlaceActions.v1.Data.PlaceActionLink>.RestPath

UpdateMask

Required. The specific fields to update. The only editable fields are uri, place_action_type and is_preferred. If the updated link already exists at the same location with the same place_action_type and uri, fails with an ALREADY_EXISTS error.

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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessPlaceActions.v1.Data.PlaceActionLink>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
MyBusinessPlaceActionsBaseServiceRequest<PlaceActionLink>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX