class_docstr: Base class to implement a new Google LLM
  
  LLM base class is extended to be used with
docstr: Validates the parameters for Google
docstr_tok: ["Validates","the","parameters","for","Google"]
code: def _validate(self):
      """Validates the parameters for Google"""
  
      if (
          self.temperature is not None
          and not 0 <= self.temperature <= 1
      ):
          raise ValueError(
              "temperature must be in the range [0.0, 1.0]"
          )
  
      if self.top_p is not None and not 0 <= self.top_p <= 1:
          raise ValueError("top_p must be in the range [0.0, 1.0]")
  
      if self.top_k is not None and not 0 <= self.top_k <= 100:
          raise ValueError("top_k must be in the range [0.0, 100.0]")
  
      if (
          self.max_output_tokens is not None
          and self.max_output_tokens <= 0
      ):
          raise ValueError(
              "max_output_tokens must be greater than zero"
          )
  
imports: import os
  import ast
  import re
  from abc import abstractmethod
  from typing import Any, Dict, Optional, Union, Mapping, Tuple
  import requests
  from ..exceptions import APIKeyNotFoundError, MethodNotImplementedError, NoCodeFoundError, LLMResponseHTTPError
  from ..helpers.openai import is_openai_v1
  from ..helpers.openai_info import openai_callback_var
  from ..prompts.base import AbstractPrompt
label_desc: Use image node_id 3 for calling the BaseGoogle obj's underlying member method code with example usage: obj._validate() without return types