Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ContinuousTestResult

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

Returns a new instance of GoogleCloudDialogflowCxV3ContinuousTestResult.



1114
1115
1116
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1114

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

Instance Attribute Details

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


1097
1098
1099
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1097

def name
  @name
end

#resultString

Corresponds to the JSON property result

Returns:

  • (String)


1102
1103
1104
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1102

def result
  @result
end

#run_timeString

Corresponds to the JSON property runTime

Returns:

  • (String)


1107
1108
1109
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1107

def run_time
  @run_time
end

#test_case_resultsArray<String>

Corresponds to the JSON property testCaseResults

Returns:

  • (Array<String>)


1112
1113
1114
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1112

def test_case_results
  @test_case_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1119
1120
1121
1122
1123
1124
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1119

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @result = args[:result] if args.key?(:result)
  @run_time = args[:run_time] if args.key?(:run_time)
  @test_case_results = args[:test_case_results] if args.key?(:test_case_results)
end