/// <summary>Constructs a new BatchWrite request.</summary> public BatchWriteRequest(Google.Apis.Services.IClientService service, Google.Apis.CloudTrace.v2.Data.BatchWriteSpansRequest body, string name) : base(service) { Name = name; Body = body; InitParameters(); }
/// <summary>Sends new spans to new or existing traces. You cannot update existing spans.</summary> /// <param name="body">The body of the request.</param> /// <param name="name">Required. The name of the project where the spans belong. The format is /// `projects/[PROJECT_ID]`.</param> public virtual BatchWriteRequest BatchWrite(Google.Apis.CloudTrace.v2.Data.BatchWriteSpansRequest body, string name) { return(new BatchWriteRequest(service, body, name)); }