Class MutationResult
The result of applying a mutation.
Implements
Inherited Members
Namespace: Google.Apis.Datastore.v1.Data
Assembly: Google.Apis.Datastore.v1.dll
Syntax
public class MutationResult : IDirectResponseSchema
Properties
ConflictDetected
Whether a conflict was detected for this mutation. Always false when a conflict detection strategy field is not set in the mutation.
Declaration
[JsonProperty("conflictDetected")]
public virtual bool? ConflictDetected { get; set; }
Property Value
Type | Description |
---|---|
bool? |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
The create time of the entity. This field will not be set after a 'delete'.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Key
The automatically allocated key. Set only when the mutation allocated a key.
Declaration
[JsonProperty("key")]
public virtual Key Key { get; set; }
Property Value
Type | Description |
---|---|
Key |
TransformResults
The results of applying each PropertyTransform, in the same order of the request.
Declaration
[JsonProperty("transformResults")]
public virtual IList<Value> TransformResults { get; set; }
Property Value
Type | Description |
---|---|
IList<Value> |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
The update time of the entity on the server after processing the mutation. If the mutation doesn't change anything on the server, then the timestamp will be the update timestamp of the current entity. This field will not be set after a 'delete'.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Version
The version of the entity on the server after processing the mutation. If the mutation doesn't change anything on the server, then the version will be the version of the current entity or, if no entity is present, a version that is strictly greater than the version of any previous entity and less than the version of any possible future entity.
Declaration
[JsonProperty("version")]
public virtual long? Version { get; set; }
Property Value
Type | Description |
---|---|
long? |