Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentParameter

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentParameter

Returns a new instance of GoogleCloudDialogflowV2beta1IntentParameter.



16970
16971
16972
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16970

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

Instance Attribute Details

#default_valueString

Corresponds to the JSON property defaultValue

Returns:

  • (String)


16931
16932
16933
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16931

def default_value
  @default_value
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


16936
16937
16938
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16936

def display_name
  @display_name
end

#entity_type_display_nameString

Corresponds to the JSON property entityTypeDisplayName

Returns:

  • (String)


16941
16942
16943
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16941

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)


16946
16947
16948
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16946

def is_list
  @is_list
end

#mandatoryBoolean Also known as: mandatory?

Corresponds to the JSON property mandatory

Returns:

  • (Boolean)


16952
16953
16954
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16952

def mandatory
  @mandatory
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


16958
16959
16960
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16958

def name
  @name
end

#promptsArray<String>

Corresponds to the JSON property prompts

Returns:

  • (Array<String>)


16963
16964
16965
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16963

def prompts
  @prompts
end

#valueString

Corresponds to the JSON property value

Returns:

  • (String)


16968
16969
16970
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16968

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16975

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