Show / Hide Table of Contents

Class GraphqlResponse

The GraphQL response from Firebase Data Connect. It strives to match the GraphQL over HTTP spec. Note: Firebase Data Connect always responds with Content-Type: application/json. https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md#body

Inheritance
object
GraphqlResponse
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.FirebaseDataConnect.v1.Data
Assembly: Google.Apis.FirebaseDataConnect.v1.dll
Syntax
public class GraphqlResponse : IDirectResponseSchema

Properties

Data

The result of the execution of the requested operation. If an error was raised before execution begins, the data entry should not be present in the result. (a request error: https://spec.graphql.org/draft/#sec-Errors.Request-Errors) If an error was raised during the execution that prevented a valid response, the data entry in the response should be null. (a field error: https://spec.graphql.org/draft/#sec-Errors.Error-Result-Format)

Declaration
[JsonProperty("data")]
public virtual IDictionary<string, object> Data { get; set; }
Property Value
Type Description
IDictionary<string, object>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Errors

Errors of this response. If the data entry in the response is not present, the errors entry must be present. It conforms to https://spec.graphql.org/draft/#sec-Errors.

Declaration
[JsonProperty("errors")]
public virtual IList<GraphqlError> Errors { get; set; }
Property Value
Type Description
IList<GraphqlError>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX