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.



4598
4599
4600
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4598

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)


4585
4586
4587
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4585

def current_page
  @current_page
end

#display_nameString

Always present for WebhookRequest. Ignored for WebhookResponse. The display name of the current page. Corresponds to the JSON property displayName

Returns:

  • (String)


4591
4592
4593
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4591

def display_name
  @display_name
end

#form_infoGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfoFormInfo

Represents form information. Corresponds to the JSON property formInfo



4596
4597
4598
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4596

def form_info
  @form_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4603
4604
4605
4606
4607
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4603

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