/// <summary>Snippet for ReadModifyWriteRowAsync</summary> public async Task ReadModifyWriteRowAsync() { // Snippet: ReadModifyWriteRowAsync(TableName,ByteString,IEnumerable<ReadModifyWriteRule>,CallSettings) // Additional: ReadModifyWriteRowAsync(TableName,ByteString,IEnumerable<ReadModifyWriteRule>,CancellationToken) // Create client BigtableServiceApiClient bigtableServiceApiClient = await BigtableServiceApiClient.CreateAsync(); // Initialize request argument(s) TableName tableName = new TableName("[PROJECT]", "[INSTANCE]", "[TABLE]"); ByteString rowKey = ByteString.Empty; IEnumerable<ReadModifyWriteRule> rules = new List<ReadModifyWriteRule>(); // Make the request ReadModifyWriteRowResponse response = await bigtableServiceApiClient.ReadModifyWriteRowAsync(tableName, rowKey, rules); // End snippet }
/// <summary>Snippet for ReadModifyWriteRowAsync</summary> public async Task ReadModifyWriteRowAsync_RequestObject() { // Snippet: ReadModifyWriteRowAsync(ReadModifyWriteRowRequest,CallSettings) // Additional: ReadModifyWriteRowAsync(ReadModifyWriteRowRequest,CancellationToken) // Create client BigtableServiceApiClient bigtableServiceApiClient = await BigtableServiceApiClient.CreateAsync(); // Initialize request argument(s) ReadModifyWriteRowRequest request = new ReadModifyWriteRowRequest { TableNameAsTableName = new TableName("[PROJECT]", "[INSTANCE]", "[TABLE]"), RowKey = ByteString.Empty, Rules = { }, }; // Make the request ReadModifyWriteRowResponse response = await bigtableServiceApiClient.ReadModifyWriteRowAsync(request); // End snippet }
/// <summary>Snippet for ReadModifyWriteRowAsync</summary> public async Task ReadModifyWriteRow1Async() { // Snippet: ReadModifyWriteRowAsync(string, ByteString, IEnumerable<ReadModifyWriteRule>, CallSettings) // Additional: ReadModifyWriteRowAsync(string, ByteString, IEnumerable<ReadModifyWriteRule>, CancellationToken) // Create client BigtableServiceApiClient bigtableServiceApiClient = await BigtableServiceApiClient.CreateAsync(); // Initialize request argument(s) string tableName = "projects/[PROJECT]/instances/[INSTANCE]/tables/[TABLE]"; ByteString rowKey = ByteString.Empty; IEnumerable <ReadModifyWriteRule> rules = new ReadModifyWriteRule[] { new ReadModifyWriteRule(), }; // Make the request ReadModifyWriteRowResponse response = await bigtableServiceApiClient.ReadModifyWriteRowAsync(tableName, rowKey, rules); // End snippet }