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.



21001
21002
21003
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21001

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

Instance Attribute Details

#default_valueString

Corresponds to the JSON property defaultValue

Returns:

  • (String)


20962
20963
20964
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20962

def default_value
  @default_value
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


20967
20968
20969
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20967

def display_name
  @display_name
end

#entity_type_display_nameString

Corresponds to the JSON property entityTypeDisplayName

Returns:

  • (String)


20972
20973
20974
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20972

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)


20977
20978
20979
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20977

def is_list
  @is_list
end

#mandatoryBoolean Also known as: mandatory?

Corresponds to the JSON property mandatory

Returns:

  • (Boolean)


20983
20984
20985
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20983

def mandatory
  @mandatory
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


20989
20990
20991
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20989

def name
  @name
end

#promptsArray<String>

Corresponds to the JSON property prompts

Returns:

  • (Array<String>)


20994
20995
20996
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20994

def prompts
  @prompts
end

#valueString

Corresponds to the JSON property value

Returns:

  • (String)


20999
21000
21001
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20999

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21006
21007
21008
21009
21010
21011
21012
21013
21014
21015
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21006

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