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.



18122
18123
18124
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18122

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

Instance Attribute Details

#next_page_tokenString

Corresponds to the JSON property nextPageToken

Returns:

  • (String)


18115
18116
18117
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18115

def next_page_token
  @next_page_token
end

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

Corresponds to the JSON property suggestions



18120
18121
18122
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18120

def suggestions
  @suggestions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18127
18128
18129
18130
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18127

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