Reference documentation and code samples for the Developer Knowledge V1 API class Google::Developers::DeveloperKnowledge::V1::GetDocumentRequest.
Request message for DeveloperKnowledge.GetDocument.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
-
(::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
#name=
def name=(value) -> ::String
Parameter
-
value (::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
Returns
-
(::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
def view() -> ::Google::Developers::DeveloperKnowledge::V1::DocumentView
Returns
-
(::Google::Developers::DeveloperKnowledge::V1::DocumentView) — Optional. Specifies the
DocumentView of the
document. If unspecified,
DeveloperKnowledge.GetDocument
defaults to
DOCUMENT_VIEW_CONTENT.
#view=
def view=(value) -> ::Google::Developers::DeveloperKnowledge::V1::DocumentView
Parameter
-
value (::Google::Developers::DeveloperKnowledge::V1::DocumentView) — Optional. Specifies the
DocumentView of the
document. If unspecified,
DeveloperKnowledge.GetDocument
defaults to
DOCUMENT_VIEW_CONTENT.
Returns
-
(::Google::Developers::DeveloperKnowledge::V1::DocumentView) — Optional. Specifies the
DocumentView of the
document. If unspecified,
DeveloperKnowledge.GetDocument
defaults to
DOCUMENT_VIEW_CONTENT.