Class: Google::Apis::AdexchangebuyerV1_2::Account::BidderLocation
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_2::Account::BidderLocation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer_v1_2/classes.rb,
generated/google/apis/adexchangebuyer_v1_2/representations.rb,
generated/google/apis/adexchangebuyer_v1_2/representations.rb
Instance Attribute Summary collapse
-
#maximum_qps ⇒ Fixnum
The maximum queries per second the Ad Exchange will send.
-
#region ⇒ String
The geographical region the Ad Exchange should send requests from.
-
#url ⇒ String
The URL to which the Ad Exchange will send bid requests.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BidderLocation
constructor
A new instance of BidderLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BidderLocation
Returns a new instance of BidderLocation.
115 116 117 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 115 def initialize(**args) update!(**args) end |
Instance Attribute Details
#maximum_qps ⇒ Fixnum
The maximum queries per second the Ad Exchange will send.
Corresponds to the JSON property maximumQps
97 98 99 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 97 def maximum_qps @maximum_qps end |
#region ⇒ String
The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values:
- ASIA
- EUROPE
- US_EAST
- US_WEST
Corresponds to the JSON property
region
108 109 110 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 108 def region @region end |
#url ⇒ String
The URL to which the Ad Exchange will send bid requests.
Corresponds to the JSON property url
113 114 115 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 113 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
120 121 122 123 124 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 120 def update!(**args) @maximum_qps = args[:maximum_qps] if args.key?(:maximum_qps) @region = args[:region] if args.key?(:region) @url = args[:url] if args.key?(:url) end |