Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BatchRunTestCasesRequest

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

Returns a new instance of GoogleCloudDialogflowCxV3BatchRunTestCasesRequest.



750
751
752
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 750

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

Instance Attribute Details

#environmentString

Corresponds to the JSON property environment

Returns:

  • (String)


743
744
745
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 743

def environment
  @environment
end

#test_casesArray<String>

Corresponds to the JSON property testCases

Returns:

  • (Array<String>)


748
749
750
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 748

def test_cases
  @test_cases
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



755
756
757
758
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 755

def update!(**args)
  @environment = args[:environment] if args.key?(:environment)
  @test_cases = args[:test_cases] if args.key?(:test_cases)
end