示例#1
0
 /// <summary>Constructs a new Report request.</summary>
 public ReportRequest(Google.Apis.Services.IClientService service, Google.Apis.ServiceControl.v1.Data.ReportRequest body, string serviceName)
     : base(service)
 {
     ServiceName = serviceName;
     Body        = body;
     InitParameters();
 }
示例#2
0
 /// <summary>Reports operations to Google Service Control. It should be called after the operation is completed.
 ///
 /// This method requires the `servicemanagement.services.report` permission on the specified service. For more
 /// information, see [Google Cloud IAM](https://cloud.google.com/iam).</summary>
 /// <param name="body">The body of the request.</param>
 /// <param name="serviceName">The service name as specified in its service configuration. For example,
 /// `"pubsub.googleapis.com"`.
 ///
 /// See google.api.Service for the definition of a service name.</param>
 public virtual ReportRequest Report(Google.Apis.ServiceControl.v1.Data.ReportRequest body, string serviceName)
 {
     return(new ReportRequest(service, body, serviceName));
 }