Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate

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) ⇒ GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate

Returns a new instance of GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate.



3645
3646
3647
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3645

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

Instance Attribute Details

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


3632
3633
3634
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3632

def display_name
  @display_name
end

#frozenBoolean Also known as: frozen?

Corresponds to the JSON property frozen

Returns:

  • (Boolean)


3637
3638
3639
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3637

def frozen
  @frozen
end

#prompt_textString

Corresponds to the JSON property promptText

Returns:

  • (String)


3643
3644
3645
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3643

def prompt_text
  @prompt_text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3650
3651
3652
3653
3654
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3650

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