contentType = $contentType; } /** * @return string */ public function getContentType() { return $this->contentType; } /** * The HTTP request/response body as raw binary. * * @param string $data */ public function setData($data) { $this->data = $data; } /** * @return string */ public function getData() { return $this->data; } /** * Application specific response metadata. Must be set in the first response * for streaming APIs. * * @param array[] $extensions */ public function setExtensions($extensions) { $this->extensions = $extensions; } /** * @return array[] */ public function getExtensions() { return $this->extensions; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleApiHttpBody::class, 'Google_Service_RecommendationsAI_GoogleApiHttpBody');