drive  v2
Classes | Public Member Functions | Static Public Member Functions | List of all members
google_drive_api::About Class Reference

#include <about.h>

Inheritance diagram for google_drive_api::About:

Classes

class  AboutAdditionalRoleInfo
 
class  AboutDriveThemes
 
class  AboutExportFormats
 
class  AboutFeatures
 
class  AboutImportFormats
 
class  AboutMaxUploadSizes
 
class  AboutQuotaBytesByService
 
class  AboutTeamDriveThemes
 

Public Member Functions

 About (const Json::Value &storage)
 
 About (Json::Value *storage)
 
virtual ~About ()
 
const StringPiece GetTypeName () const
 
bool has_additional_role_info () const
 
void clear_additional_role_info ()
 
const client::JsonCppArray< AboutAdditionalRoleInfoget_additional_role_info () const
 
client::JsonCppArray< AboutAdditionalRoleInfomutable_additionalRoleInfo ()
 
bool has_can_create_drives () const
 
void clear_can_create_drives ()
 
bool get_can_create_drives () const
 
void set_can_create_drives (bool value)
 
bool has_can_create_team_drives () const
 
void clear_can_create_team_drives ()
 
bool get_can_create_team_drives () const
 
void set_can_create_team_drives (bool value)
 
bool has_domain_sharing_policy () const
 
void clear_domain_sharing_policy ()
 
const StringPiece get_domain_sharing_policy () const
 
void set_domain_sharing_policy (const StringPiece &value)
 
bool has_drive_themes () const
 
void clear_drive_themes ()
 
const client::JsonCppArray< AboutDriveThemesget_drive_themes () const
 
client::JsonCppArray< AboutDriveThemesmutable_driveThemes ()
 
bool has_etag () const
 
void clear_etag ()
 
const StringPiece get_etag () const
 
void set_etag (const StringPiece &value)
 
bool has_export_formats () const
 
void clear_export_formats ()
 
const client::JsonCppArray< AboutExportFormatsget_export_formats () const
 
client::JsonCppArray< AboutExportFormatsmutable_exportFormats ()
 
bool has_features () const
 
void clear_features ()
 
const client::JsonCppArray< AboutFeaturesget_features () const
 
client::JsonCppArray< AboutFeaturesmutable_features ()
 
bool has_folder_color_palette () const
 
void clear_folder_color_palette ()
 
const client::JsonCppArray< string > get_folder_color_palette () const
 
client::JsonCppArray< string > mutable_folderColorPalette ()
 
bool has_import_formats () const
 
void clear_import_formats ()
 
const client::JsonCppArray< AboutImportFormatsget_import_formats () const
 
client::JsonCppArray< AboutImportFormatsmutable_importFormats ()
 
bool has_is_current_app_installed () const
 
void clear_is_current_app_installed ()
 
bool get_is_current_app_installed () const
 
void set_is_current_app_installed (bool value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_language_code () const
 
void clear_language_code ()
 
const StringPiece get_language_code () const
 
void set_language_code (const StringPiece &value)
 
bool has_largest_change_id () const
 
void clear_largest_change_id ()
 
int64 get_largest_change_id () const
 
void set_largest_change_id (int64 value)
 
bool has_max_upload_sizes () const
 
void clear_max_upload_sizes ()
 
const client::JsonCppArray< AboutMaxUploadSizesget_max_upload_sizes () const
 
client::JsonCppArray< AboutMaxUploadSizesmutable_maxUploadSizes ()
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_permission_id () const
 
void clear_permission_id ()
 
const StringPiece get_permission_id () const
 
void set_permission_id (const StringPiece &value)
 
bool has_quota_bytes_by_service () const
 
void clear_quota_bytes_by_service ()
 
const client::JsonCppArray< AboutQuotaBytesByServiceget_quota_bytes_by_service () const
 
client::JsonCppArray< AboutQuotaBytesByServicemutable_quotaBytesByService ()
 
bool has_quota_bytes_total () const
 
void clear_quota_bytes_total ()
 
int64 get_quota_bytes_total () const
 
void set_quota_bytes_total (int64 value)
 
bool has_quota_bytes_used () const
 
void clear_quota_bytes_used ()
 
int64 get_quota_bytes_used () const
 
void set_quota_bytes_used (int64 value)
 
bool has_quota_bytes_used_aggregate () const
 
void clear_quota_bytes_used_aggregate ()
 
int64 get_quota_bytes_used_aggregate () const
 
void set_quota_bytes_used_aggregate (int64 value)
 
bool has_quota_bytes_used_in_trash () const
 
void clear_quota_bytes_used_in_trash ()
 
int64 get_quota_bytes_used_in_trash () const
 
void set_quota_bytes_used_in_trash (int64 value)
 
bool has_quota_type () const
 
void clear_quota_type ()
 
const StringPiece get_quota_type () const
 
void set_quota_type (const StringPiece &value)
 
bool has_remaining_change_ids () const
 
void clear_remaining_change_ids ()
 
int64 get_remaining_change_ids () const
 
void set_remaining_change_ids (int64 value)
 
bool has_root_folder_id () const
 
void clear_root_folder_id ()
 
const StringPiece get_root_folder_id () const
 
void set_root_folder_id (const StringPiece &value)
 
bool has_self_link () const
 
void clear_self_link ()
 
const StringPiece get_self_link () const
 
void set_self_link (const StringPiece &value)
 
bool has_team_drive_themes () const
 
void clear_team_drive_themes ()
 
const client::JsonCppArray< AboutTeamDriveThemesget_team_drive_themes () const
 
client::JsonCppArray< AboutTeamDriveThemesmutable_teamDriveThemes ()
 
bool has_user () const
 
void clear_user ()
 
const User get_user () const
 
User mutable_user ()
 

Static Public Member Functions

static AboutNew ()
 

Detailed Description

An item with user information and settings.

Constructor & Destructor Documentation

◆ About() [1/2]

google_drive_api::About::About ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ About() [2/2]

google_drive_api::About::About ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~About()

google_drive_api::About::~About ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_additional_role_info()

void google_drive_api::About::clear_additional_role_info ( )
inline

Clears the 'additionalRoleInfo' attribute.

◆ clear_can_create_drives()

void google_drive_api::About::clear_can_create_drives ( )
inline

Clears the 'canCreateDrives' attribute.

◆ clear_can_create_team_drives()

void google_drive_api::About::clear_can_create_team_drives ( )
inline

Clears the 'canCreateTeamDrives' attribute.

◆ clear_domain_sharing_policy()

void google_drive_api::About::clear_domain_sharing_policy ( )
inline

Clears the 'domainSharingPolicy' attribute.

◆ clear_drive_themes()

void google_drive_api::About::clear_drive_themes ( )
inline

Clears the 'driveThemes' attribute.

◆ clear_etag()

void google_drive_api::About::clear_etag ( )
inline

Clears the 'etag' attribute.

◆ clear_export_formats()

void google_drive_api::About::clear_export_formats ( )
inline

Clears the 'exportFormats' attribute.

◆ clear_features()

void google_drive_api::About::clear_features ( )
inline

Clears the 'features' attribute.

◆ clear_folder_color_palette()

void google_drive_api::About::clear_folder_color_palette ( )
inline

Clears the 'folderColorPalette' attribute.

◆ clear_import_formats()

void google_drive_api::About::clear_import_formats ( )
inline

Clears the 'importFormats' attribute.

◆ clear_is_current_app_installed()

void google_drive_api::About::clear_is_current_app_installed ( )
inline

Clears the 'isCurrentAppInstalled' attribute.

◆ clear_kind()

void google_drive_api::About::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_language_code()

void google_drive_api::About::clear_language_code ( )
inline

Clears the 'languageCode' attribute.

◆ clear_largest_change_id()

void google_drive_api::About::clear_largest_change_id ( )
inline

Clears the 'largestChangeId' attribute.

◆ clear_max_upload_sizes()

void google_drive_api::About::clear_max_upload_sizes ( )
inline

Clears the 'maxUploadSizes' attribute.

◆ clear_name()

void google_drive_api::About::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_permission_id()

void google_drive_api::About::clear_permission_id ( )
inline

Clears the 'permissionId' attribute.

◆ clear_quota_bytes_by_service()

void google_drive_api::About::clear_quota_bytes_by_service ( )
inline

Clears the 'quotaBytesByService' attribute.

◆ clear_quota_bytes_total()

void google_drive_api::About::clear_quota_bytes_total ( )
inline

Clears the 'quotaBytesTotal' attribute.

◆ clear_quota_bytes_used()

void google_drive_api::About::clear_quota_bytes_used ( )
inline

Clears the 'quotaBytesUsed' attribute.

◆ clear_quota_bytes_used_aggregate()

void google_drive_api::About::clear_quota_bytes_used_aggregate ( )
inline

Clears the 'quotaBytesUsedAggregate' attribute.

◆ clear_quota_bytes_used_in_trash()

void google_drive_api::About::clear_quota_bytes_used_in_trash ( )
inline

Clears the 'quotaBytesUsedInTrash' attribute.

◆ clear_quota_type()

void google_drive_api::About::clear_quota_type ( )
inline

Clears the 'quotaType' attribute.

◆ clear_remaining_change_ids()

void google_drive_api::About::clear_remaining_change_ids ( )
inline

Clears the 'remainingChangeIds' attribute.

◆ clear_root_folder_id()

void google_drive_api::About::clear_root_folder_id ( )
inline

Clears the 'rootFolderId' attribute.

◆ clear_self_link()

void google_drive_api::About::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ clear_team_drive_themes()

void google_drive_api::About::clear_team_drive_themes ( )
inline

Clears the 'teamDriveThemes' attribute.

◆ clear_user()

void google_drive_api::About::clear_user ( )
inline

Clears the 'user' attribute.

◆ get_additional_role_info()

const client::JsonCppArray<AboutAdditionalRoleInfo > google_drive_api::About::get_additional_role_info ( ) const
inline

Get a reference to the value of the 'additionalRoleInfo' attribute.

◆ get_can_create_drives()

bool google_drive_api::About::get_can_create_drives ( ) const
inline

Get the value of the 'canCreateDrives' attribute.

◆ get_can_create_team_drives()

bool google_drive_api::About::get_can_create_team_drives ( ) const
inline

Get the value of the 'canCreateTeamDrives' attribute.

◆ get_domain_sharing_policy()

const StringPiece google_drive_api::About::get_domain_sharing_policy ( ) const
inline

Get the value of the 'domainSharingPolicy' attribute.

◆ get_drive_themes()

const client::JsonCppArray<AboutDriveThemes > google_drive_api::About::get_drive_themes ( ) const
inline

Get a reference to the value of the 'driveThemes' attribute.

◆ get_etag()

const StringPiece google_drive_api::About::get_etag ( ) const
inline

Get the value of the 'etag' attribute.

◆ get_export_formats()

const client::JsonCppArray<AboutExportFormats > google_drive_api::About::get_export_formats ( ) const
inline

Get a reference to the value of the 'exportFormats' attribute.

◆ get_features()

const client::JsonCppArray<AboutFeatures > google_drive_api::About::get_features ( ) const
inline

Get a reference to the value of the 'features' attribute.

◆ get_folder_color_palette()

const client::JsonCppArray<string > google_drive_api::About::get_folder_color_palette ( ) const
inline

Get a reference to the value of the 'folderColorPalette' attribute.

◆ get_import_formats()

const client::JsonCppArray<AboutImportFormats > google_drive_api::About::get_import_formats ( ) const
inline

Get a reference to the value of the 'importFormats' attribute.

◆ get_is_current_app_installed()

bool google_drive_api::About::get_is_current_app_installed ( ) const
inline

Get the value of the 'isCurrentAppInstalled' attribute.

◆ get_kind()

const StringPiece google_drive_api::About::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_language_code()

const StringPiece google_drive_api::About::get_language_code ( ) const
inline

Get the value of the 'languageCode' attribute.

◆ get_largest_change_id()

int64 google_drive_api::About::get_largest_change_id ( ) const
inline

Get the value of the 'largestChangeId' attribute.

◆ get_max_upload_sizes()

const client::JsonCppArray<AboutMaxUploadSizes > google_drive_api::About::get_max_upload_sizes ( ) const
inline

Get a reference to the value of the 'maxUploadSizes' attribute.

◆ get_name()

const StringPiece google_drive_api::About::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_permission_id()

const StringPiece google_drive_api::About::get_permission_id ( ) const
inline

Get the value of the 'permissionId' attribute.

◆ get_quota_bytes_by_service()

const client::JsonCppArray<AboutQuotaBytesByService > google_drive_api::About::get_quota_bytes_by_service ( ) const
inline

Get a reference to the value of the 'quotaBytesByService' attribute.

◆ get_quota_bytes_total()

int64 google_drive_api::About::get_quota_bytes_total ( ) const
inline

Get the value of the 'quotaBytesTotal' attribute.

◆ get_quota_bytes_used()

int64 google_drive_api::About::get_quota_bytes_used ( ) const
inline

Get the value of the 'quotaBytesUsed' attribute.

◆ get_quota_bytes_used_aggregate()

int64 google_drive_api::About::get_quota_bytes_used_aggregate ( ) const
inline

Get the value of the 'quotaBytesUsedAggregate' attribute.

◆ get_quota_bytes_used_in_trash()

int64 google_drive_api::About::get_quota_bytes_used_in_trash ( ) const
inline

Get the value of the 'quotaBytesUsedInTrash' attribute.

◆ get_quota_type()

const StringPiece google_drive_api::About::get_quota_type ( ) const
inline

Get the value of the 'quotaType' attribute.

◆ get_remaining_change_ids()

int64 google_drive_api::About::get_remaining_change_ids ( ) const
inline

Get the value of the 'remainingChangeIds' attribute.

◆ get_root_folder_id()

const StringPiece google_drive_api::About::get_root_folder_id ( ) const
inline

Get the value of the 'rootFolderId' attribute.

◆ get_self_link()

const StringPiece google_drive_api::About::get_self_link ( ) const
inline

Get the value of the 'selfLink' attribute.

◆ get_team_drive_themes()

const client::JsonCppArray<AboutTeamDriveThemes > google_drive_api::About::get_team_drive_themes ( ) const
inline

Get a reference to the value of the 'teamDriveThemes' attribute.

◆ get_user()

const User google_drive_api::About::get_user ( ) const

Get a reference to the value of the 'user' attribute.

◆ GetTypeName()

const StringPiece google_drive_api::About::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_drive_api::About

◆ has_additional_role_info()

bool google_drive_api::About::has_additional_role_info ( ) const
inline

Determine if the 'additionalRoleInfo' attribute was set.

Returns
true if the 'additionalRoleInfo' attribute was set.

◆ has_can_create_drives()

bool google_drive_api::About::has_can_create_drives ( ) const
inline

Determine if the 'canCreateDrives' attribute was set.

Returns
true if the 'canCreateDrives' attribute was set.

◆ has_can_create_team_drives()

bool google_drive_api::About::has_can_create_team_drives ( ) const
inline

Determine if the 'canCreateTeamDrives' attribute was set.

Returns
true if the 'canCreateTeamDrives' attribute was set.

◆ has_domain_sharing_policy()

bool google_drive_api::About::has_domain_sharing_policy ( ) const
inline

Determine if the 'domainSharingPolicy' attribute was set.

Returns
true if the 'domainSharingPolicy' attribute was set.

◆ has_drive_themes()

bool google_drive_api::About::has_drive_themes ( ) const
inline

Determine if the 'driveThemes' attribute was set.

Returns
true if the 'driveThemes' attribute was set.

◆ has_etag()

bool google_drive_api::About::has_etag ( ) const
inline

Determine if the 'etag' attribute was set.

Returns
true if the 'etag' attribute was set.

◆ has_export_formats()

bool google_drive_api::About::has_export_formats ( ) const
inline

Determine if the 'exportFormats' attribute was set.

Returns
true if the 'exportFormats' attribute was set.

◆ has_features()

bool google_drive_api::About::has_features ( ) const
inline

Determine if the 'features' attribute was set.

Returns
true if the 'features' attribute was set.

◆ has_folder_color_palette()

bool google_drive_api::About::has_folder_color_palette ( ) const
inline

Determine if the 'folderColorPalette' attribute was set.

Returns
true if the 'folderColorPalette' attribute was set.

◆ has_import_formats()

bool google_drive_api::About::has_import_formats ( ) const
inline

Determine if the 'importFormats' attribute was set.

Returns
true if the 'importFormats' attribute was set.

◆ has_is_current_app_installed()

bool google_drive_api::About::has_is_current_app_installed ( ) const
inline

Determine if the 'isCurrentAppInstalled' attribute was set.

Returns
true if the 'isCurrentAppInstalled' attribute was set.

◆ has_kind()

bool google_drive_api::About::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_language_code()

bool google_drive_api::About::has_language_code ( ) const
inline

Determine if the 'languageCode' attribute was set.

Returns
true if the 'languageCode' attribute was set.

◆ has_largest_change_id()

bool google_drive_api::About::has_largest_change_id ( ) const
inline

Determine if the 'largestChangeId' attribute was set.

Returns
true if the 'largestChangeId' attribute was set.

◆ has_max_upload_sizes()

bool google_drive_api::About::has_max_upload_sizes ( ) const
inline

Determine if the 'maxUploadSizes' attribute was set.

Returns
true if the 'maxUploadSizes' attribute was set.

◆ has_name()

bool google_drive_api::About::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_permission_id()

bool google_drive_api::About::has_permission_id ( ) const
inline

Determine if the 'permissionId' attribute was set.

Returns
true if the 'permissionId' attribute was set.

◆ has_quota_bytes_by_service()

bool google_drive_api::About::has_quota_bytes_by_service ( ) const
inline

Determine if the 'quotaBytesByService' attribute was set.

Returns
true if the 'quotaBytesByService' attribute was set.

◆ has_quota_bytes_total()

bool google_drive_api::About::has_quota_bytes_total ( ) const
inline

Determine if the 'quotaBytesTotal' attribute was set.

Returns
true if the 'quotaBytesTotal' attribute was set.

◆ has_quota_bytes_used()

bool google_drive_api::About::has_quota_bytes_used ( ) const
inline

Determine if the 'quotaBytesUsed' attribute was set.

Returns
true if the 'quotaBytesUsed' attribute was set.

◆ has_quota_bytes_used_aggregate()

bool google_drive_api::About::has_quota_bytes_used_aggregate ( ) const
inline

Determine if the 'quotaBytesUsedAggregate' attribute was set.

Returns
true if the 'quotaBytesUsedAggregate' attribute was set.

◆ has_quota_bytes_used_in_trash()

bool google_drive_api::About::has_quota_bytes_used_in_trash ( ) const
inline

Determine if the 'quotaBytesUsedInTrash' attribute was set.

Returns
true if the 'quotaBytesUsedInTrash' attribute was set.

◆ has_quota_type()

bool google_drive_api::About::has_quota_type ( ) const
inline

Determine if the 'quotaType' attribute was set.

Returns
true if the 'quotaType' attribute was set.

◆ has_remaining_change_ids()

bool google_drive_api::About::has_remaining_change_ids ( ) const
inline

Determine if the 'remainingChangeIds' attribute was set.

Returns
true if the 'remainingChangeIds' attribute was set.

◆ has_root_folder_id()

bool google_drive_api::About::has_root_folder_id ( ) const
inline

Determine if the 'rootFolderId' attribute was set.

Returns
true if the 'rootFolderId' attribute was set.

◆ has_self_link()

bool google_drive_api::About::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ has_team_drive_themes()

bool google_drive_api::About::has_team_drive_themes ( ) const
inline

Determine if the 'teamDriveThemes' attribute was set.

Returns
true if the 'teamDriveThemes' attribute was set.

◆ has_user()

bool google_drive_api::About::has_user ( ) const
inline

Determine if the 'user' attribute was set.

Returns
true if the 'user' attribute was set.

◆ mutable_additionalRoleInfo()

client::JsonCppArray<AboutAdditionalRoleInfo > google_drive_api::About::mutable_additionalRoleInfo ( )
inline

Gets a reference to a mutable value of the 'additionalRoleInfo' property.

Information about supported additional roles per file type. The most specific type takes precedence.

Returns
The result can be modified to change the attribute value.

◆ mutable_driveThemes()

client::JsonCppArray<AboutDriveThemes > google_drive_api::About::mutable_driveThemes ( )
inline

Gets a reference to a mutable value of the 'driveThemes' property.

A list of themes that are supported for shared drives.

Returns
The result can be modified to change the attribute value.

◆ mutable_exportFormats()

client::JsonCppArray<AboutExportFormats > google_drive_api::About::mutable_exportFormats ( )
inline

Gets a reference to a mutable value of the 'exportFormats' property.

The allowable export formats.

Returns
The result can be modified to change the attribute value.

◆ mutable_features()

client::JsonCppArray<AboutFeatures > google_drive_api::About::mutable_features ( )
inline

Gets a reference to a mutable value of the 'features' property.

List of additional features enabled on this account.

Returns
The result can be modified to change the attribute value.

◆ mutable_folderColorPalette()

client::JsonCppArray<string > google_drive_api::About::mutable_folderColorPalette ( )
inline

Gets a reference to a mutable value of the 'folderColorPalette' property.

The palette of allowable folder colors as RGB hex strings.

Returns
The result can be modified to change the attribute value.

◆ mutable_importFormats()

client::JsonCppArray<AboutImportFormats > google_drive_api::About::mutable_importFormats ( )
inline

Gets a reference to a mutable value of the 'importFormats' property.

The allowable import formats.

Returns
The result can be modified to change the attribute value.

◆ mutable_maxUploadSizes()

client::JsonCppArray<AboutMaxUploadSizes > google_drive_api::About::mutable_maxUploadSizes ( )
inline

Gets a reference to a mutable value of the 'maxUploadSizes' property.

List of max upload sizes for each file type. The most specific type takes precedence.

Returns
The result can be modified to change the attribute value.

◆ mutable_quotaBytesByService()

client::JsonCppArray<AboutQuotaBytesByService > google_drive_api::About::mutable_quotaBytesByService ( )
inline

Gets a reference to a mutable value of the 'quotaBytesByService' property.

The amount of storage quota used by different Google services.

Returns
The result can be modified to change the attribute value.

◆ mutable_teamDriveThemes()

client::JsonCppArray<AboutTeamDriveThemes > google_drive_api::About::mutable_teamDriveThemes ( )
inline

Gets a reference to a mutable value of the 'teamDriveThemes' property.

Deprecated:

Deprecated - use driveThemes instead.

Returns
The result can be modified to change the attribute value.

◆ mutable_user()

User google_drive_api::About::mutable_user ( )

Gets a reference to a mutable value of the 'user' property.

The authenticated user.

Returns
The result can be modified to change the attribute value.

◆ New()

About * google_drive_api::About::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_can_create_drives()

void google_drive_api::About::set_can_create_drives ( bool  value)
inline

Change the 'canCreateDrives' attribute.

Whether the user can create shared drives.

Parameters
[in]valueThe new value.

◆ set_can_create_team_drives()

void google_drive_api::About::set_can_create_team_drives ( bool  value)
inline

Change the 'canCreateTeamDrives' attribute.

Deprecated:

Deprecated - use canCreateDrives instead.

Parameters
[in]valueThe new value.

◆ set_domain_sharing_policy()

void google_drive_api::About::set_domain_sharing_policy ( const StringPiece &  value)
inline

Change the 'domainSharingPolicy' attribute.

The domain sharing policy for the current user. Possible values are:

  • allowed
  • allowedWithWarning
  • incomingOnly
  • disallowed.
Parameters
[in]valueThe new value.

◆ set_etag()

void google_drive_api::About::set_etag ( const StringPiece &  value)
inline

Change the 'etag' attribute.

The ETag of the item.

Parameters
[in]valueThe new value.

◆ set_is_current_app_installed()

void google_drive_api::About::set_is_current_app_installed ( bool  value)
inline

Change the 'isCurrentAppInstalled' attribute.

A boolean indicating whether the authenticated app is installed by the authenticated user.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_drive_api::About::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

This is always drive::about.

Parameters
[in]valueThe new value.

◆ set_language_code()

void google_drive_api::About::set_language_code ( const StringPiece &  value)
inline

Change the 'languageCode' attribute.

The user's language or locale code, as defined by BCP 47, with some extensions from Unicode's LDML format (http://www.unicode.org/reports/tr35/).

Parameters
[in]valueThe new value.

◆ set_largest_change_id()

void google_drive_api::About::set_largest_change_id ( int64  value)
inline

Change the 'largestChangeId' attribute.

The largest change id.

Parameters
[in]valueThe new value.

◆ set_name()

void google_drive_api::About::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

The name of the current user.

Parameters
[in]valueThe new value.

◆ set_permission_id()

void google_drive_api::About::set_permission_id ( const StringPiece &  value)
inline

Change the 'permissionId' attribute.

The current user's ID as visible in the permissions collection.

Parameters
[in]valueThe new value.

◆ set_quota_bytes_total()

void google_drive_api::About::set_quota_bytes_total ( int64  value)
inline

Change the 'quotaBytesTotal' attribute.

The total number of quota bytes. This is only relevant when quotaType is LIMITED.

Parameters
[in]valueThe new value.

◆ set_quota_bytes_used()

void google_drive_api::About::set_quota_bytes_used ( int64  value)
inline

Change the 'quotaBytesUsed' attribute.

The number of quota bytes used by Google Drive.

Parameters
[in]valueThe new value.

◆ set_quota_bytes_used_aggregate()

void google_drive_api::About::set_quota_bytes_used_aggregate ( int64  value)
inline

Change the 'quotaBytesUsedAggregate' attribute.

The number of quota bytes used by all Google apps (Drive, Picasa, etc.).

Parameters
[in]valueThe new value.

◆ set_quota_bytes_used_in_trash()

void google_drive_api::About::set_quota_bytes_used_in_trash ( int64  value)
inline

Change the 'quotaBytesUsedInTrash' attribute.

The number of quota bytes used by trashed items.

Parameters
[in]valueThe new value.

◆ set_quota_type()

void google_drive_api::About::set_quota_type ( const StringPiece &  value)
inline

Change the 'quotaType' attribute.

The type of the user's storage quota. Possible values are:

  • LIMITED
  • UNLIMITED.
Parameters
[in]valueThe new value.

◆ set_remaining_change_ids()

void google_drive_api::About::set_remaining_change_ids ( int64  value)
inline

Change the 'remainingChangeIds' attribute.

The number of remaining change ids, limited to no more than 2500.

Parameters
[in]valueThe new value.

◆ set_root_folder_id()

void google_drive_api::About::set_root_folder_id ( const StringPiece &  value)
inline

Change the 'rootFolderId' attribute.

The id of the root folder.

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_drive_api::About::set_self_link ( const StringPiece &  value)
inline

Change the 'selfLink' attribute.

A link back to this item.

Parameters
[in]valueThe new value.

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