Class: Google::Apis::DisplayvideoV2::DoubleVerifyAppStarRating

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

Overview

Details of DoubleVerify star ratings settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DoubleVerifyAppStarRating

Returns a new instance of DoubleVerifyAppStarRating.



4538
4539
4540
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4538

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

Instance Attribute Details

#avoid_insufficient_star_ratingBoolean Also known as: avoid_insufficient_star_rating?

Avoid bidding on apps with insufficient star ratings. Corresponds to the JSON property avoidInsufficientStarRating

Returns:

  • (Boolean)


4530
4531
4532
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4530

def avoid_insufficient_star_rating
  @avoid_insufficient_star_rating
end

#avoided_star_ratingString

Avoid bidding on apps with the star ratings. Corresponds to the JSON property avoidedStarRating

Returns:

  • (String)


4536
4537
4538
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4536

def avoided_star_rating
  @avoided_star_rating
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4543
4544
4545
4546
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4543

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