Class: Google::Apis::RealtimebiddingV1::Endpoint
- Inherits:
-
Object
- Object
- Google::Apis::RealtimebiddingV1::Endpoint
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/realtimebidding_v1/classes.rb,
lib/google/apis/realtimebidding_v1/representations.rb,
lib/google/apis/realtimebidding_v1/representations.rb
Overview
Bidder endpoint that receives bid requests.
Instance Attribute Summary collapse
-
#bid_protocol ⇒ String
The protocol that the bidder endpoint is using.
-
#maximum_qps ⇒ Fixnum
The maximum number of queries per second allowed to be sent to this server.
-
#name ⇒ String
Output only.
-
#trading_location ⇒ String
The trading location that bid requests should be sent from.
-
#url ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Endpoint
constructor
A new instance of Endpoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Endpoint
Returns a new instance of Endpoint.
996 997 998 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 996 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bid_protocol ⇒ String
The protocol that the bidder endpoint is using.
Corresponds to the JSON property bidProtocol
969 970 971 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 969 def bid_protocol @bid_protocol end |
#maximum_qps ⇒ Fixnum
The maximum number of queries per second allowed to be sent to this server.
Corresponds to the JSON property maximumQps
974 975 976 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 974 def maximum_qps @maximum_qps end |
#name ⇒ String
Output only. Name of the endpoint resource that must follow the pattern
bidders/bidderAccountId/endpoints/endpointId`, wherebidderAccountIdis
the account ID of the bidder who operates this endpoint, andendpointIdis a
unique ID assigned by the server.
Corresponds to the JSON propertyname`
982 983 984 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 982 def name @name end |
#trading_location ⇒ String
The trading location that bid requests should be sent from. See https://
developers.google.com/authorized-buyers/rtb/peer-guide#trading-locations for
further information.
Corresponds to the JSON property tradingLocation
989 990 991 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 989 def trading_location @trading_location end |
#url ⇒ String
Output only. The URL that bid requests should be sent to.
Corresponds to the JSON property url
994 995 996 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 994 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1001 1002 1003 1004 1005 1006 1007 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1001 def update!(**args) @bid_protocol = args[:bid_protocol] if args.key?(:bid_protocol) @maximum_qps = args[:maximum_qps] if args.key?(:maximum_qps) @name = args[:name] if args.key?(:name) @trading_location = args[:trading_location] if args.key?(:trading_location) @url = args[:url] if args.key?(:url) end |