public class MyBusiness.Accounts.Locations.LocalPosts
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
MyBusiness.Accounts.Locations.LocalPosts.Create |
class |
MyBusiness.Accounts.Locations.LocalPosts.Delete |
class |
MyBusiness.Accounts.Locations.LocalPosts.Get |
class |
MyBusiness.Accounts.Locations.LocalPosts.List |
class |
MyBusiness.Accounts.Locations.LocalPosts.Patch |
class |
MyBusiness.Accounts.Locations.LocalPosts.ReportInsights |
Constructor and Description |
---|
LocalPosts() |
Modifier and Type | Method and Description |
---|---|
MyBusiness.Accounts.Locations.LocalPosts.Create |
create(java.lang.String parent,
LocalPost content)
Creates a new local post associated with the specified location, and returns it.
|
MyBusiness.Accounts.Locations.LocalPosts.Delete |
delete(java.lang.String name)
Deletes a local post.
|
MyBusiness.Accounts.Locations.LocalPosts.Get |
get(java.lang.String name)
Gets the specified local post.
|
MyBusiness.Accounts.Locations.LocalPosts.List |
list(java.lang.String parent)
Returns a list of local posts associated with a location.
|
MyBusiness.Accounts.Locations.LocalPosts.Patch |
patch(java.lang.String name,
LocalPost content)
Updates the specified local post and returns the updated local post.
|
MyBusiness.Accounts.Locations.LocalPosts.ReportInsights |
reportInsights(java.lang.String name,
ReportLocalPostInsightsRequest content)
Returns insights for a set of local posts associated with a single listing.
|
public MyBusiness.Accounts.Locations.LocalPosts.Create create(java.lang.String parent, LocalPost content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- The name of the location in which to create this local post.content
- the LocalPost
java.io.IOException
public MyBusiness.Accounts.Locations.LocalPosts.Delete delete(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name of the local post to delete.java.io.IOException
public MyBusiness.Accounts.Locations.LocalPosts.Get get(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name of the local post to fetch.java.io.IOException
public MyBusiness.Accounts.Locations.LocalPosts.List list(java.lang.String parent) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- The name of the location whose local posts will be listed.java.io.IOException
public MyBusiness.Accounts.Locations.LocalPosts.Patch patch(java.lang.String name, LocalPost content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name of the local post to update.content
- the LocalPost
java.io.IOException
public MyBusiness.Accounts.Locations.LocalPosts.ReportInsights reportInsights(java.lang.String name, ReportLocalPostInsightsRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The name of the location for which to fetch insights.content
- the ReportLocalPostInsightsRequest
java.io.IOException
Copyright © 2011-2018 Google. All Rights Reserved.