Google Cloud Spanner v1 API - Class Mutation.Types.Write (5.0.0-beta04)

public sealed class Mutation.Types.Write : IMessage<Mutation.Types.Write>, IEquatable<Mutation.Types.Write>, IDeepCloneable<Mutation.Types.Write>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Spanner v1 API class Mutation.Types.Write.

Arguments to [insert][google.spanner.v1.Mutation.insert], [update][google.spanner.v1.Mutation.update], [insert_or_update][google.spanner.v1.Mutation.insert_or_update], and [replace][google.spanner.v1.Mutation.replace] operations.

Inheritance

object > Mutation.Types.Write

Namespace

Google.Cloud.Spanner.V1

Assembly

Google.Cloud.Spanner.V1.dll

Constructors

Write()

public Write()

Write(Write)

public Write(Mutation.Types.Write other)
Parameter
Name Description
other MutationTypesWrite

Properties

Columns

public RepeatedField<string> Columns { get; }

The names of the columns in [table][google.spanner.v1.Mutation.Write.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.

Property Value
Type Description
RepeatedFieldstring

Table

public string Table { get; set; }

Required. The table whose rows will be written.

Property Value
Type Description
string

Values

public RepeatedField<ListValue> Values { get; }

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][google.spanner.v1.Mutation.Write.columns] above. Sending multiple lists is equivalent to sending multiple Mutations, each containing one values entry and repeating [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are encoded as described [here][google.spanner.v1.TypeCode].

Property Value
Type Description
RepeatedFieldListValue