Class: Google::Apis::BusinessprofileperformanceV1::SearchKeywordCount
- Inherits:
-
Object
- Object
- Google::Apis::BusinessprofileperformanceV1::SearchKeywordCount
- 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
-
#insights_value ⇒ Google::Apis::BusinessprofileperformanceV1::InsightsValue
Represents an insights value.
-
#search_keyword ⇒ String
The lower-cased string that the user entered.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SearchKeywordCount
constructor
A new instance of SearchKeywordCount.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_value ⇒ Google::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_keyword ⇒ String
The lower-cased string that the user entered.
Corresponds to the JSON property searchKeyword
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 |