Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestCaseResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TestCaseResult

Returns a new instance of GoogleCloudDialogflowCxV3beta1TestCaseResult.



12209
12210
12211
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12209

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

Instance Attribute Details

#conversation_turnsArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ConversationTurn>

Corresponds to the JSON property conversationTurns



12187
12188
12189
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12187

def conversation_turns
  @conversation_turns
end

#environmentString

Corresponds to the JSON property environment

Returns:

  • (String)


12192
12193
12194
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12192

def environment
  @environment
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


12197
12198
12199
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12197

def name
  @name
end

#test_resultString

Corresponds to the JSON property testResult

Returns:

  • (String)


12202
12203
12204
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12202

def test_result
  @test_result
end

#test_timeString

Corresponds to the JSON property testTime

Returns:

  • (String)


12207
12208
12209
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12207

def test_time
  @test_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12214
12215
12216
12217
12218
12219
12220
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12214

def update!(**args)
  @conversation_turns = args[:conversation_turns] if args.key?(:conversation_turns)
  @environment = args[:environment] if args.key?(:environment)
  @name = args[:name] if args.key?(:name)
  @test_result = args[:test_result] if args.key?(:test_result)
  @test_time = args[:test_time] if args.key?(:test_time)
end