Class: Google::Apis::CesV1::GuardrailLlmPromptSecurityDefaultSecuritySettings
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::GuardrailLlmPromptSecurityDefaultSecuritySettings
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb
Overview
Configuration for default system security settings.
Instance Attribute Summary collapse
-
#default_prompt_template ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GuardrailLlmPromptSecurityDefaultSecuritySettings
constructor
A new instance of GuardrailLlmPromptSecurityDefaultSecuritySettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GuardrailLlmPromptSecurityDefaultSecuritySettings
Returns a new instance of GuardrailLlmPromptSecurityDefaultSecuritySettings.
3751 3752 3753 |
# File 'lib/google/apis/ces_v1/classes.rb', line 3751 def initialize(**args) update!(**args) end |
Instance Attribute Details
#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.
Corresponds to the JSON property defaultPromptTemplate
3749 3750 3751 |
# File 'lib/google/apis/ces_v1/classes.rb', line 3749 def default_prompt_template @default_prompt_template end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3756 3757 3758 |
# File 'lib/google/apis/ces_v1/classes.rb', line 3756 def update!(**args) @default_prompt_template = args[:default_prompt_template] if args.key?(:default_prompt_template) end |