Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSource
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSource
- 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 source.
Instance Attribute Summary collapse
-
#google_search_source ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceGoogleSearchSource
Google Search config parameters.
-
#inline_source ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceInlineSource
Message to be used for grounding based on inline content.
-
#search_source ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceSearchSource
Message to be used for grounding with Vertex AI Search.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSource
constructor
A new instance of GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSource
Returns a new instance of GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSource.
5430 5431 5432 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5430 def initialize(**args) update!(**args) end |
Instance Attribute Details
#google_search_source ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceGoogleSearchSource
Google Search config parameters.
Corresponds to the JSON property googleSearchSource
5418 5419 5420 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5418 def google_search_source @google_search_source end |
#inline_source ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceInlineSource
Message to be used for grounding based on inline content.
Corresponds to the JSON property inlineSource
5423 5424 5425 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5423 def inline_source @inline_source end |
#search_source ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceSearchSource
Message to be used for grounding with Vertex AI Search.
Corresponds to the JSON property searchSource
5428 5429 5430 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5428 def search_source @search_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5435 5436 5437 5438 5439 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5435 def update!(**args) @google_search_source = args[:google_search_source] if args.key?(:google_search_source) @inline_source = args[:inline_source] if args.key?(:inline_source) @search_source = args[:search_source] if args.key?(:search_source) end |