Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1Context

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Context

Returns a new instance of GoogleCloudDialogflowV2beta1Context.



19059
19060
19061
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19059

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#lifespan_countFixnum

Corresponds to the JSON property lifespanCount

Returns:

  • (Fixnum)


19047
19048
19049
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19047

def lifespan_count
  @lifespan_count
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


19052
19053
19054
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19052

def name
  @name
end

#parametersHash<String,Object>

Corresponds to the JSON property parameters

Returns:

  • (Hash<String,Object>)


19057
19058
19059
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19057

def parameters
  @parameters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19064
19065
19066
19067
19068
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19064

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