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
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<PlaceActionLink>
MyBusinessPlaceActionsBaseServiceRequest<PlaceActionLink>
LocationsResource.PlaceActionLinksResource.CreateRequest
Implements
Google.Apis.Requests.IClientServiceRequest<PlaceActionLink>
Google.Apis.Requests.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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessPlaceActions.v1.Data.PlaceActionLink>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessPlaceActions.v1.Data.PlaceActionLink>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessPlaceActions.v1.Data.PlaceActionLink>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessPlaceActions.v1.Data.PlaceActionLink>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessPlaceActions.v1.Data.PlaceActionLink>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessPlaceActions.v1.Data.PlaceActionLink>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessPlaceActions.v1.Data.PlaceActionLink>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessPlaceActions.v1.Data.PlaceActionLink>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessPlaceActions.v1.Data.PlaceActionLink>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessPlaceActions.v1.Data.PlaceActionLink>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessPlaceActions.v1.Data.PlaceActionLink>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessPlaceActions.v1.Data.PlaceActionLink>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessPlaceActions.v1.Data.PlaceActionLink>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessPlaceActions.v1.Data.PlaceActionLink>.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.MyBusinessPlaceActions.v1
Assembly: Google.Apis.MyBusinessPlaceActions.v1.dll
Syntax
public class 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
Google.Apis.Services.IClientService service
PlaceActionLink body
System.String parent

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.MyBusinessPlaceActions.v1.Data.PlaceActionLink>.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.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
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.MyBusinessPlaceActions.v1.Data.PlaceActionLink>.RestPath

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

InitParameters()

Initializes Create parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.MyBusinessPlaceActions.v1.MyBusinessPlaceActionsBaseServiceRequest<Google.Apis.MyBusinessPlaceActions.v1.Data.PlaceActionLink>.InitParameters()

Implements

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