Class: Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaListAvailableLocalesResponse

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

Overview

Response for whether ideas are available for a given web property on a platform, for the currently logged-in user.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleSearchIdeahubV1alphaListAvailableLocalesResponse

Returns a new instance of GoogleSearchIdeahubV1alphaListAvailableLocalesResponse.



177
178
179
# File 'lib/google/apis/ideahub_v1alpha/classes.rb', line 177

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

Instance Attribute Details

#available_localesArray<Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaAvailableLocale>

Locales for which ideas are available for the given Creator. Corresponds to the JSON property availableLocales



169
170
171
# File 'lib/google/apis/ideahub_v1alpha/classes.rb', line 169

def available_locales
  @available_locales
end

#next_page_tokenString

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


175
176
177
# File 'lib/google/apis/ideahub_v1alpha/classes.rb', line 175

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



182
183
184
185
# File 'lib/google/apis/ideahub_v1alpha/classes.rb', line 182

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