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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dialogflow_v3/classes.rb,
generated/google/apis/dialogflow_v3/representations.rb,
generated/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.



3372
3373
3374
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 3372

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)


3364
3365
3366
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 3364

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)


3370
3371
3372
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 3370

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3377
3378
3379
3380
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 3377

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