public class MyBusinessQA.Locations.Questions extends Object
Modifier and Type | Class and Description |
---|---|
class |
MyBusinessQA.Locations.Questions.Answers
The "answers" collection of methods.
|
class |
MyBusinessQA.Locations.Questions.Create |
class |
MyBusinessQA.Locations.Questions.Delete |
class |
MyBusinessQA.Locations.Questions.List |
class |
MyBusinessQA.Locations.Questions.Patch |
Constructor and Description |
---|
Questions() |
Modifier and Type | Method and Description |
---|---|
MyBusinessQA.Locations.Questions.Answers |
answers()
An accessor for creating requests from the Answers collection.
|
MyBusinessQA.Locations.Questions.Create |
create(String parent,
Question content)
Adds a question for the specified location.
|
MyBusinessQA.Locations.Questions.Delete |
delete(String name)
Deletes a specific question written by the current user.
|
MyBusinessQA.Locations.Questions.List |
list(String parent)
Returns the paginated list of questions and some of its answers for a specified location.
|
MyBusinessQA.Locations.Questions.Patch |
patch(String name,
Question content)
Updates a specific question written by the current user.
|
public MyBusinessQA.Locations.Questions.Create create(String parent, Question content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. The name of the location to write a question for.content
- the Question
IOException
public MyBusinessQA.Locations.Questions.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The name of the question to delete.IOException
public MyBusinessQA.Locations.Questions.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. The name of the location to fetch questions for.IOException
public MyBusinessQA.Locations.Questions.Patch patch(String name, Question content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Immutable. The unique name for the question. locations/questions This field will be ignored if set
during question creation.content
- the Question
IOException
public MyBusinessQA.Locations.Questions.Answers answers()
The typical use is:
MyBusinessQA mybusinessqanda = new MyBusinessQA(...);
MyBusinessQA.Answers.List request = mybusinessqanda.answers().list(parameters ...)
Copyright © 2011–2022 Google. All rights reserved.