Class ReplaceImageRequest
Replaces an existing image with a new image. Replacing an image removes some image effects from the existing image in order to mirror the behavior of the Docs editor.
Implements
Inherited Members
Namespace: Google.Apis.Docs.v1.Data
Assembly: Google.Apis.Docs.v1.dll
Syntax
public class ReplaceImageRequest : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ImageObjectId
The ID of the existing image that will be replaced. The ID can be retrieved from the response of a get request.
Declaration
[JsonProperty("imageObjectId")]
public virtual string ImageObjectId { get; set; }
Property Value
Type | Description |
---|---|
string |
ImageReplaceMethod
The replacement method.
Declaration
[JsonProperty("imageReplaceMethod")]
public virtual string ImageReplaceMethod { get; set; }
Property Value
Type | Description |
---|---|
string |
Uri
The URI of the new image. The image is fetched once at insertion time and a copy is stored for display inside the document. Images must be less than 50MB, cannot exceed 25 megapixels, and must be in PNG, JPEG, or GIF format. The provided URI can't surpass 2 KB in length. The URI is saved with the image, and exposed through the ImageProperties.source_uri field.
Declaration
[JsonProperty("uri")]
public virtual string Uri { get; set; }
Property Value
Type | Description |
---|---|
string |