class Docs extends Service (View source)

Service definition for Docs (v1).

Reads and writes Google Docs documents.

For more information about this service, see the API Documentation

Constants

DOCUMENTS

See, edit, create, and delete all your Google Docs documents.

DOCUMENTS_READONLY

See all your Google Docs documents.

DRIVE

See, edit, create, and delete all of your Google Drive files.

DRIVE_FILE

See, edit, create, and delete only the specific Google Drive files you use with this app.

DRIVE_READONLY

See and download all your Google Drive files.

Properties

$documents
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the Docs service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the Docs service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.