Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Event

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Event

Returns a new instance of GoogleCloudDialogflowCxV3beta1Event.



6162
6163
6164
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6162

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

Instance Attribute Details

#eventString

Corresponds to the JSON property event

Returns:

  • (String)


6155
6156
6157
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6155

def event
  @event
end

#textString

Corresponds to the JSON property text

Returns:

  • (String)


6160
6161
6162
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6160

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6167
6168
6169
6170
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6167

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