Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class GoogleSearchSource.
Google Search config parameters.
Generated from protobuf message google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ GenerateGroundedContentRequest \ GroundingSourceMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ dynamic_retrieval_config |
Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentRequest\DynamicRetrievalConfiguration
Optional. Specifies the dynamic retrieval configuration for the given source. |
↳ exclude_domains |
string[]
Optional. List of domains to be excluded from the search results. |
↳ blocking_confidence |
int
Optional. Sites with confidence level chosen & above this value will be blocked from the search results. |
getDynamicRetrievalConfig
Optional. Specifies the dynamic retrieval configuration for the given source.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentRequest\DynamicRetrievalConfiguration|null |
|
hasDynamicRetrievalConfig
clearDynamicRetrievalConfig
setDynamicRetrievalConfig
Optional. Specifies the dynamic retrieval configuration for the given source.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentRequest\DynamicRetrievalConfiguration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExcludeDomains
Optional. List of domains to be excluded from the search results.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setExcludeDomains
Optional. List of domains to be excluded from the search results.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBlockingConfidence
Optional. Sites with confidence level chosen & above this value will be blocked from the search results.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type PhishBlockThreshold. |
setBlockingConfidence
Optional. Sites with confidence level chosen & above this value will be blocked from the search results.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type PhishBlockThreshold. |
| Returns | |
|---|---|
| Type | Description |
$this |
|