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.
5517 5518 5519 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5517 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
5505 5506 5507 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5505 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
5510 5511 5512 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5510 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
5515 5516 5517 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5515 def search_source @search_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5522 5523 5524 5525 5526 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5522 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 |