appliedLabels = $appliedLabels; } /** * @return AppliedLabel[] */ public function getAppliedLabels() { return $this->appliedLabels; } /** * Identifier of the resource, such as a doc_id for a Drive document, a * conference_id for a Meet conference, or a "gaia_id/rfc2822_message_id" for * an email. * * @param string $id */ public function setId($id) { $this->id = $id; } /** * @return string */ public function getId() { return $this->id; } /** * Owner details of the resource. * * @param OwnerDetails $ownerDetails */ public function setOwnerDetails(OwnerDetails $ownerDetails) { $this->ownerDetails = $ownerDetails; } /** * @return OwnerDetails */ public function getOwnerDetails() { return $this->ownerDetails; } /** * Defines relationship of the resource to the events * * @param string $relation */ public function setRelation($relation) { $this->relation = $relation; } /** * @return string */ public function getRelation() { return $this->relation; } /** * Title of the resource. For instance, in case of a drive document, this * would be the title of the document. In case of an email, this would be the * subject. * * @param string $title */ public function setTitle($title) { $this->title = $title; } /** * @return string */ public function getTitle() { return $this->title; } /** * Type of the resource - document, email, chat message * * @param string $type */ public function setType($type) { $this->type = $type; } /** * @return string */ public function getType() { return $this->type; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ResourceDetails::class, 'Google_Service_Reports_ResourceDetails');