Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ValidateAgentRequest

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

Overview

The request message for Agents.ValidateAgent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ValidateAgentRequest

Returns a new instance of GoogleCloudDialogflowCxV3beta1ValidateAgentRequest.



9083
9084
9085
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9083

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)


9081
9082
9083
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9081

def language_code
  @language_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9088
9089
9090
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9088

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