#include <revision.h>
◆ Revision() [1/2]
google_drive_api::Revision::Revision |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ Revision() [2/2]
google_drive_api::Revision::Revision |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~Revision()
google_drive_api::Revision::~Revision |
( |
| ) |
|
|
virtual |
◆ clear_download_url()
void google_drive_api::Revision::clear_download_url |
( |
| ) |
|
|
inline |
Clears the 'downloadUrl
' attribute.
◆ clear_etag()
void google_drive_api::Revision::clear_etag |
( |
| ) |
|
|
inline |
Clears the 'etag
' attribute.
◆ clear_export_links()
void google_drive_api::Revision::clear_export_links |
( |
| ) |
|
|
inline |
Clears the 'exportLinks
' attribute.
◆ clear_file_size()
void google_drive_api::Revision::clear_file_size |
( |
| ) |
|
|
inline |
Clears the 'fileSize
' attribute.
◆ clear_id()
void google_drive_api::Revision::clear_id |
( |
| ) |
|
|
inline |
Clears the 'id
' attribute.
◆ clear_kind()
void google_drive_api::Revision::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind
' attribute.
◆ clear_last_modifying_user()
void google_drive_api::Revision::clear_last_modifying_user |
( |
| ) |
|
|
inline |
Clears the 'lastModifyingUser
' attribute.
◆ clear_last_modifying_user_name()
void google_drive_api::Revision::clear_last_modifying_user_name |
( |
| ) |
|
|
inline |
Clears the 'lastModifyingUserName
' attribute.
◆ clear_md5_checksum()
void google_drive_api::Revision::clear_md5_checksum |
( |
| ) |
|
|
inline |
Clears the 'md5Checksum
' attribute.
◆ clear_mime_type()
void google_drive_api::Revision::clear_mime_type |
( |
| ) |
|
|
inline |
Clears the 'mimeType
' attribute.
◆ clear_modified_date()
void google_drive_api::Revision::clear_modified_date |
( |
| ) |
|
|
inline |
Clears the 'modifiedDate
' attribute.
◆ clear_original_filename()
void google_drive_api::Revision::clear_original_filename |
( |
| ) |
|
|
inline |
Clears the 'originalFilename
' attribute.
◆ clear_pinned()
void google_drive_api::Revision::clear_pinned |
( |
| ) |
|
|
inline |
Clears the 'pinned
' attribute.
◆ clear_publish_auto()
void google_drive_api::Revision::clear_publish_auto |
( |
| ) |
|
|
inline |
Clears the 'publishAuto
' attribute.
◆ clear_published()
void google_drive_api::Revision::clear_published |
( |
| ) |
|
|
inline |
Clears the 'published
' attribute.
◆ clear_published_link()
void google_drive_api::Revision::clear_published_link |
( |
| ) |
|
|
inline |
Clears the 'publishedLink
' attribute.
◆ clear_published_outside_domain()
void google_drive_api::Revision::clear_published_outside_domain |
( |
| ) |
|
|
inline |
Clears the 'publishedOutsideDomain
' attribute.
◆ clear_self_link()
void google_drive_api::Revision::clear_self_link |
( |
| ) |
|
|
inline |
Clears the 'selfLink
' attribute.
◆ get_download_url()
const StringPiece google_drive_api::Revision::get_download_url |
( |
| ) |
const |
|
inline |
Get the value of the 'downloadUrl
' attribute.
◆ get_etag()
const StringPiece google_drive_api::Revision::get_etag |
( |
| ) |
const |
|
inline |
Get the value of the 'etag
' attribute.
◆ get_export_links()
const client::JsonCppAssociativeArray<string > google_drive_api::Revision::get_export_links |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'exportLinks
' attribute.
◆ get_file_size()
int64 google_drive_api::Revision::get_file_size |
( |
| ) |
const |
|
inline |
Get the value of the 'fileSize
' attribute.
◆ get_id()
const StringPiece google_drive_api::Revision::get_id |
( |
| ) |
const |
|
inline |
Get the value of the 'id
' attribute.
◆ get_kind()
const StringPiece google_drive_api::Revision::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind
' attribute.
◆ get_last_modifying_user()
const User google_drive_api::Revision::get_last_modifying_user |
( |
| ) |
const |
Get a reference to the value of the 'lastModifyingUser
' attribute.
◆ get_last_modifying_user_name()
const StringPiece google_drive_api::Revision::get_last_modifying_user_name |
( |
| ) |
const |
|
inline |
Get the value of the 'lastModifyingUserName
' attribute.
◆ get_md5_checksum()
const StringPiece google_drive_api::Revision::get_md5_checksum |
( |
| ) |
const |
|
inline |
Get the value of the 'md5Checksum
' attribute.
◆ get_mime_type()
const StringPiece google_drive_api::Revision::get_mime_type |
( |
| ) |
const |
|
inline |
Get the value of the 'mimeType
' attribute.
◆ get_modified_date()
client::DateTime google_drive_api::Revision::get_modified_date |
( |
| ) |
const |
|
inline |
Get the value of the 'modifiedDate
' attribute.
◆ get_original_filename()
const StringPiece google_drive_api::Revision::get_original_filename |
( |
| ) |
const |
|
inline |
Get the value of the 'originalFilename
' attribute.
◆ get_pinned()
bool google_drive_api::Revision::get_pinned |
( |
| ) |
const |
|
inline |
Get the value of the 'pinned
' attribute.
◆ get_publish_auto()
bool google_drive_api::Revision::get_publish_auto |
( |
| ) |
const |
|
inline |
Get the value of the 'publishAuto
' attribute.
◆ get_published()
bool google_drive_api::Revision::get_published |
( |
| ) |
const |
|
inline |
Get the value of the 'published
' attribute.
◆ get_published_link()
const StringPiece google_drive_api::Revision::get_published_link |
( |
| ) |
const |
|
inline |
Get the value of the 'publishedLink
' attribute.
◆ get_published_outside_domain()
bool google_drive_api::Revision::get_published_outside_domain |
( |
| ) |
const |
|
inline |
Get the value of the 'publishedOutsideDomain
' attribute.
◆ get_self_link()
const StringPiece google_drive_api::Revision::get_self_link |
( |
| ) |
const |
|
inline |
Get the value of the 'selfLink
' attribute.
◆ GetTypeName()
const StringPiece google_drive_api::Revision::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_download_url()
bool google_drive_api::Revision::has_download_url |
( |
| ) |
const |
|
inline |
Determine if the 'downloadUrl
' attribute was set.
- Returns
- true if the '
downloadUrl
' attribute was set.
◆ has_etag()
bool google_drive_api::Revision::has_etag |
( |
| ) |
const |
|
inline |
Determine if the 'etag
' attribute was set.
- Returns
- true if the '
etag
' attribute was set.
◆ has_export_links()
bool google_drive_api::Revision::has_export_links |
( |
| ) |
const |
|
inline |
Determine if the 'exportLinks
' attribute was set.
- Returns
- true if the '
exportLinks
' attribute was set.
◆ has_file_size()
bool google_drive_api::Revision::has_file_size |
( |
| ) |
const |
|
inline |
Determine if the 'fileSize
' attribute was set.
- Returns
- true if the '
fileSize
' attribute was set.
◆ has_id()
bool google_drive_api::Revision::has_id |
( |
| ) |
const |
|
inline |
Determine if the 'id
' attribute was set.
- Returns
- true if the '
id
' attribute was set.
◆ has_kind()
bool google_drive_api::Revision::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind
' attribute was set.
- Returns
- true if the '
kind
' attribute was set.
◆ has_last_modifying_user()
bool google_drive_api::Revision::has_last_modifying_user |
( |
| ) |
const |
|
inline |
Determine if the 'lastModifyingUser
' attribute was set.
- Returns
- true if the '
lastModifyingUser
' attribute was set.
◆ has_last_modifying_user_name()
bool google_drive_api::Revision::has_last_modifying_user_name |
( |
| ) |
const |
|
inline |
Determine if the 'lastModifyingUserName
' attribute was set.
- Returns
- true if the '
lastModifyingUserName
' attribute was set.
◆ has_md5_checksum()
bool google_drive_api::Revision::has_md5_checksum |
( |
| ) |
const |
|
inline |
Determine if the 'md5Checksum
' attribute was set.
- Returns
- true if the '
md5Checksum
' attribute was set.
◆ has_mime_type()
bool google_drive_api::Revision::has_mime_type |
( |
| ) |
const |
|
inline |
Determine if the 'mimeType
' attribute was set.
- Returns
- true if the '
mimeType
' attribute was set.
◆ has_modified_date()
bool google_drive_api::Revision::has_modified_date |
( |
| ) |
const |
|
inline |
Determine if the 'modifiedDate
' attribute was set.
- Returns
- true if the '
modifiedDate
' attribute was set.
◆ has_original_filename()
bool google_drive_api::Revision::has_original_filename |
( |
| ) |
const |
|
inline |
Determine if the 'originalFilename
' attribute was set.
- Returns
- true if the '
originalFilename
' attribute was set.
◆ has_pinned()
bool google_drive_api::Revision::has_pinned |
( |
| ) |
const |
|
inline |
Determine if the 'pinned
' attribute was set.
- Returns
- true if the '
pinned
' attribute was set.
◆ has_publish_auto()
bool google_drive_api::Revision::has_publish_auto |
( |
| ) |
const |
|
inline |
Determine if the 'publishAuto
' attribute was set.
- Returns
- true if the '
publishAuto
' attribute was set.
◆ has_published()
bool google_drive_api::Revision::has_published |
( |
| ) |
const |
|
inline |
Determine if the 'published
' attribute was set.
- Returns
- true if the '
published
' attribute was set.
◆ has_published_link()
bool google_drive_api::Revision::has_published_link |
( |
| ) |
const |
|
inline |
Determine if the 'publishedLink
' attribute was set.
- Returns
- true if the '
publishedLink
' attribute was set.
◆ has_published_outside_domain()
bool google_drive_api::Revision::has_published_outside_domain |
( |
| ) |
const |
|
inline |
Determine if the 'publishedOutsideDomain
' attribute was set.
- Returns
- true if the '
publishedOutsideDomain
' attribute was set.
◆ has_self_link()
bool google_drive_api::Revision::has_self_link |
( |
| ) |
const |
|
inline |
Determine if the 'selfLink
' attribute was set.
- Returns
- true if the '
selfLink
' attribute was set.
◆ mutable_exportLinks()
client::JsonCppAssociativeArray<string > google_drive_api::Revision::mutable_exportLinks |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'exportLinks
' property.
Links for exporting Google Docs to specific formats.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_lastModifyingUser()
User google_drive_api::Revision::mutable_lastModifyingUser |
( |
| ) |
|
Gets a reference to a mutable value of the 'lastModifyingUser
' property.
The last user to modify this revision.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Revision * google_drive_api::Revision::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_download_url()
void google_drive_api::Revision::set_download_url |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'downloadUrl
' attribute.
- Parameters
-
◆ set_etag()
void google_drive_api::Revision::set_etag |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'etag
' attribute.
The ETag of the revision.
- Parameters
-
◆ set_file_size()
void google_drive_api::Revision::set_file_size |
( |
int64 |
value | ) |
|
|
inline |
Change the 'fileSize
' attribute.
The size of the revision in bytes. This will only be populated on files with content stored in Drive.
- Parameters
-
◆ set_id()
void google_drive_api::Revision::set_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'id
' attribute.
The ID of the revision.
- Parameters
-
◆ set_kind()
void google_drive_api::Revision::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind
' attribute.
This is always drive::revision.
- Parameters
-
◆ set_last_modifying_user_name()
void google_drive_api::Revision::set_last_modifying_user_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'lastModifyingUserName
' attribute.
Name of the last user to modify this revision.
- Parameters
-
◆ set_md5_checksum()
void google_drive_api::Revision::set_md5_checksum |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'md5Checksum
' attribute.
An MD5 checksum for the content of this revision. This will only be populated on files with content stored in Drive.
- Parameters
-
◆ set_mime_type()
void google_drive_api::Revision::set_mime_type |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'mimeType
' attribute.
The MIME type of the revision.
- Parameters
-
◆ set_modified_date()
void google_drive_api::Revision::set_modified_date |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'modifiedDate
' attribute.
Last time this revision was modified (formatted RFC 3339 timestamp).
- Parameters
-
◆ set_original_filename()
void google_drive_api::Revision::set_original_filename |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'originalFilename
' attribute.
The original filename when this revision was created. This will only be populated on files with content stored in Drive.
- Parameters
-
◆ set_pinned()
void google_drive_api::Revision::set_pinned |
( |
bool |
value | ) |
|
|
inline |
Change the 'pinned
' attribute.
Whether this revision is pinned to prevent automatic purging. This will only be populated and can only be modified on files with content stored in Drive which are not Google Docs. Revisions can also be pinned when they are created through the drive.files.insert/update/copy by using the pinned query parameter. Pinned revisions are stored indefinitely using additional storage quota, up to a maximum of 200 revisions.
- Parameters
-
◆ set_publish_auto()
void google_drive_api::Revision::set_publish_auto |
( |
bool |
value | ) |
|
|
inline |
Change the 'publishAuto
' attribute.
Whether subsequent revisions will be automatically republished. This is only populated and can only be modified for Google Docs.
- Parameters
-
◆ set_published()
void google_drive_api::Revision::set_published |
( |
bool |
value | ) |
|
|
inline |
Change the 'published
' attribute.
Whether this revision is published. This is only populated and can only be modified for Google Docs.
- Parameters
-
◆ set_published_link()
void google_drive_api::Revision::set_published_link |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'publishedLink
' attribute.
A link to the published revision.
- Parameters
-
◆ set_published_outside_domain()
void google_drive_api::Revision::set_published_outside_domain |
( |
bool |
value | ) |
|
|
inline |
Change the 'publishedOutsideDomain
' attribute.
Whether this revision is published outside the domain. This is only populated and can only be modified for Google Docs.
- Parameters
-
◆ set_self_link()
void google_drive_api::Revision::set_self_link |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'selfLink
' attribute.
A link back to this revision.
- Parameters
-
The documentation for this class was generated from the following files:
- google/drive_api/revision.h
- google/drive_api/revision.cc