Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context
- 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) ⇒ 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.
12351 12352 12353 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12351 def initialize(**args) update!(**args) end |
Instance Attribute Details
#lifespan_count ⇒ Fixnum
Corresponds to the JSON property lifespanCount
12339 12340 12341 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12339 def lifespan_count @lifespan_count end |
#name ⇒ String
Corresponds to the JSON property name
12344 12345 12346 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12344 def name @name end |
#parameters ⇒ Hash<String,Object>
Corresponds to the JSON property parameters
12349 12350 12351 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12349 def parameters @parameters end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12356 12357 12358 12359 12360 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12356 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 |