/// <summary>Snippet for CreateWebDataStream</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void CreateWebDataStreamResourceNames()
 {
     // Create client
     AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
     // Initialize request argument(s)
     PropertyName  parent        = PropertyName.FromProperty("[PROPERTY]");
     WebDataStream webDataStream = new WebDataStream();
     // Make the request
     WebDataStream response = analyticsAdminServiceClient.CreateWebDataStream(parent, webDataStream);
 }
Exemplo n.º 2
0
 /// <summary>Snippet for CreateWebDataStream</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void CreateWebDataStream()
 {
     // Create client
     AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
     // Initialize request argument(s)
     string        parent        = "properties/[PROPERTY]";
     WebDataStream webDataStream = new WebDataStream();
     // Make the request
     WebDataStream response = analyticsAdminServiceClient.CreateWebDataStream(parent, webDataStream);
 }
Exemplo n.º 3
0
 /// <summary>Snippet for CreateWebDataStream</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void CreateWebDataStreamRequestObject()
 {
     // Create client
     AnalyticsAdminServiceClient analyticsAdminServiceClient = AnalyticsAdminServiceClient.Create();
     // Initialize request argument(s)
     CreateWebDataStreamRequest request = new CreateWebDataStreamRequest
     {
         WebDataStream        = new WebDataStream(),
         ParentAsPropertyName = PropertyName.FromProperty("[PROPERTY]"),
     };
     // Make the request
     WebDataStream response = analyticsAdminServiceClient.CreateWebDataStream(request);
 }