/// <summary> /// Report an individual error event. /// /// This endpoint accepts **either** an OAuth token, /// **or** an [API key](https://support.google.com/cloud/answer/6158862) /// for authentication. To use an API key, append it to the URL as the value of /// a `key` parameter. For example: /// /// `POST /// https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456` /// </summary> /// <param name="request">The request object containing all of the parameters for the API call.</param> /// <param name="callSettings">If not null, applies overrides to this RPC call.</param> /// <returns>A Task containing the RPC response.</returns> public override stt::Task <ReportErrorEventResponse> ReportErrorEventAsync(ReportErrorEventRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_ReportErrorEventRequest(ref request, ref callSettings); return(_callReportErrorEvent.Async(request, callSettings)); }
partial void Modify_ReportErrorEventRequest(ref ReportErrorEventRequest request, ref gaxgrpc::CallSettings settings);
/// <summary> /// Report an individual error event. /// /// This endpoint accepts **either** an OAuth token, /// **or** an [API key](https://support.google.com/cloud/answer/6158862) /// for authentication. To use an API key, append it to the URL as the value of /// a `key` parameter. For example: /// /// `POST /// https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456` /// </summary> /// <param name="request">The request object containing all of the parameters for the API call.</param> /// <param name="cancellationToken">A <see cref="st::CancellationToken"/> to use for this RPC.</param> /// <returns>A Task containing the RPC response.</returns> public virtual stt::Task <ReportErrorEventResponse> ReportErrorEventAsync(ReportErrorEventRequest request, st::CancellationToken cancellationToken) => ReportErrorEventAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
/// <summary> /// Report an individual error event. /// /// This endpoint accepts **either** an OAuth token, /// **or** an [API key](https://support.google.com/cloud/answer/6158862) /// for authentication. To use an API key, append it to the URL as the value of /// a `key` parameter. For example: /// /// `POST /// https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456` /// </summary> /// <param name="request">The request object containing all of the parameters for the API call.</param> /// <param name="callSettings">If not null, applies overrides to this RPC call.</param> /// <returns>A Task containing the RPC response.</returns> public virtual stt::Task <ReportErrorEventResponse> ReportErrorEventAsync(ReportErrorEventRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();
/// <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 object containing all of the parameters for the API call. /// </param> /// <param name="callSettings"> /// If not null, applies overrides to this RPC call. /// </param> /// <returns> /// The RPC response. /// </returns> public virtual ReportErrorEventResponse ReportErrorEvent( ReportErrorEventRequest request, gaxgrpc::CallSettings callSettings = null) { throw new sys::NotImplementedException(); }
/// <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 object containing all of the parameters for the API call. /// </param> /// <param name="callSettings"> /// If not null, applies overrides to this RPC call. /// </param> /// <returns> /// A Task containing the RPC response. /// </returns> public virtual Task <ReportErrorEventResponse> ReportErrorEventAsync( ReportErrorEventRequest request, CallSettings callSettings = null) { throw new NotImplementedException(); }