public final class BatchEnableServicesResponse
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Service Usage API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
BatchEnableServicesResponse() |
Modifier and Type | Method and Description |
---|---|
BatchEnableServicesResponse |
clone() |
java.util.List<EnableFailure> |
getFailures()
If allow_partial_success is true, and one or more services could not be enabled, this field
contains the details about each failure.
|
java.util.List<GoogleApiServiceusageV1Service> |
getServices()
The new state of the services after enabling.
|
BatchEnableServicesResponse |
set(java.lang.String fieldName,
java.lang.Object value) |
BatchEnableServicesResponse |
setFailures(java.util.List<EnableFailure> failures)
If allow_partial_success is true, and one or more services could not be enabled, this field
contains the details about each failure.
|
BatchEnableServicesResponse |
setServices(java.util.List<GoogleApiServiceusageV1Service> services)
The new state of the services after enabling.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.List<EnableFailure> getFailures()
null
for nonepublic BatchEnableServicesResponse setFailures(java.util.List<EnableFailure> failures)
failures
- failures or null
for nonepublic java.util.List<GoogleApiServiceusageV1Service> getServices()
null
for nonepublic BatchEnableServicesResponse setServices(java.util.List<GoogleApiServiceusageV1Service> services)
services
- services or null
for nonepublic BatchEnableServicesResponse set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public BatchEnableServicesResponse clone()
clone
in class com.google.api.client.json.GenericJson