public final class AccessPolicy
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 Access Context Manager 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 |
|---|
AccessPolicy() |
| Modifier and Type | Method and Description |
|---|---|
AccessPolicy |
clone() |
String |
getEtag()
Output only.
|
String |
getName()
Output only.
|
String |
getParent()
Required.
|
List<String> |
getScopes()
The scopes of the AccessPolicy.
|
String |
getTitle()
Required.
|
AccessPolicy |
set(String fieldName,
Object value) |
AccessPolicy |
setEtag(String etag)
Output only.
|
AccessPolicy |
setName(String name)
Output only.
|
AccessPolicy |
setParent(String parent)
Required.
|
AccessPolicy |
setScopes(List<String> scopes)
The scopes of the AccessPolicy.
|
AccessPolicy |
setTitle(String title)
Required.
|
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 getEtag()
null for nonepublic AccessPolicy setEtag(String etag)
etag - etag or null for nonepublic String getName()
null for nonepublic AccessPolicy setName(String name)
name - name or null for nonepublic String getParent()
null for nonepublic AccessPolicy setParent(String parent)
parent - parent or null for nonepublic List<String> getScopes()
null for nonepublic AccessPolicy setScopes(List<String> scopes)
scopes - scopes or null for nonepublic String getTitle()
null for nonepublic AccessPolicy setTitle(String title)
title - title or null for nonepublic AccessPolicy set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic AccessPolicy clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.