Reference documentation and code samples for the Google Developer Knowledge V1 Client class GetDocumentRequest.
Request message for DeveloperKnowledge.GetDocument .
Generated from protobuf message google.developers.knowledge.v1.GetDocumentRequest
Namespace
Google \ Developers \ DeveloperKnowledge \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. Specifies the name of the document to retrieve. Format: documents/{uri_without_scheme}
Example: documents/docs.cloud.google.com/storage/docs/creating-buckets
↳ view
int
Optional. Specifies the DocumentView
of the document. If unspecified, DeveloperKnowledge.GetDocument
defaults to DOCUMENT_VIEW_CONTENT
.
getName
Required. Specifies the name of the document to retrieve.
Format: documents/{uri_without_scheme}
Example: documents/docs.cloud.google.com/storage/docs/creating-buckets
string
setName
Required. Specifies the name of the document to retrieve.
Format: documents/{uri_without_scheme}
Example: documents/docs.cloud.google.com/storage/docs/creating-buckets
var
string
$this
getView
Optional. Specifies the DocumentView
of the
document. If unspecified, DeveloperKnowledge.GetDocument
defaults to DOCUMENT_VIEW_CONTENT
.
setView
Optional. Specifies the DocumentView
of the
document. If unspecified, DeveloperKnowledge.GetDocument
defaults to DOCUMENT_VIEW_CONTENT
.
$this
static::build
name
string
Required. Specifies the name of the document to retrieve.
Format: documents/{uri_without_scheme}
Example: documents/docs.cloud.google.com/storage/docs/creating-buckets
Please see DeveloperKnowledgeClient::documentName()
for help formatting this field.

