Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder
- 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
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) ⇒ GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder
constructor
A new instance of GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder
Returns a new instance of GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder.
8279 8280 8281 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8279 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
8272 8273 8274 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8272 def id @id end |
#name ⇒ String
Custom placeholder value in the prompt text.
Corresponds to the JSON property name
8277 8278 8279 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8277 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8284 8285 8286 8287 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8284 def update!(**args) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) end |