imageObjectId = $imageObjectId; } /** * @return string */ public function getImageObjectId() { return $this->imageObjectId; } /** * The replacement method. * * Accepted values: IMAGE_REPLACE_METHOD_UNSPECIFIED, CENTER_INSIDE, * CENTER_CROP * * @param self::IMAGE_REPLACE_METHOD_* $imageReplaceMethod */ public function setImageReplaceMethod($imageReplaceMethod) { $this->imageReplaceMethod = $imageReplaceMethod; } /** * @return self::IMAGE_REPLACE_METHOD_* */ public function getImageReplaceMethod() { return $this->imageReplaceMethod; } /** * The image URL. The image is fetched once at insertion time and a copy is * stored for display inside the presentation. Images must be less than 50MB, * cannot exceed 25 megapixels, and must be in PNG, JPEG, or GIF format. The * provided URL can't surpass 2 KB in length. The URL is saved with the image, * and exposed through the Image.source_url field. * * @param string $url */ public function setUrl($url) { $this->url = $url; } /** * @return string */ public function getUrl() { return $this->url; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ReplaceImageRequest::class, 'Google_Service_Slides_ReplaceImageRequest');