Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage

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) ⇒ GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage

Returns a new instance of GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage.



13555
13556
13557
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13555

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

Instance Attribute Details

#coverage_scoreFloat

Corresponds to the JSON property coverageScore

Returns:

  • (Float)


13543
13544
13545
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13543

def coverage_score
  @coverage_score
end

#route_groupGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup

Corresponds to the JSON property routeGroup



13548
13549
13550
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13548

def route_group
  @route_group
end

#transitionsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition>

Corresponds to the JSON property transitions



13553
13554
13555
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13553

def transitions
  @transitions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13560
13561
13562
13563
13564
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13560

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