Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationGeneratorContext

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

Returns a new instance of GoogleCloudDialogflowV2ConversationGeneratorContext.



8511
8512
8513
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8511

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

Instance Attribute Details

#generator_typeString

Corresponds to the JSON property generatorType

Returns:

  • (String)


8509
8510
8511
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8509

def generator_type
  @generator_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8516
8517
8518
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8516

def update!(**args)
  @generator_type = args[:generator_type] if args.key?(:generator_type)
end