fullResourceName = $fullResourceName; } /** * @return string */ public function getFullResourceName() { return $this->fullResourceName; } /** * The effective policies for the full_resource_name. These policies include * the policy set on the full_resource_name and those set on its parents and * ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that * these policies are not filtered according to the resource type of the * full_resource_name. These policies are hierarchically ordered by * PolicyInfo.attached_resource starting from full_resource_name itself to its * parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource * is the child of policies[i+1]'s PolicyInfo.attached_resource, if * policies[i+1] exists. * * @param PolicyInfo[] $policies */ public function setPolicies($policies) { $this->policies = $policies; } /** * @return PolicyInfo[] */ public function getPolicies() { return $this->policies; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(EffectiveIamPolicy::class, 'Google_Service_CloudAsset_EffectiveIamPolicy');