Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ContinuousTestResult

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

Returns a new instance of GoogleCloudDialogflowCxV3beta1ContinuousTestResult.



9984
9985
9986
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9984

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

Instance Attribute Details

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


9967
9968
9969
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9967

def name
  @name
end

#resultString

Corresponds to the JSON property result

Returns:

  • (String)


9972
9973
9974
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9972

def result
  @result
end

#run_timeString

Corresponds to the JSON property runTime

Returns:

  • (String)


9977
9978
9979
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9977

def run_time
  @run_time
end

#test_case_resultsArray<String>

Corresponds to the JSON property testCaseResults

Returns:

  • (Array<String>)


9982
9983
9984
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9982

def test_case_results
  @test_case_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9989
9990
9991
9992
9993
9994
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9989

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