Class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::UriTargeting
- Inherits:
-
Object
- Object
- Google::Apis::AuthorizedbuyersmarketplaceV1alpha::UriTargeting
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb,
lib/google/apis/authorizedbuyersmarketplace_v1alpha/representations.rb,
lib/google/apis/authorizedbuyersmarketplace_v1alpha/representations.rb
Overview
Represents a list of targeted and excluded URLs (for example, google.com). For Private Auction Deals, URLs are either included or excluded. For Programmatic Guaranteed and Preferred Deals, this doesn't apply.
Instance Attribute Summary collapse
-
#excluded_uris ⇒ Array<String>
A list of URLs to be excluded.
-
#targeted_uris ⇒ Array<String>
A list of URLs to be included.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UriTargeting
constructor
A new instance of UriTargeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UriTargeting
Returns a new instance of UriTargeting.
3012 3013 3014 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 3012 def initialize(**args) update!(**args) end |
Instance Attribute Details
#excluded_uris ⇒ Array<String>
A list of URLs to be excluded.
Corresponds to the JSON property excludedUris
3005 3006 3007 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 3005 def excluded_uris @excluded_uris end |
#targeted_uris ⇒ Array<String>
A list of URLs to be included.
Corresponds to the JSON property targetedUris
3010 3011 3012 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 3010 def targeted_uris @targeted_uris end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3017 3018 3019 3020 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 3017 def update!(**args) @excluded_uris = args[:excluded_uris] if args.key?(:excluded_uris) @targeted_uris = args[:targeted_uris] if args.key?(:targeted_uris) end |