public final class MembershipRelation
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 Cloud Identity 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 |
|---|
MembershipRelation() |
| Modifier and Type | Method and Description |
|---|---|
MembershipRelation |
clone() |
String |
getDescription()
An extended description to help users determine the purpose of a `Group`.
|
String |
getDisplayName()
The display name of the `Group`.
|
String |
getGroup()
The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group`.
|
EntityKey |
getGroupKey()
The `EntityKey` of the `Group`.
|
Map<String,String> |
getLabels()
One or more label entries that apply to the Group.
|
String |
getMembership()
The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership`.
|
List<MembershipRole> |
getRoles()
The `MembershipRole`s that apply to the `Membership`.
|
MembershipRelation |
set(String fieldName,
Object value) |
MembershipRelation |
setDescription(String description)
An extended description to help users determine the purpose of a `Group`.
|
MembershipRelation |
setDisplayName(String displayName)
The display name of the `Group`.
|
MembershipRelation |
setGroup(String group)
The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group`.
|
MembershipRelation |
setGroupKey(EntityKey groupKey)
The `EntityKey` of the `Group`.
|
MembershipRelation |
setLabels(Map<String,String> labels)
One or more label entries that apply to the Group.
|
MembershipRelation |
setMembership(String membership)
The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership`.
|
MembershipRelation |
setRoles(List<MembershipRole> roles)
The `MembershipRole`s that apply to the `Membership`.
|
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 getDescription()
null for nonepublic MembershipRelation setDescription(String description)
description - description or null for nonepublic String getDisplayName()
null for nonepublic MembershipRelation setDisplayName(String displayName)
displayName - displayName or null for nonepublic String getGroup()
null for nonepublic MembershipRelation setGroup(String group)
group - group or null for nonepublic EntityKey getGroupKey()
null for nonepublic MembershipRelation setGroupKey(EntityKey groupKey)
groupKey - groupKey or null for nonepublic Map<String,String> getLabels()
null for nonepublic MembershipRelation setLabels(Map<String,String> labels)
labels - labels or null for nonepublic String getMembership()
null for nonepublic MembershipRelation setMembership(String membership)
membership - membership or null for nonepublic List<MembershipRole> getRoles()
null for nonepublic MembershipRelation setRoles(List<MembershipRole> roles)
roles - roles or null for nonepublic MembershipRelation set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic MembershipRelation clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.