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