code: def validate(self, body, params=None):
          
          if body in SKIP_IN_PATH:
              raise ValueError("Empty value passed for a required argument 'body'.")
          return self.transport.perform_request(
              "POST", "/_ml/anomaly_detectors/_validate", params=params, body=body
          )
docs: `<>`_
  
          :arg body: The job config