Interface AccessBindingOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AccessBinding,AccessBinding.Builder
@Generated
public interface AccessBindingOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Output only.com.google.protobuf.ByteStringOutput only.getRoles(int index) A list of roles for to grant to the parent resource.com.google.protobuf.ByteStringgetRolesBytes(int index) A list of roles for to grant to the parent resource.intA list of roles for to grant to the parent resource.A list of roles for to grant to the parent resource.getUser()If set, the email address of the user to set roles for.com.google.protobuf.ByteStringIf set, the email address of the user to set roles for.booleanhasUser()If set, the email address of the user to set roles for.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasUser
boolean hasUser()If set, the email address of the user to set roles for. Format: "someuser@gmail.com"
string user = 2;- Returns:
- Whether the user field is set.
-
getUser
String getUser()If set, the email address of the user to set roles for. Format: "someuser@gmail.com"
string user = 2;- Returns:
- The user.
-
getUserBytes
com.google.protobuf.ByteString getUserBytes()If set, the email address of the user to set roles for. Format: "someuser@gmail.com"
string user = 2;- Returns:
- The bytes for user.
-
getName
String getName()Output only. Resource name of this binding. Format: accounts/{account}/accessBindings/{access_binding} or properties/{property}/accessBindings/{access_binding} Example: "accounts/100/accessBindings/200"string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Output only. Resource name of this binding. Format: accounts/{account}/accessBindings/{access_binding} or properties/{property}/accessBindings/{access_binding} Example: "accounts/100/accessBindings/200"string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
getRolesList
A list of roles for to grant to the parent resource. Valid values: predefinedRoles/viewer predefinedRoles/analyst predefinedRoles/editor predefinedRoles/admin predefinedRoles/no-cost-data predefinedRoles/no-revenue-data For users, if an empty list of roles is set, this AccessBinding will be deleted.
repeated string roles = 3;- Returns:
- A list containing the roles.
-
getRolesCount
int getRolesCount()A list of roles for to grant to the parent resource. Valid values: predefinedRoles/viewer predefinedRoles/analyst predefinedRoles/editor predefinedRoles/admin predefinedRoles/no-cost-data predefinedRoles/no-revenue-data For users, if an empty list of roles is set, this AccessBinding will be deleted.
repeated string roles = 3;- Returns:
- The count of roles.
-
getRoles
A list of roles for to grant to the parent resource. Valid values: predefinedRoles/viewer predefinedRoles/analyst predefinedRoles/editor predefinedRoles/admin predefinedRoles/no-cost-data predefinedRoles/no-revenue-data For users, if an empty list of roles is set, this AccessBinding will be deleted.
repeated string roles = 3;- Parameters:
index- The index of the element to return.- Returns:
- The roles at the given index.
-
getRolesBytes
com.google.protobuf.ByteString getRolesBytes(int index) A list of roles for to grant to the parent resource. Valid values: predefinedRoles/viewer predefinedRoles/analyst predefinedRoles/editor predefinedRoles/admin predefinedRoles/no-cost-data predefinedRoles/no-revenue-data For users, if an empty list of roles is set, this AccessBinding will be deleted.
repeated string roles = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the roles at the given index.
-
getAccessTargetCase
AccessBinding.AccessTargetCase getAccessTargetCase()
-