Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AutomatedAgentConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AutomatedAgentConfig

Returns a new instance of GoogleCloudDialogflowV2beta1AutomatedAgentConfig.



11660
11661
11662
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11660

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

Instance Attribute Details

#agentString

Corresponds to the JSON property agent

Returns:

  • (String)


11653
11654
11655
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11653

def agent
  @agent
end

#session_ttlString

Corresponds to the JSON property sessionTtl

Returns:

  • (String)


11658
11659
11660
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11658

def session_ttl
  @session_ttl
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11665
11666
11667
11668
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11665

def update!(**args)
  @agent = args[:agent] if args.key?(:agent)
  @session_ttl = args[:session_ttl] if args.key?(:session_ttl)
end