Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dialogflow_v2/classes.rb,
generated/google/apis/dialogflow_v2/representations.rb,
generated/google/apis/dialogflow_v2/representations.rb

Overview

Represents page information communicated to and from the webhook.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1PageInfo

Returns a new instance of GoogleCloudDialogflowCxV3beta1PageInfo.



3562
3563
3564
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 3562

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)


3555
3556
3557
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 3555

def current_page
  @current_page
end

#form_infoGoogle::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo

Represents form information. Corresponds to the JSON property formInfo



3560
3561
3562
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 3560

def form_info
  @form_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3567
3568
3569
3570
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 3567

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