Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings

Returns a new instance of GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings.



7180
7181
7182
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7180

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#enable_prompt_securityBoolean Also known as: enable_prompt_security?

Corresponds to the JSON property enablePromptSecurity

Returns:

  • (Boolean)


7177
7178
7179
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7177

def enable_prompt_security
  @enable_prompt_security
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7185
7186
7187
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7185

def update!(**args)
  @enable_prompt_security = args[:enable_prompt_security] if args.key?(:enable_prompt_security)
end