Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonActivityRatingInfo

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

Overview

Rating of the activity as a number 1 to 5, where 5 is the best.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonActivityRatingInfo

Returns a new instance of GoogleAdsSearchads360V23CommonActivityRatingInfo.



663
664
665
# File 'lib/google/apis/searchads360_v23/classes.rb', line 663

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

Instance Attribute Details

#valueFixnum

Long value of the activity rating. Corresponds to the JSON property value

Returns:

  • (Fixnum)


661
662
663
# File 'lib/google/apis/searchads360_v23/classes.rb', line 661

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



668
669
670
# File 'lib/google/apis/searchads360_v23/classes.rb', line 668

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