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.
16045 16046 16047 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16045 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
16033 16034 16035 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16033 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
16038 16039 16040 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16038 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
16043 16044 16045 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16043 def search_source @search_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16050 16051 16052 16053 16054 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16050 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 |