* readerrevenuesubscriptionlinking.googleapis.com API.

* *

* For more information about this service, see the API * Documentation *

* * @author Google, Inc. */ class SubscriptionLinking extends \Google\Service { public $publications_readers; public $rootUrlTemplate; /** * Constructs the internal representation of the SubscriptionLinking service. * * @param Client|array $clientOrConfig The client used to deliver requests, or a * config array to pass to a new Client instance. * @param string $rootUrl The root URL used for requests to the service. */ public function __construct($clientOrConfig = [], $rootUrl = null) { parent::__construct($clientOrConfig); $this->rootUrl = $rootUrl ?: 'https://readerrevenuesubscriptionlinking.googleapis.com/'; $this->rootUrlTemplate = $rootUrl ?: 'https://readerrevenuesubscriptionlinking.UNIVERSE_DOMAIN/'; $this->servicePath = ''; $this->batchPath = 'batch'; $this->version = 'v1'; $this->serviceName = 'readerrevenuesubscriptionlinking'; $this->publications_readers = new SubscriptionLinking\Resource\PublicationsReaders( $this, $this->serviceName, 'readers', [ 'methods' => [ 'delete' => [ 'path' => 'v1/{+name}', 'httpMethod' => 'DELETE', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'force' => [ 'location' => 'query', 'type' => 'boolean', ], ], ],'get' => [ 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'getEntitlements' => [ 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'updateEntitlements' => [ 'path' => 'v1/{+name}', 'httpMethod' => 'PATCH', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SubscriptionLinking::class, 'Google_Service_SubscriptionLinking');