Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelDocumentation

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

A named piece of documentation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PublisherModelDocumentation

Returns a new instance of GoogleCloudAiplatformV1beta1PublisherModelDocumentation.



35620
35621
35622
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35620

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#contentString

Required. Content of this piece of document (in Markdown format). Corresponds to the JSON property content

Returns:

  • (String)


35612
35613
35614
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35612

def content
  @content
end

#titleString

Required. E.g., OVERVIEW, USE CASES, DOCUMENTATION, SDK & SAMPLES, JAVA, NODE. JS, etc.. Corresponds to the JSON property title

Returns:

  • (String)


35618
35619
35620
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35618

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35625
35626
35627
35628
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35625

def update!(**args)
  @content = args[:content] if args.key?(:content)
  @title = args[:title] if args.key?(:title)
end