예제 #1
0
 /// <summary>Snippet for Get</summary>
 public void Get()
 {
     // Snippet: Get(string, string, CallSettings)
     // Create client
     LicensesClient licensesClient = LicensesClient.Create();
     // Initialize request argument(s)
     string project = "";
     string license = "";
     // Make the request
     License response = licensesClient.Get(project, license);
     // End snippet
 }
예제 #2
0
 /// <summary>Snippet for Get</summary>
 public void GetRequestObject()
 {
     // Snippet: Get(GetLicenseRequest, CallSettings)
     // Create client
     LicensesClient licensesClient = LicensesClient.Create();
     // Initialize request argument(s)
     GetLicenseRequest request = new GetLicenseRequest
     {
         License = "",
         Project = "",
     };
     // Make the request
     License response = licensesClient.Get(request);
     // End snippet
 }