/// <summary>
 /// Creates an Assessment of the likelihood an event is legitimate.
 /// </summary>
 /// <param name="parent">
 /// Required. The name of the project in which the assessment will be created,
 /// in the format "projects/{project_number}".
 /// </param>
 /// <param name="assessment">
 /// Required. The assessment details.
 /// </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 <Assessment> CreateAssessmentAsync(gagr::ProjectName parent, Assessment assessment, gaxgrpc::CallSettings callSettings = null) =>
 CreateAssessmentAsync(new CreateAssessmentRequest
 {
     ParentAsProjectName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)),
     Assessment          = gax::GaxPreconditions.CheckNotNull(assessment, nameof(assessment)),
 }, callSettings);
 /// <summary>
 /// Creates an Assessment of the likelihood an event is legitimate.
 /// </summary>
 /// <param name="parent">
 /// Required. The name of the project in which the assessment will be created,
 /// in the format "projects/{project_number}".
 /// </param>
 /// <param name="assessment">
 /// Required. The assessment details.
 /// </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 <Assessment> CreateAssessmentAsync(gagr::ProjectName parent, Assessment assessment, st::CancellationToken cancellationToken) =>
 CreateAssessmentAsync(parent, assessment, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
 /// <summary>
 /// Creates an Assessment of the likelihood an event is legitimate.
 /// </summary>
 /// <param name="parent">
 /// Required. The name of the project in which the assessment will be created,
 /// in the format "projects/{project_number}".
 /// </param>
 /// <param name="assessment">
 /// Required. The assessment details.
 /// </param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>The RPC response.</returns>
 public virtual Assessment CreateAssessment(string parent, Assessment assessment, gaxgrpc::CallSettings callSettings = null) =>
 CreateAssessment(new CreateAssessmentRequest
 {
     Parent     = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)),
     Assessment = gax::GaxPreconditions.CheckNotNull(assessment, nameof(assessment)),
 }, callSettings);