Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSpec

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

Grounding specification.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSpec

Returns a new instance of GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSpec.



16154
16155
16156
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16154

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

Instance Attribute Details

#grounding_sourcesArray<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSource>

Grounding sources. Corresponds to the JSON property groundingSources



16152
16153
16154
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16152

def grounding_sources
  @grounding_sources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16159
16160
16161
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16159

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