|
compute
v1
|
#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_compute_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.
google_compute_api::Binding
|
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_compute_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@gmail.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.
|
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. |