Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSpec

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

Grounding specification.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSpec

Returns a new instance of GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSpec.



10641
10642
10643
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10641

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

Instance Attribute Details

#grounding_sourcesArray<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSource>

Grounding sources. Corresponds to the JSON property groundingSources



10639
10640
10641
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10639

def grounding_sources
  @grounding_sources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10646
10647
10648
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10646

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