/// <summary> /// Updates the specified answer record. /// </summary> /// <param name="answerRecord"> /// Required. Answer record to update. /// </param> /// <param name="updateMask"> /// Required. The mask to control which fields get updated. /// </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 <AnswerRecord> UpdateAnswerRecordAsync(AnswerRecord answerRecord, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => UpdateAnswerRecordAsync(new UpdateAnswerRecordRequest { AnswerRecord = gax::GaxPreconditions.CheckNotNull(answerRecord, nameof(answerRecord)), UpdateMask = gax::GaxPreconditions.CheckNotNull(updateMask, nameof(updateMask)), }, callSettings);