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.



723
724
725
# File 'lib/google/apis/searchads360_v23/classes.rb', line 723

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

Instance Attribute Details

#valueFixnum

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

Returns:

  • (Fixnum)


721
722
723
# File 'lib/google/apis/searchads360_v23/classes.rb', line 721

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



728
729
730
# File 'lib/google/apis/searchads360_v23/classes.rb', line 728

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