drive
v2
|
#include <drive.h>
Classes | |
class | DriveBackgroundImageFile |
class | DriveCapabilities |
class | DriveRestrictions |
Public Member Functions | |
Drive (const Json::Value &storage) | |
Drive (Json::Value *storage) | |
virtual | ~Drive () |
const StringPiece | GetTypeName () const |
bool | has_background_image_file () const |
void | clear_background_image_file () |
const DriveBackgroundImageFile | get_background_image_file () const |
DriveBackgroundImageFile | mutable_backgroundImageFile () |
bool | has_background_image_link () const |
void | clear_background_image_link () |
const StringPiece | get_background_image_link () const |
void | set_background_image_link (const StringPiece &value) |
bool | has_capabilities () const |
void | clear_capabilities () |
const DriveCapabilities | get_capabilities () const |
DriveCapabilities | mutable_capabilities () |
bool | has_color_rgb () const |
void | clear_color_rgb () |
const StringPiece | get_color_rgb () const |
void | set_color_rgb (const StringPiece &value) |
bool | has_created_date () const |
void | clear_created_date () |
client::DateTime | get_created_date () const |
void | set_created_date (client::DateTime value) |
bool | has_hidden () const |
void | clear_hidden () |
bool | get_hidden () const |
void | set_hidden (bool value) |
bool | has_id () const |
void | clear_id () |
const StringPiece | get_id () const |
void | set_id (const StringPiece &value) |
bool | has_kind () const |
void | clear_kind () |
const StringPiece | get_kind () const |
void | set_kind (const StringPiece &value) |
bool | has_name () const |
void | clear_name () |
const StringPiece | get_name () const |
void | set_name (const StringPiece &value) |
bool | has_restrictions () const |
void | clear_restrictions () |
const DriveRestrictions | get_restrictions () const |
DriveRestrictions | mutable_restrictions () |
bool | has_theme_id () const |
void | clear_theme_id () |
const StringPiece | get_theme_id () const |
void | set_theme_id (const StringPiece &value) |
Static Public Member Functions | |
static Drive * | New () |
Representation of a 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 'backgroundImageFile
' attribute.
|
inline |
Clears the 'backgroundImageLink
' attribute.
|
inline |
Clears the 'capabilities
' attribute.
|
inline |
Clears the 'colorRgb
' attribute.
|
inline |
Clears the 'createdDate
' attribute.
|
inline |
Clears the 'hidden
' attribute.
|
inline |
Clears the 'id
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'name
' attribute.
|
inline |
Clears the 'restrictions
' attribute.
|
inline |
Clears the 'themeId
' attribute.
|
inline |
Get a reference to the value of the 'backgroundImageFile
' attribute.
|
inline |
Get the value of the 'backgroundImageLink
' attribute.
|
inline |
Get a reference to the value of the 'capabilities
' attribute.
|
inline |
Get the value of the 'colorRgb
' attribute.
|
inline |
Get the value of the 'createdDate
' attribute.
|
inline |
Get the value of the 'hidden
' attribute.
|
inline |
Get the value of the 'id
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
|
inline |
Get the value of the 'name
' attribute.
|
inline |
Get a reference to the value of the 'restrictions
' attribute.
|
inline |
Get the value of the 'themeId
' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_drive_api::Drive
|
inline |
Determine if the 'backgroundImageFile
' attribute was set.
backgroundImageFile
' attribute was set.
|
inline |
Determine if the 'backgroundImageLink
' attribute was set.
backgroundImageLink
' attribute was set.
|
inline |
Determine if the 'capabilities
' attribute was set.
capabilities
' attribute was set.
|
inline |
Determine if the 'colorRgb
' attribute was set.
colorRgb
' attribute was set.
|
inline |
Determine if the 'createdDate
' attribute was set.
createdDate
' attribute was set.
|
inline |
Determine if the 'hidden
' attribute was set.
hidden
' 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 'name
' attribute was set.
name
' attribute was set.
|
inline |
Determine if the 'restrictions
' attribute was set.
restrictions
' attribute was set.
|
inline |
Determine if the 'themeId
' attribute was set.
themeId
' attribute was set.
|
inline |
Gets a reference to a mutable value of the 'backgroundImageFile
' property.
An image file and cropping parameters from which a background image for this shared drive is set. This is a write only field; it can only be set on drive.drives.update requests that don't set themeId. When specified, all fields of the backgroundImageFile must be set.
|
inline |
Gets a reference to a mutable value of the 'capabilities
' property.
Capabilities the current user has on this shared drive.
|
inline |
Gets a reference to a mutable value of the 'restrictions
' property.
A set of restrictions that apply to this shared drive or items inside this shared drive.
|
static |
Creates a new default instance.
|
inline |
Change the 'backgroundImageLink
' attribute.
A short-lived link to this shared drive's background image.
[in] | value | The new value. |
|
inline |
Change the 'colorRgb
' attribute.
The color of this shared drive as an RGB hex string. It can only be set on a drive.drives.update request that does not set themeId.
[in] | value | The new value. |
|
inline |
Change the 'createdDate
' attribute.
The time at which the shared drive was created (RFC 3339 date-time).
[in] | value | The new value. |
|
inline |
Change the 'hidden
' attribute.
Whether the shared drive is hidden from default view.
[in] | value | The new value. |
|
inline |
Change the 'id
' attribute.
The ID of this shared drive which is also the ID of the top level folder of this shared drive.
[in] | value | The new value. |
|
inline |
|
inline |
|
inline |
Change the 'themeId
' attribute.
The ID of the theme from which the background image and color will be set. The set of possible driveThemes can be retrieved from a drive.about.get response. When not specified on a drive.drives.insert request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don't set colorRgb or backgroundImageFile.
[in] | value | The new value. |