#include <acl_rule.h>
◆ AclRuleScope() [1/2]
| google_calendar_api::AclRule::AclRuleScope::AclRuleScope |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ AclRuleScope() [2/2]
| google_calendar_api::AclRule::AclRuleScope::AclRuleScope |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~AclRuleScope()
| google_calendar_api::AclRule::AclRuleScope::~AclRuleScope |
( |
| ) |
|
|
virtual |
◆ clear_type()
| void google_calendar_api::AclRule::AclRuleScope::clear_type |
( |
| ) |
|
|
inline |
Clears the 'type' attribute.
◆ clear_value()
| void google_calendar_api::AclRule::AclRuleScope::clear_value |
( |
| ) |
|
|
inline |
Clears the 'value' attribute.
◆ get_type()
| const StringPiece google_calendar_api::AclRule::AclRuleScope::get_type |
( |
| ) |
const |
|
inline |
Get the value of the 'type' attribute.
◆ get_value()
| const StringPiece google_calendar_api::AclRule::AclRuleScope::get_value |
( |
| ) |
const |
|
inline |
Get the value of the 'value' attribute.
◆ GetTypeName()
| const StringPiece google_calendar_api::AclRule::AclRuleScope::GetTypeName |
( |
| ) |
const |
|
inline |
Returns a string denoting the type of this data object.
- Returns
google_calendar_api::AclRuleScope
◆ has_type()
| bool google_calendar_api::AclRule::AclRuleScope::has_type |
( |
| ) |
const |
|
inline |
Determine if the 'type' attribute was set.
- Returns
- true if the '
type' attribute was set.
◆ has_value()
| bool google_calendar_api::AclRule::AclRuleScope::has_value |
( |
| ) |
const |
|
inline |
Determine if the 'value' attribute was set.
- Returns
- true if the '
value' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_type()
| void google_calendar_api::AclRule::AclRuleScope::set_type |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'type' attribute.
The type of the scope. Possible values are:
- "default"
- The public scope. This is the default value.
- "user"
- Limits the scope to a single user.
- "group"
- Limits the scope to a group.
- "domain"
- Limits the scope to a domain. Note: The permissions granted to the "default", or public, scope apply to any user, authenticated or not.
- Parameters
-
◆ set_value()
| void google_calendar_api::AclRule::AclRuleScope::set_value |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'value' attribute.
The email address of a user or group, or the name of a domain, depending on the scope type. Omitted for type "default".
- Parameters
-
The documentation for this class was generated from the following files:
- google/calendar_api/acl_rule.h
- google/calendar_api/acl_rule.cc