Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings

Returns a new instance of GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings.



11635
11636
11637
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11635

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)


11632
11633
11634
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11632

def enable_prompt_security
  @enable_prompt_security
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11640
11641
11642
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11640

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