class Google::Apis::ServicenetworkingV1::Page
Represents a documentation page. A page can contain subpages to represent nested documentation set structure.
Attributes
The Markdown content of the page. You can use (== include `path` ==) to include content from a Markdown file. The content can be used to produce the documentation page such as HTML format page. Corresponds to the JSON property `content` @return [String]
The name of the page. It will be used as an identity of the page to generate URI of the page, text of the link to this page in navigation, etc. The full page name (start from the root page name to this page concatenated with `.`) can be used as reference to the page in your documentation. For example: pages:
-
name: Tutorial content: (== include tutorial.md ==) subpages: - name: Java
content: (== include tutorial_java.md ==) You can reference `Java` page using Markdown reference link syntax: `Java`. Corresponds to the JSON property `name` @return [String]
Subpages of this page. The order of subpages specified here will be honored in the generated docset. Corresponds to the JSON property `subpages` @return [Array<Google::Apis::ServicenetworkingV1::Page>]
Public Class Methods
# File lib/google/apis/servicenetworking_v1/classes.rb, line 2877 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/servicenetworking_v1/classes.rb, line 2882 def update!(**args) @content = args[:content] if args.key?(:content) @name = args[:name] if args.key?(:name) @subpages = args[:subpages] if args.key?(:subpages) end