Show / Hide Table of Contents

Class ClientCache

Client caching settings of a connector.

Inheritance
object
ClientCache
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.v1beta.Data
Assembly: Google.Apis.FirebaseDataConnect.v1beta.dll
Syntax
public class ClientCache : IDirectResponseSchema

Properties

ETag

The ETag of the item.

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

EntityIdIncluded

Optional. A field that, if true, means that responses served by this connector will include entityIds in GraphQL response extensions. This helps the client SDK cache responses in an improved way, known as "normalized caching", if caching is enabled on the client. Each entityId is a stable key based on primary key values. Therefore, this field should only be set to true if the primary keys of accessed tables do not contain sensitive information.

Declaration
[JsonProperty("entityIdIncluded")]
public virtual bool? EntityIdIncluded { get; set; }
Property Value
Type Description
bool?

StrictValidationEnabled

Optional. A field that, if true, enables stricter validation on the connector source code to make sure the operation response shapes are suitable for client-side caching. This can include additional errors and warnings. For example, using the same alias for different fields is disallowed, as it may cause conflicts or confusion with normalized caching. (This field is off by default for compatibility, but enabling it is highly recommended to catch common caching pitfalls.)

Declaration
[JsonProperty("strictValidationEnabled")]
public virtual bool? StrictValidationEnabled { get; set; }
Property Value
Type Description
bool?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX