class DriveLabels extends Service (View source)

Service definition for DriveLabels (v2).

An API for managing Drive Labels

For more information about this service, see the API Documentation

Constants

DRIVE_ADMIN_LABELS

See, edit, create, and delete all Google Drive labels in your organization, and see your organization's label-related admin policies.

DRIVE_ADMIN_LABELS_READONLY

See all Google Drive labels and label-related admin policies in your organization.

DRIVE_LABELS

See, edit, create, and delete your Google Drive labels.

DRIVE_LABELS_READONLY

See your Google Drive labels.

Properties

$labels
$labels_locks
$labels_permissions
$labels_revisions
$labels_revisions_locks
$labels_revisions_permissions
$limits
$users
$rootUrlTemplate

Methods

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

Constructs the internal representation of the DriveLabels service.

Details

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

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