Example #1
0
 /// <summary>Snippet for Get</summary>
 public void Get()
 {
     // Snippet: Get(string, string, CallSettings)
     // Create client
     LicenseCodesClient licenseCodesClient = LicenseCodesClient.Create();
     // Initialize request argument(s)
     string project     = "";
     string licenseCode = "";
     // Make the request
     LicenseCode response = licenseCodesClient.Get(project, licenseCode);
     // End snippet
 }
Example #2
0
 /// <summary>Snippet for Get</summary>
 public void GetRequestObject()
 {
     // Snippet: Get(GetLicenseCodeRequest, CallSettings)
     // Create client
     LicenseCodesClient licenseCodesClient = LicenseCodesClient.Create();
     // Initialize request argument(s)
     GetLicenseCodeRequest request = new GetLicenseCodeRequest
     {
         LicenseCode = "",
         Project     = "",
     };
     // Make the request
     LicenseCode response = licenseCodesClient.Get(request);
     // End snippet
 }