#include <drive_service.h>
◆ ChangesResource_GetMethod()
google_drive_api::ChangesResource_GetMethod::ChangesResource_GetMethod |
( |
const DriveService * |
_service_, |
|
|
client::AuthorizationCredential * |
_credential_, |
|
|
const absl::string_view & |
change_id |
|
) |
| |
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. |
[in] | change_id | The ID of the change. |
◆ ~ChangesResource_GetMethod()
google_drive_api::ChangesResource_GetMethod::~ChangesResource_GetMethod |
( |
| ) |
|
|
virtual |
◆ AppendOptionalQueryParameters()
util::Status google_drive_api::ChangesResource_GetMethod::AppendOptionalQueryParameters |
( |
string * |
target | ) |
|
|
virtual |
◆ AppendVariable()
util::Status google_drive_api::ChangesResource_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_drive_id()
void google_drive_api::ChangesResource_GetMethod::clear_drive_id |
( |
| ) |
|
|
inline |
Clears the 'driveId
' attribute so it is no longer set.
◆ clear_supports_all_drives()
void google_drive_api::ChangesResource_GetMethod::clear_supports_all_drives |
( |
| ) |
|
|
inline |
Clears the 'supportsAllDrives
' attribute so it is no longer set.
◆ clear_supports_team_drives()
void google_drive_api::ChangesResource_GetMethod::clear_supports_team_drives |
( |
| ) |
|
|
inline |
Clears the 'supportsTeamDrives
' attribute so it is no longer set.
◆ clear_team_drive_id()
void google_drive_api::ChangesResource_GetMethod::clear_team_drive_id |
( |
| ) |
|
|
inline |
Clears the 'teamDriveId
' attribute so it is no longer set.
◆ ExecuteAndParseResponse()
util::Status google_drive_api::ChangesResource_GetMethod::ExecuteAndParseResponse |
( |
Change * |
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_drive_id()
const string& google_drive_api::ChangesResource_GetMethod::get_drive_id |
( |
| ) |
const |
|
inline |
Gets the optional 'driveId
' attribute.
If the value is not set then the default value will be returned.
◆ get_supports_all_drives()
bool google_drive_api::ChangesResource_GetMethod::get_supports_all_drives |
( |
| ) |
const |
|
inline |
Gets the optional 'supportsAllDrives
' attribute.
If the value is not set then the default value will be returned.
◆ get_supports_team_drives()
bool google_drive_api::ChangesResource_GetMethod::get_supports_team_drives |
( |
| ) |
const |
|
inline |
Gets the optional 'supportsTeamDrives
' attribute.
If the value is not set then the default value will be returned.
◆ get_team_drive_id()
const string& google_drive_api::ChangesResource_GetMethod::get_team_drive_id |
( |
| ) |
const |
|
inline |
Gets the optional 'teamDriveId
' attribute.
If the value is not set then the default value will be returned.
◆ mutable_driveId()
string* google_drive_api::ChangesResource_GetMethod::mutable_driveId |
( |
| ) |
|
|
inline |
Gets a modifiable pointer to the optional driveId
' attribute.
- Returns
- The value can be set by dereferencing the pointer.
◆ mutable_teamDriveId()
string* google_drive_api::ChangesResource_GetMethod::mutable_teamDriveId |
( |
| ) |
|
|
inline |
Gets a modifiable pointer to the optional teamDriveId
' attribute.
- Returns
- The value can be set by dereferencing the pointer.
◆ set_drive_id()
void google_drive_api::ChangesResource_GetMethod::set_drive_id |
( |
const string & |
value | ) |
|
|
inline |
Sets the 'driveId
' attribute.
- Parameters
-
[in] | value | The shared drive from which the change will be returned. |
◆ set_supports_all_drives()
void google_drive_api::ChangesResource_GetMethod::set_supports_all_drives |
( |
bool |
value | ) |
|
|
inline |
Sets the 'supportsAllDrives
' attribute.
- Deprecated:
- Parameters
-
[in] | value | Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives. |
◆ set_supports_team_drives()
void google_drive_api::ChangesResource_GetMethod::set_supports_team_drives |
( |
bool |
value | ) |
|
|
inline |
Sets the 'supportsTeamDrives
' attribute.
- Deprecated:
- Parameters
-
[in] | value | Deprecated use supportsAllDrives instead. |
◆ set_team_drive_id()
void google_drive_api::ChangesResource_GetMethod::set_team_drive_id |
( |
const string & |
value | ) |
|
|
inline |
Sets the 'teamDriveId
' attribute.
- Deprecated:
- Parameters
-
[in] | value | Deprecated use driveId instead. |
The documentation for this class was generated from the following files: