allowUnregisteredCalls = $allowUnregisteredCalls; } /** * @return bool */ public function getAllowUnregisteredCalls() { return $this->allowUnregisteredCalls; } /** * Selects the methods to which this rule applies. Use '*' to indicate all * methods in all APIs. Refer to selector for syntax details. * * @param string $selector */ public function setSelector($selector) { $this->selector = $selector; } /** * @return string */ public function getSelector() { return $this->selector; } /** * If true, the selected method should skip service control and the control * plane features, such as quota and billing, will not be available. This flag * is used by Google Cloud Endpoints to bypass checks for internal methods, * such as service health check methods. * * @param bool $skipServiceControl */ public function setSkipServiceControl($skipServiceControl) { $this->skipServiceControl = $skipServiceControl; } /** * @return bool */ public function getSkipServiceControl() { return $this->skipServiceControl; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(UsageRule::class, 'Google_Service_ServiceUsage_UsageRule');