Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb
Overview
Grounding specification.
Instance Attribute Summary collapse
-
#grounding_sources ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSource>
Grounding sources.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSpec
Returns a new instance of GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSpec.
5539 5540 5541 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5539 def initialize(**args) update!(**args) end |
Instance Attribute Details
#grounding_sources ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSource>
Grounding sources.
Corresponds to the JSON property groundingSources
5537 5538 5539 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5537 def grounding_sources @grounding_sources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5544 5545 5546 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5544 def update!(**args) @grounding_sources = args[:grounding_sources] if args.key?(:grounding_sources) end |