Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition

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

Returns a new instance of GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition.



13385
13386
13387
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13385

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

Instance Attribute Details

#coveredBoolean Also known as: covered?

Corresponds to the JSON property covered

Returns:

  • (Boolean)


13357
13358
13359
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13357

def covered
  @covered
end

#event_handlerGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EventHandler

Corresponds to the JSON property eventHandler



13363
13364
13365
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13363

def event_handler
  @event_handler
end

#indexFixnum

Corresponds to the JSON property index

Returns:

  • (Fixnum)


13368
13369
13370
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13368

def index
  @index
end

#sourceGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode

Corresponds to the JSON property source



13373
13374
13375
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13373

def source
  @source
end

#targetGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode

Corresponds to the JSON property target



13378
13379
13380
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13378

def target
  @target
end

#transition_routeGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute

Corresponds to the JSON property transitionRoute



13383
13384
13385
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13383

def transition_route
  @transition_route
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13390
13391
13392
13393
13394
13395
13396
13397
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13390

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