Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3IntentParameter

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

Returns a new instance of GoogleCloudDialogflowCxV3IntentParameter.



1629
1630
1631
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1629

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

Instance Attribute Details

#entity_typeString

Corresponds to the JSON property entityType

Returns:

  • (String)


1610
1611
1612
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1610

def entity_type
  @entity_type
end

#idString

Corresponds to the JSON property id

Returns:

  • (String)


1615
1616
1617
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1615

def id
  @id
end

#is_listBoolean Also known as: is_list?

Corresponds to the JSON property isList

Returns:

  • (Boolean)


1620
1621
1622
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1620

def is_list
  @is_list
end

#redactBoolean Also known as: redact?

Corresponds to the JSON property redact

Returns:

  • (Boolean)


1626
1627
1628
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1626

def redact
  @redact
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1634
1635
1636
1637
1638
1639
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1634

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