Table of Contents

Class DeleteFileResponse

Namespace
Google.GenAI.Types
Assembly
Google.GenAI.dll

Response for the delete file method.

public record DeleteFileResponse : IEquatable<DeleteFileResponse>
Inheritance
DeleteFileResponse
Implements
Inherited Members

Properties

SdkHttpResponse

Used to retain the full HTTP response.

[JsonPropertyName("sdkHttpResponse")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public HttpResponse? SdkHttpResponse { get; set; }

Property Value

HttpResponse

Methods

FromJson(string, JsonSerializerOptions?)

Deserializes a JSON string to a DeleteFileResponse object.

public static DeleteFileResponse? FromJson(string jsonString, JsonSerializerOptions? options = null)

Parameters

jsonString string

The JSON string to deserialize.

options JsonSerializerOptions

Optional JsonSerializerOptions.

Returns

DeleteFileResponse

The deserialized DeleteFileResponse object, or null if deserialization fails.