|
cloudresourcemanager
v1beta1
|
#include <binding.h>
Public Member Functions | |
| Binding (const Json::Value &storage) | |
| Binding (Json::Value *storage) | |
| virtual | ~Binding () |
| const StringPiece | GetTypeName () const |
| bool | has_condition () const |
| void | clear_condition () |
| const Expr | get_condition () const |
| Expr | mutable_condition () |
| bool | has_members () const |
| void | clear_members () |
| const client::JsonCppArray< string > | get_members () const |
| client::JsonCppArray< string > | mutable_members () |
| bool | has_role () const |
| void | clear_role () |
| const StringPiece | get_role () const |
| void | set_role (const StringPiece &value) |
Static Public Member Functions | |
| static Binding * | New () |
Associates members with a role.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'condition' attribute.
|
inline |
Clears the 'members' attribute.
|
inline |
Clears the 'role' attribute.
| const Expr google_cloudresourcemanager_api::Binding::get_condition | ( | ) | const |
Get a reference to the value of the 'condition' attribute.
|
inline |
Get a reference to the value of the 'members' attribute.
|
inline |
Get the value of the 'role' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'condition' attribute was set.
condition' attribute was set.
|
inline |
Determine if the 'members' attribute was set.
members' attribute was set.
|
inline |
Determine if the 'role' attribute was set.
role' attribute was set. | Expr google_cloudresourcemanager_api::Binding::mutable_condition | ( | ) |
Gets a reference to a mutable value of the 'condition' property.
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.
|
inline |
Gets a reference to a mutable value of the 'members' property.
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.deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a user that has been recently deleted. For example, alice@example.com?uid=123456789012345678901. If the user is recovered, this value reverts to user:{emailid} and the recovered user retains the role in the binding.deleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the service account is undeleted, this value reverts to serviceAccount:{emailid} and the undeleted service account retains the role in the binding.deleted:group:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, admins@example.com?uid=123456789012345678901. If the group is recovered, this value reverts to group:{emailid} and the recovered group retains the role in the binding.domain:{domain}: The G Suite domain (primary) that represents all the users of that domain. For example, google.com or example.com.
|
static |
Creates a new default instance.
|
inline |
Change the 'role' attribute.
Role that is assigned to members. For example, roles/viewer, roles/editor, or roles/owner.
| [in] | value | The new value. |