description = $description; } /** * @return string */ public function getDescription() { return $this->description; } /** * The human-readable name for this log. This information appears on the user * interface and should be concise. * * @param string $displayName */ public function setDisplayName($displayName) { $this->displayName = $displayName; } /** * @return string */ public function getDisplayName() { return $this->displayName; } /** * The set of labels that are available to describe a specific log entry. * Runtime requests that contain labels not specified here are considered * invalid. * * @param LabelDescriptor[] $labels */ public function setLabels($labels) { $this->labels = $labels; } /** * @return LabelDescriptor[] */ public function getLabels() { return $this->labels; } /** * The name of the log. It must be less than 512 characters long and can * include the following characters: upper- and lower-case alphanumeric * characters [A-Za-z0-9], and punctuation characters including slash, * underscore, hyphen, period [/_-.]. * * @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(LogDescriptor::class, 'Google_Service_ServiceUsage_LogDescriptor');