Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3IntentParameter

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

Returns a new instance of GoogleCloudDialogflowCxV3IntentParameter.



1635
1636
1637
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 1635

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

Instance Attribute Details

#entity_typeString

Corresponds to the JSON property entityType

Returns:

  • (String)


1616
1617
1618
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 1616

def entity_type
  @entity_type
end

#idString

Corresponds to the JSON property id

Returns:

  • (String)


1621
1622
1623
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 1621

def id
  @id
end

#is_listBoolean Also known as: is_list?

Corresponds to the JSON property isList

Returns:

  • (Boolean)


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

def is_list
  @is_list
end

#redactBoolean Also known as: redact?

Corresponds to the JSON property redact

Returns:

  • (Boolean)


1632
1633
1634
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 1632

def redact
  @redact
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1640
1641
1642
1643
1644
1645
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 1640

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