Show / Hide Table of Contents

Class LocationsResource.PlaceActionLinksResource

The "placeActionLinks" collection of methods.

Inheritance
object
LocationsResource.PlaceActionLinksResource
Inherited Members
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

Constructors

PlaceActionLinksResource(IClientService)

Constructs a new resource.

Declaration
public PlaceActionLinksResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(PlaceActionLink, string)

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.

Declaration
public virtual LocationsResource.PlaceActionLinksResource.CreateRequest Create(PlaceActionLink body, string parent)
Parameters
Type Name Description
PlaceActionLink body

The body of the request.

string parent

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

Returns
Type Description
LocationsResource.PlaceActionLinksResource.CreateRequest

Delete(string)

Deletes a place action link from the specified location.

Declaration
public virtual LocationsResource.PlaceActionLinksResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The resource name of the place action link to remove from the location.

Returns
Type Description
LocationsResource.PlaceActionLinksResource.DeleteRequest

Get(string)

Gets the specified place action link.

Declaration
public virtual LocationsResource.PlaceActionLinksResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the place action link to fetch.

Returns
Type Description
LocationsResource.PlaceActionLinksResource.GetRequest

List(string)

Lists the place action links for the specified location.

Declaration
public virtual LocationsResource.PlaceActionLinksResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The name of the location whose place action links will be listed. locations/{location_id}.

Returns
Type Description
LocationsResource.PlaceActionLinksResource.ListRequest

Patch(PlaceActionLink, string)

Updates the specified place action link and returns it.

Declaration
public virtual LocationsResource.PlaceActionLinksResource.PatchRequest Patch(PlaceActionLink body, string name)
Parameters
Type Name Description
PlaceActionLink body

The body of the request.

string 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.

Returns
Type Description
LocationsResource.PlaceActionLinksResource.PatchRequest
In this article
Back to top Generated by DocFX