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.



283
284
285
# File 'lib/google/apis/businessprofileperformance_v1/classes.rb', line 283

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

Instance Attribute Details

#insights_valueGoogle::Apis::BusinessprofileperformanceV1::InsightsValue

Represents an insights value. Corresponds to the JSON property insightsValue



276
277
278
# File 'lib/google/apis/businessprofileperformance_v1/classes.rb', line 276

def insights_value
  @insights_value
end

#search_keywordString

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

Returns:

  • (String)


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

def search_keyword
  @search_keyword
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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