* $drivelabelsService = new Google\Service\DriveLabels(...); * $locks = $drivelabelsService->labels_locks; * */ class LabelsLocks extends \Google\Service\Resource { /** * Lists the LabelLocks on a Label. (locks.listLabelsLocks) * * @param string $parent Required. Label on which Locks are applied. Format: * labels/{label} * @param array $optParams Optional parameters. * * @opt_param int pageSize Maximum number of Locks to return per page. Default: * 100. Max: 200. * @opt_param string pageToken The token of the page to return. * @return GoogleAppsDriveLabelsV2ListLabelLocksResponse * @throws \Google\Service\Exception */ public function listLabelsLocks($parent, $optParams = []) { $params = ['parent' => $parent]; $params = array_merge($params, $optParams); return $this->call('list', [$params], GoogleAppsDriveLabelsV2ListLabelLocksResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(LabelsLocks::class, 'Google_Service_DriveLabels_Resource_LabelsLocks');