Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListSuggestionsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ListSuggestionsResponse

Returns a new instance of GoogleCloudDialogflowV2beta1ListSuggestionsResponse.



18016
18017
18018
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18016

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

Instance Attribute Details

#next_page_tokenString

Corresponds to the JSON property nextPageToken

Returns:

  • (String)


18009
18010
18011
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18009

def next_page_token
  @next_page_token
end

#suggestionsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Suggestion>

Corresponds to the JSON property suggestions



18014
18015
18016
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18014

def suggestions
  @suggestions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18021
18022
18023
18024
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18021

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