public final class ResourceInfo
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 Control 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ResourceInfo() |
| Modifier and Type | Method and Description |
|---|---|
ResourceInfo |
clone() |
String |
getContainer()
Optional.
|
String |
getLocation()
Optional.
|
String |
getName()
The name of the resource referenced in the request.
|
String |
getPermission()
The resource permission needed for this request.
|
String |
getType()
The resource type in the format of "{service}/{kind}".
|
ResourceInfo |
set(String fieldName,
Object value) |
ResourceInfo |
setContainer(String container)
Optional.
|
ResourceInfo |
setLocation(String location)
Optional.
|
ResourceInfo |
setName(String name)
The name of the resource referenced in the request.
|
ResourceInfo |
setPermission(String permission)
The resource permission needed for this request.
|
ResourceInfo |
setType(String type)
The resource type in the format of "{service}/{kind}".
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getContainer()
null for nonepublic ResourceInfo setContainer(String container)
container - container or null for nonepublic String getLocation()
null for nonepublic ResourceInfo setLocation(String location)
location - location or null for nonepublic String getName()
null for nonepublic ResourceInfo setName(String name)
name - name or null for nonepublic String getPermission()
null for nonepublic ResourceInfo setPermission(String permission)
permission - permission or null for nonepublic String getType()
null for nonepublic ResourceInfo setType(String type)
type - type or null for nonepublic ResourceInfo set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ResourceInfo clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.