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.
1104 1105 1106 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1104 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
1077 1078 1079 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1077 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
1082 1083 1084 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1082 def maximum_qps @maximum_qps end |
#name ⇒ String
Output only. Name of the endpoint resource that must follow the pattern
bidders/
bidderAccountId/endpoints/
endpointId`, where
bidderAccountIdis
the account ID of the bidder who operates this endpoint, and
endpointIdis a
unique ID assigned by the server.
Corresponds to the JSON property
name`
1090 1091 1092 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1090 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
1097 1098 1099 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1097 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
1102 1103 1104 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1102 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1109 1110 1111 1112 1113 1114 1115 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1109 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 |