Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Intent

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) ⇒ GoogleCloudDialogflowCxV3Intent

Returns a new instance of GoogleCloudDialogflowCxV3Intent.



4443
4444
4445
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4443

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


4400
4401
4402
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4400

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


4405
4406
4407
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4405

def display_name
  @display_name
end

#dtmf_patternString

Corresponds to the JSON property dtmfPattern

Returns:

  • (String)


4410
4411
4412
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4410

def dtmf_pattern
  @dtmf_pattern
end

#is_fallbackBoolean Also known as: is_fallback?

Corresponds to the JSON property isFallback

Returns:

  • (Boolean)


4415
4416
4417
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4415

def is_fallback
  @is_fallback
end

#labelsHash<String,String>

Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


4421
4422
4423
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4421

def labels
  @labels
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


4426
4427
4428
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4426

def name
  @name
end

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

Corresponds to the JSON property parameters



4431
4432
4433
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4431

def parameters
  @parameters
end

#priorityFixnum

Corresponds to the JSON property priority

Returns:

  • (Fixnum)


4436
4437
4438
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4436

def priority
  @priority
end

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

Corresponds to the JSON property trainingPhrases



4441
4442
4443
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4441

def training_phrases
  @training_phrases
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4448

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