contents = $contents; } /** * @return GoogleCloudAiplatformV1Content[] */ public function getContents() { return $this->contents; } /** * @param GoogleCloudAiplatformV1GenerationConfig */ public function setGenerationConfig(GoogleCloudAiplatformV1GenerationConfig $generationConfig) { $this->generationConfig = $generationConfig; } /** * @return GoogleCloudAiplatformV1GenerationConfig */ public function getGenerationConfig() { return $this->generationConfig; } /** * @param GoogleCloudAiplatformV1SafetySetting[] */ public function setSafetySettings($safetySettings) { $this->safetySettings = $safetySettings; } /** * @return GoogleCloudAiplatformV1SafetySetting[] */ public function getSafetySettings() { return $this->safetySettings; } /** * @param GoogleCloudAiplatformV1Content */ public function setSystemInstruction(GoogleCloudAiplatformV1Content $systemInstruction) { $this->systemInstruction = $systemInstruction; } /** * @return GoogleCloudAiplatformV1Content */ public function getSystemInstruction() { return $this->systemInstruction; } /** * @param GoogleCloudAiplatformV1Tool[] */ public function setTools($tools) { $this->tools = $tools; } /** * @return GoogleCloudAiplatformV1Tool[] */ public function getTools() { return $this->tools; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudAiplatformV1GenerateContentRequest::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1GenerateContentRequest');