Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunkStructuredContent

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

Overview

The structured content information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaChunkStructuredContent

Returns a new instance of GoogleCloudDiscoveryengineV1betaChunkStructuredContent.



21729
21730
21731
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21729

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

Instance Attribute Details

#contentString

Output only. The content of the structured content. Corresponds to the JSON property content

Returns:

  • (String)


21722
21723
21724
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21722

def content
  @content
end

#structure_typeString

Output only. The structure type of the structured content. Corresponds to the JSON property structureType

Returns:

  • (String)


21727
21728
21729
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21727

def structure_type
  @structure_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21734
21735
21736
21737
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21734

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