public final class Binding
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 Pub/Sub 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 |
---|
Binding() |
Modifier and Type | Method and Description |
---|---|
Binding |
clone() |
Expr |
getCondition()
The condition that is associated with this binding.
|
java.util.List<java.lang.String> |
getMembers()
Specifies the identities requesting access for a Cloud Platform resource.
|
java.lang.String |
getRole()
Role that is assigned to `members`.
|
Binding |
set(java.lang.String fieldName,
java.lang.Object value) |
Binding |
setCondition(Expr condition)
The condition that is associated with this binding.
|
Binding |
setMembers(java.util.List<java.lang.String> members)
Specifies the identities requesting access for a Cloud Platform resource.
|
Binding |
setRole(java.lang.String role)
Role that is assigned to `members`.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Expr getCondition()
null
for nonepublic Binding setCondition(Expr condition)
condition
- condition or null
for nonepublic java.util.List<java.lang.String> getMembers()
null
for nonepublic Binding setMembers(java.util.List<java.lang.String> members)
members
- members or null
for nonepublic java.lang.String getRole()
null
for nonepublic Binding setRole(java.lang.String role)
role
- role or null
for nonepublic Binding set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Binding clone()
clone
in class com.google.api.client.json.GenericJson