/// <summary> /// Annotates a previously created Assessment to provide additional information /// on whether the event turned out to be authentic or fradulent. /// </summary> /// <param name="name"> /// Required. The resource name of the Assessment, in the format /// "projects/{project_number}/assessments/{assessment_id}". /// </param> /// <param name="annotation"> /// Required. The annotation that will be assigned to the Event. /// </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 <AnnotateAssessmentResponse> AnnotateAssessmentAsync(AssessmentName name, AnnotateAssessmentRequest.Types.Annotation annotation, st::CancellationToken cancellationToken) => AnnotateAssessmentAsync(name, annotation, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
/// <summary> /// Annotates a previously created Assessment to provide additional information /// on whether the event turned out to be authentic or fradulent. /// </summary> /// <param name="name"> /// Required. The resource name of the Assessment, in the format /// "projects/{project_number}/assessments/{assessment_id}". /// </param> /// <param name="annotation"> /// Required. The annotation that will be assigned to the Event. /// </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 <AnnotateAssessmentResponse> AnnotateAssessmentAsync(AssessmentName name, AnnotateAssessmentRequest.Types.Annotation annotation, gaxgrpc::CallSettings callSettings = null) => AnnotateAssessmentAsync(new AnnotateAssessmentRequest { AssessmentName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), Annotation = annotation, }, callSettings);