policy = $policy; } /** * @return Policy */ public function getPolicy() { return $this->policy; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SetIamPolicyRequest::class, 'Google_Service_Pubsub_SetIamPolicyRequest');