Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest

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

Returns a new instance of GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest.



10116
10117
10118
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10116

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

Instance Attribute Details

#context_referencesHash<String,Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationContextReference>

Corresponds to the JSON property contextReferences



10089
10090
10091
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10089

def context_references
  @context_references
end

#conversation_contextGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationContext

Corresponds to the JSON property conversationContext



10094
10095
10096
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10094

def conversation_context
  @conversation_context
end

#generatorGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2Generator

Corresponds to the JSON property generator



10099
10100
10101
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10099

def generator
  @generator
end

#generator_nameString

Corresponds to the JSON property generatorName

Returns:

  • (String)


10104
10105
10106
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10104

def generator_name
  @generator_name
end

#security_settingsString

Corresponds to the JSON property securitySettings

Returns:

  • (String)


10109
10110
10111
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10109

def security_settings
  @security_settings
end

#trigger_eventsArray<String>

Corresponds to the JSON property triggerEvents

Returns:

  • (Array<String>)


10114
10115
10116
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10114

def trigger_events
  @trigger_events
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10121
10122
10123
10124
10125
10126
10127
10128
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10121

def update!(**args)
  @context_references = args[:context_references] if args.key?(:context_references)
  @conversation_context = args[:conversation_context] if args.key?(:conversation_context)
  @generator = args[:generator] if args.key?(:generator)
  @generator_name = args[:generator_name] if args.key?(:generator_name)
  @security_settings = args[:security_settings] if args.key?(:security_settings)
  @trigger_events = args[:trigger_events] if args.key?(:trigger_events)
end