Exemplo n.º 1
0
 /// <summary>Snippet for CancelJob</summary>
 public void CancelJob()
 {
     // Snippet: CancelJob(string, string, string, CallSettings)
     // Create client
     JobControllerClient jobControllerClient = JobControllerClient.Create();
     // Initialize request argument(s)
     string projectId = "";
     string region    = "";
     string jobId     = "";
     // Make the request
     Job response = jobControllerClient.CancelJob(projectId, region, jobId);
     // End snippet
 }
Exemplo n.º 2
0
 /// <summary>Snippet for CancelJob</summary>
 public void CancelJobRequestObject()
 {
     // Snippet: CancelJob(CancelJobRequest, CallSettings)
     // Create client
     JobControllerClient jobControllerClient = JobControllerClient.Create();
     // Initialize request argument(s)
     CancelJobRequest request = new CancelJobRequest
     {
         ProjectId = "",
         JobId     = "",
         Region    = "",
     };
     // Make the request
     Job response = jobControllerClient.CancelJob(request);
     // End snippet
 }