producerNotificationChannel = $producerNotificationChannel; } /** * @return string */ public function getProducerNotificationChannel() { return $this->producerNotificationChannel; } /** * Requirements that must be satisfied before a consumer project can use the * service. Each requirement is of the form /; for example * 'serviceusage.googleapis.com/billing-enabled'. For Google APIs, a Terms of * Service requirement must be included here. Google Cloud APIs must include * "serviceusage.googleapis.com/tos/cloud". Other Google APIs should include * "serviceusage.googleapis.com/tos/universal". Additional ToS can be included * based on the business needs. * * @param string[] $requirements */ public function setRequirements($requirements) { $this->requirements = $requirements; } /** * @return string[] */ public function getRequirements() { return $this->requirements; } /** * A list of usage rules that apply to individual API methods. **NOTE:** All * service configuration rules follow "last one wins" order. * * @param UsageRule[] $rules */ public function setRules($rules) { $this->rules = $rules; } /** * @return UsageRule[] */ public function getRules() { return $this->rules; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Usage::class, 'Google_Service_ServiceNetworking_Usage');