debugOptions = $debugOptions; } /** * @return DebugOptions */ public function getDebugOptions() { return $this->debugOptions; } /** * The new schema for the source. * * @param Schema $schema */ public function setSchema(Schema $schema) { $this->schema = $schema; } /** * @return Schema */ public function getSchema() { return $this->schema; } /** * If true, the schema will be checked for validity, but will not be * registered with the data source, even if valid. * * @param bool $validateOnly */ public function setValidateOnly($validateOnly) { $this->validateOnly = $validateOnly; } /** * @return bool */ public function getValidateOnly() { return $this->validateOnly; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(UpdateSchemaRequest::class, 'Google_Service_CloudSearch_UpdateSchemaRequest');