Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Generator

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Generator

Returns a new instance of GoogleCloudDialogflowV2beta1Generator.



14124
14125
14126
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14124

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

Instance Attribute Details

#agent_coaching_contextGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingContext

Corresponds to the JSON property agentCoachingContext



14052
14053
14054
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14052

def agent_coaching_context
  @agent_coaching_context
end

#ces_app_specsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CesAppSpec>

Corresponds to the JSON property cesAppSpecs



14057
14058
14059
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14057

def ces_app_specs
  @ces_app_specs
end

#ces_tool_specsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CesToolSpec>

Corresponds to the JSON property cesToolSpecs



14062
14063
14064
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14062

def ces_tool_specs
  @ces_tool_specs
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


14067
14068
14069
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14067

def create_time
  @create_time
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


14072
14073
14074
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14072

def description
  @description
end

#free_form_contextGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FreeFormContext

Corresponds to the JSON property freeFormContext



14077
14078
14079
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14077

def free_form_context
  @free_form_context
end

#inference_parameterGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InferenceParameter

Corresponds to the JSON property inferenceParameter



14082
14083
14084
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14082

def inference_parameter
  @inference_parameter
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


14087
14088
14089
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14087

def name
  @name
end

#published_modelString

Corresponds to the JSON property publishedModel

Returns:

  • (String)


14092
14093
14094
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14092

def published_model
  @published_model
end

#suggestion_deduping_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionDedupingConfig

Corresponds to the JSON property suggestionDedupingConfig



14097
14098
14099
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14097

def suggestion_deduping_config
  @suggestion_deduping_config
end

#summarization_contextGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationContext

Corresponds to the JSON property summarizationContext



14102
14103
14104
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14102

def summarization_context
  @summarization_context
end

#toolsArray<String>

Corresponds to the JSON property tools

Returns:

  • (Array<String>)


14107
14108
14109
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14107

def tools
  @tools
end

#toolset_toolsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolsetTool>

Corresponds to the JSON property toolsetTools



14112
14113
14114
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14112

def toolset_tools
  @toolset_tools
end

#trigger_eventString

Corresponds to the JSON property triggerEvent

Returns:

  • (String)


14117
14118
14119
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14117

def trigger_event
  @trigger_event
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


14122
14123
14124
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14122

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14129

def update!(**args)
  @agent_coaching_context = args[:agent_coaching_context] if args.key?(:agent_coaching_context)
  @ces_app_specs = args[:ces_app_specs] if args.key?(:ces_app_specs)
  @ces_tool_specs = args[:ces_tool_specs] if args.key?(:ces_tool_specs)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @free_form_context = args[:free_form_context] if args.key?(:free_form_context)
  @inference_parameter = args[:inference_parameter] if args.key?(:inference_parameter)
  @name = args[:name] if args.key?(:name)
  @published_model = args[:published_model] if args.key?(:published_model)
  @suggestion_deduping_config = args[:suggestion_deduping_config] if args.key?(:suggestion_deduping_config)
  @summarization_context = args[:summarization_context] if args.key?(:summarization_context)
  @tools = args[:tools] if args.key?(:tools)
  @toolset_tools = args[:toolset_tools] if args.key?(:toolset_tools)
  @trigger_event = args[:trigger_event] if args.key?(:trigger_event)
  @update_time = args[:update_time] if args.key?(:update_time)
end