Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCaseResult

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

Returns a new instance of GoogleCloudDialogflowCxV3TestCaseResult.



7732
7733
7734
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7732

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

Instance Attribute Details

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

Corresponds to the JSON property conversationTurns



7710
7711
7712
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7710

def conversation_turns
  @conversation_turns
end

#environmentString

Corresponds to the JSON property environment

Returns:

  • (String)


7715
7716
7717
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7715

def environment
  @environment
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


7720
7721
7722
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7720

def name
  @name
end

#test_resultString

Corresponds to the JSON property testResult

Returns:

  • (String)


7725
7726
7727
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7725

def test_result
  @test_result
end

#test_timeString

Corresponds to the JSON property testTime

Returns:

  • (String)


7730
7731
7732
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7730

def test_time
  @test_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7737
7738
7739
7740
7741
7742
7743
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7737

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