* $realtimebiddingService = new Google\Service\RealTimeBidding(...); * $endpoints = $realtimebiddingService->endpoints; * */ class BiddersEndpoints extends \Google\Service\Resource { /** * Gets a bidder endpoint by its name. (endpoints.get) * * @param string $name Required. Name of the bidder endpoint to get. Format: * `bidders/{bidderAccountId}/endpoints/{endpointId}` * @param array $optParams Optional parameters. * @return Endpoint */ public function get($name, $optParams = []) { $params = ['name' => $name]; $params = array_merge($params, $optParams); return $this->call('get', [$params], Endpoint::class); } /** * Lists all the bidder's endpoints. (endpoints.listBiddersEndpoints) * * @param string $parent Required. Name of the bidder whose endpoints will be * listed. Format: `bidders/{bidderAccountId}` * @param array $optParams Optional parameters. * * @opt_param int pageSize The maximum number of endpoints to return. If * unspecified, at most 100 endpoints will be returned. The maximum value is * 500; values above 500 will be coerced to 500. * @opt_param string pageToken A token identifying a page of results the server * should return. This value is received from a previous `ListEndpoints` call in * ListEndpointsResponse.nextPageToken. * @return ListEndpointsResponse */ public function listBiddersEndpoints($parent, $optParams = []) { $params = ['parent' => $parent]; $params = array_merge($params, $optParams); return $this->call('list', [$params], ListEndpointsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(BiddersEndpoints::class, 'Google_Service_RealTimeBidding_Resource_BiddersEndpoints');