#include <drive_service.h>
◆ AboutResource_GetMethod()
google_drive_api::AboutResource_GetMethod::AboutResource_GetMethod |
( |
const DriveService * |
_service_, |
|
|
client::AuthorizationCredential * |
_credential_ |
|
) |
| |
The standard constructor takes all the required method parameters.
- Parameters
-
[in] | <em>service</em> | The service instance to send to when executed. |
[in] | <em>credential</em> | If not NULL, the credential to authorize with. In practice this is supplied by the user code that is creating the method instance. |
◆ ~AboutResource_GetMethod()
google_drive_api::AboutResource_GetMethod::~AboutResource_GetMethod |
( |
| ) |
|
|
virtual |
◆ AppendOptionalQueryParameters()
util::Status google_drive_api::AboutResource_GetMethod::AppendOptionalQueryParameters |
( |
string * |
target | ) |
|
|
virtual |
◆ AppendVariable()
util::Status google_drive_api::AboutResource_GetMethod::AppendVariable |
( |
const StringPiece & |
variable_name, |
|
|
const client::UriTemplateConfig & |
config, |
|
|
string * |
target |
|
) |
| |
|
virtual |
Appends variable value to the target string.
This is a helper function used to resolve templated variables in the URI.
- Parameters
-
[in] | variable_name | The name of the templated variable. |
[in] | config | A pass-through parameter used for lists and maps. |
[in,out] | target | The string to append the value to. |
Reimplemented from google_drive_api::DriveServiceBaseRequest.
◆ clear_include_subscribed()
void google_drive_api::AboutResource_GetMethod::clear_include_subscribed |
( |
| ) |
|
|
inline |
Clears the 'includeSubscribed
' attribute so it is no longer set.
◆ clear_max_change_id_count()
void google_drive_api::AboutResource_GetMethod::clear_max_change_id_count |
( |
| ) |
|
|
inline |
Clears the 'maxChangeIdCount
' attribute so it is no longer set.
◆ clear_start_change_id()
void google_drive_api::AboutResource_GetMethod::clear_start_change_id |
( |
| ) |
|
|
inline |
Clears the 'startChangeId
' attribute so it is no longer set.
◆ ExecuteAndParseResponse()
util::Status google_drive_api::AboutResource_GetMethod::ExecuteAndParseResponse |
( |
About * |
data | ) |
|
|
inline |
Executes the method and parses the response into a data object on success.
- Parameters
-
[out] | data | Loads from the response payload JSON data on success. |
- Returns
- Success if an HTTP 2xx response was received. Otherwise the status indicates the reason for failure. Finer detail may be available from the underlying http_request to distinguish the transport_status from the overal HTTP request status.
◆ get_include_subscribed()
bool google_drive_api::AboutResource_GetMethod::get_include_subscribed |
( |
| ) |
const |
|
inline |
Gets the optional 'includeSubscribed
' attribute.
If the value is not set then the default value will be returned.
◆ get_max_change_id_count()
int64 google_drive_api::AboutResource_GetMethod::get_max_change_id_count |
( |
| ) |
const |
|
inline |
Gets the optional 'maxChangeIdCount
' attribute.
If the value is not set then the default value will be returned.
◆ get_start_change_id()
int64 google_drive_api::AboutResource_GetMethod::get_start_change_id |
( |
| ) |
const |
|
inline |
Gets the optional 'startChangeId
' attribute.
If the value is not set then the default value will be returned.
◆ set_include_subscribed()
void google_drive_api::AboutResource_GetMethod::set_include_subscribed |
( |
bool |
value | ) |
|
|
inline |
Sets the 'includeSubscribed
' attribute.
- Parameters
-
[in] | value | Whether to count changes outside the My Drive hierarchy. When set to false, changes to files such as those in the Application Data folder or shared files which have not been added to My Drive will be omitted from the maxChangeIdCount. |
◆ set_max_change_id_count()
void google_drive_api::AboutResource_GetMethod::set_max_change_id_count |
( |
int64 |
value | ) |
|
|
inline |
Sets the 'maxChangeIdCount
' attribute.
- Parameters
-
[in] | value | Maximum number of remaining change IDs to count. |
◆ set_start_change_id()
void google_drive_api::AboutResource_GetMethod::set_start_change_id |
( |
int64 |
value | ) |
|
|
inline |
Sets the 'startChangeId
' attribute.
- Parameters
-
[in] | value | Change ID to start counting from when calculating number of remaining change IDs. |
The documentation for this class was generated from the following files: