Discovery Engine v1 API - Class GenerateGroundedContentRequest.Types.GroundingSource.Types.SearchSource (1.5.0)

public sealed class GenerateGroundedContentRequest.Types.GroundingSource.Types.SearchSource : IMessage<GenerateGroundedContentRequest.Types.GroundingSource.Types.SearchSource>, IEquatable<GenerateGroundedContentRequest.Types.GroundingSource.Types.SearchSource>, IDeepCloneable<GenerateGroundedContentRequest.Types.GroundingSource.Types.SearchSource>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1 API class GenerateGroundedContentRequest.Types.GroundingSource.Types.SearchSource.

Message to be used for grounding with Vertex AI Search.

Inheritance

object > GenerateGroundedContentRequest.Types.GroundingSource.Types.SearchSource

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

SearchSource()

public SearchSource()

SearchSource(SearchSource)

public SearchSource(GenerateGroundedContentRequest.Types.GroundingSource.Types.SearchSource other)
Parameter
Name Description
other GenerateGroundedContentRequestTypesGroundingSourceTypesSearchSource

Properties

Filter

public string Filter { get; set; }

Filter expression to be applied to the search.

The syntax is the same as [SearchRequest.filter][google.cloud.discoveryengine.v1.SearchRequest.filter].

Property Value
Type Description
string

MaxResultCount

public int MaxResultCount { get; set; }

Number of search results to return.

The default value is 10. The maximumm allowed value is 10.

Property Value
Type Description
int

SafeSearch

public bool SafeSearch { get; set; }

If set, safe search is enabled in Vertex AI Search requests.

Property Value
Type Description
bool

ServingConfig

public string ServingConfig { get; set; }

The resource name of the Engine to use.

Format: projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}

Property Value
Type Description
string

ServingConfigAsServingConfigName

public ServingConfigName ServingConfigAsServingConfigName { get; set; }

ServingConfigName-typed view over the ServingConfig resource name property.

Property Value
Type Description
ServingConfigName