public interface BindingOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCondition()
public abstract Expr getCondition()
The condition that is associated with this binding. NOTE: An unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
.google.type.Expr condition = 3;
Type | Description |
com.google.type.Expr | The condition. |
getConditionOrBuilder()
public abstract ExprOrBuilder getConditionOrBuilder()
The condition that is associated with this binding. NOTE: An unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
.google.type.Expr condition = 3;
Type | Description |
com.google.type.ExprOrBuilder |
getMembers(int index)
public abstract String getMembers(int index)
Specifies the identities requesting access for a Cloud Platform resource.
members
can have the following values:
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
orexample.com
.
repeated string members = 2;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The members at the given index. |
getMembersBytes(int index)
public abstract ByteString getMembersBytes(int index)
Specifies the identities requesting access for a Cloud Platform resource.
members
can have the following values:
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
orexample.com
.
repeated string members = 2;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the members at the given index. |
getMembersCount()
public abstract int getMembersCount()
Specifies the identities requesting access for a Cloud Platform resource.
members
can have the following values:
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
orexample.com
.
repeated string members = 2;
Type | Description |
int | The count of members. |
getMembersList()
public abstract List<String> getMembersList()
Specifies the identities requesting access for a Cloud Platform resource.
members
can have the following values:
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
orexample.com
.
repeated string members = 2;
Type | Description |
List<String> | A list containing the members. |
getRole()
public abstract String getRole()
Role that is assigned to members
.
For example, roles/viewer
, roles/editor
, or roles/owner
.
string role = 1;
Type | Description |
String | The role. |
getRoleBytes()
public abstract ByteString getRoleBytes()
Role that is assigned to members
.
For example, roles/viewer
, roles/editor
, or roles/owner
.
string role = 1;
Type | Description |
ByteString | The bytes for role. |
hasCondition()
public abstract boolean hasCondition()
The condition that is associated with this binding. NOTE: An unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
.google.type.Expr condition = 3;
Type | Description |
boolean | Whether the condition field is set. |