Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3SessionInfo

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

Returns a new instance of GoogleCloudDialogflowCxV3SessionInfo.



2390
2391
2392
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2390

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

Instance Attribute Details

#parametersHash<String,Object>

Corresponds to the JSON property parameters

Returns:

  • (Hash<String,Object>)


2383
2384
2385
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2383

def parameters
  @parameters
end

#sessionString

Corresponds to the JSON property session

Returns:

  • (String)


2388
2389
2390
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2388

def session
  @session
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2395
2396
2397
2398
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2395

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