Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerStep

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

Overview

Step information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerStep

Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerStep.



11316
11317
11318
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11316

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

Instance Attribute Details

#actionsArray<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerStepAction>

Actions. Corresponds to the JSON property actions



11299
11300
11301
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11299

def actions
  @actions
end

#descriptionString

The description of the step. Corresponds to the JSON property description

Returns:

  • (String)


11304
11305
11306
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11304

def description
  @description
end

#stateString

The state of the step. Corresponds to the JSON property state

Returns:

  • (String)


11309
11310
11311
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11309

def state
  @state
end

#thoughtString

The thought of the step. Corresponds to the JSON property thought

Returns:

  • (String)


11314
11315
11316
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11314

def thought
  @thought
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11321
11322
11323
11324
11325
11326
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11321

def update!(**args)
  @actions = args[:actions] if args.key?(:actions)
  @description = args[:description] if args.key?(:description)
  @state = args[:state] if args.key?(:state)
  @thought = args[:thought] if args.key?(:thought)
end