class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SubAgent
Contains basic configuration for a sub-agent.
Attributes
environment[RW]
Optional. The unique identifier (`environment name` in dialogflow console) of this sub-agent environment. Assumes draft environment if `environment` is not set. Corresponds to the JSON property `environment` @return [String]
project[RW]
Required. The project of this agent. Format: `projects/` or `projects// locations/`. Corresponds to the JSON property `project` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 13646 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 13651 def update!(**args) @environment = args[:environment] if args.key?(:environment) @project = args[:project] if args.key?(:project) end