Class: Google::Apis::BusinessprofileperformanceV1::SearchKeywordCount

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 a single search keyword and its value.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchKeywordCount

Returns a new instance of SearchKeywordCount.



287
288
289
# File 'lib/google/apis/businessprofileperformance_v1/classes.rb', line 287

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

Instance Attribute Details

#insights_valueGoogle::Apis::BusinessprofileperformanceV1::InsightsValue

Represents an insights value. Corresponds to the JSON property insightsValue



280
281
282
# File 'lib/google/apis/businessprofileperformance_v1/classes.rb', line 280

def insights_value
  @insights_value
end

#search_keywordString

The lower-cased string that the user entered. Corresponds to the JSON property searchKeyword

Returns:

  • (String)


285
286
287
# File 'lib/google/apis/businessprofileperformance_v1/classes.rb', line 285

def search_keyword
  @search_keyword
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



292
293
294
295
# File 'lib/google/apis/businessprofileperformance_v1/classes.rb', line 292

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