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.



18997
18998
18999
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18997

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

Instance Attribute Details

#lifespan_countFixnum

Corresponds to the JSON property lifespanCount

Returns:

  • (Fixnum)


18985
18986
18987
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18985

def lifespan_count
  @lifespan_count
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


18990
18991
18992
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18990

def name
  @name
end

#parametersHash<String,Object>

Corresponds to the JSON property parameters

Returns:

  • (Hash<String,Object>)


18995
18996
18997
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18995

def parameters
  @parameters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19002
19003
19004
19005
19006
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19002

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