/// <summary>Snippet for GetWriteStream</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetWriteStream()
 {
     // Create client
     BigQueryWriteClient bigQueryWriteClient = BigQueryWriteClient.Create();
     // Initialize request argument(s)
     string name = "projects/[PROJECT]/datasets/[DATASET]/tables/[TABLE]/streams/[STREAM]";
     // Make the request
     WriteStream response = bigQueryWriteClient.GetWriteStream(name);
 }
Exemple #2
0
 /// <summary>Snippet for GetWriteStream</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetWriteStreamResourceNames()
 {
     // Create client
     BigQueryWriteClient bigQueryWriteClient = BigQueryWriteClient.Create();
     // Initialize request argument(s)
     WriteStreamName name = WriteStreamName.FromProjectDatasetTableStream("[PROJECT]", "[DATASET]", "[TABLE]", "[STREAM]");
     // Make the request
     WriteStream response = bigQueryWriteClient.GetWriteStream(name);
 }
 /// <summary>Snippet for GetWriteStream</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetWriteStreamRequestObject()
 {
     // Create client
     BigQueryWriteClient bigQueryWriteClient = BigQueryWriteClient.Create();
     // Initialize request argument(s)
     GetWriteStreamRequest request = new GetWriteStreamRequest
     {
         WriteStreamName = WriteStreamName.FromProjectDatasetTableStream("[PROJECT]", "[DATASET]", "[TABLE]", "[STREAM]"),
     };
     // Make the request
     WriteStream response = bigQueryWriteClient.GetWriteStream(request);
 }