Class: Google::Apis::RealtimebiddingV1::Endpoint

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_protocolString

The protocol that the bidder endpoint is using. Corresponds to the JSON property bidProtocol

Returns:

  • (String)


1077
1078
1079
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1077

def bid_protocol
  @bid_protocol
end

#maximum_qpsFixnum

The maximum number of queries per second allowed to be sent to this server. Corresponds to the JSON property maximumQps

Returns:

  • (Fixnum)


1082
1083
1084
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1082

def maximum_qps
  @maximum_qps
end

#nameString

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`

Returns:

  • (String)


1090
1091
1092
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1090

def name
  @name
end

#trading_locationString

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

Returns:

  • (String)


1097
1098
1099
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1097

def trading_location
  @trading_location
end

#urlString

Output only. The URL that bid requests should be sent to. Corresponds to the JSON property url

Returns:

  • (String)


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