Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Intent

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Intent

Returns a new instance of GoogleCloudDialogflowCxV3beta1Intent.



11277
11278
11279
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11277

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


11234
11235
11236
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11234

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


11239
11240
11241
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11239

def display_name
  @display_name
end

#dtmf_patternString

Corresponds to the JSON property dtmfPattern

Returns:

  • (String)


11244
11245
11246
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11244

def dtmf_pattern
  @dtmf_pattern
end

#is_fallbackBoolean Also known as: is_fallback?

Corresponds to the JSON property isFallback

Returns:

  • (Boolean)


11249
11250
11251
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11249

def is_fallback
  @is_fallback
end

#labelsHash<String,String>

Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


11255
11256
11257
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11255

def labels
  @labels
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


11260
11261
11262
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11260

def name
  @name
end

#parametersArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1IntentParameter>

Corresponds to the JSON property parameters



11265
11266
11267
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11265

def parameters
  @parameters
end

#priorityFixnum

Corresponds to the JSON property priority

Returns:

  • (Fixnum)


11270
11271
11272
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11270

def priority
  @priority
end

#training_phrasesArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase>

Corresponds to the JSON property trainingPhrases



11275
11276
11277
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11275

def training_phrases
  @training_phrases
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11282

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @dtmf_pattern = args[:dtmf_pattern] if args.key?(:dtmf_pattern)
  @is_fallback = args[:is_fallback] if args.key?(:is_fallback)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @parameters = args[:parameters] if args.key?(:parameters)
  @priority = args[:priority] if args.key?(:priority)
  @training_phrases = args[:training_phrases] if args.key?(:training_phrases)
end