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
LocationsResource.PlaceActionLinksResource.CreateRequest
Inherited Members
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()