Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelDocumentation
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelDocumentation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
A named piece of documentation.
Instance Attribute Summary collapse
-
#content ⇒ String
Required.
-
#title ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1PublisherModelDocumentation
constructor
A new instance of GoogleCloudAiplatformV1PublisherModelDocumentation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1PublisherModelDocumentation
Returns a new instance of GoogleCloudAiplatformV1PublisherModelDocumentation.
20140 20141 20142 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20140 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ String
Required. Content of this piece of document (in Markdown format).
Corresponds to the JSON property content
20132 20133 20134 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20132 def content @content end |
#title ⇒ String
Required. E.g., OVERVIEW, USE CASES, DOCUMENTATION, SDK & SAMPLES, JAVA, NODE.
JS, etc..
Corresponds to the JSON property title
20138 20139 20140 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20138 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20145 20146 20147 20148 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20145 def update!(**args) @content = args[:content] if args.key?(:content) @title = args[:title] if args.key?(:title) end |