Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult

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

Overview

Represents a result from running a test case in an agent environment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ContinuousTestResult

Returns a new instance of GoogleCloudDialogflowCxV3beta1ContinuousTestResult.



3956
3957
3958
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3956

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

Instance Attribute Details

#nameString

The resource name for the continuous test result. Format: projects//locations/ /agents//environments//continuousTestResults/. Corresponds to the JSON property name

Returns:

  • (String)


3938
3939
3940
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3938

def name
  @name
end

#resultString

The result of this continuous test run, i.e. whether all the tests in this continuous test run pass or not. Corresponds to the JSON property result

Returns:

  • (String)


3944
3945
3946
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3944

def result
  @result
end

#run_timeString

Time when the continuous testing run starts. Corresponds to the JSON property runTime

Returns:

  • (String)


3949
3950
3951
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3949

def run_time
  @run_time
end

#test_case_resultsArray<String>

A list of individual test case results names in this continuous test run. Corresponds to the JSON property testCaseResults

Returns:

  • (Array<String>)


3954
3955
3956
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3954

def test_case_results
  @test_case_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3961
3962
3963
3964
3965
3966
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3961

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