public class MyBusinessQA.Locations.Questions.Answers extends Object
Modifier and Type | Class and Description |
---|---|
class |
MyBusinessQA.Locations.Questions.Answers.Delete |
class |
MyBusinessQA.Locations.Questions.Answers.List |
class |
MyBusinessQA.Locations.Questions.Answers.Upsert |
Constructor and Description |
---|
Answers() |
Modifier and Type | Method and Description |
---|---|
MyBusinessQA.Locations.Questions.Answers.Delete |
delete(String name)
Deletes the answer written by the current user to a question.
|
MyBusinessQA.Locations.Questions.Answers.List |
list(String parent)
Returns the paginated list of answers for a specified question.
|
MyBusinessQA.Locations.Questions.Answers.Upsert |
upsert(String parent,
UpsertAnswerRequest content)
Creates an answer or updates the existing answer written by the user for the specified question.
|
public MyBusinessQA.Locations.Questions.Answers.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The name of the question to delete an answer for.IOException
public MyBusinessQA.Locations.Questions.Answers.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. The name of the question to fetch answers for.IOException
public MyBusinessQA.Locations.Questions.Answers.Upsert upsert(String parent, UpsertAnswerRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. The name of the question to write an answer for.content
- the UpsertAnswerRequest
IOException
Copyright © 2011–2022 Google. All rights reserved.