Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest

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

Overview

The request message for TestCases.BatchRunTestCases.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest

Returns a new instance of GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest.



2507
2508
2509
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 2507

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

Instance Attribute Details

#environmentString

Optional. If not set, draft environment is assumed. Format: projects// locations//agents//environments/. Corresponds to the JSON property environment

Returns:

  • (String)


2500
2501
2502
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 2500

def environment
  @environment
end

#test_casesArray<String>

Required. Format: projects//locations//agents//testCases/. Corresponds to the JSON property testCases

Returns:

  • (Array<String>)


2505
2506
2507
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 2505

def test_cases
  @test_cases
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2512
2513
2514
2515
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 2512

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