deploymentmanager  v2
Public Member Functions | Static Public Member Functions | List of all members
google_deploymentmanager_api::Binding Class Reference

#include <binding.h>

Inheritance diagram for google_deploymentmanager_api::Binding:

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 BindingNew ()
 

Detailed Description

Associates members with a role.

Constructor & Destructor Documentation

◆ Binding() [1/2]

google_deploymentmanager_api::Binding::Binding ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ Binding() [2/2]

google_deploymentmanager_api::Binding::Binding ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~Binding()

google_deploymentmanager_api::Binding::~Binding ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_condition()

void google_deploymentmanager_api::Binding::clear_condition ( )
inline

Clears the 'condition' attribute.

◆ clear_members()

void google_deploymentmanager_api::Binding::clear_members ( )
inline

Clears the 'members' attribute.

◆ clear_role()

void google_deploymentmanager_api::Binding::clear_role ( )
inline

Clears the 'role' attribute.

◆ get_condition()

const Expr google_deploymentmanager_api::Binding::get_condition ( ) const

Get a reference to the value of the 'condition' attribute.

◆ get_members()

const client::JsonCppArray<string > google_deploymentmanager_api::Binding::get_members ( ) const
inline

Get a reference to the value of the 'members' attribute.

◆ get_role()

const StringPiece google_deploymentmanager_api::Binding::get_role ( ) const
inline

Get the value of the 'role' attribute.

◆ GetTypeName()

const StringPiece google_deploymentmanager_api::Binding::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_deploymentmanager_api::Binding

◆ has_condition()

bool google_deploymentmanager_api::Binding::has_condition ( ) const
inline

Determine if the 'condition' attribute was set.

Returns
true if the 'condition' attribute was set.

◆ has_members()

bool google_deploymentmanager_api::Binding::has_members ( ) const
inline

Determine if the 'members' attribute was set.

Returns
true if the 'members' attribute was set.

◆ has_role()

bool google_deploymentmanager_api::Binding::has_role ( ) const
inline

Determine if the 'role' attribute was set.

Returns
true if the 'role' attribute was set.

◆ mutable_condition()

Expr google_deploymentmanager_api::Binding::mutable_condition ( )

Gets a reference to a mutable value of the 'condition' property.

Unimplemented. 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.

Returns
The result can be modified to change the attribute value.

◆ mutable_members()

client::JsonCppArray<string > google_deploymentmanager_api::Binding::mutable_members ( )
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}: A Google Apps domain name that represents all the users of that domain. For example, google.com or example.com.
Returns
The result can be modified to change the attribute value.

◆ New()

Binding * google_deploymentmanager_api::Binding::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_role()

void google_deploymentmanager_api::Binding::set_role ( const StringPiece &  value)
inline

Change the 'role' attribute.

Role that is assigned to members. For example, roles/viewer, roles/editor, or roles/owner.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: