Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse

Returns a new instance of GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse.



4644
4645
4646
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4644

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

Instance Attribute Details

#agentString

Corresponds to the JSON property agent

Returns:

  • (String)


4627
4628
4629
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4627

def agent
  @agent
end

#intent_coverageGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentCoverage

Corresponds to the JSON property intentCoverage



4632
4633
4634
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4632

def intent_coverage
  @intent_coverage
end

#route_group_coverageGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage

Corresponds to the JSON property routeGroupCoverage



4637
4638
4639
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4637

def route_group_coverage
  @route_group_coverage
end

#transition_coverageGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionCoverage

Corresponds to the JSON property transitionCoverage



4642
4643
4644
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4642

def transition_coverage
  @transition_coverage
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4649
4650
4651
4652
4653
4654
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4649

def update!(**args)
  @agent = args[:agent] if args.key?(:agent)
  @intent_coverage = args[:intent_coverage] if args.key?(:intent_coverage)
  @route_group_coverage = args[:route_group_coverage] if args.key?(:route_group_coverage)
  @transition_coverage = args[:transition_coverage] if args.key?(:transition_coverage)
end