Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Generator

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

Returns a new instance of GoogleCloudDialogflowCxV3Generator.



3747
3748
3749
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3747

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

Instance Attribute Details

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


3720
3721
3722
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3720

def display_name
  @display_name
end

#llm_model_settingsGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3LlmModelSettings

Corresponds to the JSON property llmModelSettings



3725
3726
3727
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3725

def llm_model_settings
  @llm_model_settings
end

#model_parameterGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GeneratorModelParameter

Corresponds to the JSON property modelParameter



3730
3731
3732
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3730

def model_parameter
  @model_parameter
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


3735
3736
3737
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3735

def name
  @name
end

#placeholdersArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GeneratorPlaceholder>

Corresponds to the JSON property placeholders



3740
3741
3742
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3740

def placeholders
  @placeholders
end

#prompt_textGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Phrase

Corresponds to the JSON property promptText



3745
3746
3747
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3745

def prompt_text
  @prompt_text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3752
3753
3754
3755
3756
3757
3758
3759
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3752

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @llm_model_settings = args[:llm_model_settings] if args.key?(:llm_model_settings)
  @model_parameter = args[:model_parameter] if args.key?(:model_parameter)
  @name = args[:name] if args.key?(:name)
  @placeholders = args[:placeholders] if args.key?(:placeholders)
  @prompt_text = args[:prompt_text] if args.key?(:prompt_text)
end