Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionRequest

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

Returns a new instance of GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionRequest.



13775
13776
13777
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13775

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

Instance Attribute Details

#context_referencesHash<String,Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContextReference>

Corresponds to the JSON property contextReferences



13748
13749
13750
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13748

def context_references
  @context_references
end

#conversation_contextGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContext

Corresponds to the JSON property conversationContext



13753
13754
13755
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13753

def conversation_context
  @conversation_context
end

#generatorGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Generator

Corresponds to the JSON property generator



13758
13759
13760
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13758

def generator
  @generator
end

#generator_nameString

Corresponds to the JSON property generatorName

Returns:

  • (String)


13763
13764
13765
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13763

def generator_name
  @generator_name
end

#security_settingsString

Corresponds to the JSON property securitySettings

Returns:

  • (String)


13768
13769
13770
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13768

def security_settings
  @security_settings
end

#trigger_eventsArray<String>

Corresponds to the JSON property triggerEvents

Returns:

  • (Array<String>)


13773
13774
13775
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13773

def trigger_events
  @trigger_events
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13780
13781
13782
13783
13784
13785
13786
13787
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13780

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