Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Context
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Context
- 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
-
#lifespan_count ⇒ Fixnum
Corresponds to the JSON property
lifespanCount. -
#name ⇒ String
Corresponds to the JSON property
name. -
#parameters ⇒ Hash<String,Object>
Corresponds to the JSON property
parameters.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Context
constructor
A new instance of GoogleCloudDialogflowV2beta1Context.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Context
Returns a new instance of GoogleCloudDialogflowV2beta1Context.
17679 17680 17681 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17679 def initialize(**args) update!(**args) end |
Instance Attribute Details
#lifespan_count ⇒ Fixnum
Corresponds to the JSON property lifespanCount
17667 17668 17669 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17667 def lifespan_count @lifespan_count end |
#name ⇒ String
Corresponds to the JSON property name
17672 17673 17674 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17672 def name @name end |
#parameters ⇒ Hash<String,Object>
Corresponds to the JSON property parameters
17677 17678 17679 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17677 def parameters @parameters end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17684 17685 17686 17687 17688 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17684 def update!(**args) @lifespan_count = args[:lifespan_count] if args.key?(:lifespan_count) @name = args[:name] if args.key?(:name) @parameters = args[:parameters] if args.key?(:parameters) end |