Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentValidationResult

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 response message for Agents.GetAgentValidationResult.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3AgentValidationResult

Returns a new instance of GoogleCloudDialogflowCxV3AgentValidationResult.



505
506
507
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 505

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

Instance Attribute Details

#flow_validation_resultsArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FlowValidationResult>

Contains all flow validation results. Corresponds to the JSON property flowValidationResults



497
498
499
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 497

def flow_validation_results
  @flow_validation_results
end

#nameString

The unique identifier of the agent validation result. Format: projects// locations//agents//validationResult. Corresponds to the JSON property name

Returns:

  • (String)


503
504
505
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 503

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



510
511
512
513
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 510

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