Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dialogflow_v2beta1/classes.rb,
generated/google/apis/dialogflow_v2beta1/representations.rb,
generated/google/apis/dialogflow_v2beta1/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.



1255
1256
1257
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 1255

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)


1248
1249
1250
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 1248

def current_page
  @current_page
end

#form_infoGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfoFormInfo

Represents form information. Corresponds to the JSON property formInfo



1253
1254
1255
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 1253

def form_info
  @form_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1260
1261
1262
1263
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 1260

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