Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2Context
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2Context
- 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) ⇒ 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.
13552 13553 13554 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13552 def initialize(**args) update!(**args) end |
Instance Attribute Details
#lifespan_count ⇒ Fixnum
Corresponds to the JSON property lifespanCount
13540 13541 13542 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13540 def lifespan_count @lifespan_count end |
#name ⇒ String
Corresponds to the JSON property name
13545 13546 13547 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13545 def name @name end |
#parameters ⇒ Hash<String,Object>
Corresponds to the JSON property parameters
13550 13551 13552 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13550 def parameters @parameters end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13557 13558 13559 13560 13561 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13557 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 |