Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGroundedGenerationContentPart
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGroundedGenerationContentPart
- 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
Single part of content.
Instance Attribute Summary collapse
-
#text ⇒ String
Inline text.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaGroundedGenerationContentPart
constructor
A new instance of GoogleCloudDiscoveryengineV1betaGroundedGenerationContentPart.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaGroundedGenerationContentPart
Returns a new instance of GoogleCloudDiscoveryengineV1betaGroundedGenerationContentPart.
16436 16437 16438 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16436 def initialize(**args) update!(**args) end |
Instance Attribute Details
#text ⇒ String
Inline text.
Corresponds to the JSON property text
16434 16435 16436 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16434 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16441 16442 16443 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16441 def update!(**args) @text = args[:text] if args.key?(:text) end |