content = $content; } /** * @return string */ public function getContent() { return $this->content; } /** * Output only. Specifies the data source of the document. Example data * source: `firebase.google.com` * * @param string $dataSource */ public function setDataSource($dataSource) { $this->dataSource = $dataSource; } /** * @return string */ public function getDataSource() { return $this->dataSource; } /** * Output only. Provides a description of the document. * * @param string $description */ public function setDescription($description) { $this->description = $description; } /** * @return string */ public function getDescription() { return $this->description; } /** * Identifier. Contains the resource name of the document. Format: * `documents/{uri_without_scheme}` Example: * `documents/docs.cloud.google.com/storage/docs/creating-buckets` * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Output only. Provides the title of the document. * * @param string $title */ public function setTitle($title) { $this->title = $title; } /** * @return string */ public function getTitle() { return $this->title; } /** * Output only. Represents the timestamp when the content or metadata of the * document was last updated. * * @param string $updateTime */ public function setUpdateTime($updateTime) { $this->updateTime = $updateTime; } /** * @return string */ public function getUpdateTime() { return $this->updateTime; } /** * Output only. Provides the URI of the content, such as * `docs.cloud.google.com/storage/docs/creating-buckets`. * * @param string $uri */ public function setUri($uri) { $this->uri = $uri; } /** * @return string */ public function getUri() { return $this->uri; } /** * Output only. Specifies the DocumentView of the document. * * Accepted values: DOCUMENT_VIEW_UNSPECIFIED, DOCUMENT_VIEW_BASIC, * DOCUMENT_VIEW_FULL, DOCUMENT_VIEW_CONTENT * * @param self::VIEW_* $view */ public function setView($view) { $this->view = $view; } /** * @return self::VIEW_* */ public function getView() { return $this->view; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Document::class, 'Google_Service_DeveloperKnowledge_Document');