#include <permission.h>
◆ PermissionPermissionDetails() [1/2]
google_drive_api::Permission::PermissionPermissionDetails::PermissionPermissionDetails |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ PermissionPermissionDetails() [2/2]
google_drive_api::Permission::PermissionPermissionDetails::PermissionPermissionDetails |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~PermissionPermissionDetails()
google_drive_api::Permission::PermissionPermissionDetails::~PermissionPermissionDetails |
( |
| ) |
|
|
virtual |
◆ clear_additional_roles()
void google_drive_api::Permission::PermissionPermissionDetails::clear_additional_roles |
( |
| ) |
|
|
inline |
Clears the 'additionalRoles
' attribute.
◆ clear_inherited()
void google_drive_api::Permission::PermissionPermissionDetails::clear_inherited |
( |
| ) |
|
|
inline |
Clears the 'inherited
' attribute.
◆ clear_inherited_from()
void google_drive_api::Permission::PermissionPermissionDetails::clear_inherited_from |
( |
| ) |
|
|
inline |
Clears the 'inheritedFrom
' attribute.
◆ clear_permission_type()
void google_drive_api::Permission::PermissionPermissionDetails::clear_permission_type |
( |
| ) |
|
|
inline |
Clears the 'permissionType
' attribute.
◆ clear_role()
void google_drive_api::Permission::PermissionPermissionDetails::clear_role |
( |
| ) |
|
|
inline |
Clears the 'role
' attribute.
◆ get_additional_roles()
const client::JsonCppArray<string > google_drive_api::Permission::PermissionPermissionDetails::get_additional_roles |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'additionalRoles
' attribute.
◆ get_inherited()
bool google_drive_api::Permission::PermissionPermissionDetails::get_inherited |
( |
| ) |
const |
|
inline |
Get the value of the 'inherited
' attribute.
◆ get_inherited_from()
const StringPiece google_drive_api::Permission::PermissionPermissionDetails::get_inherited_from |
( |
| ) |
const |
|
inline |
Get the value of the 'inheritedFrom
' attribute.
◆ get_permission_type()
const StringPiece google_drive_api::Permission::PermissionPermissionDetails::get_permission_type |
( |
| ) |
const |
|
inline |
Get the value of the 'permissionType
' attribute.
◆ get_role()
const StringPiece google_drive_api::Permission::PermissionPermissionDetails::get_role |
( |
| ) |
const |
|
inline |
Get the value of the 'role
' attribute.
◆ GetTypeName()
const StringPiece google_drive_api::Permission::PermissionPermissionDetails::GetTypeName |
( |
| ) |
const |
|
inline |
Returns a string denoting the type of this data object.
- Returns
google_drive_api::PermissionPermissionDetails
◆ has_additional_roles()
bool google_drive_api::Permission::PermissionPermissionDetails::has_additional_roles |
( |
| ) |
const |
|
inline |
Determine if the 'additionalRoles
' attribute was set.
- Returns
- true if the '
additionalRoles
' attribute was set.
◆ has_inherited()
bool google_drive_api::Permission::PermissionPermissionDetails::has_inherited |
( |
| ) |
const |
|
inline |
Determine if the 'inherited
' attribute was set.
- Returns
- true if the '
inherited
' attribute was set.
◆ has_inherited_from()
bool google_drive_api::Permission::PermissionPermissionDetails::has_inherited_from |
( |
| ) |
const |
|
inline |
Determine if the 'inheritedFrom
' attribute was set.
- Returns
- true if the '
inheritedFrom
' attribute was set.
◆ has_permission_type()
bool google_drive_api::Permission::PermissionPermissionDetails::has_permission_type |
( |
| ) |
const |
|
inline |
Determine if the 'permissionType
' attribute was set.
- Returns
- true if the '
permissionType
' attribute was set.
◆ has_role()
bool google_drive_api::Permission::PermissionPermissionDetails::has_role |
( |
| ) |
const |
|
inline |
Determine if the 'role
' attribute was set.
- Returns
- true if the '
role
' attribute was set.
◆ mutable_additionalRoles()
client::JsonCppArray<string > google_drive_api::Permission::PermissionPermissionDetails::mutable_additionalRoles |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'additionalRoles
' property.
Additional roles for this user. Only commenter is currently possible, though more may be supported in the future.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_inherited()
void google_drive_api::Permission::PermissionPermissionDetails::set_inherited |
( |
bool |
value | ) |
|
|
inline |
Change the 'inherited
' attribute.
Whether this permission is inherited. This field is always populated. This is an output-only field.
- Parameters
-
◆ set_inherited_from()
void google_drive_api::Permission::PermissionPermissionDetails::set_inherited_from |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'inheritedFrom
' attribute.
The ID of the item from which this permission is inherited. This is an output-only field.
- Parameters
-
◆ set_permission_type()
void google_drive_api::Permission::PermissionPermissionDetails::set_permission_type |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'permissionType
' attribute.
The permission type for this user. While new values may be added in future, the following are currently possible:
- Parameters
-
◆ set_role()
void google_drive_api::Permission::PermissionPermissionDetails::set_role |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'role
' attribute.
The primary role for this user. While new values may be added in the future, the following are currently possible:
- organizer
- fileOrganizer
- writer
- reader.
- Parameters
-
The documentation for this class was generated from the following files:
- google/drive_api/permission.h
- google/drive_api/permission.cc