Class: Google::Apis::RealtimebiddingV1::HttpCookieEvidence
- Inherits:
-
Object
- Object
- Google::Apis::RealtimebiddingV1::HttpCookieEvidence
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/realtimebidding_v1/classes.rb,
generated/google/apis/realtimebidding_v1/representations.rb,
generated/google/apis/realtimebidding_v1/representations.rb
Overview
Evidence for HTTP cookie-related policy violations.
Instance Attribute Summary collapse
-
#cookie_names ⇒ Array<String>
Names of cookies that violate Google policies.
-
#max_cookie_count ⇒ Fixnum
The largest number of cookies set by a creative.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HttpCookieEvidence
constructor
A new instance of HttpCookieEvidence.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HttpCookieEvidence
Returns a new instance of HttpCookieEvidence.
862 863 864 |
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 862 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cookie_names ⇒ Array<String>
Names of cookies that violate Google policies. For TOO_MANY_COOKIES policy,
this will be the cookie names of top domains with the largest number of
cookies. For other policies, this will be all the cookie names that violate
the policy.
Corresponds to the JSON property cookieNames
852 853 854 |
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 852 def @cookie_names end |
#max_cookie_count ⇒ Fixnum
The largest number of cookies set by a creative. If this field is set,
cookie_names above will be set to the cookie names of top domains with the
largest number of cookies. This field will only be set for TOO_MANY_COOKIES
policy.
Corresponds to the JSON property maxCookieCount
860 861 862 |
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 860 def @max_cookie_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
867 868 869 870 |
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 867 def update!(**args) @cookie_names = args[:cookie_names] if args.key?(:cookie_names) @max_cookie_count = args[:max_cookie_count] if args.key?(:max_cookie_count) end |