Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfo
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfo
- 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 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::DialogflowV3::GoogleCloudDialogflowCxV3PageInfoFormInfo
Represents form information.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3PageInfo
constructor
A new instance of GoogleCloudDialogflowCxV3PageInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3PageInfo
Returns a new instance of GoogleCloudDialogflowCxV3PageInfo.
5695 5696 5697 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5695 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
5682 5683 5684 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5682 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
5688 5689 5690 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5688 def display_name @display_name end |
#form_info ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfoFormInfo
Represents form information.
Corresponds to the JSON property formInfo
5693 5694 5695 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5693 def form_info @form_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5700 5701 5702 5703 5704 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5700 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 |