commitments = $commitments; } /** * @return Commitment[] */ public function getCommitments() { return $this->commitments; } /** * @param CommitmentsScopedListWarning */ public function setWarning(CommitmentsScopedListWarning $warning) { $this->warning = $warning; } /** * @return CommitmentsScopedListWarning */ public function getWarning() { return $this->warning; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(CommitmentsScopedList::class, 'Google_Service_Compute_CommitmentsScopedList');