/// <summary>Detects the language of text within a request.</summary>
 /// <param name="body">The body of the request.</param>
 public virtual DetectRequest Detect(Google.Apis.Translate.v2.Data.DetectLanguageRequest body)
 {
     return(new DetectRequest(service, body));
 }
 /// <summary>Constructs a new Detect request.</summary>
 public DetectRequest(Google.Apis.Services.IClientService service, Google.Apis.Translate.v2.Data.DetectLanguageRequest body)
     : base(service)
 {
     Body = body;
     InitParameters();
 }