Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1SessionInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1SessionInfo

Returns a new instance of GoogleCloudDialogflowCxV3beta1SessionInfo.



5752
5753
5754
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5752

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

Instance Attribute Details

#parametersHash<String,Object>

Corresponds to the JSON property parameters

Returns:

  • (Hash<String,Object>)


5745
5746
5747
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5745

def parameters
  @parameters
end

#sessionString

Corresponds to the JSON property session

Returns:

  • (String)


5750
5751
5752
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5750

def session
  @session
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5757
5758
5759
5760
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5757

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