Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGroundedGenerationContentPart
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGroundedGenerationContentPart
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Single part of content.
Instance Attribute Summary collapse
-
#text ⇒ String
Inline text.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaGroundedGenerationContentPart
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaGroundedGenerationContentPart.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaGroundedGenerationContentPart
Returns a new instance of GoogleCloudDiscoveryengineV1alphaGroundedGenerationContentPart.
10973 10974 10975 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10973 def initialize(**args) update!(**args) end |
Instance Attribute Details
#text ⇒ String
Inline text.
Corresponds to the JSON property text
10971 10972 10973 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10971 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10978 10979 10980 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10978 def update!(**args) @text = args[:text] if args.key?(:text) end |