Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GeneratorPlaceholder
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GeneratorPlaceholder
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Overview
Represents a custom placeholder in the prompt text.
Instance Attribute Summary collapse
-
#id ⇒ String
Unique ID used to map custom placeholder to parameters in fulfillment.
-
#name ⇒ String
Custom placeholder value in the prompt text.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3GeneratorPlaceholder
constructor
A new instance of GoogleCloudDialogflowCxV3GeneratorPlaceholder.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3GeneratorPlaceholder
Returns a new instance of GoogleCloudDialogflowCxV3GeneratorPlaceholder.
3814 3815 3816 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3814 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Unique ID used to map custom placeholder to parameters in fulfillment.
Corresponds to the JSON property id
3807 3808 3809 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3807 def id @id end |
#name ⇒ String
Custom placeholder value in the prompt text.
Corresponds to the JSON property name
3812 3813 3814 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3812 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3819 3820 3821 3822 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3819 def update!(**args) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) end |