public virtual grpc::AsyncUnaryCall <global::Google.Cloud.ErrorReporting.V1Beta1.ReportErrorEventResponse> ReportErrorEventAsync(global::Google.Cloud.ErrorReporting.V1Beta1.ReportErrorEventRequest request, grpc::CallOptions options) { return(CallInvoker.AsyncUnaryCall(__Method_ReportErrorEvent, null, options, request)); }
public virtual grpc::AsyncUnaryCall <global::Google.Cloud.ErrorReporting.V1Beta1.ReportErrorEventResponse> ReportErrorEventAsync(global::Google.Cloud.ErrorReporting.V1Beta1.ReportErrorEventRequest request, grpc::Metadata headers = null, global::System.DateTime?deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return(ReportErrorEventAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken))); }
/// <summary> /// Report an individual error event. /// /// This endpoint accepts <strong>either</strong> an OAuth token, /// <strong>or</strong> an /// <a href="https://support.google.com/cloud/answer/6158862">API key</a> /// for authentication. To use an API key, append it to the URL as the value of /// a `key` parameter. For example: /// <pre>POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre> /// </summary> /// <param name="request">The request to send to the server.</param> /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> /// <param name="cancellationToken">An optional token for canceling the call.</param> /// <returns>The response received from the server.</returns> public virtual global::Google.Cloud.ErrorReporting.V1Beta1.ReportErrorEventResponse ReportErrorEvent(global::Google.Cloud.ErrorReporting.V1Beta1.ReportErrorEventRequest request, grpc::Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken)) { return(ReportErrorEvent(request, new grpc::CallOptions(headers, deadline, cancellationToken))); }
public virtual global::System.Threading.Tasks.Task <global::Google.Cloud.ErrorReporting.V1Beta1.ReportErrorEventResponse> ReportErrorEvent(global::Google.Cloud.ErrorReporting.V1Beta1.ReportErrorEventRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); }
/// <summary> /// Report an individual error event. /// /// This endpoint accepts <strong>either</strong> an OAuth token, /// <strong>or</strong> an /// <a href="https://support.google.com/cloud/answer/6158862">API key</a> /// for authentication. To use an API key, append it to the URL as the value of /// a `key` parameter. For example: /// <pre>POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre> /// </summary> public virtual global::Google.Cloud.ErrorReporting.V1Beta1.ReportErrorEventResponse ReportErrorEvent(global::Google.Cloud.ErrorReporting.V1Beta1.ReportErrorEventRequest request, CallOptions options) { return(CallInvoker.BlockingUnaryCall(__Method_ReportErrorEvent, null, options, request)); }