fieldLimits = $fieldLimits; } /** * @return GoogleAppsDriveLabelsV2FieldLimits */ public function getFieldLimits() { return $this->fieldLimits; } /** * The maximum number of published fields that can be deleted. * * @param int $maxDeletedFields */ public function setMaxDeletedFields($maxDeletedFields) { $this->maxDeletedFields = $maxDeletedFields; } /** * @return int */ public function getMaxDeletedFields() { return $this->maxDeletedFields; } /** * The maximum number of characters allowed for the description. * * @param int $maxDescriptionLength */ public function setMaxDescriptionLength($maxDescriptionLength) { $this->maxDescriptionLength = $maxDescriptionLength; } /** * @return int */ public function getMaxDescriptionLength() { return $this->maxDescriptionLength; } /** * The maximum number of draft revisions that will be kept before deleting old * drafts. * * @param int $maxDraftRevisions */ public function setMaxDraftRevisions($maxDraftRevisions) { $this->maxDraftRevisions = $maxDraftRevisions; } /** * @return int */ public function getMaxDraftRevisions() { return $this->maxDraftRevisions; } /** * The maximum number of fields allowed within the label. * * @param int $maxFields */ public function setMaxFields($maxFields) { $this->maxFields = $maxFields; } /** * @return int */ public function getMaxFields() { return $this->maxFields; } /** * The maximum number of characters allowed for the title. * * @param int $maxTitleLength */ public function setMaxTitleLength($maxTitleLength) { $this->maxTitleLength = $maxTitleLength; } /** * @return int */ public function getMaxTitleLength() { return $this->maxTitleLength; } /** * Resource name. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleAppsDriveLabelsV2LabelLimits::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2LabelLimits');