detail = $detail; } /** * @return string */ public function getDetail() { return $this->detail; } /** * Output only. The type of impact. * * Accepted values: IMPACT_TYPE_UNSPECIFIED, DEPENDENCY_MISSING_DEPENDENCIES, * RESOURCE_EXISTENCE_PROJECT * * @param self::IMPACT_TYPE_* $impactType */ public function setImpactType($impactType) { $this->impactType = $impactType; } /** * @return self::IMPACT_TYPE_* */ public function getImpactType() { return $this->impactType; } /** * The parent resource that the analysis is based on and the service name that * the analysis is for. Example: * `projects/100/services/compute.googleapis.com`, * folders/101/services/compute.googleapis.com` and * `organizations/102/services/compute.googleapis.com`. Usually, the parent * resource here is same as the parent resource of the analyzed policy. * However, for some analysis types, the parent can be different. For example, * for resource existence analysis, if the parent resource of the analyzed * policy is a folder or an organization, the parent resource here can still * be the project that contains the resources. * * @param string $parent */ public function setParent($parent) { $this->parent = $parent; } /** * @return string */ public function getParent() { return $this->parent; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Impact::class, 'Google_Service_ServiceUsage_Impact');