drive
v2
|
#include <drive.h>
Public Member Functions | |
DriveBackgroundImageFile (const Json::Value &storage) | |
DriveBackgroundImageFile (Json::Value *storage) | |
virtual | ~DriveBackgroundImageFile () |
const StringPiece | GetTypeName () const |
bool | has_id () const |
void | clear_id () |
const StringPiece | get_id () const |
void | set_id (const StringPiece &value) |
bool | has_width () const |
void | clear_width () |
float | get_width () const |
void | set_width (float value) |
bool | has_x_coordinate () const |
void | clear_x_coordinate () |
float | get_x_coordinate () const |
void | set_x_coordinate (float value) |
bool | has_y_coordinate () const |
void | clear_y_coordinate () |
float | get_y_coordinate () const |
void | set_y_coordinate (float value) |
Static Public Member Functions | |
static DriveBackgroundImageFile * | New () |
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.
|
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 'id
' attribute.
|
inline |
Clears the 'width
' attribute.
|
inline |
Clears the 'xCoordinate
' attribute.
|
inline |
Clears the 'yCoordinate
' attribute.
|
inline |
Get the value of the 'id
' attribute.
|
inline |
Get the value of the 'width
' attribute.
|
inline |
Get the value of the 'xCoordinate
' attribute.
|
inline |
Get the value of the 'yCoordinate
' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_drive_api::DriveBackgroundImageFile
|
inline |
Determine if the 'id
' attribute was set.
id
' attribute was set.
|
inline |
Determine if the 'width
' attribute was set.
width
' attribute was set.
|
inline |
Determine if the 'xCoordinate
' attribute was set.
xCoordinate
' attribute was set.
|
inline |
Determine if the 'yCoordinate
' attribute was set.
yCoordinate
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
|
inline |
Change the 'width
' attribute.
The width of the cropped image in the closed range of 0 to 1. This value represents the width of the cropped image divided by the width of the entire image. The height is computed by applying a width to height aspect ratio of 80 to 9. The resulting image must be at least 1280 pixels wide and 144 pixels high.
[in] | value | The new value. |
|
inline |
Change the 'xCoordinate
' attribute.
The X coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the horizontal distance from the left side of the entire image to the left side of the cropping area divided by the width of the entire image.
[in] | value | The new value. |
|
inline |
Change the 'yCoordinate
' attribute.
The Y coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the vertical distance from the top side of the entire image to the top side of the cropping area divided by the height of the entire image.
[in] | value | The new value. |