/// <summary>Snippet for GetBatchJob</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetBatchJob()
 {
     // Create client
     BatchJobServiceClient batchJobServiceClient = BatchJobServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER_ID]/batchJobs/[BATCH_JOB_ID]";
     // Make the request
     BatchJob response = batchJobServiceClient.GetBatchJob(resourceName);
 }
Exemplo n.º 2
0
 /// <summary>Snippet for GetBatchJob</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetBatchJobResourceNames()
 {
     // Create client
     BatchJobServiceClient batchJobServiceClient = BatchJobServiceClient.Create();
     // Initialize request argument(s)
     BatchJobName resourceName = BatchJobName.FromCustomerBatchJob("[CUSTOMER]", "[BATCH_JOB]");
     // Make the request
     BatchJob response = batchJobServiceClient.GetBatchJob(resourceName);
 }
 /// <summary>Snippet for GetBatchJob</summary>
 public void GetBatchJob()
 {
     // Snippet: GetBatchJob(string, CallSettings)
     // Create client
     BatchJobServiceClient batchJobServiceClient = BatchJobServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER]/batchJobs/[BATCH_JOB]";
     // Make the request
     BatchJob response = batchJobServiceClient.GetBatchJob(resourceName);
     // End snippet
 }
Exemplo n.º 4
0
 /// <summary>Snippet for GetBatchJob</summary>
 public void GetBatchJobResourceNames()
 {
     // Snippet: GetBatchJob(BatchJobName, CallSettings)
     // Create client
     BatchJobServiceClient batchJobServiceClient = BatchJobServiceClient.Create();
     // Initialize request argument(s)
     BatchJobName resourceName = BatchJobName.FromCustomerBatchJob("[CUSTOMER_ID]", "[BATCH_JOB_ID]");
     // Make the request
     BatchJob response = batchJobServiceClient.GetBatchJob(resourceName);
     // End snippet
 }
Exemplo n.º 5
0
 /// <summary>Snippet for GetBatchJob</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetBatchJobRequestObject()
 {
     // Create client
     BatchJobServiceClient batchJobServiceClient = BatchJobServiceClient.Create();
     // Initialize request argument(s)
     GetBatchJobRequest request = new GetBatchJobRequest
     {
         ResourceNameAsBatchJobName = BatchJobName.FromCustomerBatchJob("[CUSTOMER_ID]", "[BATCH_JOB_ID]"),
     };
     // Make the request
     BatchJob response = batchJobServiceClient.GetBatchJob(request);
 }