Class LocationsResource.PlaceActionLinksResource
The "placeActionLinks" collection of methods.
Inherited Members
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.
|
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. |
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
|
Returns
Type | Description |
---|---|
LocationsResource.PlaceActionLinksResource.PatchRequest |