public class LabelDescriptionService extends Object
| Constructor and Description |
|---|
LabelDescriptionService(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
List<LabelDescriptor> |
all()
All
This operation returns all entities which are available.
|
List<LabelDescriptor> |
all(Map<String,Object> params)
All
This operation returns all entities which are available.
|
com.google.api.client.http.HttpResponse |
allForHttpResponse() |
com.google.api.client.http.HttpResponse |
allForHttpResponse(Map<String,Object> params) |
ApiClient |
getApiClient() |
LabelDescriptor |
read(Long id)
Read
Reads the entity with the given 'id' and returns it.
|
LabelDescriptor |
read(Long id,
Map<String,Object> params)
Read
Reads the entity with the given 'id' and returns it.
|
com.google.api.client.http.HttpResponse |
readForHttpResponse(Long id) |
com.google.api.client.http.HttpResponse |
readForHttpResponse(Long id,
Map<String,Object> params) |
void |
setApiClient(ApiClient apiClient) |
public LabelDescriptionService(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<LabelDescriptor> all() throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public List<LabelDescriptor> all(Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse allForHttpResponse()
throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse allForHttpResponse(Map<String,Object> params) throws IOException
IOExceptionpublic LabelDescriptor read(Long id) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
id - The id of the label descriptor which should be returned.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public LabelDescriptor read(Long id, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
id - The id of the label descriptor which should be returned.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse readForHttpResponse(Long id) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse readForHttpResponse(Long id, Map<String,Object> params) throws IOException
IOExceptionCopyright © 2023. All rights reserved.