sqladmin  v1beta4
Public Member Functions | Static Public Member Functions | List of all members
google_sqladmin_api::AclEntry Class Reference

#include <acl_entry.h>

Inheritance diagram for google_sqladmin_api::AclEntry:

Public Member Functions

 AclEntry (const Json::Value &storage)
 
 AclEntry (Json::Value *storage)
 
virtual ~AclEntry ()
 
const StringPiece GetTypeName () const
 
bool has_expiration_time () const
 
void clear_expiration_time ()
 
client::DateTime get_expiration_time () const
 
void set_expiration_time (client::DateTime value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_value () const
 
void clear_value ()
 
const StringPiece get_value () const
 
void set_value (const StringPiece &value)
 

Static Public Member Functions

static AclEntryNew ()
 

Detailed Description

An entry for an Access Control list.

Constructor & Destructor Documentation

◆ AclEntry() [1/2]

google_sqladmin_api::AclEntry::AclEntry ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ AclEntry() [2/2]

google_sqladmin_api::AclEntry::AclEntry ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~AclEntry()

google_sqladmin_api::AclEntry::~AclEntry ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_expiration_time()

void google_sqladmin_api::AclEntry::clear_expiration_time ( )
inline

Clears the 'expirationTime' attribute.

◆ clear_kind()

void google_sqladmin_api::AclEntry::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_name()

void google_sqladmin_api::AclEntry::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_value()

void google_sqladmin_api::AclEntry::clear_value ( )
inline

Clears the 'value' attribute.

◆ get_expiration_time()

client::DateTime google_sqladmin_api::AclEntry::get_expiration_time ( ) const
inline

Get the value of the 'expirationTime' attribute.

◆ get_kind()

const StringPiece google_sqladmin_api::AclEntry::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_name()

const StringPiece google_sqladmin_api::AclEntry::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_value()

const StringPiece google_sqladmin_api::AclEntry::get_value ( ) const
inline

Get the value of the 'value' attribute.

◆ GetTypeName()

const StringPiece google_sqladmin_api::AclEntry::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_sqladmin_api::AclEntry

◆ has_expiration_time()

bool google_sqladmin_api::AclEntry::has_expiration_time ( ) const
inline

Determine if the 'expirationTime' attribute was set.

Returns
true if the 'expirationTime' attribute was set.

◆ has_kind()

bool google_sqladmin_api::AclEntry::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_name()

bool google_sqladmin_api::AclEntry::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_value()

bool google_sqladmin_api::AclEntry::has_value ( ) const
inline

Determine if the 'value' attribute was set.

Returns
true if the 'value' attribute was set.

◆ New()

AclEntry * google_sqladmin_api::AclEntry::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_expiration_time()

void google_sqladmin_api::AclEntry::set_expiration_time ( client::DateTime  value)
inline

Change the 'expirationTime' attribute.

The time when this access control entry expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_sqladmin_api::AclEntry::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

This is always sql::aclEntry.

Parameters
[in]valueThe new value.

◆ set_name()

void google_sqladmin_api::AclEntry::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

An optional label to identify this entry.

Parameters
[in]valueThe new value.

◆ set_value()

void google_sqladmin_api::AclEntry::set_value ( const StringPiece &  value)
inline

Change the 'value' attribute.

The whitelisted value for the access control list.

Parameters
[in]valueThe new value.

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