Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RunTestCaseRequest

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

Overview

The request message for TestCases.RunTestCase.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3RunTestCaseRequest

Returns a new instance of GoogleCloudDialogflowCxV3RunTestCaseRequest.



6846
6847
6848
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6846

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)


6844
6845
6846
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6844

def environment
  @environment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6851
6852
6853
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6851

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