Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ValidateAgentRequest

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

Overview

The request message for Agents.ValidateAgent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ValidateAgentRequest

Returns a new instance of GoogleCloudDialogflowCxV3ValidateAgentRequest.



4736
4737
4738
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4736

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

Instance Attribute Details

#language_codeString

If not specified, the agent's default language is used. Corresponds to the JSON property languageCode

Returns:

  • (String)


4734
4735
4736
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4734

def language_code
  @language_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4741
4742
4743
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4741

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