Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RunTestCaseRequest

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.RunTestCase.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1RunTestCaseRequest

Returns a new instance of GoogleCloudDialogflowCxV3beta1RunTestCaseRequest.



5679
5680
5681
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 5679

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

Instance Attribute Details

#environmentString

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

Returns:

  • (String)


5671
5672
5673
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 5671

def environment
  @environment
end

#nameString

Required. Format of test case name to run: projects//locations/ /agents// testCases/. Corresponds to the JSON property name

Returns:

  • (String)


5677
5678
5679
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 5677

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5684
5685
5686
5687
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 5684

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