Google Cloud Discovery Engine V1 Client - Class NotebooklmConfig (1.17.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class NotebooklmConfig.

Configuration for NotebookLM.

Generated from protobuf message google.cloud.discoveryengine.v1.Project.CustomerProvidedConfig.NotebooklmConfig

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ Project \ CustomerProvidedConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ model_armor_config NotebooklmConfig\ModelArmorConfig

Model Armor configuration to be used for sanitizing user prompts and LLM responses.

↳ opt_out_notebook_sharing bool

Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified.

↳ data_protection_policy NotebooklmConfig\DataProtectionPolicy

Optional. Specifies the data protection policy for NotebookLM.

↳ observability_config Google\Cloud\DiscoveryEngine\V1\ObservabilityConfig

Optional. Observability config for NotebookLM.

getModelArmorConfig

Model Armor configuration to be used for sanitizing user prompts and LLM responses.

Returns
Type Description
NotebooklmConfig\ModelArmorConfig|null

hasModelArmorConfig

clearModelArmorConfig

setModelArmorConfig

Model Armor configuration to be used for sanitizing user prompts and LLM responses.

Parameter
Name Description
var NotebooklmConfig\ModelArmorConfig
Returns
Type Description
$this

getOptOutNotebookSharing

Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified.

Returns
Type Description
bool

setOptOutNotebookSharing

Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified.

Parameter
Name Description
var bool
Returns
Type Description
$this

getDataProtectionPolicy

Optional. Specifies the data protection policy for NotebookLM.

Returns
Type Description
NotebooklmConfig\DataProtectionPolicy|null

hasDataProtectionPolicy

clearDataProtectionPolicy

setDataProtectionPolicy

Optional. Specifies the data protection policy for NotebookLM.

Parameter
Name Description
var NotebooklmConfig\DataProtectionPolicy
Returns
Type Description
$this

getObservabilityConfig

Optional. Observability config for NotebookLM.

Returns
Type Description
Google\Cloud\DiscoveryEngine\V1\ObservabilityConfig|null

hasObservabilityConfig

clearObservabilityConfig

setObservabilityConfig

Optional. Observability config for NotebookLM.

Parameter
Name Description
var Google\Cloud\DiscoveryEngine\V1\ObservabilityConfig
Returns
Type Description
$this