Google Cloud Ces V1 Client - Class DefaultSecuritySettings (0.1.0)

Reference documentation and code samples for the Google Cloud Ces V1 Client class DefaultSecuritySettings.

Configuration for default system security settings.

Generated from protobuf message google.cloud.ces.v1.Guardrail.LlmPromptSecurity.DefaultSecuritySettings

Namespace

Google \ Cloud \ Ces \ V1 \ Guardrail \ LlmPromptSecurity

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ default_prompt_template string

Output only. The default prompt template used by the system. This field is for display purposes to show the user what prompt the system uses by default. It is OUTPUT_ONLY.

getDefaultPromptTemplate

Output only. The default prompt template used by the system.

This field is for display purposes to show the user what prompt the system uses by default. It is OUTPUT_ONLY.

Returns
Type Description
string

setDefaultPromptTemplate

Output only. The default prompt template used by the system.

This field is for display purposes to show the user what prompt the system uses by default. It is OUTPUT_ONLY.

Parameter
Name Description
var string
Returns
Type Description
$this