Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Generator

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2Generator

Returns a new instance of GoogleCloudDialogflowV2Generator.



10460
10461
10462
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10460

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

Instance Attribute Details

#agent_coaching_contextGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingContext

Corresponds to the JSON property agentCoachingContext



10388
10389
10390
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10388

def agent_coaching_context
  @agent_coaching_context
end

#ces_app_specsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CesAppSpec>

Corresponds to the JSON property cesAppSpecs



10393
10394
10395
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10393

def ces_app_specs
  @ces_app_specs
end

#ces_tool_specsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CesToolSpec>

Corresponds to the JSON property cesToolSpecs



10398
10399
10400
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10398

def ces_tool_specs
  @ces_tool_specs
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


10403
10404
10405
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10403

def create_time
  @create_time
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


10408
10409
10410
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10408

def description
  @description
end

#free_form_contextGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2FreeFormContext

Corresponds to the JSON property freeFormContext



10413
10414
10415
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10413

def free_form_context
  @free_form_context
end

#inference_parameterGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2InferenceParameter

Corresponds to the JSON property inferenceParameter



10418
10419
10420
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10418

def inference_parameter
  @inference_parameter
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


10423
10424
10425
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10423

def name
  @name
end

#published_modelString

Corresponds to the JSON property publishedModel

Returns:

  • (String)


10428
10429
10430
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10428

def published_model
  @published_model
end

#suggestion_deduping_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionDedupingConfig

Corresponds to the JSON property suggestionDedupingConfig



10433
10434
10435
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10433

def suggestion_deduping_config
  @suggestion_deduping_config
end

#summarization_contextGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationContext

Corresponds to the JSON property summarizationContext



10438
10439
10440
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10438

def summarization_context
  @summarization_context
end

#toolsArray<String>

Corresponds to the JSON property tools

Returns:

  • (Array<String>)


10443
10444
10445
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10443

def tools
  @tools
end

#toolset_toolsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolsetTool>

Corresponds to the JSON property toolsetTools



10448
10449
10450
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10448

def toolset_tools
  @toolset_tools
end

#trigger_eventString

Corresponds to the JSON property triggerEvent

Returns:

  • (String)


10453
10454
10455
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10453

def trigger_event
  @trigger_event
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


10458
10459
10460
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10458

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10465

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