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.



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

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

Instance Attribute Details

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


3714
3715
3716
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3714

def display_name
  @display_name
end

#llm_model_settingsGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3LlmModelSettings

Corresponds to the JSON property llmModelSettings



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

def llm_model_settings
  @llm_model_settings
end

#model_parameterGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GeneratorModelParameter

Corresponds to the JSON property modelParameter



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

def model_parameter
  @model_parameter
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


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

def name
  @name
end

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

Corresponds to the JSON property placeholders



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

def placeholders
  @placeholders
end

#prompt_textGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Phrase

Corresponds to the JSON property promptText



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

def prompt_text
  @prompt_text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3746
3747
3748
3749
3750
3751
3752
3753
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3746

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