Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ContinuousTestResult

Returns a new instance of GoogleCloudDialogflowCxV3beta1ContinuousTestResult.



4817
4818
4819
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4817

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

Instance Attribute Details

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


4800
4801
4802
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4800

def name
  @name
end

#resultString

Corresponds to the JSON property result

Returns:

  • (String)


4805
4806
4807
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4805

def result
  @result
end

#run_timeString

Corresponds to the JSON property runTime

Returns:

  • (String)


4810
4811
4812
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4810

def run_time
  @run_time
end

#test_case_resultsArray<String>

Corresponds to the JSON property testCaseResults

Returns:

  • (Array<String>)


4815
4816
4817
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4815

def test_case_results
  @test_case_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4822
4823
4824
4825
4826
4827
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4822

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