Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSource
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSource
- 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 source.
Instance Attribute Summary collapse
-
#google_search_source ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceGoogleSearchSource
Google Search config parameters.
-
#inline_source ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceInlineSource
Message to be used for grounding based on inline content.
-
#search_source ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceSearchSource
Message to be used for grounding with Vertex AI Search.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSource
constructor
A new instance of GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSource
Returns a new instance of GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSource.
15676 15677 15678 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15676 def initialize(**args) update!(**args) end |
Instance Attribute Details
#google_search_source ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceGoogleSearchSource
Google Search config parameters.
Corresponds to the JSON property googleSearchSource
15664 15665 15666 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15664 def google_search_source @google_search_source end |
#inline_source ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceInlineSource
Message to be used for grounding based on inline content.
Corresponds to the JSON property inlineSource
15669 15670 15671 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15669 def inline_source @inline_source end |
#search_source ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSourceSearchSource
Message to be used for grounding with Vertex AI Search.
Corresponds to the JSON property searchSource
15674 15675 15676 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15674 def search_source @search_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15681 15682 15683 15684 15685 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15681 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 |