Пример #1
0
 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));
 }
Пример #2
0
 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)));
 }
Пример #3
0
 /// <summary>
 /// Report an individual error event.
 ///
 /// This endpoint accepts &lt;strong>either&lt;/strong> an OAuth token,
 /// &lt;strong>or&lt;/strong> an
 /// &lt;a href="https://support.google.com/cloud/answer/6158862">API key&lt;/a>
 /// for authentication. To use an API key, append it to the URL as the value of
 /// a `key` parameter. For example:
 /// &lt;pre>POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456&lt;/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)));
 }
Пример #4
0
 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, ""));
 }
Пример #5
0
 /// <summary>
 ///  Report an individual error event.
 ///
 ///  This endpoint accepts &lt;strong>either&lt;/strong> an OAuth token,
 ///  &lt;strong>or&lt;/strong> an
 ///  &lt;a href="https://support.google.com/cloud/answer/6158862">API key&lt;/a>
 ///  for authentication. To use an API key, append it to the URL as the value of
 ///  a `key` parameter. For example:
 ///  &lt;pre>POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456&lt;/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));
 }