class Forms extends Service (View source)

Service definition for Forms (v1).

Reads and writes Google Forms and responses.

For more information about this service, see the API Documentation

Constants

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.

FORMS_BODY

See, edit, create, and delete all your Google Forms forms.

FORMS_BODY_READONLY

See all your Google Forms forms.

FORMS_RESPONSES_READONLY

See all responses to your Google Forms forms.

Properties

$forms
$forms_responses
$forms_watches
$rootUrlTemplate

Methods

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

Constructs the internal representation of the Forms service.

Details

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

Constructs the internal representation of the Forms 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.