Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentParameter

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentParameter

Returns a new instance of GoogleCloudDialogflowV2beta1IntentParameter.



21143
21144
21145
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21143

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

Instance Attribute Details

#default_valueString

Corresponds to the JSON property defaultValue

Returns:

  • (String)


21104
21105
21106
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21104

def default_value
  @default_value
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


21109
21110
21111
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21109

def display_name
  @display_name
end

#entity_type_display_nameString

Corresponds to the JSON property entityTypeDisplayName

Returns:

  • (String)


21114
21115
21116
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21114

def entity_type_display_name
  @entity_type_display_name
end

#is_listBoolean Also known as: is_list?

Corresponds to the JSON property isList

Returns:

  • (Boolean)


21119
21120
21121
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21119

def is_list
  @is_list
end

#mandatoryBoolean Also known as: mandatory?

Corresponds to the JSON property mandatory

Returns:

  • (Boolean)


21125
21126
21127
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21125

def mandatory
  @mandatory
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


21131
21132
21133
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21131

def name
  @name
end

#promptsArray<String>

Corresponds to the JSON property prompts

Returns:

  • (Array<String>)


21136
21137
21138
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21136

def prompts
  @prompts
end

#valueString

Corresponds to the JSON property value

Returns:

  • (String)


21141
21142
21143
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21141

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21148

def update!(**args)
  @default_value = args[:default_value] if args.key?(:default_value)
  @display_name = args[:display_name] if args.key?(:display_name)
  @entity_type_display_name = args[:entity_type_display_name] if args.key?(:entity_type_display_name)
  @is_list = args[:is_list] if args.key?(:is_list)
  @mandatory = args[:mandatory] if args.key?(:mandatory)
  @name = args[:name] if args.key?(:name)
  @prompts = args[:prompts] if args.key?(:prompts)
  @value = args[:value] if args.key?(:value)
end