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.



17795
17796
17797
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17795

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

Instance Attribute Details

#next_page_tokenString

Corresponds to the JSON property nextPageToken

Returns:

  • (String)


17788
17789
17790
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17788

def next_page_token
  @next_page_token
end

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

Corresponds to the JSON property suggestions



17793
17794
17795
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17793

def suggestions
  @suggestions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17800
17801
17802
17803
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17800

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