* $drivelabelsService = new Google\Service\DriveLabels(...); * $limits = $drivelabelsService->limits; * */ class Limits extends \Google\Service\Resource { /** * Get the constraints on the structure of a Label; such as, the maximum number * of Fields allowed and maximum length of the label title. (limits.getLabel) * * @param array $optParams Optional parameters. * * @opt_param string name Required. Label revision resource name Must be: * "limits/label" * @return GoogleAppsDriveLabelsV2LabelLimits * @throws \Google\Service\Exception */ public function getLabel($optParams = []) { $params = []; $params = array_merge($params, $optParams); return $this->call('getLabel', [$params], GoogleAppsDriveLabelsV2LabelLimits::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Limits::class, 'Google_Service_DriveLabels_Resource_Limits');