Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverageTransition

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3TransitionCoverageTransition

Returns a new instance of GoogleCloudDialogflowCxV3TransitionCoverageTransition.



8595
8596
8597
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8595

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

Instance Attribute Details

#coveredBoolean Also known as: covered?

Corresponds to the JSON property covered

Returns:

  • (Boolean)


8567
8568
8569
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8567

def covered
  @covered
end

#event_handlerGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EventHandler

Corresponds to the JSON property eventHandler



8573
8574
8575
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8573

def event_handler
  @event_handler
end

#indexFixnum

Corresponds to the JSON property index

Returns:

  • (Fixnum)


8578
8579
8580
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8578

def index
  @index
end

#sourceGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode

Corresponds to the JSON property source



8583
8584
8585
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8583

def source
  @source
end

#targetGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode

Corresponds to the JSON property target



8588
8589
8590
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8588

def target
  @target
end

#transition_routeGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute

Corresponds to the JSON property transitionRoute



8593
8594
8595
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8593

def transition_route
  @transition_route
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8600
8601
8602
8603
8604
8605
8606
8607
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8600

def update!(**args)
  @covered = args[:covered] if args.key?(:covered)
  @event_handler = args[:event_handler] if args.key?(:event_handler)
  @index = args[:index] if args.key?(:index)
  @source = args[:source] if args.key?(:source)
  @target = args[:target] if args.key?(:target)
  @transition_route = args[:transition_route] if args.key?(:transition_route)
end