Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3PageInfo

Returns a new instance of GoogleCloudDialogflowCxV3PageInfo.



3009
3010
3011
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3009

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

Instance Attribute Details

#current_pageString

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

Returns:

  • (String)


3002
3003
3004
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3002

def current_page
  @current_page
end

#form_infoGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfoFormInfo

Represents form information. Corresponds to the JSON property formInfo



3007
3008
3009
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3007

def form_info
  @form_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3014
3015
3016
3017
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3014

def update!(**args)
  @current_page = args[:current_page] if args.key?(:current_page)
  @form_info = args[:form_info] if args.key?(:form_info)
end