#include <user.h>
Information about a Drive user.
◆ User() [1/2]
| google_drive_api::User::User |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ User() [2/2]
| google_drive_api::User::User |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~User()
| google_drive_api::User::~User |
( |
| ) |
|
|
virtual |
◆ clear_display_name()
| void google_drive_api::User::clear_display_name |
( |
| ) |
|
|
inline |
Clears the 'displayName' attribute.
◆ clear_email_address()
| void google_drive_api::User::clear_email_address |
( |
| ) |
|
|
inline |
Clears the 'emailAddress' attribute.
◆ clear_is_authenticated_user()
| void google_drive_api::User::clear_is_authenticated_user |
( |
| ) |
|
|
inline |
Clears the 'isAuthenticatedUser' attribute.
◆ clear_kind()
| void google_drive_api::User::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind' attribute.
◆ clear_permission_id()
| void google_drive_api::User::clear_permission_id |
( |
| ) |
|
|
inline |
Clears the 'permissionId' attribute.
◆ clear_picture()
| void google_drive_api::User::clear_picture |
( |
| ) |
|
|
inline |
Clears the 'picture' attribute.
◆ get_display_name()
| const StringPiece google_drive_api::User::get_display_name |
( |
| ) |
const |
|
inline |
Get the value of the 'displayName' attribute.
◆ get_email_address()
| const StringPiece google_drive_api::User::get_email_address |
( |
| ) |
const |
|
inline |
Get the value of the 'emailAddress' attribute.
◆ get_is_authenticated_user()
| bool google_drive_api::User::get_is_authenticated_user |
( |
| ) |
const |
|
inline |
Get the value of the 'isAuthenticatedUser' attribute.
◆ get_kind()
| const StringPiece google_drive_api::User::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind' attribute.
◆ get_permission_id()
| const StringPiece google_drive_api::User::get_permission_id |
( |
| ) |
const |
|
inline |
Get the value of the 'permissionId' attribute.
◆ get_picture()
| const UserPicture google_drive_api::User::get_picture |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'picture' attribute.
◆ GetTypeName()
| const StringPiece google_drive_api::User::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_display_name()
| bool google_drive_api::User::has_display_name |
( |
| ) |
const |
|
inline |
Determine if the 'displayName' attribute was set.
- Returns
- true if the '
displayName' attribute was set.
◆ has_email_address()
| bool google_drive_api::User::has_email_address |
( |
| ) |
const |
|
inline |
Determine if the 'emailAddress' attribute was set.
- Returns
- true if the '
emailAddress' attribute was set.
◆ has_is_authenticated_user()
| bool google_drive_api::User::has_is_authenticated_user |
( |
| ) |
const |
|
inline |
Determine if the 'isAuthenticatedUser' attribute was set.
- Returns
- true if the '
isAuthenticatedUser' attribute was set.
◆ has_kind()
| bool google_drive_api::User::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind' attribute was set.
- Returns
- true if the '
kind' attribute was set.
◆ has_permission_id()
| bool google_drive_api::User::has_permission_id |
( |
| ) |
const |
|
inline |
Determine if the 'permissionId' attribute was set.
- Returns
- true if the '
permissionId' attribute was set.
◆ has_picture()
| bool google_drive_api::User::has_picture |
( |
| ) |
const |
|
inline |
Determine if the 'picture' attribute was set.
- Returns
- true if the '
picture' attribute was set.
◆ mutable_picture()
| UserPicture google_drive_api::User::mutable_picture |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'picture' property.
The user's profile picture.
- Returns
- The result can be modified to change the attribute value.
◆ New()
| User * google_drive_api::User::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_display_name()
| void google_drive_api::User::set_display_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'displayName' attribute.
A plain text displayable name for this user.
- Parameters
-
◆ set_email_address()
| void google_drive_api::User::set_email_address |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'emailAddress' attribute.
The email address of the user.
- Parameters
-
◆ set_is_authenticated_user()
| void google_drive_api::User::set_is_authenticated_user |
( |
bool |
value | ) |
|
|
inline |
Change the 'isAuthenticatedUser' attribute.
Whether this user is the same as the authenticated user for whom the request was made.
- Parameters
-
◆ set_kind()
| void google_drive_api::User::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
This is always drive::user.
- Parameters
-
◆ set_permission_id()
| void google_drive_api::User::set_permission_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'permissionId' attribute.
The user's ID as visible in the permissions collection.
- Parameters
-
The documentation for this class was generated from the following files:
- google/drive_api/user.h
- google/drive_api/user.cc