Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1SessionInfo

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

Returns a new instance of GoogleCloudDialogflowCxV3beta1SessionInfo.



12095
12096
12097
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12095

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

Instance Attribute Details

#parametersHash<String,Object>

Corresponds to the JSON property parameters

Returns:

  • (Hash<String,Object>)


12088
12089
12090
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12088

def parameters
  @parameters
end

#sessionString

Corresponds to the JSON property session

Returns:

  • (String)


12093
12094
12095
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12093

def session
  @session
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12100
12101
12102
12103
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12100

def update!(**args)
  @parameters = args[:parameters] if args.key?(:parameters)
  @session = args[:session] if args.key?(:session)
end