Class: Google::Apis::BusinessprofileperformanceV1::ListSearchKeywordImpressionsMonthlyResponse

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

Overview

Represents the response for ListSearchKeywordImpressionsMonthly.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListSearchKeywordImpressionsMonthlyResponse

Returns a new instance of ListSearchKeywordImpressionsMonthlyResponse.



160
161
162
# File 'lib/google/apis/businessprofileperformance_v1/classes.rb', line 160

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

Instance Attribute Details

#next_page_tokenString

A token indicating the last paginated result returned. This can be used by succeeding requests to get the next "page" of keywords. It will only be present when there are more results to be returned. Corresponds to the JSON property nextPageToken NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


153
154
155
# File 'lib/google/apis/businessprofileperformance_v1/classes.rb', line 153

def next_page_token
  @next_page_token
end

#search_keywords_countsArray<Google::Apis::BusinessprofileperformanceV1::SearchKeywordCount>

Search terms which have been used to find a business. Corresponds to the JSON property searchKeywordsCounts



158
159
160
# File 'lib/google/apis/businessprofileperformance_v1/classes.rb', line 158

def search_keywords_counts
  @search_keywords_counts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



165
166
167
168
# File 'lib/google/apis/businessprofileperformance_v1/classes.rb', line 165

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