Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelDocumentation

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1PublisherModelDocumentation

Returns a new instance of GoogleCloudAiplatformV1PublisherModelDocumentation.



17435
17436
17437
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17435

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)


17427
17428
17429
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17427

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)


17433
17434
17435
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17433

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17440
17441
17442
17443
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17440

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