Class GetDocumentRequest
Request message for [DeveloperKnowledge.GetDocument][google.developers.knowledge.v1.DeveloperKnowledge.GetDocument].
Implements
Namespace: Google.Developers.DeveloperKnowledge.V1
Assembly: Google.Developers.DeveloperKnowledge.V1.dll
Syntax
public sealed class GetDocumentRequest : IMessage<GetDocumentRequest>, IEquatable<GetDocumentRequest>, IDeepCloneable<GetDocumentRequest>, IBufferMessage, IMessage
Constructors
GetDocumentRequest()
Declaration
public GetDocumentRequest()
GetDocumentRequest(GetDocumentRequest)
Declaration
public GetDocumentRequest(GetDocumentRequest other)
Parameters
| Type | Name | Description |
|---|---|---|
| GetDocumentRequest | other |
Properties
DocumentName
DocumentName-typed view over the Name resource name property.
Declaration
public DocumentName DocumentName { get; set; }
Property Value
| Type | Description |
|---|---|
| DocumentName |
Name
Required. Specifies the name of the document to retrieve.
Format: documents/{uri_without_scheme}
Example: documents/docs.cloud.google.com/storage/docs/creating-buckets
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
View
Optional. Specifies the
[DocumentView][google.developers.knowledge.v1.DocumentView] of the
document. If unspecified,
[DeveloperKnowledge.GetDocument][google.developers.knowledge.v1.DeveloperKnowledge.GetDocument]
defaults to DOCUMENT_VIEW_CONTENT.
Declaration
public DocumentView View { get; set; }
Property Value
| Type | Description |
|---|---|
| DocumentView |