title: Not working example for Dialogflow V2 api
body: <p>Experienced problems with C# SDK documentation which can be found here: 
  <a href="http://googleapis.github.io/google-cloud-dotnet/docs/Google.Cloud.Dialogflow.V2/api/Google.Cloud.Dialogflow.V2.SessionsClient.html#Google_Cloud_Dialogflow_V2_SessionsClient_Create_Google_Api_Gax_Grpc_ServiceEndpoint_Google_Cloud_Dialogflow_V2_SessionsSettings_" rel="nofollow noreferrer">http://googleapis.github.io/google-cloud-dotnet/docs/Google.Cloud.Dialogflow.V2/api/Google.Cloud.Dialogflow.V2.SessionsClient.html#Google_Cloud_Dialogflow_V2_SessionsClient_Create_Google_Api_Gax_Grpc_ServiceEndpoint_Google_Cloud_Dialogflow_V2_SessionsSettings_</a></p>
  
  <p>No reference for method ToChannelCredentials().
  We cannot connect the SDK to dialogflow, even with blank project. Is this method still existing or deprecated?</p>
  
  <pre><code>using Google.Cloud.Dialogflow.V2;
  using Google.Apis.Auth.OAuth2;
  using Grpc.Auth;
  using Grpc.Core;
  ...
  GoogleCredential cred = GoogleCredential.FromFile("/path/to/credentials.json");
  Channel channel = new Channel(
      SessionsClient.DefaultEndpoint.Host, SessionsClient.DefaultEndpoint.Port, cred.ToChannelCredentials());
  SessionsClient client = SessionsClient.Create(channel);
  ...
  // Shutdown the channel when it is no longer required.
  channel.ShutdownAsync().Wait();
  </code></pre>