Exemple #1
0
 /// <summary>Snippet for SubmitJob</summary>
 public void SubmitJob()
 {
     // Snippet: SubmitJob(string, string, Job, CallSettings)
     // Create client
     JobControllerClient jobControllerClient = JobControllerClient.Create();
     // Initialize request argument(s)
     string projectId = "";
     string region    = "";
     Job    job       = new Job();
     // Make the request
     Job response = jobControllerClient.SubmitJob(projectId, region, job);
     // End snippet
 }
 /// <summary>Snippet for SubmitJob</summary>
 public void SubmitJob_RequestObject()
 {
     // Snippet: SubmitJob(SubmitJobRequest,CallSettings)
     // Create client
     JobControllerClient jobControllerClient = JobControllerClient.Create();
     // Initialize request argument(s)
     SubmitJobRequest request = new SubmitJobRequest
     {
         ProjectId = "",
         Region    = "",
         Job       = new Job(),
     };
     // Make the request
     Job response = jobControllerClient.SubmitJob(request);
     // End snippet
 }