Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1Context
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1Context
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/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.
18423 18424 18425 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18423 def initialize(**args) update!(**args) end |
Instance Attribute Details
#lifespan_count ⇒ Fixnum
Corresponds to the JSON property lifespanCount
18411 18412 18413 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18411 def lifespan_count @lifespan_count end |
#name ⇒ String
Corresponds to the JSON property name
18416 18417 18418 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18416 def name @name end |
#parameters ⇒ Hash<String,Object>
Corresponds to the JSON property parameters
18421 18422 18423 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18421 def parameters @parameters end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18428 18429 18430 18431 18432 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18428 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 |