Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Context
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Context
- 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
-
#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) ⇒ GoogleCloudDialogflowV2Context
constructor
A new instance of GoogleCloudDialogflowV2Context.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2Context
Returns a new instance of GoogleCloudDialogflowV2Context.
7221 7222 7223 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7221 def initialize(**args) update!(**args) end |
Instance Attribute Details
#lifespan_count ⇒ Fixnum
Corresponds to the JSON property lifespanCount
7209 7210 7211 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7209 def lifespan_count @lifespan_count end |
#name ⇒ String
Corresponds to the JSON property name
7214 7215 7216 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7214 def name @name end |
#parameters ⇒ Hash<String,Object>
Corresponds to the JSON property parameters
7219 7220 7221 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7219 def parameters @parameters end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7226 7227 7228 7229 7230 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7226 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 |