Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1IntentParameter

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1IntentParameter

Returns a new instance of GoogleCloudDialogflowCxV3beta1IntentParameter.



5021
5022
5023
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5021

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

Instance Attribute Details

#entity_typeString

Corresponds to the JSON property entityType

Returns:

  • (String)


5002
5003
5004
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5002

def entity_type
  @entity_type
end

#idString

Corresponds to the JSON property id

Returns:

  • (String)


5007
5008
5009
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5007

def id
  @id
end

#is_listBoolean Also known as: is_list?

Corresponds to the JSON property isList

Returns:

  • (Boolean)


5012
5013
5014
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5012

def is_list
  @is_list
end

#redactBoolean Also known as: redact?

Corresponds to the JSON property redact

Returns:

  • (Boolean)


5018
5019
5020
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5018

def redact
  @redact
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5026
5027
5028
5029
5030
5031
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5026

def update!(**args)
  @entity_type = args[:entity_type] if args.key?(:entity_type)
  @id = args[:id] if args.key?(:id)
  @is_list = args[:is_list] if args.key?(:is_list)
  @redact = args[:redact] if args.key?(:redact)
end