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.



7174
7175
7176
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7174

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)


7171
7172
7173
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7171

def enable_prompt_security
  @enable_prompt_security
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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