public final class ServiceAccountConfig
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 Consumer Management 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 |
---|
ServiceAccountConfig() |
Modifier and Type | Method and Description |
---|---|
ServiceAccountConfig |
clone() |
java.lang.String |
getAccountId()
ID of the IAM service account to be created in tenant project.
|
java.util.List<java.lang.String> |
getTenantProjectRoles()
Roles for the associated service account for the tenant project.
|
ServiceAccountConfig |
set(java.lang.String fieldName,
java.lang.Object value) |
ServiceAccountConfig |
setAccountId(java.lang.String accountId)
ID of the IAM service account to be created in tenant project.
|
ServiceAccountConfig |
setTenantProjectRoles(java.util.List<java.lang.String> tenantProjectRoles)
Roles for the associated service account for the tenant project.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getAccountId()
null
for nonepublic ServiceAccountConfig setAccountId(java.lang.String accountId)
accountId
- accountId or null
for nonepublic java.util.List<java.lang.String> getTenantProjectRoles()
null
for nonepublic ServiceAccountConfig setTenantProjectRoles(java.util.List<java.lang.String> tenantProjectRoles)
tenantProjectRoles
- tenantProjectRoles or null
for nonepublic ServiceAccountConfig set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ServiceAccountConfig clone()
clone
in class com.google.api.client.json.GenericJson