/// <summary>Snippet for FlushRows</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void FlushRowsResourceNames()
 {
     // Create client
     BigQueryWriteClient bigQueryWriteClient = BigQueryWriteClient.Create();
     // Initialize request argument(s)
     WriteStreamName writeStream = WriteStreamName.FromProjectDatasetTableStream("[PROJECT]", "[DATASET]", "[TABLE]", "[STREAM]");
     // Make the request
     FlushRowsResponse response = bigQueryWriteClient.FlushRows(writeStream);
 }
 /// <summary>Snippet for FlushRows</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void FlushRows()
 {
     // Create client
     BigQueryWriteClient bigQueryWriteClient = BigQueryWriteClient.Create();
     // Initialize request argument(s)
     string writeStream = "projects/[PROJECT]/datasets/[DATASET]/tables/[TABLE]/streams/[STREAM]";
     // Make the request
     FlushRowsResponse response = bigQueryWriteClient.FlushRows(writeStream);
 }
Ejemplo n.º 3
0
 /// <summary>Snippet for FlushRows</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void FlushRowsRequestObject()
 {
     // Create client
     BigQueryWriteClient bigQueryWriteClient = BigQueryWriteClient.Create();
     // Initialize request argument(s)
     FlushRowsRequest request = new FlushRowsRequest
     {
         WriteStreamAsWriteStreamName = WriteStreamName.FromProjectDatasetTableStream("[PROJECT]", "[DATASET]", "[TABLE]", "[STREAM]"),
         Offset = 0L,
     };
     // Make the request
     FlushRowsResponse response = bigQueryWriteClient.FlushRows(request);
 }