The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

DESCRIPTION

This is a baseclass that the V2 and V3 implementations of the module use. You shouldn't use this class directly.

METHODS

These are methods that are shared among Net::Google::Drive::Simple::V2 and Net::Google::Drive::Simple::V3.

You wouldn't normally use these methods.

new

Parent method to create one Net::Google::Drive::Simple object.

error

Set and retrieve the current error.

init

Internal initialization to setup the connection.

api_test

Used at init time to check that the connection is correct.

data_factory

Set up an object of Net::Google::Drive::Simple::Item.

http_json

Make an HTTP request with a body.

http_loop

Perform a request.

file_metadata

    my $metadata_hash_ref = $gd->file_metadata($fileId);

Return metadata about the file with the specified ID from Google Drive.

file_url

Retrieve a file URL.

file_mime_type

Retrieve the mime type of a file.

item_iterator

Create an iterator over items.

path_resolve

Resolve paths to the folder ID.