Show / Hide Table of Contents

Class LocationsResource.PlaceActionLinksResource.CreateRequest

Creates a place action link associated with the specified location, and returns it. The request is considered duplicate if the parent, place_action_link.uri and place_action_link.place_action_type are the same as a previous request.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<PlaceActionLink>
MyBusinessPlaceActionsBaseServiceRequest<PlaceActionLink>
LocationsResource.PlaceActionLinksResource.CreateRequest
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.CreateRequest : MyBusinessPlaceActionsBaseServiceRequest<PlaceActionLink>, IClientServiceRequest<PlaceActionLink>, IClientServiceRequest

Constructors

CreateRequest(IClientService, PlaceActionLink, string)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, PlaceActionLink body, string parent)
Parameters
Type Name Description
IClientService service
PlaceActionLink body
string parent

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

Parent

Required. The resource name of the location where to create this place action link. locations/{location_id}.

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { 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

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 Create parameter list.

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

Implements

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