public class RestUtil extends Object
| Constructor and Description |
|---|
RestUtil(ServerProfile profile) |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpResponse |
createAPIConfig(ServerProfile profile,
String api,
String resource,
String payload)
API Config - get, create, update
|
com.google.api.client.http.HttpResponse |
createAPIConfig(ServerProfile profile,
String api,
String resource,
String resourceId,
String subResource,
String payload) |
com.google.api.client.http.HttpResponse |
createAPIConfigUpload(ServerProfile profile,
String api,
String resource,
String filePath) |
com.google.api.client.http.HttpResponse |
createEnvConfig(ServerProfile profile,
String resource,
String payload)
Env Config - get, create, update
|
com.google.api.client.http.HttpResponse |
createEnvConfig(ServerProfile profile,
String resource,
String resourceId,
String subResource,
String payload) |
com.google.api.client.http.HttpResponse |
createEnvConfigUpload(ServerProfile profile,
String resource,
String filePath) |
com.google.api.client.http.HttpResponse |
createEnvConfigUpload(ServerProfile profile,
String resource,
String resourceId,
String subResource,
Map<String,String> multipartFiles,
Map<String,String> parameters) |
com.google.api.client.http.HttpResponse |
createEnvConfigWithParameters(ServerProfile profile,
String resource,
String resourceId,
String subResource,
Map<String,String> parameters,
String payload) |
com.google.api.client.http.HttpResponse |
createOrgConfig(ServerProfile profile,
String resource,
String payload)
Org Config - get, create, update
|
com.google.api.client.http.HttpResponse |
createOrgConfig(ServerProfile profile,
String resource,
String resourceId,
String subResource,
String payload) |
com.google.api.client.http.HttpResponse |
createOrgConfigUpload(ServerProfile profile,
String resource,
String filePath) |
com.google.api.client.http.HttpResponse |
deleteAPIConfig(ServerProfile profile,
String api,
String resource,
String resourceId) |
com.google.api.client.http.HttpResponse |
deleteAPIResourceFileConfig(ServerProfile profile,
String api,
String resource,
String resourceId) |
com.google.api.client.http.HttpResponse |
deleteEnvConfig(ServerProfile profile,
String resource,
String resourceId) |
com.google.api.client.http.HttpResponse |
deleteEnvConfig(ServerProfile profile,
String resource,
String resourceId,
String payload) |
com.google.api.client.http.HttpResponse |
deleteEnvResourceFileConfig(ServerProfile profile,
String resource,
String resourceId) |
com.google.api.client.http.HttpResponse |
deleteOrgConfig(ServerProfile profile,
String resource,
String resourceId) |
com.google.api.client.http.HttpResponse |
deleteOrgResourceFileConfig(ServerProfile profile,
String resource,
String resourceId) |
com.google.api.client.http.HttpResponse |
getAPIConfig(ServerProfile profile,
String api,
String resource) |
com.google.api.client.http.HttpResponse |
getAPIConfig(ServerProfile profile,
String api,
String resource,
String resourceId,
String subResource,
String subResourceId) |
com.google.api.client.http.HttpResponse |
getEnvConfig(ServerProfile profile,
String resource) |
com.google.api.client.http.HttpResponse |
getEnvConfig(ServerProfile profile,
String resource,
String resourceId,
String subResource,
String subResourceId) |
com.google.api.client.http.HttpResponse |
getOrgConfig(ServerProfile profile,
String resource) |
com.google.api.client.http.HttpResponse |
getOrgConfig(ServerProfile profile,
String resource,
String resourceId,
String subResource,
String subResourceId) |
ServerProfile |
getProfile() |
void |
initMfa(ServerProfile profile) |
com.google.api.client.http.HttpResponse |
patchEnvConfig(ServerProfile profile,
String resource,
String resourceId,
String payload) |
com.google.api.client.http.HttpResponse |
updateAPIConfig(ServerProfile profile,
String api,
String resource,
String resourceId,
String payload) |
com.google.api.client.http.HttpResponse |
updateAPIConfig(ServerProfile profile,
String api,
String resource,
String resourceId,
String subResource,
String subResourceId,
String payload) |
com.google.api.client.http.HttpResponse |
updateAPIConfigUpload(ServerProfile profile,
String api,
String resource,
String resourceId,
String filePath) |
com.google.api.client.http.HttpResponse |
updateEnvConfig(ServerProfile profile,
String resource,
String resourceId,
String payload) |
com.google.api.client.http.HttpResponse |
updateEnvConfig(ServerProfile profile,
String resource,
String resourceId,
String subResource,
String subResourceId,
String payload) |
com.google.api.client.http.HttpResponse |
updateEnvConfigUpload(ServerProfile profile,
String resource,
String resourceId,
String filePath) |
com.google.api.client.http.HttpResponse |
updateOrgConfig(ServerProfile profile,
String resource,
String resourceId,
String payload) |
com.google.api.client.http.HttpResponse |
updateOrgConfig(ServerProfile profile,
String resource,
String resourceId,
String subResource,
String subResourceId,
String payload) |
com.google.api.client.http.HttpResponse |
updateOrgConfigUpload(ServerProfile profile,
String resource,
String resourceId,
String filePath) |
public RestUtil(ServerProfile profile)
public ServerProfile getProfile()
public com.google.api.client.http.HttpResponse createEnvConfig(ServerProfile profile, String resource, String payload) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse createEnvConfig(ServerProfile profile, String resource, String resourceId, String subResource, String payload) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse createEnvConfigWithParameters(ServerProfile profile, String resource, String resourceId, String subResource, Map<String,String> parameters, String payload) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse createEnvConfigUpload(ServerProfile profile, String resource, String filePath) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse createEnvConfigUpload(ServerProfile profile, String resource, String resourceId, String subResource, Map<String,String> multipartFiles, Map<String,String> parameters) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse updateEnvConfig(ServerProfile profile, String resource, String resourceId, String payload) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse updateEnvConfig(ServerProfile profile, String resource, String resourceId, String subResource, String subResourceId, String payload) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse updateEnvConfigUpload(ServerProfile profile, String resource, String resourceId, String filePath) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse deleteEnvResourceFileConfig(ServerProfile profile, String resource, String resourceId) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse deleteEnvConfig(ServerProfile profile, String resource, String resourceId) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse deleteEnvConfig(ServerProfile profile, String resource, String resourceId, String payload) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse getEnvConfig(ServerProfile profile, String resource) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse getEnvConfig(ServerProfile profile, String resource, String resourceId, String subResource, String subResourceId) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse patchEnvConfig(ServerProfile profile, String resource, String resourceId, String payload) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse createOrgConfig(ServerProfile profile, String resource, String payload) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse createOrgConfig(ServerProfile profile, String resource, String resourceId, String subResource, String payload) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse createOrgConfigUpload(ServerProfile profile, String resource, String filePath) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse updateOrgConfig(ServerProfile profile, String resource, String resourceId, String payload) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse updateOrgConfig(ServerProfile profile, String resource, String resourceId, String subResource, String subResourceId, String payload) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse updateOrgConfigUpload(ServerProfile profile, String resource, String resourceId, String filePath) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse deleteOrgConfig(ServerProfile profile, String resource, String resourceId) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse deleteOrgResourceFileConfig(ServerProfile profile, String resource, String resourceId) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse getOrgConfig(ServerProfile profile, String resource) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse getOrgConfig(ServerProfile profile, String resource, String resourceId, String subResource, String subResourceId) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse createAPIConfig(ServerProfile profile, String api, String resource, String payload) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse createAPIConfig(ServerProfile profile, String api, String resource, String resourceId, String subResource, String payload) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse createAPIConfigUpload(ServerProfile profile, String api, String resource, String filePath) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse updateAPIConfig(ServerProfile profile, String api, String resource, String resourceId, String payload) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse updateAPIConfig(ServerProfile profile, String api, String resource, String resourceId, String subResource, String subResourceId, String payload) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse updateAPIConfigUpload(ServerProfile profile, String api, String resource, String resourceId, String filePath) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse deleteAPIConfig(ServerProfile profile, String api, String resource, String resourceId) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse getAPIConfig(ServerProfile profile, String api, String resource) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse getAPIConfig(ServerProfile profile, String api, String resource, String resourceId, String subResource, String subResourceId) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse deleteAPIResourceFileConfig(ServerProfile profile, String api, String resource, String resourceId) throws IOException
IOExceptionpublic void initMfa(ServerProfile profile) throws IOException
IOExceptionCopyright © 2022. All rights reserved.