Modifier and Type | Method and Description |
---|---|
Binding.Builder |
addAllMembers(List<String> members)
Specifies the identities requesting access for a Cloud Platform resource.
|
Binding.Builder |
addMembers(String members)
Specifies the identities requesting access for a Cloud Platform resource.
|
Binding |
build() |
Binding.Builder |
clone() |
Expr |
getCondition()
The condition that is associated with this binding.
|
List<String> |
getMembersList()
Specifies the identities requesting access for a Cloud Platform resource.
|
String |
getRole()
Role that is assigned to `members`.
|
Binding.Builder |
mergeFrom(Binding other) |
Binding.Builder |
setCondition(Expr condition)
The condition that is associated with this binding.
|
Binding.Builder |
setRole(String role)
Role that is assigned to `members`.
|
public Binding.Builder mergeFrom(Binding other)
public Expr getCondition()
public Binding.Builder setCondition(Expr condition)
public List<String> getMembersList()
* `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.
* `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.
* `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` .
* `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.
* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.
* `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
public Binding.Builder addAllMembers(List<String> members)
* `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.
* `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.
* `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` .
* `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.
* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.
* `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
public Binding.Builder addMembers(String members)
* `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.
* `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.
* `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` .
* `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.
* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.
* `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
public String getRole()
public Binding.Builder setRole(String role)
public Binding build()
public Binding.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.