kind = $kind; } /** * @return self::KIND_* */ public function getKind() { return $this->kind; } /** * Optional. Locations where the secret is detected. * * @param SecretLocation[] $locations */ public function setLocations($locations) { $this->locations = $locations; } /** * @return SecretLocation[] */ public function getLocations() { return $this->locations; } /** * Optional. Status of the secret. * * @param SecretStatus[] $statuses */ public function setStatuses($statuses) { $this->statuses = $statuses; } /** * @return SecretStatus[] */ public function getStatuses() { return $this->statuses; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SecretOccurrence::class, 'Google_Service_ContainerAnalysis_SecretOccurrence');