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.



12083
12084
12085
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12083

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

Instance Attribute Details

#parametersHash<String,Object>

Corresponds to the JSON property parameters

Returns:

  • (Hash<String,Object>)


12076
12077
12078
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12076

def parameters
  @parameters
end

#sessionString

Corresponds to the JSON property session

Returns:

  • (String)


12081
12082
12083
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12081

def session
  @session
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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