access = $access; } /** * @return self::ACCESS_* */ public function getAccess() { return $this->access; } /** * The general errors contained in the troubleshooting response. * * @param GoogleRpcStatus[] $errors */ public function setErrors($errors) { $this->errors = $errors; } /** * @return GoogleRpcStatus[] */ public function getErrors() { return $this->errors; } /** * List of IAM policies that were evaluated to check the principal's * permissions, with annotations to indicate how each policy contributed to * the final result. The list of policies can include the policy for the * resource itself. It can also include policies that are inherited from * higher levels of the resource hierarchy, including the organization, the * folder, and the project. To learn more about the resource hierarchy, see * https://cloud.google.com/iam/help/resource-hierarchy. * * @param GoogleCloudPolicytroubleshooterV1ExplainedPolicy[] $explainedPolicies */ public function setExplainedPolicies($explainedPolicies) { $this->explainedPolicies = $explainedPolicies; } /** * @return GoogleCloudPolicytroubleshooterV1ExplainedPolicy[] */ public function getExplainedPolicies() { return $this->explainedPolicies; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse::class, 'Google_Service_PolicyTroubleshooter_GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse');