Documentation

Google_Service_Sheets extends Google_Service
in package

Service definition for Sheets (v4).

Reads and writes Google Sheets.

For more information about this service, see the API Documentation

Tags
author

Google, Inc.

Table of Contents

DRIVE  = "https://www.googleapis.com/auth/drive"
See, edit, create, and delete all of your Google Drive files.
DRIVE_FILE  = "https://www.googleapis.com/auth/drive.file"
View and manage Google Drive files and folders that you have opened or created with this app.
DRIVE_READONLY  = "https://www.googleapis.com/auth/drive.readonly"
See and download all your Google Drive files.
SPREADSHEETS  = "https://www.googleapis.com/auth/spreadsheets"
See, edit, create, and delete your spreadsheets in Google Drive.
SPREADSHEETS_READONLY  = "https://www.googleapis.com/auth/spreadsheets.readonly"
View your Google Spreadsheets.
$availableScopes  : mixed
$batchPath  : mixed
$resource  : mixed
$rootUrl  : mixed
$servicePath  : mixed
$spreadsheets  : mixed
$spreadsheets_developerMetadata  : mixed
$spreadsheets_sheets  : mixed
$spreadsheets_values  : mixed
$version  : mixed
$client  : mixed
__construct()  : mixed
Constructs the internal representation of the Sheets service.
createBatch()  : Google_Http_Batch
Create a new HTTP Batch handler for this service
getClient()  : Google_Client
Return the associated Google_Client class.

Constants

DRIVE

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

public mixed DRIVE = "https://www.googleapis.com/auth/drive"

DRIVE_FILE

View and manage Google Drive files and folders that you have opened or created with this app.

public mixed DRIVE_FILE = "https://www.googleapis.com/auth/drive.file"

DRIVE_READONLY

See and download all your Google Drive files.

public mixed DRIVE_READONLY = "https://www.googleapis.com/auth/drive.readonly"

SPREADSHEETS

See, edit, create, and delete your spreadsheets in Google Drive.

public mixed SPREADSHEETS = "https://www.googleapis.com/auth/spreadsheets"

SPREADSHEETS_READONLY

View your Google Spreadsheets.

public mixed SPREADSHEETS_READONLY = "https://www.googleapis.com/auth/spreadsheets.readonly"

Properties

$availableScopes

public mixed $availableScopes

$servicePath

public mixed $servicePath

$spreadsheets

public mixed $spreadsheets

$spreadsheets_developerMetadata

public mixed $spreadsheets_developerMetadata

$spreadsheets_sheets

public mixed $spreadsheets_sheets

$spreadsheets_values

public mixed $spreadsheets_values

Methods

__construct()

Constructs the internal representation of the Sheets service.

public __construct(Google_Client $client[, string $rootUrl = null ]) : mixed
Parameters
$client : Google_Client

The client used to deliver requests.

$rootUrl : string = null

The root URL used for requests to the service.

Return values
mixed

Search results