Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TestCaseResult

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

Returns a new instance of GoogleCloudDialogflowCxV3beta1TestCaseResult.



5902
5903
5904
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5902

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

Instance Attribute Details

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

Corresponds to the JSON property conversationTurns



5880
5881
5882
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5880

def conversation_turns
  @conversation_turns
end

#environmentString

Corresponds to the JSON property environment

Returns:

  • (String)


5885
5886
5887
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5885

def environment
  @environment
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


5890
5891
5892
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5890

def name
  @name
end

#test_resultString

Corresponds to the JSON property testResult

Returns:

  • (String)


5895
5896
5897
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5895

def test_result
  @test_result
end

#test_timeString

Corresponds to the JSON property testTime

Returns:

  • (String)


5900
5901
5902
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5900

def test_time
  @test_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5907
5908
5909
5910
5911
5912
5913
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5907

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