drive
v2
|
#include <change.h>
Public Member Functions | |
Change (const Json::Value &storage) | |
Change (Json::Value *storage) | |
virtual | ~Change () |
const StringPiece | GetTypeName () const |
bool | has_change_type () const |
void | clear_change_type () |
const StringPiece | get_change_type () const |
void | set_change_type (const StringPiece &value) |
bool | has_deleted () const |
void | clear_deleted () |
bool | get_deleted () const |
void | set_deleted (bool value) |
bool | has_drive () const |
void | clear_drive () |
const Drive | get_drive () const |
Drive | mutable_drive () |
bool | has_drive_id () const |
void | clear_drive_id () |
const StringPiece | get_drive_id () const |
void | set_drive_id (const StringPiece &value) |
bool | has_file () const |
void | clear_file () |
const File | get_file () const |
File | mutable_file () |
bool | has_file_id () const |
void | clear_file_id () |
const StringPiece | get_file_id () const |
void | set_file_id (const StringPiece &value) |
bool | has_id () const |
void | clear_id () |
int64 | get_id () const |
void | set_id (int64 value) |
bool | has_kind () const |
void | clear_kind () |
const StringPiece | get_kind () const |
void | set_kind (const StringPiece &value) |
bool | has_modification_date () const |
void | clear_modification_date () |
client::DateTime | get_modification_date () const |
void | set_modification_date (client::DateTime 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 () const |
void | clear_team_drive () |
const TeamDrive | get_team_drive () const |
TeamDrive | mutable_teamDrive () |
bool | has_team_drive_id () const |
void | clear_team_drive_id () |
const StringPiece | get_team_drive_id () const |
void | set_team_drive_id (const StringPiece &value) |
bool | has_type () const |
void | clear_type () |
const StringPiece | get_type () const |
void | set_type (const StringPiece &value) |
Static Public Member Functions | |
static Change * | New () |
Representation of a change to a file or shared drive.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'changeType
' attribute.
|
inline |
Clears the 'deleted
' attribute.
|
inline |
Clears the 'drive
' attribute.
|
inline |
Clears the 'driveId
' attribute.
|
inline |
Clears the 'file
' attribute.
|
inline |
Clears the 'fileId
' attribute.
|
inline |
Clears the 'id
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'modificationDate
' attribute.
|
inline |
Clears the 'selfLink
' attribute.
|
inline |
Clears the 'teamDrive
' attribute.
|
inline |
Clears the 'teamDriveId
' attribute.
|
inline |
Clears the 'type
' attribute.
|
inline |
Get the value of the 'changeType
' attribute.
|
inline |
Get the value of the 'deleted
' attribute.
const Drive google_drive_api::Change::get_drive | ( | ) | const |
Get a reference to the value of the 'drive
' attribute.
|
inline |
Get the value of the 'driveId
' attribute.
const File google_drive_api::Change::get_file | ( | ) | const |
Get a reference to the value of the 'file
' attribute.
|
inline |
Get the value of the 'fileId
' attribute.
|
inline |
Get the value of the 'id
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
|
inline |
Get the value of the 'modificationDate
' attribute.
|
inline |
Get the value of the 'selfLink
' attribute.
const TeamDrive google_drive_api::Change::get_team_drive | ( | ) | const |
Get a reference to the value of the 'teamDrive
' attribute.
|
inline |
Get the value of the 'teamDriveId
' attribute.
|
inline |
Get the value of the 'type
' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_drive_api::Change
|
inline |
Determine if the 'changeType
' attribute was set.
changeType
' attribute was set.
|
inline |
Determine if the 'deleted
' attribute was set.
deleted
' attribute was set.
|
inline |
Determine if the 'drive
' attribute was set.
drive
' attribute was set.
|
inline |
Determine if the 'driveId
' attribute was set.
driveId
' attribute was set.
|
inline |
Determine if the 'file
' attribute was set.
file
' attribute was set.
|
inline |
Determine if the 'fileId
' attribute was set.
fileId
' attribute was set.
|
inline |
Determine if the 'id
' attribute was set.
id
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'modificationDate
' attribute was set.
modificationDate
' attribute was set.
|
inline |
Determine if the 'selfLink
' attribute was set.
selfLink
' attribute was set.
|
inline |
Determine if the 'teamDrive
' attribute was set.
teamDrive
' attribute was set.
|
inline |
Determine if the 'teamDriveId
' attribute was set.
teamDriveId
' attribute was set.
|
inline |
Determine if the 'type
' attribute was set.
type
' attribute was set. Drive google_drive_api::Change::mutable_drive | ( | ) |
Gets a reference to a mutable value of the 'drive
' property.
The updated state of the shared drive. Present if the changeType is drive, the user is still a member of the shared drive, and the shared drive has not been deleted.
File google_drive_api::Change::mutable_file | ( | ) |
Gets a reference to a mutable value of the 'file
' property.
The updated state of the file. Present if the type is file and the file has not been removed from this list of changes.
TeamDrive google_drive_api::Change::mutable_teamDrive | ( | ) |
Gets a reference to a mutable value of the 'teamDrive
' property.
Deprecated - use drive instead.
|
static |
Creates a new default instance.
|
inline |
Change the 'changeType
' attribute.
The type of the change. Possible values are file and drive.
[in] | value | The new value. |
|
inline |
Change the 'deleted
' attribute.
Whether the file or shared drive has been removed from this list of changes, for example by deletion or loss of access.
[in] | value | The new value. |
|
inline |
Change the 'driveId
' attribute.
The ID of the shared drive associated with this change.
[in] | value | The new value. |
|
inline |
Change the 'fileId
' attribute.
The ID of the file associated with this change.
[in] | value | The new value. |
|
inline |
|
inline |
|
inline |
Change the 'modificationDate
' attribute.
The time of this modification.
[in] | value | The new value. |
|
inline |
|
inline |
Change the 'teamDriveId
' attribute.
Deprecated - use driveId instead.
[in] | value | The new value. |
|
inline |
Change the 'type
' attribute.
Deprecated - use changeType instead.
[in] | value | The new value. |