Reference documentation and code samples for the Google Developer Knowledge V1 Client class Document.
A Document represents a piece of content from the Developer Knowledge corpus.
Generated from protobuf message google.developers.knowledge.v1.Document
Namespace
Google \ Developers \ DeveloperKnowledge \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. Contains the resource name of the document. Format: documents/{uri_without_scheme}
Example: documents/docs.cloud.google.com/storage/docs/creating-buckets
↳ uri
string
Output only. Provides the URI of the content, such as docs.cloud.google.com/storage/docs/creating-buckets
.
↳ content
string
Output only. Contains the full content of the document in Markdown format.
↳ description
string
Output only. Provides a description of the document.
↳ data_source
string
Output only. Specifies the data source of the document. Example data source: firebase.google.com
↳ title
string
Output only. Provides the title of the document.
↳ update_time
Google\Protobuf\Timestamp
Output only. Represents the timestamp when the content or metadata of the document was last updated.
↳ view
getName
Identifier. Contains the resource name of the document.
Format: documents/{uri_without_scheme}
Example: documents/docs.cloud.google.com/storage/docs/creating-buckets
string
setName
Identifier. Contains the resource name of the document.
Format: documents/{uri_without_scheme}
Example: documents/docs.cloud.google.com/storage/docs/creating-buckets
var
string
$this
getUri
Output only. Provides the URI of the content, such as docs.cloud.google.com/storage/docs/creating-buckets
.
string
setUri
Output only. Provides the URI of the content, such as docs.cloud.google.com/storage/docs/creating-buckets
.
var
string
$this
getContent
Output only. Contains the full content of the document in Markdown format.
string
setContent
Output only. Contains the full content of the document in Markdown format.
var
string
$this
getDescription
Output only. Provides a description of the document.
string
setDescription
Output only. Provides a description of the document.
var
string
$this
getDataSource
Output only. Specifies the data source of the document.
Example data source: firebase.google.com
string
setDataSource
Output only. Specifies the data source of the document.
Example data source: firebase.google.com
var
string
$this
getTitle
Output only. Provides the title of the document.
string
setTitle
Output only. Provides the title of the document.
var
string
$this
getUpdateTime
Output only. Represents the timestamp when the content or metadata of the document was last updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Represents the timestamp when the content or metadata of the document was last updated.
$this
getView
Output only. Specifies the DocumentView of the document.
setView
Output only. Specifies the DocumentView of the document.
$this

