Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfo
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfo
- 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
Overview
Represents page information communicated to and from the webhook.
Instance Attribute Summary collapse
-
#current_page ⇒ String
Always present for WebhookRequest.
-
#display_name ⇒ String
Always present for WebhookRequest.
-
#form_info ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo
Represents form information.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1PageInfo
constructor
A new instance of GoogleCloudDialogflowCxV3beta1PageInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1PageInfo
Returns a new instance of GoogleCloudDialogflowCxV3beta1PageInfo.
4687 4688 4689 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4687 def initialize(**args) update!(**args) end |
Instance Attribute Details
#current_page ⇒ String
Always present for WebhookRequest. Ignored for WebhookResponse. The unique
identifier of the current page. Format: projects//locations//agents//flows//
pages/
.
Corresponds to the JSON property currentPage
4674 4675 4676 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4674 def current_page @current_page end |
#display_name ⇒ String
Always present for WebhookRequest. Ignored for WebhookResponse. The display
name of the current page.
Corresponds to the JSON property displayName
4680 4681 4682 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4680 def display_name @display_name end |
#form_info ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo
Represents form information.
Corresponds to the JSON property formInfo
4685 4686 4687 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4685 def form_info @form_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4692 4693 4694 4695 4696 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4692 def update!(**args) @current_page = args[:current_page] if args.key?(:current_page) @display_name = args[:display_name] if args.key?(:display_name) @form_info = args[:form_info] if args.key?(:form_info) end |