Show / Hide Table of Contents

Class Write

Arguments to insert, update, insert_or_update, and replace operations.

Inheritance
System.Object
Write
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Spanner.v1.Data
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class Write : IDirectResponseSchema

Properties

Columns

The names of the columns in table to be written. The list of columns must contain enough columns to allow Cloud Spanner to derive values for all primary key columns in the row(s) to be modified.

Declaration
[JsonProperty("columns")]
public virtual IList<string> Columns { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

ETag

The ETag of the item.

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

Table

Required. The table whose rows will be written.

Declaration
[JsonProperty("table")]
public virtual string Table { get; set; }
Property Value
Type Description
System.String

Values

The values to be written. values can contain more than one list of values. If it does, then multiple rows are written, one for each entry in values. Each list in values must have exactly as many entries as there are entries in columns above. Sending multiple lists is equivalent to sending multiple Mutations, each containing one values entry and repeating table and columns. Individual values in each list are encoded as described here.

Declaration
[JsonProperty("values")]
public virtual IList<IList<object>> Values { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.Collections.Generic.IList<System.Object>>

Implements

IDirectResponseSchema
In This Article
Back to top