GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Access() |
Modifier and Type | Method and Description |
---|---|
Dataset.Access |
clone() |
DatasetAccessEntry |
getDataset()
[Pick one] A grant authorizing all resources of a particular type in a particular dataset
access to this dataset.
|
String |
getDomain()
[Pick one] A domain to grant access to.
|
String |
getGroupByEmail()
[Pick one] An email address of a Google Group to grant access to.
|
String |
getIamMember()
[Pick one] Some other type of member that appears in the IAM Policy but isn't a user, group,
domain, or special group.
|
String |
getRole()
[Required] An IAM role ID that should be granted to the user, group, or domain specified in
this access entry.
|
RoutineReference |
getRoutine()
[Pick one] A routine from a different dataset to grant access to.
|
String |
getSpecialGroup()
[Pick one] A special group to grant access to.
|
String |
getUserByEmail()
[Pick one] An email address of a user to grant access to.
|
TableReference |
getView()
[Pick one] A view from a different dataset to grant access to.
|
Dataset.Access |
set(String fieldName,
Object value) |
Dataset.Access |
setDataset(DatasetAccessEntry dataset)
[Pick one] A grant authorizing all resources of a particular type in a particular dataset
access to this dataset.
|
Dataset.Access |
setDomain(String domain)
[Pick one] A domain to grant access to.
|
Dataset.Access |
setGroupByEmail(String groupByEmail)
[Pick one] An email address of a Google Group to grant access to.
|
Dataset.Access |
setIamMember(String iamMember)
[Pick one] Some other type of member that appears in the IAM Policy but isn't a user, group,
domain, or special group.
|
Dataset.Access |
setRole(String role)
[Required] An IAM role ID that should be granted to the user, group, or domain specified in
this access entry.
|
Dataset.Access |
setRoutine(RoutineReference routine)
[Pick one] A routine from a different dataset to grant access to.
|
Dataset.Access |
setSpecialGroup(String specialGroup)
[Pick one] A special group to grant access to.
|
Dataset.Access |
setUserByEmail(String userByEmail)
[Pick one] An email address of a user to grant access to.
|
Dataset.Access |
setView(TableReference view)
[Pick one] A view from a different dataset to grant access to.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public DatasetAccessEntry getDataset()
null
for nonepublic Dataset.Access setDataset(DatasetAccessEntry dataset)
dataset
- dataset or null
for nonepublic String getDomain()
null
for nonepublic Dataset.Access setDomain(String domain)
domain
- domain or null
for nonepublic String getGroupByEmail()
null
for nonepublic Dataset.Access setGroupByEmail(String groupByEmail)
groupByEmail
- groupByEmail or null
for nonepublic String getIamMember()
null
for nonepublic Dataset.Access setIamMember(String iamMember)
iamMember
- iamMember or null
for nonepublic String getRole()
null
for nonepublic Dataset.Access setRole(String role)
role
- role or null
for nonepublic RoutineReference getRoutine()
null
for nonepublic Dataset.Access setRoutine(RoutineReference routine)
routine
- routine or null
for nonepublic String getSpecialGroup()
null
for nonepublic Dataset.Access setSpecialGroup(String specialGroup)
specialGroup
- specialGroup or null
for nonepublic String getUserByEmail()
null
for nonepublic Dataset.Access setUserByEmail(String userByEmail)
userByEmail
- userByEmail or null
for nonepublic TableReference getView()
null
for nonepublic Dataset.Access setView(TableReference view)
view
- view or null
for nonepublic Dataset.Access set(String fieldName, Object value)
set
in class GenericJson
public Dataset.Access clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.