#include <acl_rule.h>
◆ AclRule() [1/2]
| google_calendar_api::AclRule::AclRule |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ AclRule() [2/2]
| google_calendar_api::AclRule::AclRule |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~AclRule()
| google_calendar_api::AclRule::~AclRule |
( |
| ) |
|
|
virtual |
◆ clear_etag()
| void google_calendar_api::AclRule::clear_etag |
( |
| ) |
|
|
inline |
Clears the 'etag' attribute.
◆ clear_id()
| void google_calendar_api::AclRule::clear_id |
( |
| ) |
|
|
inline |
Clears the 'id' attribute.
◆ clear_kind()
| void google_calendar_api::AclRule::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind' attribute.
◆ clear_role()
| void google_calendar_api::AclRule::clear_role |
( |
| ) |
|
|
inline |
Clears the 'role' attribute.
◆ clear_scope()
| void google_calendar_api::AclRule::clear_scope |
( |
| ) |
|
|
inline |
Clears the 'scope' attribute.
◆ get_etag()
| const StringPiece google_calendar_api::AclRule::get_etag |
( |
| ) |
const |
|
inline |
Get the value of the 'etag' attribute.
◆ get_id()
| const StringPiece google_calendar_api::AclRule::get_id |
( |
| ) |
const |
|
inline |
Get the value of the 'id' attribute.
◆ get_kind()
| const StringPiece google_calendar_api::AclRule::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind' attribute.
◆ get_role()
| const StringPiece google_calendar_api::AclRule::get_role |
( |
| ) |
const |
|
inline |
Get the value of the 'role' attribute.
◆ get_scope()
| const AclRuleScope google_calendar_api::AclRule::get_scope |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'scope' attribute.
◆ GetTypeName()
| const StringPiece google_calendar_api::AclRule::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_etag()
| bool google_calendar_api::AclRule::has_etag |
( |
| ) |
const |
|
inline |
Determine if the 'etag' attribute was set.
- Returns
- true if the '
etag' attribute was set.
◆ has_id()
| bool google_calendar_api::AclRule::has_id |
( |
| ) |
const |
|
inline |
Determine if the 'id' attribute was set.
- Returns
- true if the '
id' attribute was set.
◆ has_kind()
| bool google_calendar_api::AclRule::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind' attribute was set.
- Returns
- true if the '
kind' attribute was set.
◆ has_role()
| bool google_calendar_api::AclRule::has_role |
( |
| ) |
const |
|
inline |
Determine if the 'role' attribute was set.
- Returns
- true if the '
role' attribute was set.
◆ has_scope()
| bool google_calendar_api::AclRule::has_scope |
( |
| ) |
const |
|
inline |
Determine if the 'scope' attribute was set.
- Returns
- true if the '
scope' attribute was set.
◆ mutable_scope()
| AclRuleScope google_calendar_api::AclRule::mutable_scope |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'scope' property.
The scope of the rule.
- Returns
- The result can be modified to change the attribute value.
◆ New()
| AclRule * google_calendar_api::AclRule::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_etag()
| void google_calendar_api::AclRule::set_etag |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'etag' attribute.
ETag of the resource.
- Parameters
-
◆ set_id()
| void google_calendar_api::AclRule::set_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'id' attribute.
Identifier of the ACL rule.
- Parameters
-
◆ set_kind()
| void google_calendar_api::AclRule::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
Type of the resource ("calendar#aclRule").
- Parameters
-
◆ set_role()
| void google_calendar_api::AclRule::set_role |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'role' attribute.
The role assigned to the scope. Possible values are:
- "none"
- Provides no access.
- "freeBusyReader"
- Provides read access to free/busy information.
- "reader"
- Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
- "writer"
- Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.
- "owner"
- Provides ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs.
- Parameters
-
The documentation for this class was generated from the following files:
- google/calendar_api/acl_rule.h
- google/calendar_api/acl_rule.cc