Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1IntentParameter

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

Returns a new instance of GoogleCloudDialogflowCxV3beta1IntentParameter.



5009
5010
5011
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5009

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

Instance Attribute Details

#entity_typeString

Corresponds to the JSON property entityType

Returns:

  • (String)


4990
4991
4992
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4990

def entity_type
  @entity_type
end

#idString

Corresponds to the JSON property id

Returns:

  • (String)


4995
4996
4997
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4995

def id
  @id
end

#is_listBoolean Also known as: is_list?

Corresponds to the JSON property isList

Returns:

  • (Boolean)


5000
5001
5002
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5000

def is_list
  @is_list
end

#redactBoolean Also known as: redact?

Corresponds to the JSON property redact

Returns:

  • (Boolean)


5006
5007
5008
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5006

def redact
  @redact
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5014
5015
5016
5017
5018
5019
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5014

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