public class MyBusinessPlaceActions.Locations.PlaceActionLinks extends Object
Modifier and Type | Class and Description |
---|---|
class |
MyBusinessPlaceActions.Locations.PlaceActionLinks.Create |
class |
MyBusinessPlaceActions.Locations.PlaceActionLinks.Delete |
class |
MyBusinessPlaceActions.Locations.PlaceActionLinks.Get |
class |
MyBusinessPlaceActions.Locations.PlaceActionLinks.List |
class |
MyBusinessPlaceActions.Locations.PlaceActionLinks.Patch |
Constructor and Description |
---|
PlaceActionLinks() |
Modifier and Type | Method and Description |
---|---|
MyBusinessPlaceActions.Locations.PlaceActionLinks.Create |
create(String parent,
PlaceActionLink content)
Creates a place action link associated with the specified location, and returns it.
|
MyBusinessPlaceActions.Locations.PlaceActionLinks.Delete |
delete(String name)
Deletes a place action link from the specified location.
|
MyBusinessPlaceActions.Locations.PlaceActionLinks.Get |
get(String name)
Gets the specified place action link.
|
MyBusinessPlaceActions.Locations.PlaceActionLinks.List |
list(String parent)
Lists the place action links for the specified location.
|
MyBusinessPlaceActions.Locations.PlaceActionLinks.Patch |
patch(String name,
PlaceActionLink content)
Updates the specified place action link and returns it.
|
public MyBusinessPlaceActions.Locations.PlaceActionLinks.Create create(String parent, PlaceActionLink content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. The resource name of the location where to create this place action link.
`locations/{location_id}`.content
- the PlaceActionLink
IOException
public MyBusinessPlaceActions.Locations.PlaceActionLinks.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The resource name of the place action link to remove from the location.IOException
public MyBusinessPlaceActions.Locations.PlaceActionLinks.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The name of the place action link to fetch.IOException
public MyBusinessPlaceActions.Locations.PlaceActionLinks.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. The name of the location whose place action links will be listed.
`locations/{location_id}`.IOException
public MyBusinessPlaceActions.Locations.PlaceActionLinks.Patch patch(String name, PlaceActionLink content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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.content
- the PlaceActionLink
IOException
Copyright © 2011–2022 Google. All rights reserved.