Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerStep

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

Overview

Step information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerStep

Returns a new instance of GoogleCloudDiscoveryengineV1betaAnswerStep.



11976
11977
11978
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11976

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

Instance Attribute Details

#actionsArray<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerStepAction>

Actions. Corresponds to the JSON property actions



11959
11960
11961
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11959

def actions
  @actions
end

#descriptionString

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

Returns:

  • (String)


11964
11965
11966
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11964

def description
  @description
end

#stateString

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

Returns:

  • (String)


11969
11970
11971
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11969

def state
  @state
end

#thoughtString

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

Returns:

  • (String)


11974
11975
11976
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11974

def thought
  @thought
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11981
11982
11983
11984
11985
11986
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11981

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